From 7f22a40e3b515d0a99233a1eb36ef8191628629f Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Costa Date: Fri, 3 Oct 2025 15:58:47 +0000 Subject: [PATCH] build(libstore): assert withAWS xor withCurlS3 --- src/libstore/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libstore/package.nix b/src/libstore/package.nix index 1c08e466e..0eb8e3687 100644 --- a/src/libstore/package.nix +++ b/src/libstore/package.nix @@ -34,6 +34,9 @@ let inherit (lib) fileset; in +assert lib.assertMsg (!withAWS || !withCurlS3) + "withAWS and withCurlS3 are mutually exclusive - cannot enable both S3 implementations simultaneously"; + mkMesonLibrary (finalAttrs: { pname = "nix-store"; inherit version;