nixpart: ignore useNixUdev as it's now required by hetzner

Changed files
+1 -1
pkgs
tools
filesystems
nixpart
+1 -1
pkgs/tools/filesystems/nixpart/0.4/blivet.nix
···
{ stdenv, fetchurl, buildPythonApplication, pykickstart, pyparted, pyblock
, libselinux, cryptsetup, multipath_tools, lsof, utillinux
, useNixUdev ? true, systemd ? null
+
# useNixUdev is here for bw compatibility
}:
assert useNixUdev -> systemd != null;
···
}' blivet/formats/__init__.py
sed -i -e 's|"lsof"|"${lsof}/bin/lsof"|' blivet/formats/fs.py
sed -i -r -e 's|"(u?mount)"|"${utillinux.bin}/bin/\1"|' blivet/util.py
-
'' + stdenv.lib.optionalString useNixUdev ''
sed -i -e '/find_library/,/find_library/ {
c libudev = "${systemd.lib}/lib/libudev.so.1"
}' blivet/pyudev.py