diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/filesystems/nixpart/0.4/parted.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/filesystems/nixpart/0.4/parted.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/tools/filesystems/nixpart/0.4/parted.nix b/nixpkgs/pkgs/tools/filesystems/nixpart/0.4/parted.nix index 16f3a57ea147..d3fc9ce96f58 100644 --- a/nixpkgs/pkgs/tools/filesystems/nixpart/0.4/parted.nix +++ b/nixpkgs/pkgs/tools/filesystems/nixpart/0.4/parted.nix @@ -1,5 +1,7 @@ { stdenv, fetchurl, fetchpatch, lvm2, libuuid, gettext, readline -, utillinux, check, enableStatic ? false }: +, util-linux, check +, enableStatic ? stdenv.hostPlatform.isStatic +}: stdenv.mkDerivation rec { name = "parted-3.1"; @@ -31,7 +33,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional enableStatic "--enable-static"; doCheck = true; - checkInputs = [ check utillinux ]; + checkInputs = [ check util-linux ]; meta = { description = "Create, destroy, resize, check, and copy partitions"; |