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 70
70
( map ( p : "${ p } /Library/Frameworks" ) component . frameworks ) ;
71
71
} ) }
72
72
73
- ghc =${ ghc }
73
+ unwrappedGhc =${ ghc }
74
74
${ # Copy over the nonReinstallablePkgs from the global package db.
75
75
''
76
76
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 } \;
78
78
done
79
79
'' }
80
80
@@ -140,15 +140,15 @@ let
140
140
'' }
141
141
done
142
142
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
145
145
fi
146
146
done
147
147
'' + lib . optionalString component . doExactConfig ''
148
148
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
152
152
fi
153
153
done
154
154
''
You can’t perform that action at this time.
0 commit comments