File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7070 ( map ( p : "${ p } /Library/Frameworks" ) component . frameworks ) ;
7171 } ) }
7272
73- ghc =${ ghc }
73+ unwrappedGhc =${ ghc }
7474 ${ # Copy over the nonReinstallablePkgs from the global package db.
7575 ''
7676 for p in ${ lib . concatStringsSep " " nonReinstallablePkgs' } ; do
77- find $ghc /lib/${ ghc . name } /package.conf.d -name $p'*.conf' -exec cp -f {} $configFiles/${ packageCfgDir } \;
77+ find $unwrappedGhc /lib/${ ghc . name } /package.conf.d -name $p'*.conf' -exec cp -f {} $configFiles/${ packageCfgDir } \;
7878 done
7979 '' }
8080
@@ -140,15 +140,15 @@ let
140140 '' }
141141 done
142142 for p in ${ lib . concatStringsSep " " ( lib . remove "ghc" nonReinstallablePkgs' ) } ; do
143- if [ -e $ghc /envDeps/$p ]; then
144- cat $ghc /envDeps/$p >> $configFiles/ghc-environment
143+ if [ -e $unwrappedGhc /envDeps/$p ]; then
144+ cat $unwrappedGhc /envDeps/$p >> $configFiles/ghc-environment
145145 fi
146146 done
147147 '' + lib . optionalString component . doExactConfig ''
148148 for p in ${ lib . concatStringsSep " " nonReinstallablePkgs' } ; do
149- if [ -e $ghc /exactDeps/$p ]; then
150- cat $ghc /exactDeps/$p/configure-flags >> $configFiles/configure-flags
151- cat $ghc /exactDeps/$p/cabal.config >> $configFiles/cabal.config
149+ if [ -e $unwrappedGhc /exactDeps/$p ]; then
150+ cat $unwrappedGhc /exactDeps/$p/configure-flags >> $configFiles/configure-flags
151+ cat $unwrappedGhc /exactDeps/$p/cabal.config >> $configFiles/cabal.config
152152 fi
153153 done
154154 ''
You can’t perform that action at this time.
0 commit comments