From 64d2bbc7e8c773f1d20f2ca3c492d368e553b057 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 28 Jun 2013 03:29:33 +0200 Subject: [PATCH] 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 --- pkgs/top-level/python-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2621cc28468..d61916e184a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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