Skip to content

Commit

Permalink
remove assertion that's triggered by naming derivation "source"
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui committed Aug 6, 2024
1 parent 0a167ff commit 0785922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libflake/flake/flake.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static std::tuple<StorePath, FlakeRef, FlakeRef> fetchOrSubstituteTree(

state.allowPath(storePath);

assert(!originalRef.input.getNarHash() || storePath == originalRef.input.computeStorePath(*state.store));
//assert(!originalRef.input.getNarHash() || storePath == originalRef.input.computeStorePath(*state.store));

return {std::move(storePath), resolvedRef, lockedRef};
}
Expand Down

0 comments on commit 0785922

Please sign in to comment.