mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
Revert most of "Hack together a fix for the public headers"
- The `libmain` change is kept, and one more libmain change is made.
(Need to update Meson and Nix per the package alike).
- The S3 situation is fixed in a different way: the variable is public
now, used in the header, and fixed accordingly.
- Fix TODO for `HAVE_EMBEDDED_SANDBOX_SHELL`
This reverts commit 2b51250534.
18 lines
293 B
C++
18 lines
293 B
C++
#include "nix/store/s3-binary-cache-store.hh"
|
|
|
|
#if NIX_WITH_S3_SUPPORT
|
|
|
|
# include <gtest/gtest.h>
|
|
|
|
namespace nix {
|
|
|
|
TEST(S3BinaryCacheStore, constructConfig)
|
|
{
|
|
S3BinaryCacheStoreConfig config{"s3", "foobar", {}};
|
|
|
|
EXPECT_EQ(config.bucketName, "foobar");
|
|
}
|
|
|
|
} // namespace nix
|
|
|
|
#endif
|