mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Merge pull request #27028 from magnetophon/ranger
ranger: fix absolute paths in scope.sh
This commit is contained in:
commit
d2d62e43a0
@ -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'"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user