mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
utils: installables->nix-expressions: Fix attrpath check.
This commit is contained in:
1 file changed
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user