qemu: only apply autoPatchelfHook on linux
It fails on darwin due to missing `patchelf` and the missing ELFs: ``` /nix/store/...-auto-patchelf-hook/nix-support/setup-hook: line 220: -l: command not found ```
This commit is contained in:
parent
d29e8f0e59
commit
251add14cf
|
@ -50,8 +50,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1g0pvx4qbirpcn9mni704y03n3lvkmw2c0rbcwvydyr8ns4xh66b";
|
sha256 = "1g0pvx4qbirpcn9mni704y03n3lvkmw2c0rbcwvydyr8ns4xh66b";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ python python.pkgs.sphinx pkg-config flex bison meson ninja autoPatchelfHook ]
|
nativeBuildInputs = [ python python.pkgs.sphinx pkg-config flex bison meson ninja ]
|
||||||
++ optionals gtkSupport [ wrapGAppsHook ];
|
++ optionals gtkSupport [ wrapGAppsHook ]
|
||||||
|
++ optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ zlib glib perl pixman
|
[ zlib glib perl pixman
|
||||||
vde2 texinfo makeWrapper lzo snappy
|
vde2 texinfo makeWrapper lzo snappy
|
||||||
|
|
Loading…
Reference in New Issue