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
|
attrpath
|
||||||
(installable->flakeref+attrpath installable))
|
(installable->flakeref+attrpath installable))
|
||||||
(attrpath
|
(attrpath
|
||||||
(if (and (string? attrpath)
|
(if (and=> attrpath (cut string=? <> "."))
|
||||||
(string=? attrpath "."))
|
|
||||||
#f
|
#f
|
||||||
attrpath)))
|
attrpath)))
|
||||||
(match expression
|
(match expression
|
||||||
|
|||||||
Reference in new issue
Block a user