Skip to content

Commit 0f8fe56

Browse files
Try #1133:
2 parents e7bb8ab + 92c972e commit 0f8fe56

File tree

5 files changed

+35
-19
lines changed

5 files changed

+35
-19
lines changed

build.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
let
66
haskellNix = (import ./default.nix {});
77
in
8-
{ nixpkgs ? haskellNix.sources.nixpkgs
8+
{ nixpkgs ? haskellNix.sources.nixpkgs-2009
99
, nixpkgsArgs ? haskellNix.nixpkgsArgs
1010
, pkgs ? import nixpkgs nixpkgsArgs
1111
, ifdLevel ? 1000

ci.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
sources = import ./nix/sources.nix {};
1111
nixpkgsVersions = {
1212
"R2009" = "nixpkgs-2009";
13+
"R2105" = "nixpkgs-2105";
1314
"unstable" = "nixpkgs-unstable";
1415
};
1516
compilerNixNames = nixpkgsName: nixpkgs: builtins.mapAttrs (compiler-nix-name: runTests: {
@@ -22,10 +23,10 @@
2223
# cabal-install and nix-tools plans. When removing a ghc version
2324
# from here (so that is no longer cached) also remove ./materialized/ghcXXX.
2425
# Update supported-ghc-versions.md to reflect any changes made here.
25-
{
26+
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") {
2627
ghc865 = false;
27-
ghc8105 = false; # Just included because the native version is needed at eval time
28-
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") {
28+
ghc8105 = false;
29+
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2105") {
2930
ghc865 = false;
3031
ghc8105 = true;
3132
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {

nix/sources.json

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@
9191
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
9292
},
9393
"nixpkgs": {
94-
"branch": "nixpkgs-20.09-darwin",
94+
"branch": "nixpkgs-21.05-darwin",
9595
"builtin": false,
9696
"description": "Nix Packages collection",
9797
"homepage": null,
9898
"owner": "NixOS",
9999
"repo": "nixpkgs",
100-
"rev": "f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693",
101-
"sha256": "156f48manydh8sbrs8j97mzvwdz2zaw51xlm0grrrnns5wa5aaln",
100+
"rev": "3c6f3f84af60a8ed5b8a79cf3026b7630fcdefb8",
101+
"sha256": "0jf9l6j60sa8cms7r4a02kr9j9884pwv1prf79b2ysnxmnhimnch",
102102
"type": "tarball",
103-
"url": "https://github.com/NixOS/nixpkgs/archive/f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693.tar.gz",
103+
"url": "https://github.com/NixOS/nixpkgs/archive/3c6f3f84af60a8ed5b8a79cf3026b7630fcdefb8.tar.gz",
104104
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
105105
},
106106
"nixpkgs-2003": {
@@ -110,10 +110,10 @@
110110
"homepage": null,
111111
"owner": "NixOS",
112112
"repo": "nixpkgs",
113-
"rev": "7f73e46625f508a793700f5110b86f1a53341d6e",
114-
"sha256": "1gijn6vm6hwy7sxdjd27qq0hjqpkq04npwbxybd9694x7h806823",
113+
"rev": "1db42b7fe3878f3f5f7a4f2dc210772fd080e205",
114+
"sha256": "05k9y9ki6jhaqdhycnidnk5zrdzsdammbk5lsmsbz249hjhhgcgh",
115115
"type": "tarball",
116-
"url": "https://github.com/NixOS/nixpkgs/archive/7f73e46625f508a793700f5110b86f1a53341d6e.tar.gz",
116+
"url": "https://github.com/NixOS/nixpkgs/archive/1db42b7fe3878f3f5f7a4f2dc210772fd080e205.tar.gz",
117117
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
118118
},
119119
"nixpkgs-2009": {
@@ -123,10 +123,23 @@
123123
"homepage": null,
124124
"owner": "NixOS",
125125
"repo": "nixpkgs",
126-
"rev": "f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693",
127-
"sha256": "156f48manydh8sbrs8j97mzvwdz2zaw51xlm0grrrnns5wa5aaln",
126+
"rev": "46d1c3f28ca991601a53e9a14fdd53fcd3dd8416",
127+
"sha256": "1h7lfhqws2cf8zg30fj8pakh4aw0id3m9yjpgn21scdv2nwkyyxa",
128+
"type": "tarball",
129+
"url": "https://github.com/NixOS/nixpkgs/archive/46d1c3f28ca991601a53e9a14fdd53fcd3dd8416.tar.gz",
130+
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
131+
},
132+
"nixpkgs-2105": {
133+
"branch": "nixpkgs-21.05-darwin",
134+
"builtin": false,
135+
"description": "Nix Packages collection",
136+
"homepage": null,
137+
"owner": "NixOS",
138+
"repo": "nixpkgs",
139+
"rev": "3c6f3f84af60a8ed5b8a79cf3026b7630fcdefb8",
140+
"sha256": "0jf9l6j60sa8cms7r4a02kr9j9884pwv1prf79b2ysnxmnhimnch",
128141
"type": "tarball",
129-
"url": "https://github.com/NixOS/nixpkgs/archive/f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693.tar.gz",
142+
"url": "https://github.com/NixOS/nixpkgs/archive/3c6f3f84af60a8ed5b8a79cf3026b7630fcdefb8.tar.gz",
130143
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
131144
},
132145
"nixpkgs-unstable": {
@@ -136,10 +149,10 @@
136149
"homepage": "",
137150
"owner": "NixOS",
138151
"repo": "nixpkgs",
139-
"rev": "d8eb97e3801bde96491535f40483d550b57605b9",
140-
"sha256": "1bdd7jinq5d40qai45jfkbcw1n96c7fdlams5iidwzy2ag8axlqh",
152+
"rev": "0747387223edf1aa5beaedf48983471315d95e16",
153+
"sha256": "19hpz87vfcr6icxcjdlp2mnk8v5db4l3x32adzc5ynmxvfayg3lr",
141154
"type": "tarball",
142-
"url": "https://github.com/NixOS/nixpkgs/archive/d8eb97e3801bde96491535f40483d550b57605b9.tar.gz",
155+
"url": "https://github.com/NixOS/nixpkgs/archive/0747387223edf1aa5beaedf48983471315d95e16.tar.gz",
143156
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
144157
},
145158
"old-ghc-nix": {

overlays/emscripten.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ final: prev: let
22
# GHCJS currently requires an old version of emscripten. Overriding to build the older version doesn't
33
# work straightforwardly on 20.09 anymore, so we use an ugly hack and pull emscripten from 20.03.
44
# In future, we'll just fix GHCJS to work with the newer emscripten.
5+
6+
# Not sure what to do here - akrmn
57
pkgs-2003 = import final.haskell-nix.sources.nixpkgs-2003 {
68
system = final.stdenv.system;
79
overlays = [(final: prev: with final; {

release.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ let
1515
# added here will also included without aggregation, making it easier
1616
# to find a failing test. Keep in mind though that adding too many
1717
# of these will slow down eval times.
18-
linux = allJobs.R2009.ghc8105.linux.native or {};
19-
darwin = allJobs.R2009.ghc8105.darwin.native or {};
18+
linux = allJobs.R2105.ghc8105.linux.native or {};
19+
darwin = allJobs.R2105.ghc8105.darwin.native or {};
2020
};
2121
names = x: lib.filter (n: n != "recurseForDerivations" && n != "meta")
2222
(builtins.attrNames x);

0 commit comments

Comments
 (0)