summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-12-03 23:53:53 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-12-03 23:54:58 +0100
commit84ab9dc34563d37bd9ce343c6ac1a62ddaf5847e (patch)
treedcfc7993f7cf028bf555daf96654a233d8cd5084
parentpkgs/fupdate-sys2: Use the `nixos-update` from the environment (diff)
downloadnixos-config-84ab9dc34563d37bd9ce343c6ac1a62ddaf5847e.zip
pkgs/fupdate-sys2: Pin the `nixos-rebuild` package
We cannot discover it from the env, as it does not exist there.
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/fu/fupdate-sys2/package.unstable.nix9
1 files changed, 8 insertions, 1 deletions
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} \
'';