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: {
827827 # ];
828828 # }
829829 #
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 :
832833 let
833- shellArgs = builtins . removeAttrs ( rawProject . args . shell // extraArgs ) [ "crossPlatforms" ] ;
834+ shellArgs = builtins . removeAttrs rawProject . args . shell [ "crossPlatforms" ] ;
834835 # These are the args we will pass to the shells for the corss compiler
835836 argsCross =
836837 # These things should match main shell
@@ -848,9 +849,6 @@ final: prev: {
848849 inputsFrom = shellArgs . inputsFrom or [ ] ++ crossShells ;
849850 } ) ;
850851
851- # Default shell
852- shell = shellFor { } ;
853-
854852 # Like `.hsPkgs.${packageName}` but when compined with `getComponent` any
855853 # cabal configure errors are defered until the components derivation builds.
856854 getPackage = packageName :
You can’t perform that action at this time.
0 commit comments