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 {
2525 update-stackage = haskell . callPackage ./scripts/update-stackage.nix { } ;
2626 update-pins = haskell . callPackage ./scripts/update-pins.nix { } ;
2727 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 { } ;
3429 } ;
3530 # Because this is going to be used to test caching on hydra, it must not
3631 # use the darcs package from the haskell.nix we are testing. For that reason
Original file line number Diff line number Diff line change 3939
4040
4141 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 ) ;
4443 in { packages ? [ ] , hoogle ? pkgs . buildPackages . haskell-nix . haskellPackages . hoogle . components . exes . hoogle } :
45- haskellLib . weakCallPackage pkgs nixpkgsHoogleLocal {
44+ haskellLib . weakCallPackage pkgs nixpkgsHoogle {
4645 # For musl we can use haddock from the buildGHC
4746 ghc = if stdenv . hostPlatform . isLinux && stdenv . targetPlatform . isMusl
4847 then ghc . buildGHC
Original file line number Diff line number Diff line change 88 inherit ( import ./ci-lib.nix ) dimension platformFilterGeneric filterAttrsOnlyRecursive ;
99 inherit ( import ./default.nix { } ) sources nixpkgsArgs ;
1010 nixpkgsVersions = {
11- "R1903" = "nixpkgs-1903" ;
1211 "R1909" = "nixpkgs-1909" ;
12+ "R2003" = "nixpkgs-2003" ;
1313 } ;
1414 systems = nixpkgs : nixpkgs . lib . filterAttrs ( _ : v : builtins . elem v supportedSystems ) {
1515 # I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux!
2020 # We need to use the actual nixpkgs version we're working with here, since the values
2121 # of 'lib.systems.examples' are not understood between all versions
2222 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
2525 inherit ( lib . systems . examples ) mingwW64 ;
2626 } // lib . optionalAttrs ( system == "x86_64-linux" ) {
2727 # Musl cross only works on linux
Original file line number Diff line number Diff line change 66 wine . build = "wine64" ;
77 wine . release = "stable" ;
88
9+ # This is marked insecure on 20.03, but many packages still depend on it
10+ permittedInsecurePackages = [ "openssl-1.0.2u" ] ;
11+
912 # sadly we need to patch GHC a bit.
1013 packageOverrides = ps : with ps ; let
1114 in rec {
Original file line number Diff line number Diff line change 11let haskellNix = rec {
22 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 ;
44 } ;
55
66 config = import ./config.nix ;
Original file line number Diff line number Diff line change 1010 } ;
1111in
1212{
13+ nixpkgs-2003 = fetch ( ./. + "/release-20.03.json" ) ;
1314 nixpkgs-1909 = fetch ( ./. + "/release-19.09.json" ) ;
14- nixpkgs-1903 = fetch ( ./. + "/release-19.03.json" ) ;
1515 nixpkgs-default = fetch ( ./. + "/github.json" ) ;
1616}
Original file line number Diff line number Diff line change 11{
22 "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
79}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "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
79}
You can’t perform that action at this time.
0 commit comments