Sergei Zimmerman
4d9efa45e2
tests/functional: Add tests for builtins.dirOf
...
These will change in the next commit to fix the silent regression from 2.23
in the handling of multiple subsequent path separators.
(cherry picked from commit 86f090837b )
2025-11-09 17:42:55 +00:00
internal-nix-ci[bot]
3f1f531a25
Merge pull request #14495 from NixOS/backport-14491-to-2.29-maintenance
...
[Backport 2.29-maintenance] Don't crash on flakerefs containing newlines
2025-11-06 19:52:09 +00:00
Eelco Dolstra
50cc70b71e
Don't crash on flakerefs containing newlines
...
Fixes #14311 .
(cherry picked from commit c1317017e9 )
2025-11-06 19:18:04 +00:00
John Ericson
3adb146014
Merge pull request #14044 from NixOS/mergify/bp/2.29-maintenance/pr-13929
...
Remove unused function setChildSignalMask() (backport #13929 )
2025-09-22 13:34:12 -04:00
Eelco Dolstra
158efe6cc8
Remove unused function setChildSignalMask()
...
(cherry picked from commit a44dcbff13 )
2025-09-22 16:30:58 +00:00
Eelco Dolstra
c9380d9736
Bump version
2025-09-01 18:29:21 +02:00
Jörg Thalheim
a885a36130
Merge pull request #13746 from NixOS/mergify/bp/2.29-maintenance/pr-13741
...
libexpr: Canonicalize TOML timestamps for toml11 > 4.0 (backport #13741 )
2025-08-29 07:35:56 +02:00
mergify[bot]
2851af6784
Merge pull request #13841 from NixOS/mergify/bp/2.29-maintenance/pr-13837
...
flake: Update nixpkgs (backport #13837 )
2025-08-27 08:20:17 +00:00
Sergei Zimmerman
42ddc10d92
flake: Update nixpkgs
...
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/cd32a774ac52caaa03bcfc9e7591ac8c18617ced?narHash=sha256-VtMQg02B3kt1oejwwrGn50U9Xbjgzfbb5TV5Wtx8dKI%3D' (2025-08-17)
→ 'github:NixOS/nixpkgs/d98ce345cdab58477ca61855540999c86577d19d?narHash=sha256-O2CIn7HjZwEGqBrwu9EU76zlmA5dbmna7jL1XUmAId8%3D' (2025-08-26)
This update contains d1266642a8722f2a05e311fa151c1413d2b9653c, which
is necessary for the TOML timestamps to get tested via nixpkgsLibTests job.
(cherry picked from commit 625477a7df )
2025-08-27 07:52:40 +00:00
Sergei Zimmerman
a5ab03cb16
libexpr: Canonicalize TOML timestamps for toml11 > 4.0
...
This addresses several changes from toml11 4.0 bump in
nixpkgs [1].
1. Added more regression tests for timestamp formats.
Special attention needs to be paid to the precision
of the subsecond range for local-time. Prior versions select the closest
(upwards) multiple of 3 with a hard cap of 9 digits.
2. Normalize local datetime and offset datetime to always
use the uppercase separator `T`. This is actually the issue
surfaced in [2]. This canonicalization is basically a requirement
by (a certain reading) of rfc3339 section 5.6 [3].
3. If using toml11 >= 4.0 also keep the old behavior wrt
to the number of digits used for subsecond part of the local-time.
Newer versions cap it at 6 digits unconditionally.
[1]: https://www.github.com/NixOS/nixpkgs/pull/331649
[2]: https://www.github.com/NixOS/nix/issues/11441
[3]: https://datatracker.ietf.org/doc/html/rfc3339
(cherry picked from commit dc769d72cb )
2025-08-19 00:11:21 +03:00
Sergei Zimmerman
b4871a4a94
libexpr: Use table.size() instead of unnecessary loop
...
(cherry picked from commit d8fc55a46e )
2025-08-19 00:11:20 +03:00
Sergei Zimmerman
027bf13e18
libexpr: Use recursive lambda instead of std::function
...
There's no reason to use a std::function for recursive lambdas
since there are polymorphic lambdas.
(cherry picked from commit a80a5c4dba )
2025-08-19 00:11:19 +03:00
Sergei Zimmerman
3e3d2b7d01
libexpr: Remove extra trailing semicolons (NFC)
...
This looks really weird after the reformat.
(cherry picked from commit df4e55ffc1 )
2025-08-19 00:11:18 +03:00
Sergei Zimmerman
1a55d733ce
tests/functional/lang: Add more tests for TOML timestamps
...
Current test suite doesn't cover the subsecond formatting at
all and toml11 is quite finicky with that. We should at the very
least test its behavior to avoid silent breakages on updates.
(cherry picked from commit 7ed0229d1a )
2025-08-19 00:11:17 +03:00
John Ericson
9328af84d3
Merge pull request #13787 from NixOS/mergify/bp/2.29-maintenance/pr-13785
...
flake: nixpkgs: nixos-unstable -> nixos-25.05-small (backport #13785 )
2025-08-18 16:56:44 -04:00
Sergei Zimmerman
2aba7ac90d
hydra: Fix otherNixes.nix_2_3
...
25.05 has it marked as insecure, but we don't care about it
for testing purposes.
(cherry picked from commit 051290b155 )
2025-08-18 22:52:16 +03:00
Sergei Zimmerman
adc17bace9
git-blame-ignore-revs: Add nixfmt 1.0.0 reformat
2025-08-18 22:51:37 +03:00
Sergei Zimmerman
d6aebd8847
flake: Apply nixfmt 1.0.0
2025-08-18 22:50:52 +03:00
Sergei Zimmerman
c53ac76f7b
flake: nixpkgs: nixos-unstable -> nixos-25.05-small
...
About time we upgraded our nixpkgs flake input. Ideally
we'd have automation to do this.
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/adaa24fbf46737f3f1b5497bf64bae750f82942e?narHash=sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY%3D' (2025-05-13)
→ 'github:NixOS/nixpkgs/cd32a774ac52caaa03bcfc9e7591ac8c18617ced?narHash=sha256-VtMQg02B3kt1oejwwrGn50U9Xbjgzfbb5TV5Wtx8dKI%3D' (2025-08-17)
(cherry picked from commit fc33681583 )
2025-08-18 22:48:03 +03:00
mergify[bot]
2454267de0
Merge pull request #13648 from NixOS/mergify/bp/2.29-maintenance/pr-13393
...
Fix typo: remove an extra word (backport #13393 )
2025-07-31 03:47:43 +00:00
mergify[bot]
9572fdeb3b
Merge pull request #13650 from NixOS/mergify/bp/2.29-maintenance/pr-13395
...
libstore-tests: Don't leak memory in tests (backport #13395 )
2025-07-31 03:47:40 +00:00
mergify[bot]
69d2e6eeef
Merge pull request #13605 from NixOS/mergify/bp/2.29-maintenance/pr-13282
...
tests/functional: Add more language tests for `builtins.match` (backport #13282 )
2025-07-31 02:16:21 +00:00
mergify[bot]
2870c177d6
Merge pull request #13612 from NixOS/mergify/bp/2.29-maintenance/pr-13305
...
add documentation of tarball-ttl to nix-channel (backport #13305 )
2025-07-31 02:11:59 +00:00
mergify[bot]
b0169fdc5f
Merge pull request #13633 from NixOS/mergify/bp/2.29-maintenance/pr-13360
...
libexpr: Remove non-const overload of `listElems` (backport #13360 )
2025-07-31 02:11:56 +00:00
mergify[bot]
7b08e8d20e
Merge pull request #13610 from NixOS/mergify/bp/2.29-maintenance/pr-13304
...
Fix overriding gtest with gmock (backport #13304 )
2025-07-31 02:11:52 +00:00
mergify[bot]
aabe327111
Merge pull request #13646 from NixOS/mergify/bp/2.29-maintenance/pr-13382
...
Update docs (backport #13382 )
2025-07-31 02:11:49 +00:00
mergify[bot]
ab4951588b
Merge pull request #13620 from NixOS/mergify/bp/2.29-maintenance/pr-13326
...
docker.nix: Prevent double copy of nixpkgs source tree (backport #13326 )
2025-07-31 02:11:46 +00:00
mergify[bot]
b41101c815
Merge pull request #13628 from NixOS/mergify/bp/2.29-maintenance/pr-13351
...
docker: make sure `nix config check` works (backport #13351 )
2025-07-31 01:53:07 +00:00
mergify[bot]
cb73841205
Merge pull request #13626 from NixOS/mergify/bp/2.29-maintenance/pr-13347
...
Fix broken link in configuration description (backport #13347 )
2025-07-31 01:53:04 +00:00
mergify[bot]
931ca7d11a
Merge pull request #13635 from NixOS/mergify/bp/2.29-maintenance/pr-13361
...
Fix a minor typo (backport #13361 )
2025-07-31 01:53:01 +00:00
mergify[bot]
b5efc9ac56
Merge pull request #13618 from NixOS/mergify/bp/2.29-maintenance/pr-13321
...
Modify docker.nix to use mapAttrsToList instead of mapAttrsFlatten (backport #13321 )
2025-07-31 01:52:59 +00:00
mergify[bot]
012f429104
Merge pull request #13639 from NixOS/mergify/bp/2.29-maintenance/pr-13373
...
Fix typo (backport #13373 )
2025-07-31 01:52:55 +00:00
mergify[bot]
830dfc3b60
Merge pull request #13641 from NixOS/mergify/bp/2.29-maintenance/pr-13372
...
Fix broken link (backport #13372 )
2025-07-31 01:49:41 +00:00
mergify[bot]
2968e18d37
Merge pull request #13637 from NixOS/mergify/bp/2.29-maintenance/pr-13368
...
libstore: fix race condition when creating state directories (backport #13368 )
2025-07-31 01:49:39 +00:00
mergify[bot]
66a379a6de
Merge pull request #13596 from NixOS/mergify/bp/2.29-maintenance/pr-13257
...
Make the S3 test more robust (backport #13257 )
2025-07-31 01:49:36 +00:00
mergify[bot]
1dcd12b819
Merge pull request #13592 from NixOS/mergify/bp/2.29-maintenance/pr-13245
...
nix-profile{,-daemon}.fish: check for profile in XDG_DATA_HOME (backport #13245 )
2025-07-31 01:49:33 +00:00
mergify[bot]
2298df294b
Merge pull request #13602 from NixOS/mergify/bp/2.29-maintenance/pr-13277
...
nix flake archive: add --no-check-sigs option (backport #13277 )
2025-07-31 01:49:30 +00:00
mergify[bot]
b4cd61900b
Merge pull request #13586 from NixOS/mergify/bp/2.29-maintenance/pr-13232
...
docs: add another equivalence for the implication operator (backport #13232 )
2025-07-30 19:32:55 +00:00
mergify[bot]
2c258dd275
Merge pull request #13594 from NixOS/mergify/bp/2.29-maintenance/pr-13253
...
export/meson: Don't require `-std=c++2a` for -c libraries in `.pc` files (backport #13253 )
2025-07-30 19:13:31 +00:00
mergify[bot]
75bece800d
Merge pull request #13599 from NixOS/mergify/bp/2.29-maintenance/pr-13275
...
Remove propagated-build-inputs when static (backport #13275 )
2025-07-30 19:11:57 +00:00
mergify[bot]
582caa9d8f
Merge pull request #13580 from NixOS/mergify/bp/2.29-maintenance/pr-13211
...
libexpr: Actually cache line information in PosTable (backport #13211 )
2025-07-30 19:11:53 +00:00
mergify[bot]
8a3d3b2dce
Merge pull request #13590 from NixOS/mergify/bp/2.29-maintenance/pr-13244
...
nix-profile{,-daemon}.fish: fix do not source twice (backport #13244 )
2025-07-30 19:06:05 +00:00
mergify[bot]
56069a968b
Merge pull request #13582 from NixOS/mergify/bp/2.29-maintenance/pr-13213
...
docs: fix duplicate anchor (backport #13213 )
2025-07-30 13:44:44 +00:00
Sergei Zimmerman
87ee4423ea
libstore-tests: Don't leak memory in tests
...
We shouldn't leak memory in unit tests in order
to make enabling ASAN easier.
(cherry picked from commit 55d12dfc5d )
2025-07-30 13:02:41 +00:00
Egor Konovalov
c9ecc99ce5
Fix link
...
Remove extra `realise`
(cherry picked from commit df21f24987 )
2025-07-30 13:01:39 +00:00
Nikita Krasnov
ceb4d561fa
Update docs
...
(cherry picked from commit 785f3867fd )
2025-07-30 13:00:38 +00:00
Nikita Krasnov
5d58ab8042
Fix broken link
...
(cherry picked from commit da76bc0cac )
2025-07-30 12:59:29 +00:00
Nikita Krasnov
27a8b457b8
Fix typo
...
(cherry picked from commit 86dda9884a )
2025-07-30 12:58:23 +00:00
Wolfgang Walther
229e97195a
libstore: fix race condition when creating state directories
...
Running parallel nix in nix can lead to multiple instances trying to
create the state directories and failing on the `createSymlink` step,
because the link already exists.
`replaceSymlink` is already idempotent, so let's use that.
Resolves #2706
(cherry picked from commit d64c922164 )
2025-07-30 12:56:36 +00:00
jayeshv
e3f4cef054
Fix a minor typo
...
(cherry picked from commit 699db04df3 )
2025-07-30 12:55:32 +00:00