From 86de5c32e4fa42cc21749aa1a3cbe0091c6381d4 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 24 Nov 2026 05:45:32 +0000 Subject: krops.nix: pass the derivation, not its GC root, to the builder --- krops.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'krops.nix') 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 \ '') + # 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. -- cgit v1.3.1