Merge pull request #58471 from colemickens/cu
cloud-utils: use `qemu-utils` instead of `qemu`
This commit is contained in:
commit
2c117aec37
16
pkgs/applications/virtualization/qemu/utils.nix
Normal file
16
pkgs/applications/virtualization/qemu/utils.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ stdenv, qemu }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qemu-utils-${version}";
|
||||
version = qemu.version;
|
||||
|
||||
buildInputs = [ qemu ];
|
||||
unpackPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
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"
|
||||
'';
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, makeWrapper
|
||||
, gawk, gnused, utillinux, file
|
||||
, wget, python3, qemu, euca2ools
|
||||
, wget, python3, qemu-utils, euca2ools
|
||||
, e2fsprogs, cdrkit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# according to https://packages.ubuntu.com/source/zesty/cloud-utils
|
||||
binDeps = [
|
||||
wget e2fsprogs file gnused gawk utillinux qemu euca2ools cdrkit
|
||||
wget e2fsprogs file gnused gawk utillinux qemu-utils euca2ools cdrkit
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
|
@ -20218,6 +20218,8 @@ in
|
||||
python = python3;
|
||||
};
|
||||
|
||||
qemu-utils = callPackage ../applications/virtualization/qemu/utils.nix {};
|
||||
|
||||
qgis-unwrapped = libsForQt5.callPackage ../applications/gis/qgis/unwrapped.nix {
|
||||
withGrass = false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user