File tree Expand file tree Collapse file tree 15 files changed +39
-106
lines changed Expand file tree Collapse file tree 15 files changed +39
-106
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,7 @@ in rec {
25
25
update-stackage = haskell . callPackage ./scripts/update-stackage.nix { } ;
26
26
update-pins = haskell . callPackage ./scripts/update-pins.nix { } ;
27
27
update-docs = pkgs . buildPackages . callPackage ./scripts/update-docs.nix {
28
- generatedOptions = import ./scripts/options-doc.nix {
29
- # nixpkgs 19.09 changes "Option has no description" from an
30
- # error into a warning. That is quite helpful when hardly any
31
- # of our options are documented, thanks @oxij.
32
- pkgs = import ( import ./nixpkgs/default.nix ) . nixpkgs-1909 { } ;
33
- } ;
28
+ generatedOptions = pkgs . callPackage ./scripts/options-doc.nix { } ;
34
29
} ;
35
30
# Because this is going to be used to test caching on hydra, it must not
36
31
# use the darcs package from the haskell.nix we are testing. For that reason
Original file line number Diff line number Diff line change 39
39
40
40
41
41
hoogleLocal = let
42
- # Use the latest default nixpkgs hoogle.nix, as the 19.03 one does not work with cross compilers
43
- nixpkgsHoogleLocal = import ( ( import ( import ../nixpkgs ) . nixpkgs-default { } ) . path + /pkgs/development/haskell-modules/hoogle.nix ) ;
42
+ nixpkgsHoogle = import ( pkgs . path + /pkgs/development/haskell-modules/hoogle.nix ) ;
44
43
in { packages ? [ ] , hoogle ? pkgs . buildPackages . haskell-nix . haskellPackages . hoogle . components . exes . hoogle } :
45
- haskellLib . weakCallPackage pkgs nixpkgsHoogleLocal {
44
+ haskellLib . weakCallPackage pkgs nixpkgsHoogle {
46
45
# For musl we can use haddock from the buildGHC
47
46
ghc = if stdenv . hostPlatform . isLinux && stdenv . targetPlatform . isMusl
48
47
then ghc . buildGHC
Original file line number Diff line number Diff line change 8
8
inherit ( import ./ci-lib.nix ) dimension platformFilterGeneric filterAttrsOnlyRecursive ;
9
9
inherit ( import ./default.nix { } ) sources nixpkgsArgs ;
10
10
nixpkgsVersions = {
11
- "R1903" = "nixpkgs-1903" ;
12
11
"R1909" = "nixpkgs-1909" ;
12
+ "R2003" = "nixpkgs-2003" ;
13
13
} ;
14
14
systems = nixpkgs : nixpkgs . lib . filterAttrs ( _ : v : builtins . elem v supportedSystems ) {
15
15
# I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux!
20
20
# We need to use the actual nixpkgs version we're working with here, since the values
21
21
# of 'lib.systems.examples' are not understood between all versions
22
22
let lib = nixpkgs . lib ;
23
- in lib . optionalAttrs ( system == "x86_64-linux" || nixpkgsName == "R1903" ) {
24
- # Windows cross compilation is currently broken on macOS for nixpkgs 19.09 (works on 19.03)
23
+ in lib . optionalAttrs ( system == "x86_64-linux" ) {
24
+ # Windows cross compilation is currently broken on macOS
25
25
inherit ( lib . systems . examples ) mingwW64 ;
26
26
} // lib . optionalAttrs ( system == "x86_64-linux" ) {
27
27
# Musl cross only works on linux
Original file line number Diff line number Diff line change 6
6
wine . build = "wine64" ;
7
7
wine . release = "stable" ;
8
8
9
+ # This is marked insecure on 20.03, but many packages still depend on it
10
+ permittedInsecurePackages = [ "openssl-1.0.2u" ] ;
11
+
9
12
# sadly we need to patch GHC a bit.
10
13
packageOverrides = ps : with ps ; let
11
14
in rec {
Original file line number Diff line number Diff line change 1
1
let haskellNix = rec {
2
2
sources = {
3
- inherit ( import ./nixpkgs/default.nix ) nixpkgs-1903 nixpkgs-1909 nixpkgs-default ;
3
+ inherit ( import ./nixpkgs/default.nix ) nixpkgs-1909 nixpkgs-2003 nixpkgs-default ;
4
4
} ;
5
5
6
6
config = import ./config.nix ;
Original file line number Diff line number Diff line change 10
10
} ;
11
11
in
12
12
{
13
+ nixpkgs-2003 = fetch ( ./. + "/release-20.03.json" ) ;
13
14
nixpkgs-1909 = fetch ( ./. + "/release-19.09.json" ) ;
14
- nixpkgs-1903 = fetch ( ./. + "/release-19.03.json" ) ;
15
15
nixpkgs-default = fetch ( ./. + "/github.json" ) ;
16
16
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"url" : " https://github.com/NixOS/nixpkgs" ,
3
- "rev" : " a81842b6994ce710ebad13303fde29438f610e8c" ,
4
- "date" : " 2020-03-07T09:04:39+01:00" ,
5
- "sha256" : " 0ch8mnx4iicsh8j6a2a6sgdshbgn6wxhzgf35pnq72avc9pdf2xi" ,
6
- "fetchSubmodules" : false
3
+ "rev" : " cac363c661817666e43d047addfaa722610d425f" ,
4
+ "date" : " 2020-03-24T13:44:58+01:00" ,
5
+ "sha256" : " 0fi8hgddy8qh2jrsa40jw7jxnr5lrhq2ji6a2xbndllivhzc31kf" ,
6
+ "fetchSubmodules" : false ,
7
+ "deepClone" : false ,
8
+ "leaveDotGit" : false
7
9
}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"url" : " https://github.com/NixOS/nixpkgs" ,
3
- "rev" : " a81842b6994ce710ebad13303fde29438f610e8c" ,
4
- "date" : " 2020-03-07T09:04:39+01:00" ,
5
- "sha256" : " 0ch8mnx4iicsh8j6a2a6sgdshbgn6wxhzgf35pnq72avc9pdf2xi" ,
6
- "fetchSubmodules" : false
3
+ "rev" : " 9237a09d8edbae9951a67e9a3434a07ef94035b7" ,
4
+ "date" : " 2020-04-19T11:10:38+05:30" ,
5
+ "sha256" : " 05bizymljzzd665bpsjbhxamcgzq7bkjjzjfapkl2nicy774ak4x" ,
6
+ "fetchSubmodules" : false ,
7
+ "deepClone" : false ,
8
+ "leaveDotGit" : false
7
9
}
You can’t perform that action at this time.
0 commit comments