diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-06-21 23:07:06 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-06-29 04:41:48 +0200 |
commit | 10d0cc9a466253849305f4cf865a1ecbf5d1dfd3 (patch) | |
tree | 678dbf5222a0e807f4409f55f893d564ee8b7fd6 /pkgs/tools/misc | |
parent | 6076953c2c925857016f2d622ceaf382b7f77830 (diff) |
parted: fix build without lvm
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/parted/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix index 0a0cece4fce68..3395e02863430 100644 --- a/pkgs/tools/misc/parted/default.nix +++ b/pkgs/tools/misc/parted/default.nix @@ -16,6 +16,11 @@ stdenv.mkDerivation rec { (fetchpatch { url = "https://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch?id=9c5cd3c329a40ba4559cc1d8c7d17a9bf95c237b"; sha256 = "117ypyiwvzym6pi8xmy16wa5z3sbpx7gh6haabs6kfb1x2894z7q"; + }) + ++ stdenv.lib.optional (devicemapper == null) + (fetchpatch { + url = https://git.savannah.gnu.org/cgit/parted.git/patch/?id=7e87ca3c531228d35e13e802d2622006138b104c; + sha256 = "0i29lfg8cwj342q5s7qwqhncz2bkifj5rjc7cx6jd4zqb6ykkndj"; }); postPatch = stdenv.lib.optionalString doCheck '' |