hci: Fix cross eval
This commit is contained in:
parent
34c5293a71
commit
2cd55b31f5
|
@ -1,6 +1,6 @@
|
|||
{ haskell, haskellPackages, lib, makeWrapper, runc, stdenv }:
|
||||
let
|
||||
inherit (haskell.lib.compose) overrideCabal addBuildDepends justStaticExecutables;
|
||||
inherit (haskell.lib.compose) overrideCabal addBuildTools justStaticExecutables;
|
||||
inherit (lib) makeBinPath;
|
||||
bundledBins = lib.optional stdenv.isLinux runc;
|
||||
|
||||
|
@ -15,7 +15,7 @@ let
|
|||
makeWrapper $out/libexec/hci $out/bin/hci --prefix PATH : ${lib.escapeShellArg (makeBinPath bundledBins)}
|
||||
'';
|
||||
})
|
||||
(addBuildDepends [ makeWrapper ] (justStaticExecutables haskellPackages.hercules-ci-cli));
|
||||
(addBuildTools [ makeWrapper ] (justStaticExecutables haskellPackages.hercules-ci-cli));
|
||||
in pkg // {
|
||||
meta = pkg.meta // {
|
||||
position = toString ./default.nix + ":1";
|
||||
|
|
Loading…
Reference in a new issue