diff options
author | Bart Brouns <bart@magnetophon.nl> | 2017-07-02 01:51:40 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetophon.nl> | 2017-07-02 01:51:40 +0200 |
commit | b1d79f0ef39faffee5ade67e806c22c048d4aa77 (patch) | |
tree | ccf87399a6ccd70e425d46fc635488a3072c767e /pkgs/applications/misc/ranger | |
parent | c440bacea3fab588e8e01309511e1e469ba8afa2 (diff) |
ranger: fix absolute paths in scope.sh
Diffstat (limited to 'pkgs/applications/misc/ranger')
-rw-r--r-- | pkgs/applications/misc/ranger/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/misc/ranger/default.nix b/pkgs/applications/misc/ranger/default.nix index 92e017c3f28f9..f378c35293632 100644 --- a/pkgs/applications/misc/ranger/default.nix +++ b/pkgs/applications/misc/ranger/default.nix @@ -28,6 +28,9 @@ pythonPackages.buildPythonApplication rec { ''; preConfigure = '' + substituteInPlace ranger/data/scope.sh \ + --replace "/bin/echo" "echo" + substituteInPlace ranger/__init__.py \ --replace "DEFAULT_PAGER = 'less'" "DEFAULT_PAGER = '${stdenv.lib.getBin less}/bin/less'" |