mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
qemu: add workaround for static build closure pulling in buildinput (#83667)
This commit is contained in:
parent
6e81b41ce7
commit
aa4e34969b
@ -223,6 +223,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
for f in $out/bin/qemu-system-*; do
|
||||
wrapGApp $f
|
||||
done
|
||||
'' + lib.optionalString stdenv.hostPlatform.isStatic ''
|
||||
# HACK: Otherwise the result will have the entire buildInputs closure
|
||||
# injected by the pkgsStatic stdenv
|
||||
# <https://github.com/NixOS/nixpkgs/issues/83667>
|
||||
rm -f $out/nix-support/propagated-build-inputs
|
||||
'';
|
||||
preBuild = "cd build";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user