fish: add update script
This commit is contained in:
parent
87980a5a14
commit
3da148134f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue