Skip to content

Commit cfcb373

Browse files
sorkiluigy
andcommitted
core: DerivedPath, be explicit about dropping !
Co-Authored-By: Luigy Leon <[email protected]>
1 parent 9026aba commit cfcb373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ parseDerivedPath root p =
7676
<$> (convertError $ System.Nix.StorePath.parsePathFromText root s)
7777
else DerivedPath_Built
7878
<$> (convertError $ System.Nix.StorePath.parsePathFromText root s)
79-
<*> parseOutputsSpec (Data.Text.tail r)
79+
<*> parseOutputsSpec (Data.Text.drop (Data.Text.length "!") r)
8080

8181
derivedPathToText :: StoreDir -> DerivedPath -> Text
8282
derivedPathToText root = \case

0 commit comments

Comments
 (0)