Bring up-to-date with hnix-store-core 0.1.0.0.
This commit is contained in:
parent
c997ba2874
commit
e4b5e557e9
|
@ -39,8 +39,8 @@ let
|
|||
hnix-store-src = pkgs.fetchFromGitHub {
|
||||
owner = "haskell-nix";
|
||||
repo = "hnix-store";
|
||||
rev = "8cc6595803872b7effc4cbf97aec0b8723068212";
|
||||
sha256 = "1scm72bxn4wx9r00m0l4h4kanlgq9fw5z1nfzi11d973b5pf1nf3";
|
||||
rev = "0.1.0.0";
|
||||
sha256 = "1z48msfkiys432rkd00fgimjgspp98dci11kgg3v8ddf4mk1s8g0";
|
||||
};
|
||||
|
||||
overlay = pkgs.lib.foldr pkgs.lib.composeExtensions (_: _: {}) [
|
||||
|
|
|
@ -95,7 +95,7 @@ import Nix.Value
|
|||
import Nix.Value.Equal
|
||||
import Nix.Value.Monad
|
||||
import Nix.XML
|
||||
import System.Nix.Internal.Hash ( printHashBytes32 )
|
||||
import System.Nix.Base32 as Base32
|
||||
import System.FilePath
|
||||
import System.Posix.Files ( isRegularFile
|
||||
, isDirectory
|
||||
|
@ -1227,7 +1227,7 @@ placeHolder = fromValue >=> fromStringNoContext >=> \t -> do
|
|||
toValue
|
||||
$ principledMakeNixStringWithoutContext
|
||||
$ Text.cons '/'
|
||||
$ printHashBytes32
|
||||
$ Base32.encode
|
||||
$ fst -- The result coming out of hashString is base16 encoded
|
||||
$ Base16.decode
|
||||
$ encodeUtf8
|
||||
|
|
Loading…
Reference in a new issue