mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
Merge pull request #2754 from jwiegley/lhfix
Fix to local Hoogle expression
This commit is contained in:
commit
b4b2aeebf3
|
@ -73,7 +73,8 @@ cabal.mkDerivation (self: rec {
|
|||
|
||||
for i in $docPackages; do
|
||||
import_dbs $i/share/doc
|
||||
ln -sf $i/share/doc/* $out/share/hoogle/doc
|
||||
ln -sf $i/share/doc/*-ghc-*/* $out/share/hoogle/doc 2> /dev/null \
|
||||
|| ln -sf $i/share/doc/* $out/share/hoogle/doc
|
||||
done
|
||||
|
||||
import_dbs ${self.ghc}/share/doc/ghc*/html/libraries
|
||||
|
|
Loading…
Reference in a new issue