diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-07-21 13:46:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 13:46:53 +0200 |
commit | 7ac24d952545637b6af2d60852bdd2750621b504 (patch) | |
tree | 01decd818267cfd79c9fe63e594ed3a62336c0d6 /src/libexpr/primops | |
parent | 85d0eb63165e7d7f441fe3dd94bb548a40502e52 (diff) | |
parent | 903700c5e168e2ab5bd6bee5e09b5908cb2908d6 (diff) |
Merge pull request #8650 from obsidiansystems/content-address-simpler
Simplify `ContentAddress`
Diffstat (limited to 'src/libexpr/primops')
-rw-r--r-- | src/libexpr/primops/fetchTree.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc index 579a45f92..5e668c629 100644 --- a/src/libexpr/primops/fetchTree.cc +++ b/src/libexpr/primops/fetchTree.cc @@ -254,10 +254,8 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v auto expectedPath = state.store->makeFixedOutputPath( name, FixedOutputInfo { - .hash = { - .method = unpack ? FileIngestionMethod::Recursive : FileIngestionMethod::Flat, - .hash = *expectedHash, - }, + .method = unpack ? FileIngestionMethod::Recursive : FileIngestionMethod::Flat, + .hash = *expectedHash, .references = {} }); |