mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
grc: add support for absolute store paths
Add support for absolute paths from Nix store. This will allow grc to apply configs to direct execution of `/nix/store/*-package-1.0.0/bin/hello` paths and not just PATH expansion.
This commit is contained in:
parent
1008fa1354
commit
028231c095
@ -21,6 +21,10 @@ buildPythonApplication rec {
|
||||
substituteInPlace $f \
|
||||
--replace /usr/local/ $out/
|
||||
done
|
||||
|
||||
# Support for absolute store paths.
|
||||
substituteInPlace grc.conf \
|
||||
--replace "^([/\w\.]+\/)" "^([/\w\.\-]+\/)"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
Loading…
Reference in New Issue
Block a user