diff options
author | Domen Kožar <domen@dev.si> | 2019-11-29 12:03:18 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2019-12-12 15:04:31 +0100 |
commit | c49ca3e5056052d43edda1d668fb45ac05676001 (patch) | |
tree | 232708dc8db00a013b2fac706dca0e626cc9df80 /pkgs/tools/filesystems/nixpart | |
parent | d84fa7c0ce6f15e898b89b2df27e68c44f0256ce (diff) |
nixpart: ignore useNixUdev as it's now required by hetzner
Diffstat (limited to 'pkgs/tools/filesystems/nixpart')
-rw-r--r-- | pkgs/tools/filesystems/nixpart/0.4/blivet.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/nixpart/0.4/blivet.nix b/pkgs/tools/filesystems/nixpart/0.4/blivet.nix index 48a72c5dd625..da2dff6b77a9 100644 --- a/pkgs/tools/filesystems/nixpart/0.4/blivet.nix +++ b/pkgs/tools/filesystems/nixpart/0.4/blivet.nix @@ -3,6 +3,7 @@ { 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; @@ -28,7 +29,6 @@ buildPythonApplication rec { }' 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 |