mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
nixpart: ignore useNixUdev as it's now required by hetzner
This commit is contained in:
parent
d84fa7c0ce
commit
c49ca3e505
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue