nixVersions.git: 2.34pre20251217 → 2.34pre20260217

This commit is contained in:
Artemis Tosini
2026-02-18 12:25:23 -05:00
parent 02263f4691
commit 6e42fdac61
7 changed files with 66 additions and 6 deletions
@@ -222,14 +222,14 @@ lib.makeExtensible (
nixComponents_git =
(nixDependencies.callPackage ./modular/packages.nix rec {
version = "2.34pre20251217_${lib.substring 0 8 src.rev}";
version = "2.34pre20260217_${lib.substring 0 8 src.rev}";
inherit teams;
otherSplices = generateSplicesForNixComponents "nixComponents_git";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "b6add8dcc6f4f6feb1ce83aaffe4d7e660e6f616";
hash = "sha256-2au7PdQ4HXSuktTPCtOJoD/LNjqMwbHIJmuzEYW1b7I=";
rev = "6e725093e6d4dda4f6bdbab20ea3e9e9687225ec";
hash = "sha256-dhPINhGyN3N+3zMSdM51DRTEKCPGCNO3+QsbhD0/nFc=";
};
}).appendPatches
patches_common;
@@ -370,6 +370,7 @@ in
nix-cmd = callPackage ../src/libcmd/package.nix { };
nix-cli = callPackage ../src/nix/package.nix { };
${whenAtLeast "2.34pre" "nix-nswrapper"} = callPackage ../src/nswrapper/package.nix { };
nix-functional-tests = callPackage ../tests/functional/package.nix { };
@@ -35,6 +35,8 @@
nix-cli,
nix-nswrapper ? null,
nix-functional-tests,
nix-manual,
@@ -177,6 +179,9 @@ stdenv.mkDerivation (finalAttrs: {
# Forwarded outputs
ln -sT ${nix-manual} $doc
ln -sT ${nix-manual.man} $man
''
+ lib.optionalString (stdenv.isLinux && lib.versionAtLeast version "2.34pre") ''
lndir ${nix-nswrapper} $out
'';
passthru = {
@@ -8,6 +8,8 @@
rapidcheck,
gtest,
# Configuration Options
version,
@@ -24,7 +26,8 @@ mkMesonLibrary (finalAttrs: {
nix-store
nix-store-c
rapidcheck
];
]
++ lib.optional (lib.versionAtLeast version "2.34pre") gtest;
mesonFlags = [
];
@@ -10,6 +10,8 @@
nix-store-test-support,
sqlite,
openssl,
rapidcheck,
gtest,
runCommand,
@@ -60,7 +62,10 @@ mkMesonExecutable (finalAttrs: {
runCommand "${finalAttrs.pname}-run"
{
meta.broken = !stdenv.hostPlatform.emulatorAvailable buildPackages;
buildInputs = [ writableTmpDirAsHomeHook ];
buildInputs = [
writableTmpDirAsHomeHook
]
++ lib.optional (lib.versionAtLeast version "2.34pre") openssl;
}
''
export _NIX_TEST_UNIT_DATA=${data + "/src/libstore-tests/data"}
@@ -8,6 +8,7 @@
nix-util,
boost,
curl,
cmake,
aws-c-common,
aws-sdk-cpp,
aws-crt-cpp,
@@ -35,7 +36,9 @@ mkMesonLibrary (finalAttrs: {
workDir = ./.;
nativeBuildInputs = lib.optional embeddedSandboxShell unixtools.hexdump;
nativeBuildInputs =
lib.optional embeddedSandboxShell unixtools.hexdump
++ lib.optional (withAWS && lib.versionAtLeast version "2.34pre") cmake;
buildInputs = [
boost
@@ -0,0 +1,43 @@
{
lib,
mkMesonExecutable,
nix-util,
# Configuration Options
version,
}:
let
inherit (lib) fileset;
in
mkMesonExecutable (finalAttrs: {
pname = "nix-nswrapper";
inherit version;
workDir = ./.;
fileset = fileset.unions [
../../nix-meson-build-support
./nix-meson-build-support
../../.version
./.version
./meson.build
(fileset.fileFilter (file: file.hasExt "cc") ./.)
(fileset.fileFilter (file: file.hasExt "hh") ./.)
];
buildInputs = [
nix-util
];
mesonFlags = [
];
meta = {
mainProgram = "nix-nswrapper";
platforms = lib.platforms.linux;
};
})