mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
qemu-utils: remove qemu dependency
qemu-utils was pulling qemu which is a 900MB dependency. By removing reference to it (unneeded), we're saving space on our deployments. qemu-utils is a dependency of cloud-utils
This commit is contained in:
parent
195c7143d9
commit
fef6723f9b
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, installShellFiles, qemu }:
|
||||
{ stdenv, installShellFiles, qemu, removeReferencesTo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qemu-utils";
|
||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
|||
cp "${qemu}/bin/qemu-img" "$out/bin/qemu-img"
|
||||
cp "${qemu}/bin/qemu-io" "$out/bin/qemu-io"
|
||||
cp "${qemu}/bin/qemu-nbd" "$out/bin/qemu-nbd"
|
||||
${removeReferencesTo}/bin/remove-references-to -t ${qemu} $out/bin/*
|
||||
|
||||
installManPage ${qemu}/share/man/man1/qemu-img.1.gz
|
||||
installManPage ${qemu}/share/man/man8/qemu-nbd.8.gz
|
||||
|
|
Loading…
Reference in a new issue