1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Clean some header related things.

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.
This commit is contained in:
John Ericson 2025-04-06 17:17:54 -04:00
parent 3fcdccb8ce
commit 3294b22a68
13 changed files with 32 additions and 48 deletions

View file

@ -40,9 +40,6 @@ deps_private += gtest
configdata = configuration_data()
configdata.set_quoted('PACKAGE_VERSION', meson.project_version())
aws_s3 = dependency('aws-cpp-sdk-s3', required : false)
configdata.set('ENABLE_S3', aws_s3.found().to_int())
config_priv_h = configure_file(
configuration : configdata,
output : 'store-tests-config.hh',

View file

@ -1,10 +1,9 @@
#include "store-tests-config.hh"
#if ENABLE_S3
#include "nix/store/s3-binary-cache-store.hh"
#if NIX_WITH_S3_SUPPORT
# include <gtest/gtest.h>
# include "nix/store/s3-binary-cache-store.hh"
namespace nix {
TEST(S3BinaryCacheStore, constructConfig)