mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
fish: add update script
This commit is contained in:
parent
87980a5a14
commit
3da148134f
@ -25,6 +25,7 @@
|
|||||||
, runCommand
|
, runCommand
|
||||||
, writeText
|
, writeText
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, nix-update-script
|
||||||
, useOperatingSystemEtc ? true
|
, useOperatingSystemEtc ? true
|
||||||
# An optional string containing Fish code that initializes the environment.
|
# An optional string containing Fish code that initializes the environment.
|
||||||
# This is run at the very beginning of initialization. If it sets $NIX_PROFILES
|
# 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
|
${fish}/bin/fish ${fishScript} && touch $out
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
updateScript = nix-update-script { attrPath = pname; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user