mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Make the aws-cpp-sdk dependency optional
This commit is contained in:
parent
16d9c872e4
commit
75d2492f20
6 changed files with 28 additions and 8 deletions
11
release.nix
11
release.nix
|
@ -27,6 +27,7 @@ let
|
|||
[ curl bison flex perl libxml2 libxslt bzip2 xz
|
||||
pkgconfig sqlite libsodium
|
||||
docbook5 docbook5_xsl
|
||||
autoconf-archive
|
||||
] ++ lib.optional (!lib.inNixShell) git;
|
||||
|
||||
configureFlags = ''
|
||||
|
@ -71,15 +72,13 @@ let
|
|||
src = tarball;
|
||||
|
||||
buildInputs =
|
||||
[ curl perl bzip2 xz openssl pkgconfig sqlite boehmgc
|
||||
|
||||
[ curl perl bzip2 xz openssl pkgconfig sqlite boehmgc ]
|
||||
++ lib.optional stdenv.isLinux libsodium
|
||||
++ lib.optional stdenv.isLinux
|
||||
(aws-sdk-cpp.override {
|
||||
apis = ["s3"];
|
||||
customMemoryManagement = false;
|
||||
})
|
||||
|
||||
]
|
||||
++ lib.optional stdenv.isLinux libsodium;
|
||||
});
|
||||
|
||||
configureFlags = ''
|
||||
--disable-init-state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue