From 3da148134f6e0f49ffbddf3f1fe080c4cc5af0a5 Mon Sep 17 00:00:00 2001 From: Winter Date: Wed, 27 Jul 2022 13:11:24 -0400 Subject: [PATCH] fish: add update script --- pkgs/shells/fish/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 060f1e5844dc..4f53883cb77a 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -25,6 +25,7 @@ , runCommand , writeText , nixosTests +, nix-update-script , useOperatingSystemEtc ? true # An optional string containing Fish code that initializes the environment. # This is run at the very beginning of initialization. If it sets $NIX_PROFILES @@ -326,6 +327,7 @@ let ${fish}/bin/fish ${fishScript} && touch $out ''; }; + updateScript = nix-update-script { attrPath = pname; }; }; }; in