Fix misleading name

This commit is contained in:
Doug Beardsley 2018-11-21 01:54:15 -05:00
parent 9e11410f6e
commit 09d9919367

View file

@ -949,9 +949,9 @@ hashString nsAlgo ns = Prim $ do
-- TODO Double-check this
placeHolder :: MonadNix e m => m (NValue m) -> m (NValue m)
placeHolder = fromValue >=> fromStringNoContext >=> \ns -> do
placeHolder = fromValue >=> fromStringNoContext >=> \t -> do
h <- runPrim (hashString (principledMakeNixStringWithoutContext "sha256")
(principledMakeNixStringWithoutContext ns))
(principledMakeNixStringWithoutContext t))
toNix h
absolutePathFromValue :: MonadNix e m => NValue m -> m FilePath