ranger: fix absolute paths in scope.sh
commitb1d79f0ef39faffee5ade67e806c22c048d4aa77
authorBart Brouns <bart@magnetophon.nl>
dateSun 2 Jul 2017, 01:51 (9 years ago)
parentc440bac
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