oh-my-fish: fix substituteAll usage

This commit is contained in:
K900 2024-10-20 18:51:44 +03:00
parent 359cf4b159
commit 3c7d6adcc8
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!@runtimeShell@ #!@runtimeShell@
@fish@/bin/fish \ @fish@/bin/fish \
@OMF@/share/oh-my-fish/bin/install \ @omf@/share/oh-my-fish/bin/install \
--noninteractive \ --noninteractive \
--offline=@OMF@/share/oh-my-fish --offline=@omf@/share/oh-my-fish

View File

@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
cp -v ${substituteAll { cp -v ${substituteAll {
name = "omf-install"; name = "omf-install";
src = ./omf-install; src = ./omf-install;
OMF = placeholder "out"; omf = placeholder "out";
inherit fish runtimeShell; inherit fish runtimeShell;
}} $out/bin/omf-install }} $out/bin/omf-install