File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 18
18
19
19
# short names for nixpkgs versions
20
20
nixpkgsVersions = {
21
- "unstable" = inputs . nixpkgs-unstable ;
22
21
"R2411" = inputs . nixpkgs-2411 ;
22
+ "unstable" = inputs . nixpkgs-unstable ;
23
23
} ;
24
24
25
25
nixpkgsArgs = {
68
68
ghc98llvm = false ;
69
69
ghc910 = true ;
70
70
ghc910llvm = true ;
71
- ghc9121 = true ;
71
+ ghc912 = true ;
72
72
ghc912X = true ;
73
73
ghc913 = true ;
74
74
} ) ) ) ;
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ final: prev: {
110
110
You may need to update haskell.nix to one that includes a newer stackage.nix.
111
111
'' ) ;
112
112
# The compiler referenced in the stack config
113
- compiler = ( stack-pkgs . extras hackage ) . compiler or ( pkg-def hackage ) . compiler ;
113
+ compiler = ( stack-pkgs . extras hackageForStack ) . compiler or ( pkg-def hackageForStack ) . compiler ;
114
114
patchesModule = ghcHackagePatches . ${ compiler . nix-name } or { } ;
115
115
# Remove fake packages generated from stack keywords used in ghc-options
116
116
removeStackSpecial = module : if builtins . typeOf module == "set"
@@ -823,7 +823,7 @@ final: prev: {
823
823
shellFor = shellArgs :
824
824
let
825
825
# These are the args we will pass to the main shell.
826
- args' = builtins . removeAttrs shellArgs [ "crossPlatforms" ] ;
826
+ args' = builtins . removeAttrs ( rawProject . args . shell // shellArgs ) [ "crossPlatforms" ] ;
827
827
# These are the args we will pass to the shells for the corss compiler
828
828
argsCross =
829
829
# These things should match main shell
@@ -847,7 +847,7 @@ final: prev: {
847
847
} ) ;
848
848
849
849
# Default shell
850
- shell = shellFor rawProject . args . shell ;
850
+ shell = shellFor { } ;
851
851
852
852
# Like `.hsPkgs.${packageName}` but when compined with `getComponent` any
853
853
# cabal configure errors are defered until the components derivation builds.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({
37
37
NIX_LDFLAGS = "--push-state --as-needed -lstdc++ --pop-state" ;
38
38
# without this collate.icu.utf8, and foreign_data will fail.
39
39
LC_CTYPE = "C" ;
40
- } ) ) . override { enableSystemd = false ; gssSupport = false ; } ;
40
+ } ) ) . override { systemdSupport = false ; gssSupport = false ; } ;
41
41
42
42
openssl = prev . openssl . override { static = true ; } ;
43
43
You can’t perform that action at this time.
0 commit comments