mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-11-30 22:42:02 +03:00
core: DerivedPath, be explicit about dropping !
Co-Authored-By: Luigy Leon <luigy@outlook.com>
This commit is contained in:
parent
9026abaf5c
commit
cfcb37320c
@ -76,7 +76,7 @@ parseDerivedPath root p =
|
||||
<$> (convertError $ System.Nix.StorePath.parsePathFromText root s)
|
||||
else DerivedPath_Built
|
||||
<$> (convertError $ System.Nix.StorePath.parsePathFromText root s)
|
||||
<*> parseOutputsSpec (Data.Text.tail r)
|
||||
<*> parseOutputsSpec (Data.Text.drop (Data.Text.length "!") r)
|
||||
|
||||
derivedPathToText :: StoreDir -> DerivedPath -> Text
|
||||
derivedPathToText root = \case
|
||||
|
Loading…
Reference in New Issue
Block a user