summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-24 05:45:32 +0000
committertv <tv@krebsco.de>2026-11-24 05:45:32 +0000
commit86de5c32e4fa42cc21749aa1a3cbe0091c6381d4 (patch)
tree7f2175d1408e8de701f50c69077c64b0608543cb
parent2fe4955d641d2bda41e468ac1778def2572a4428 (diff)
krops.nix: pass the derivation, not its GC root, to the builderHEADmaster
-rw-r--r--krops.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krops.nix b/krops.nix
index 9997895b..8266cb33 100644
--- a/krops.nix
+++ b/krops.nix
@@ -262,6 +262,8 @@ rec {
--add-root "$host_cache"/roots/"$name".drv \
--attr nixosConfigurations."$name".config.system.build.toplevel \
'<hrm/legacy.nix>')
+ # nix-instantiate prints the GC root, a link to the derivation here.
+ drv=$(readlink -f -- "$drv")
#
# Choose the first builder that answers, and note its state.