diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-12-03 23:28:06 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-12-03 23:29:06 +0100 |
| commit | a393308dc1f366bdba422394e1acd46902dbd2ba (patch) | |
| tree | b575cc7df1a22e18294f1ad74df2332658ef010f /pkgs/by-name/fu | |
| parent | modules/fupdate: Remove the old `fupdate-sys` (diff) | |
| download | nixos-config-a393308dc1f366bdba422394e1acd46902dbd2ba.zip | |
pkgs/fupdate-sys2: Use the `nixos-update` from the environment
Otherwise, we would need to override the `nix` argument in that
`nixos-update` again to get rid of cppnix.
Diffstat (limited to 'pkgs/by-name/fu')
| -rw-r--r-- | pkgs/by-name/fu/fupdate-sys2/package.unstable.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/by-name/fu/fupdate-sys2/package.unstable.nix b/pkgs/by-name/fu/fupdate-sys2/package.unstable.nix index aa478d56..30f00d10 100644 --- a/pkgs/by-name/fu/fupdate-sys2/package.unstable.nix +++ b/pkgs/by-name/fu/fupdate-sys2/package.unstable.nix @@ -14,12 +14,10 @@ lib, # Dependencies git, - nixos-rebuild-ng, efivar, }: let binPath = [ git - nixos-rebuild-ng efivar ]; in @@ -45,7 +43,7 @@ in --fish <(COMPLETE=fish $out/bin/fupdate-sys) \ --zsh <(COMPLETE=zsh $out/bin/fupdate-sys) - # We want to discover the `bootctl` from the environment + # We want to discover the `bootctl` and `nixos-update` from the environment wrapProgram $out/bin/fupdate-sys \ --prefix PATH : ${lib.makeBinPath binPath} \ ''; |
