From 4d2f3a2e0c033f356118607f3782c03ffd7330a0 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 2 Jul 2026 19:16:29 +0800 Subject: [PATCH] utils: installables->nix-expressions: Fix attrpath check. --- modules/rosenthal/utils/nix.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/rosenthal/utils/nix.scm b/modules/rosenthal/utils/nix.scm index 1ad0859..ad287fb 100644 --- a/modules/rosenthal/utils/nix.scm +++ b/modules/rosenthal/utils/nix.scm @@ -98,8 +98,7 @@ optional and interpreted as attribute paths relative to the Nix expression." attrpath (installable->flakeref+attrpath installable)) (attrpath - (if (and (string? attrpath) - (string=? attrpath ".")) + (if (and=> attrpath (cut string=? <> ".")) #f attrpath))) (match expression