git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #27028 from magnetophon/ranger

ranger: fix absolute paths in scope.sh

commitd2d62e43a0daa48af529c8c2b3e486acccdf93de authorJörg Thalheim <Mic92@users.noreply.github.com> dateSun 2 Jul 2017, 00:59 (9 years ago) parentc440bacb1d79f0
1 file changed+3
pkgs/applications/misc/ranger/default.nix+3
pkgs/applications/misc/ranger/default.nix+3
@@ -28,6 +28,9 @@ pythonPackages.buildPythonApplication rec {
2828 '';
2929
3030 preConfigure = ''
31+ substituteInPlace ranger/data/scope.sh \
32+ --replace "/bin/echo" "echo"
33+
3134 substituteInPlace ranger/__init__.py \
3235 --replace "DEFAULT_PAGER = 'less'" "DEFAULT_PAGER = '${stdenv.lib.getBin less}/bin/less'"
3336