From 3c7d6adcc82b40d251b5217921019a28e71a4a74 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 20 Oct 2024 18:51:44 +0300 Subject: [PATCH] oh-my-fish: fix substituteAll usage --- pkgs/by-name/oh/oh-my-fish/omf-install | 4 ++-- pkgs/by-name/oh/oh-my-fish/package.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/oh/oh-my-fish/omf-install b/pkgs/by-name/oh/oh-my-fish/omf-install index 0b8be218e38a..36cc440e13a0 100644 --- a/pkgs/by-name/oh/oh-my-fish/omf-install +++ b/pkgs/by-name/oh/oh-my-fish/omf-install @@ -1,6 +1,6 @@ #!@runtimeShell@ @fish@/bin/fish \ - @OMF@/share/oh-my-fish/bin/install \ + @omf@/share/oh-my-fish/bin/install \ --noninteractive \ - --offline=@OMF@/share/oh-my-fish + --offline=@omf@/share/oh-my-fish diff --git a/pkgs/by-name/oh/oh-my-fish/package.nix b/pkgs/by-name/oh/oh-my-fish/package.nix index d18465609d91..019979bf9f39 100644 --- a/pkgs/by-name/oh/oh-my-fish/package.nix +++ b/pkgs/by-name/oh/oh-my-fish/package.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { cp -v ${substituteAll { name = "omf-install"; src = ./omf-install; - OMF = placeholder "out"; + omf = placeholder "out"; inherit fish runtimeShell; }} $out/bin/omf-install