1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 20:51:00 +01:00

Tagging release 2.28.0

-----BEGIN PGP SIGNATURE-----
 
 iQFHBAABCAAxFiEEtUHVUwEnDgvPFcpdgXC0cm1xmN4FAmfv9fITHGVkb2xzdHJh
 QGdtYWlsLmNvbQAKCRCBcLRybXGY3ohrCAC1Uw/JJr3yEPlJ/jLc9t9HqEKMY08W
 W6SEjpYJHYixMXmoonexkqojncNWBaiytRa+vBY7JQq0xTOOBwj42TM2ZzMF4GXi
 vO4Ox0hEsRa/v7tSmK6GFz1sNEKEUOHDNbilg4kzkkBHPEGPUGMwdWkT0akO576Q
 SQ6ERwPPLsHDI2YtAeAD8R4p07CraiyA34ljDPz3rChTAXRPVKWxJUt1enwEWYTr
 cKk45RcR4S8rP1BVwf3wsNsrHjqjbaY45kPAo8GD79hFH0zkyJarS3Kgv8qsWLra
 9ph0DVVG0wiArlET7Y3uchqtAC0Z5LOnutAmOFYFw6DKfWp9yGfl/SVW
 =XRda
 -----END PGP SIGNATURE-----

Merge tag '2.28.0' into sync-2.28.0

Tagging release 2.28.0
This commit is contained in:
Eelco Dolstra 2025-04-04 17:49:15 +02:00
commit 852075ec9d
697 changed files with 4531 additions and 3970 deletions

View file

@ -2,9 +2,9 @@
#include <rapidcheck.h>
#include "hash.hh"
#include "nix/util/hash.hh"
#include "tests/hash.hh"
#include "nix/util/tests/hash.hh"
namespace rc {
using namespace nix;

View file

@ -3,9 +3,9 @@
#include <gtest/gtest.h>
#include "types.hh"
#include "environment-variables.hh"
#include "file-system.hh"
#include "nix/util/types.hh"
#include "nix/util/environment-variables.hh"
#include "nix/util/file-system.hh"
namespace nix {

View file

@ -3,7 +3,7 @@
#include <rapidcheck/gen/Arbitrary.h>
#include <hash.hh>
#include "nix/util/hash.hh"
namespace rc {
using namespace nix;

View file

@ -0,0 +1,11 @@
# Public headers directory
include_dirs = [include_directories('../../..')]
headers = files(
'characterization.hh',
'gtest-with-params.hh',
'hash.hh',
'nix_api_util.hh',
'string_callback.hh',
)

View file

@ -1,5 +1,5 @@
#pragma once
#include "fs-sink.hh"
#include "nix/util/fs-sink.hh"
namespace nix::test {

View file

@ -25,29 +25,14 @@ subdir('nix-meson-build-support/subprojects')
rapidcheck = dependency('rapidcheck')
deps_public += rapidcheck
add_project_arguments(
# TODO(Qyriad): Yes this is how the autoconf+Make system did it.
# It would be nice for our headers to be idempotent instead.
'-include', 'config-util.hh',
language : 'cpp',
)
subdir('nix-meson-build-support/common')
sources = files(
'tests/hash.cc',
'tests/string_callback.cc',
'hash.cc',
'string_callback.cc',
)
include_dirs = [include_directories('.')]
headers = files(
'tests/characterization.hh',
'tests/gtest-with-params.hh',
'tests/hash.hh',
'tests/nix_api_util.hh',
'tests/string_callback.hh',
)
subdir('include/nix/util/tests')
subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version')
@ -64,7 +49,7 @@ this_library = library(
install : true,
)
install_headers(headers, subdir : 'nix', preserve_path : true)
install_headers(headers, subdir : 'nix/util/tests', preserve_path : true)
libraries_private = []

View file

@ -28,6 +28,7 @@ mkMesonLibrary (finalAttrs: {
./.version
./meson.build
# ./meson.options
./include/nix/util/tests/meson.build
(fileset.fileFilter (file: file.hasExt "cc") ./.)
(fileset.fileFilter (file: file.hasExt "hh") ./.)
];

View file

@ -1,4 +1,4 @@
#include "string_callback.hh"
#include "nix/util/tests/string_callback.hh"
namespace nix::testing {

View file

@ -1,5 +1,5 @@
#include <iostream>
#include "tracing-file-system-object-sink.hh"
#include "nix/tracing-file-system-object-sink.hh"
namespace nix::test {