From a393308dc1f366bdba422394e1acd46902dbd2ba Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Thu, 3 Dec 2026 23:28:06 +0100 Subject: 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. --- pkgs/by-name/fu/fupdate-sys2/package.unstable.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkgs/by-name') 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} \ ''; -- cgit v1.3.1