File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -827,10 +827,11 @@ final: prev: {
827
827
# ];
828
828
# }
829
829
#
830
- shellFor = extraArgs : shellFor' ( rawProject . args . shell // extraArgs ) . crossPlatforms extraArgs ;
831
- shellFor' = crossPlatforms : extraArgs :
830
+ shellFor = extraArgs : ( appendModule { shell = extraArgs ; } ) . shell ;
831
+ shell = shellFor' rawProject . args . shell . crossPlatforms ;
832
+ shellFor' = crossPlatforms :
832
833
let
833
- shellArgs = builtins . removeAttrs ( rawProject . args . shell // extraArgs ) [ "crossPlatforms" ] ;
834
+ shellArgs = builtins . removeAttrs rawProject . args . shell [ "crossPlatforms" ] ;
834
835
# These are the args we will pass to the shells for the corss compiler
835
836
argsCross =
836
837
# These things should match main shell
@@ -848,9 +849,6 @@ final: prev: {
848
849
inputsFrom = shellArgs . inputsFrom or [ ] ++ crossShells ;
849
850
} ) ;
850
851
851
- # Default shell
852
- shell = shellFor { } ;
853
-
854
852
# Like `.hsPkgs.${packageName}` but when compined with `getComponent` any
855
853
# cabal configure errors are defered until the components derivation builds.
856
854
getPackage = packageName :
You can’t perform that action at this time.
0 commit comments