diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2017-09-21 00:51:35 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2017-09-21 01:23:32 +0200 |
commit | d58a88277d3cea20ce958fd404343f7e701ab970 (patch) | |
tree | 420884e692855d3730262b79d750aff3cccedac0 /pkgs | |
parent | 53233c19c96086b581ace4fec51c829482663b4d (diff) | |
download | nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.tar nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.tar.gz nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.tar.bz2 nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.tar.lz nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.tar.xz nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.tar.zst nixlib-d58a88277d3cea20ce958fd404343f7e701ab970.zip |
pythonPackages.py3status: add file as a dependency
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9be73753cb6b..f519e182d3ea 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7748,7 +7748,9 @@ in { }; doCheck = false; propagatedBuildInputs = with self; [ requests ]; + buildInputs = with pkgs; [ file ]; prePatch = '' + sed -i -e "s|'file|'${pkgs.file}/bin/file|" py3status/parse_config.py sed -i -e "s|\[\"acpi\"|\[\"${pkgs.acpi}/bin/acpi\"|" py3status/modules/battery_level.py sed -i -e "s|notify-send|${pkgs.libnotify}/bin/notify-send|" py3status/modules/battery_level.py sed -i -e "s|/usr/bin/whoami|${pkgs.coreutils}/bin/whoami|" py3status/modules/external_script.py |