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 2, 2024
1 parent bfa444d commit f3b4227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/flake/flake.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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 f3b4227

Please sign in to comment.