Tom Bereknyei
1363f51bcb
fix: remove usage of XDG_RUNTIME_DIR for TMP
2024-06-10 08:38:57 -04:00
Eelco Dolstra
12355e7ac5
Merge pull request #10880 from hercules-ci/bdwgc-8.2.6-has-sp-corrector
...
bdw-gc 8.2.6 has sp corrector
2024-06-10 13:28:05 +02:00
Robert Hensing
f91f34aa65
bdwgc 8.2.4 has sp_corrector
...
> Support client-defined stack pointer adjustment before thread stack push
-- https://github.com/ivmai/bdwgc/releases/tag/v8.2.4
This fixes an inaccuracy in cc6f315252
,
in the update to Nixpkgs 24.05 https://github.com/NixOS/nix/pull/10835
After this fixup, the build log won't ask for an upgrade, and we'll be
able to collect when a coroutine exists, e.g. during filterSource.
2024-06-10 12:57:13 +02:00
Robert Hensing
0a09597790
Typo
2024-06-10 12:46:04 +02:00
Robert Hensing
4755e133c4
Fix warning
2024-06-10 12:46:04 +02:00
siddhantCodes
7a21432e77
fix: catch filesystem_error
thrown by createDirs
2024-06-10 11:30:39 +05:30
Kirill Radzikhovskyy
372d5a441e
darwin: allow ipc-sysv* in sandbox
2024-06-10 11:21:17 +10:00
siddhantCodes
25b0242ca6
std::filesystem::create_directories
for createDirs
...
The implementation of `nix::createDirs` allows it to be a simple wrapper
around `std::filesystem::create_directories` as its return value is not
used anywhere.
2024-06-09 19:49:39 +05:30
Robert Hensing
0ab9369572
Merge pull request #10854 from DeterminateSystems/thread-safe-RegexCache
...
Make RegexCache thread-safe
2024-06-08 18:07:35 +02:00
Robert Hensing
e1b3716d50
Merge pull request #10853 from DeterminateSystems/thread-safe-srcToStore
...
Make EvalState::srcToStore thread-safe
2024-06-06 19:31:46 +02:00
John Ericson
5ff79efcad
Merge pull request #10869 from Mic92/improve-github-actions-doc
...
Improve GitHub actions doc
2024-06-06 11:10:51 -04:00
John Ericson
dd46ed85eb
Merge pull request #10868 from DeterminateSystems/shared-sync
...
Add SharedSync class
2024-06-06 10:11:36 -04:00
Jörg Thalheim
e505434332
document how to test github ci fully in your own fork
2024-06-06 12:55:45 +02:00
Jörg Thalheim
7e6a7c9258
make it possible to push to different docker registries in forks
2024-06-06 11:34:30 +02:00
Eelco Dolstra
fd9e49480a
PosixSourceAccessor: Use SharedSync
2024-06-06 10:44:53 +02:00
Eelco Dolstra
2f39caf180
Sync: Add support for shared locks
2024-06-06 10:44:09 +02:00
John Ericson
b0283240a1
Merge pull request #10864 from Mic92/tarball-flakes-test
...
tests/nixos: make the tarball-flakes test better reflect real use cases
2024-06-05 18:40:16 -04:00
Robert Hensing
dadb6f86cf
Merge pull request #10865 from Mic92/better-cleanup
...
libutil: guard Finally against invalid exception throws
2024-06-05 23:59:51 +02:00
John Ericson
1a32490aca
Merge pull request #10835 from hercules-ci/update-nixpkgs-24.05
...
Update to Nixpkgs 24.05
2024-06-05 17:56:16 -04:00
eldritch horrors
e291087747
libutil: guard Finally against invalid exception throws
...
throwing exceptions is fine, but throwing exceptions during exception
handling is hard enough to do correctly that we should just forbid it
entirely out of an overabundance of caution. in cases where terminate
is the correct answer the users of Finally must call it manually now.
Source: 6c777476c9
2024-06-05 22:45:37 +02:00
Pierre Bourdon
162d94d975
tests/nixos: make the tarball-flakes test better reflect real use cases
...
In most real world cases, the Link header is set on the redirect, not on
the final file. This regressed in Lix earlier and while new unit tests
were added to cover it, this integration test should probably have also
caught it.
Source: a3256a9375
2024-06-05 20:14:24 +02:00
Eelco Dolstra
edd445f745
Merge pull request #10861 from DeterminateSystems/fix-optional-deref
...
PackageInfo::queryDrvPath(): Don't dereference an empty optional
2024-06-05 16:48:09 +02:00
Eelco Dolstra
3e72ed9743
Typo
2024-06-05 16:19:01 +02:00
Eelco Dolstra
d2eeabf3e6
PackageInfo::queryDrvPath(): Don't dereference an empty optional
...
Fixes a regression introduced in f923ed6b6a
.
https://hydra.nixos.org/build/262267313
2024-06-05 16:17:24 +02:00
Robert Hensing
9d34815cb6
Merge pull request #10858 from elohmeier/master
...
flake check: Recognize well known homeModule/homeModules attribute
2024-06-05 13:11:15 +02:00
Enno Richter
80ba7778e7
flake check: Recognize well known homeModule/homeModules attributes
2024-06-05 07:38:20 +02:00
Jörg Thalheim
49c6f34911
docs: fixup description of builtins.importNative ( #10810 )
...
There was an argument missing and the fact that the imported function is
called.
2024-06-04 19:55:05 +00:00
Eelco Dolstra
ef140c25d1
Merge pull request #10852 from siddhantk232/add-interrupts
...
add call to `checkInterrupt` in a bunch of places
2024-06-04 17:21:03 +02:00
Eelco Dolstra
fbbca59453
Make RegexCache thread-safe
2024-06-04 16:59:30 +02:00
Eelco Dolstra
7d295c594e
Make EvalState::srcToStore thread-safe
2024-06-04 16:56:06 +02:00
siddhantCodes
8f1a26667e
add call to checkInterrupt
in a bunch of places
...
This brings back the old behaviour. We check for interrupts in places
that may iterate over wide directories.
2024-06-04 19:35:40 +05:30
Eelco Dolstra
b36aa04b53
Merge pull request #10836 from edolstra/release-notes
...
2.23 release notes
2024-06-04 13:00:06 +02:00
Eelco Dolstra
21be03b233
Merge pull request #10840 from obsidiansystems/libutil-pkg-config
...
Create and install a `nix-util.pc`
2024-06-04 12:33:37 +02:00
John Ericson
4e0d058fc3
eval.cc: Fix for Windows
2024-06-04 10:18:22 +02:00
John Ericson
6588420103
Bring back FreeBSD
2024-06-04 10:17:58 +02:00
Philipp
214051ba79
clarify not on nix_value_force
( #10842 )
...
* clarify not on `nix_value_force`
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-06-04 07:41:04 +00:00
Eli Flanagan
bf72b78ef2
docs: fix python nix-shell example ( #10841 )
...
* docs: fix python nix-shell example
This Python code snippet depended on Python 2 which has been marked as insecure in 24.05.
I modernized the example so new users will not be surprised upon copying and pasting the snippet for exploration.
Co-authored-by: John Ericson <git@JohnEricson.me>
2024-06-03 23:22:50 +02:00
John Ericson
06be6812a6
Create and install a nix-util.pc
...
Before, `-lnixutil` was just stuck in `nix-store.pc`, but that doesn't
seem so nice.
This prepares us to distribute `libnixutil` in a separate package if we
want, but it should be a good change either way. I suspect it wasn't
done before because libutil was an extra unstable interface, but I don't
think we need worry about that. *All* the C++ is less stable than the C
(or that's the goal at least).
For what it's worth, Lix also created this pkg-config file *en passant*
during their rename:
c97e17144e (diff-3c4f60cc44a0e35444c7f45331cfa50f76637118)
2024-06-03 14:14:40 -04:00
Eelco Dolstra
e0885fc216
Fix link
2024-06-03 20:02:03 +02:00
Robert Hensing
9019b7a37a
doc/rl-2.23.md: Fix broken link
2024-06-03 18:56:04 +02:00
Robert Hensing
5d460d563e
TMP: Disable tests.setuid.i686-linux
...
Temporarily(?) blocked on https://github.com/NixOS/nixpkgs/pull/297475#issuecomment-2145589501
2024-06-03 18:47:53 +02:00
Robert Hensing
d494ac15e2
Use Nixpkgs changelog-d
2024-06-03 18:47:53 +02:00
Robert Hensing
5ddc11d0eb
Update nixpkgs
2024-06-03 18:47:53 +02:00
Robert Hensing
27f880c098
Format after clang-format update
2024-06-03 18:38:56 +02:00
Robert Hensing
e6ba450ce2
.clang-format: Remove duplicated key
2024-06-03 18:38:56 +02:00
Eelco Dolstra
879089e80d
Edit release notes
2024-06-03 18:13:37 +02:00
Eelco Dolstra
754ea9058d
release notes: 2.23.0
2024-06-03 18:06:42 +02:00
Robert Hensing
8a510f4ede
Add tests.remoteBuilds_*_2_18
2024-06-03 17:34:55 +02:00
Robert Hensing
efc2508e8b
Refactor hydraJobs.tests.remoteBuilds_*_2_18
2024-06-03 17:34:55 +02:00
Robert Hensing
6558025e77
Fix eval remoteBuilds_*_2_13
2024-06-03 17:34:55 +02:00