mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
python-blivet: Patch in paths for mount and lsof.
This adds the correct store paths for mount, umount and lsof to blivet as these commands are still generic enough to _not_ add them as a dependency. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
e3c4acb3dd
commit
64d2bbc7e8
@ -471,6 +471,8 @@ pythonPackages = python.modules // rec {
|
||||
s|wipefs|${pkgs.utillinux}/sbin/wipefs|
|
||||
s/-f/--force/
|
||||
}' blivet/formats/__init__.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
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = let
|
||||
|
Loading…
Reference in New Issue
Block a user