mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
dwt1-shell-color-scripts: fix path for shell completions
This commit is contained in:
parent
2becde3c19
commit
99ac962b7a
@ -37,9 +37,12 @@ stdenvNoCC.mkDerivation {
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/colorscript \
|
||||
--replace "/opt/shell-color-scripts/colorscripts" \
|
||||
"$out/share/shell-color-scripts/colorscripts"
|
||||
substituteInPlace \
|
||||
$out/bin/colorscript \
|
||||
$out/share/fish/vendor_completions.d/colorscript.fish \
|
||||
$out/share/zsh/site-functions/_colorscript \
|
||||
--replace-fail "/opt/shell-color-scripts/colorscripts" \
|
||||
"$out/share/shell-color-scripts/colorscripts"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user