1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00
nix/src
Wolfgang Walther d64c922164
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
2025-06-17 08:45:29 +02:00
..
build-remote Merge pull request #13320 from DeterminateSystems/keep-failed-remote-builders-warning 2025-06-03 19:28:20 +02:00
external-api-docs Format .nix files 2025-01-24 17:04:02 +01:00
internal-api-docs Format .nix files 2025-01-24 17:04:02 +01:00
libcmd libexpr: Add and use lambda getter 2025-06-12 19:42:50 +00:00
libexpr libexpr: Document requirements for comparator passed to builtins.sort 2025-06-15 16:52:05 +00:00
libexpr-c libexpr: Add and use pathStr getter 2025-06-12 19:57:46 +00:00
libexpr-test-support flake: Add meson formatter 2025-06-11 22:08:03 +00:00
libexpr-tests libexpr: Add and use lambda getter 2025-06-12 19:42:50 +00:00
libfetchers GitSourceAccessor: Make thread-safe 2025-06-04 21:39:15 +02:00
libfetchers-c nix-fetchers-c: Init with settings object 2025-04-02 18:29:42 +02:00
libfetchers-tests Drop fs alias in favour of std::filesystem 2025-05-01 14:24:34 +02:00
libflake libexpr: Add and use lambda getter 2025-06-12 19:42:50 +00:00
libflake-c Fix various typos in source code 2025-05-25 20:14:11 +00:00
libflake-tests nix-flake-c: Add lock flags 2025-04-02 18:29:42 +02:00
libmain Fix various typos in source code 2025-05-25 20:14:11 +00:00
libmain-c Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
libstore libstore: fix race condition when creating state directories 2025-06-17 08:45:29 +02:00
libstore-c Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
libstore-test-support Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
libstore-tests Fix various typos in source code 2025-05-25 20:14:11 +00:00
libutil libutil: Add custom PeekSort implementation 2025-06-15 16:52:01 +00:00
libutil-c Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
libutil-test-support Merge pull request #12877 from roberth/c-api-libflake-override-input 2025-04-08 09:01:51 +02:00
libutil-tests libutil: Add custom PeekSort implementation 2025-06-15 16:52:01 +00:00
nix libexpr: Add and use lambda getter 2025-06-12 19:42:50 +00:00
nix-build libexpr: Add and use lambda getter 2025-06-12 19:42:50 +00:00
nix-channel Use StringMap instead of std::map<std::string, std::string> throughout the codebase 2025-05-19 20:33:28 +00:00
nix-collect-garbage Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
nix-copy-closure Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
nix-env Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
nix-instantiate Split out store-open.hh and store-registration.hh 2025-05-14 16:07:57 -04:00
nix-store Fix various typos in source code 2025-05-25 20:14:11 +00:00
perl flake: Add meson formatter 2025-06-11 22:08:03 +00:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00