From 0785922169cdd0da14c1a80fbbb11de04ce9be78 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/libflake/flake/flake.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libflake/flake/flake.cc b/src/libflake/flake/flake.cc index 627dfe83093c..9be2e3d40bc5 100644 --- a/src/libflake/flake/flake.cc +++ b/src/libflake/flake/flake.cc @@ -72,7 +72,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}; }