core: add note that parseDerivedPath breaks when storeDir has exclamation mark

This commit is contained in:
sorki 2023-12-01 14:53:19 +01:00
parent b2c31e0c7b
commit c3ece677b8

View File

@ -62,6 +62,7 @@ parseDerivedPath
-> Text
-> Either ParseOutputsError DerivedPath
parseDerivedPath root p =
-- TODO: breaks when root contains !
case Data.Text.breakOn "!" p of
(s, r) ->
if Data.Text.null r