Skip to content

Commit 7f22a40

Browse files
committed
build(libstore): assert withAWS xor withCurlS3
1 parent 35b3557 commit 7f22a40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libstore/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ let
3434
inherit (lib) fileset;
3535
in
3636

37+
assert lib.assertMsg (!withAWS || !withCurlS3)
38+
"withAWS and withCurlS3 are mutually exclusive - cannot enable both S3 implementations simultaneously";
39+
3740
mkMesonLibrary (finalAttrs: {
3841
pname = "nix-store";
3942
inherit version;

0 commit comments

Comments
 (0)