1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

ranger: fix absolute paths in scope.sh

This commit is contained in:
Bart Brouns 2017-07-02 01:51:40 +02:00
parent c440bacea3
commit b1d79f0ef3

View file

@ -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'"