mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
python-blivet: Fix pvscan to not require lvmetad.
The --cache argument to pvscan won't work on NixOS, for specifics about this, please have a look at: http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg310821.html Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
64d2bbc7e8
commit
082252bc16
@ -473,6 +473,7 @@ pythonPackages = python.modules // rec {
|
|||||||
}' blivet/formats/__init__.py
|
}' blivet/formats/__init__.py
|
||||||
sed -i -e 's|"lsof"|"${pkgs.lsof}/bin/lsof"|' blivet/formats/fs.py
|
sed -i -e 's|"lsof"|"${pkgs.lsof}/bin/lsof"|' blivet/formats/fs.py
|
||||||
sed -i -r -e 's|"(u?mount)"|"${pkgs.utillinux}/bin/\1"|' blivet/util.py
|
sed -i -r -e 's|"(u?mount)"|"${pkgs.utillinux}/bin/\1"|' blivet/util.py
|
||||||
|
sed -i '/pvscan/s/, *"--cache"//' blivet/devicelibs/lvm.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = let
|
propagatedBuildInputs = let
|
||||||
|
Loading…
Reference in New Issue
Block a user