summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.