mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
ghcWithHoogle: Fix for cross
Use `buildPackages.stdenv.mkDerivation` because we are making a shell script to start hoogle on the build platform.
This commit is contained in:
parent
d3ecd5bde5
commit
ad93663a48
@ -23,7 +23,8 @@
|
|||||||
# This will build mmorph and monadControl, and have the hoogle installation
|
# This will build mmorph and monadControl, and have the hoogle installation
|
||||||
# refer to their documentation via symlink so they are not garbage collected.
|
# refer to their documentation via symlink so they are not garbage collected.
|
||||||
|
|
||||||
{ lib, stdenv, hoogle, writeText, ghc
|
{ lib, stdenv, buildPackages
|
||||||
|
, hoogle, writeText, ghc
|
||||||
, packages
|
, packages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -53,7 +54,7 @@ let
|
|||||||
(map (lib.getOutput "doc") packages);
|
(map (lib.getOutput "doc") packages);
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
buildPackages.stdenv.mkDerivation {
|
||||||
name = "hoogle-local-0.1";
|
name = "hoogle-local-0.1";
|
||||||
buildInputs = [ghc hoogle];
|
buildInputs = [ghc hoogle];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user