Remove runtime inputs for system update script

In order to use from actual path, prevent issues with broken versions.
The script was linked against an 2021 version of home-manager which was
incompatible with current unstable nixpkgs.
That prevented updates.

There is now no concrete version, but it will use the once from current
PATH.
This allows to use the latest "current" version as defined by system.
This commit is contained in:
Daniel Siepmann 2022-03-07 07:17:32 +01:00
parent f9960b8e61
commit 6bf3dd88c4
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -4,11 +4,6 @@ self: super:
custom-update-system = super.pkgs.writeShellApplication {
name = "custom-update-system";
runtimeInputs = [
super.pkgs.nix
super.pkgs.home-manager
];
text = ''
nix-channel --update
home-manager switch