From 84ab9dc34563d37bd9ce343c6ac1a62ddaf5847e Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Thu, 3 Dec 2026 23:53:53 +0100 Subject: pkgs/fupdate-sys2: Pin the `nixos-rebuild` package We cannot discover it from the env, as it does not exist there. --- pkgs/by-name/fu/fupdate-sys2/package.unstable.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (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 30f00d10..620b1858 100644 --- a/pkgs/by-name/fu/fupdate-sys2/package.unstable.nix +++ b/pkgs/by-name/fu/fupdate-sys2/package.unstable.nix @@ -15,10 +15,17 @@ # Dependencies git, efivar, + nixos-rebuild-ng, + lixPackageSets, }: let + nixos-rebuild-with-lix = nixos-rebuild-ng.override { + nix = lixPackageSets.latest.lix; + }; + binPath = [ git efivar + nixos-rebuild-with-lix ]; in rustPlatform.buildRustPackage (finalAttrs: { @@ -43,7 +50,7 @@ in --fish <(COMPLETE=fish $out/bin/fupdate-sys) \ --zsh <(COMPLETE=zsh $out/bin/fupdate-sys) - # We want to discover the `bootctl` and `nixos-update` from the environment + # We want to discover the `bootctl` from the environment wrapProgram $out/bin/fupdate-sys \ --prefix PATH : ${lib.makeBinPath binPath} \ ''; -- cgit v1.3.1