From f3b422770db0989ff97155bfdc69a50d7ae7015f Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 2 Aug 2024 21:55:51 +0100 Subject: [PATCH] remove assertion that's triggered by naming derivation "source" --- src/libexpr/flake/flake.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index fee58792be99..eaa2f511fbe0 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -70,7 +70,7 @@ static std::tuple 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}; }