Skip to content

Commit bf25e7e

Browse files
committed
Add nixpkgs-unstable
1 parent b4e3a93 commit bf25e7e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

ci.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
nixpkgsVersions = {
1212
"R2003" = "nixpkgs-2003";
1313
"R2009" = "nixpkgs-2009";
14+
"unstable" = "nixpkgs-unstable";
1415
};
1516
compilerNixNames = nixpkgsName: nixpkgs: builtins.mapAttrs (compiler-nix-name: runTests: {
1617
inherit (import ./default.nix { inherit checkMaterialization; }) nixpkgsArgs;
@@ -30,6 +31,9 @@
3031
ghc8102 = false;
3132
ghc8103 = true;
3233
ghc810220201118 = false;
34+
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
35+
ghc884 = true;
36+
ghc8103 = true;
3337
});
3438
systems = nixpkgs: nixpkgs.lib.filterAttrs (_: v: builtins.elem v supportedSystems) {
3539
# I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux!

nix/sources.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,17 @@
116116
"type": "tarball",
117117
"url": "https://github.com/NixOS/nixpkgs/archive/f02bf8ffb9a5ec5e8f6f66f1e5544fd2aa1a0693.tar.gz",
118118
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
119+
},
120+
"nixpkgs-unstable": {
121+
"branch": "nixpkgs-unstable",
122+
"description": "Nix Packages collection",
123+
"homepage": "",
124+
"owner": "NixOS",
125+
"repo": "nixpkgs",
126+
"rev": "1b77b735ea70c3dfbdab3eaa79aee48d75d3e162",
127+
"sha256": "1i3whn84c4w7rhlgl9m8226qlgs7p86j7wpm4dgvv9mhzqph92zc",
128+
"type": "tarball",
129+
"url": "https://github.com/NixOS/nixpkgs/archive/1b77b735ea70c3dfbdab3eaa79aee48d75d3e162.tar.gz",
130+
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
119131
}
120132
}

0 commit comments

Comments
 (0)