File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 188
188
# the target dir for haddock documentation
189
189
docdir = docoutput : docoutput + "/share/doc/" + componentId . cname ;
190
190
191
- doHaddock' = doHaddock
191
+ doHaddock' = doHaddock
192
192
&& ( haskellLib . isLibrary componentId )
193
193
&& stdenv . hostPlatform == stdenv . buildPlatform ;
194
194
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ in runCommand "${ghc.name}-with-${package.identifier.name}" {
36
36
# ...and replace package database with the one from target package config.
37
37
rm -rf ${ libDir }
38
38
mkdir -p ${ libDir }
39
+ # ... yet retain the lib/.../bin directory. This contains `unlit' and friends.
40
+ ${ lndir } /bin/lndir -silent ${ ghc } /lib/${ ghcCommand } -${ ghc . version } /bin ${ libDir }
41
+
39
42
ln -s ${ configFiles } /package.conf.d ${ packageCfgDir }
40
43
41
44
# Wrap compiler executables with correct env variables.
You can’t perform that action at this time.
0 commit comments