Skip to content

Commit e1299b5

Browse files
committed
core: add note that parseDerivedPath breaks when storeDir has exclamation mark
1 parent 2b2616f commit e1299b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hnix-store-core/src/System/Nix/DerivedPath.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ parseDerivedPath
6262
-> Text
6363
-> Either ParseOutputsError DerivedPath
6464
parseDerivedPath root p =
65+
-- TODO: breaks when root contains !
6566
case Data.Text.breakOn "!" p of
6667
(s, r) ->
6768
if Data.Text.null r

0 commit comments

Comments
 (0)