parted: fix build without lvm
This commit is contained in:
parent
6076953c2c
commit
10d0cc9a46
|
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch?id=9c5cd3c329a40ba4559cc1d8c7d17a9bf95c237b";
|
url = "https://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch?id=9c5cd3c329a40ba4559cc1d8c7d17a9bf95c237b";
|
||||||
sha256 = "117ypyiwvzym6pi8xmy16wa5z3sbpx7gh6haabs6kfb1x2894z7q";
|
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 ''
|
postPatch = stdenv.lib.optionalString doCheck ''
|
||||||
|
|
Loading…
Reference in New Issue