fish: add update script

This commit is contained in:
Winter 2022-07-27 13:11:24 -04:00 committed by Cole Helbling
parent 87980a5a14
commit 3da148134f

View File

@ -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