git.iko.soy/typeable/nixpkgs
on master help sign in
nixpart: ignore useNixUdev as it's now required by hetzner
commitc49ca3e5056052d43edda1d668fb45ac05676001 authorDomen Kožar <domen@dev.si> dateFri 29 Nov 2019, 12:03 (7 years ago) parentd84fa7c
1 file changed+1−1
pkgs/tools/filesystems/nixpart/0.4/blivet.nix+1−1
pkgs/tools/filesystems/nixpart/0.4/blivet.nix+1−1
@@ -3,6 +3,7 @@
33{ stdenv, fetchurl, buildPythonApplication, pykickstart, pyparted, pyblock
44, libselinux, cryptsetup, multipath_tools, lsof, utillinux
55, useNixUdev ? true, systemd ? null
6+# useNixUdev is here for bw compatibility
67}:
78
89assert useNixUdev -> systemd != null;
@@ -28,7 +29,6 @@ buildPythonApplication rec {
2829 }' blivet/formats/__init__.py
2930 sed -i -e 's|"lsof"|"${lsof}/bin/lsof"|' blivet/formats/fs.py
3031 sed -i -r -e 's|"(u?mount)"|"${utillinux.bin}/bin/\1"|' blivet/util.py
31− '' + stdenv.lib.optionalString useNixUdev ''
3232 sed -i -e '/find_library/,/find_library/ {
3333 c libudev = "${systemd.lib}/lib/libudev.so.1"
3434 }' blivet/pyudev.py