1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 05:56:03 +01:00
Commit graph

21045 commits

Author SHA1 Message Date
Eelco Dolstra
492b684b9e Get rid of tmpDirInSandbox variable 2025-06-17 08:34:34 -07:00
Eelco Dolstra
f5176500be Move autoDelChroot 2025-06-17 08:34:34 -07:00
Eelco Dolstra
5d96e55e91 Move seccomp code 2025-06-17 08:34:34 -07:00
Eelco Dolstra
1acdb9168d Move doBind() 2025-06-17 08:34:34 -07:00
Eelco Dolstra
305a9680e4 Eliminate useChroot 2025-06-17 08:34:34 -07:00
Eelco Dolstra
2d5d3e44dd Move pathsInChroot 2025-06-17 08:34:34 -07:00
Eelco Dolstra
3733f95ae5 DerivationBuilder: Move Linux/Darwin-specific code into subclasses 2025-06-17 08:22:32 -07:00
Eelco Dolstra
af1b580ff6 DerivationBuilderImpl: Drop std::optional from derivationType
No point in computing this lazily, since it's pretty much the first
thing the DerivationBuilder does.
2025-06-17 08:22:32 -07:00
Eelco Dolstra
189fdfa776 Remove duplicate comments on DerivationBuilderImpl overriden methods
Having the exact same doc comments isn't very useful/maintainable.
2025-06-17 08:22:32 -07:00
Eelco Dolstra
c6617d6f2e Remove buildUser from DerivationBuilder
The use of a `buildUser` is an implementation detail of some types of
sandboxes that shouldn't exposed.
2025-06-17 08:22:32 -07:00
Graham Christensen
7469e7aa57
Merge pull request #119 from DeterminateSystems/release-v3.6.5/c7ec4397-7427-42b1-87fb-1266bc444391
Release v3.6.5
2025-06-16 21:29:31 +00:00
Graham Christensen
0f3892185d Add a final newline in the generated release notes 2025-06-16 17:21:26 -04:00
Graham Christensen
c0e53f3312 Move the 3.6.4 notes over 2025-06-16 17:20:06 -04:00
Graham Christensen
97e2e9159b Fixup generar->te in commit automation 2025-06-16 17:17:42 -04:00
Graham Christensen
fe6972f6f0 Fixup type (generare) 2025-06-16 17:16:25 -04:00
github-actions[bot]
fd4ed4c9f5
Generare release notes for 3.6.5 2025-06-16 21:08:42 +00:00
github-actions[bot]
11d7250448
Set .version-determinate to 3.6.5 2025-06-16 21:08:37 +00:00
github-actions[bot]
2190f6ce66
Prepare release v3.6.5 2025-06-16 21:08:34 +00:00
Graham Christensen
7f21086ce6
Merge pull request #115 from DeterminateSystems/fetchToStore-cache-hashes
fetchToStore() cache: Use content hashes instead of store paths
2025-06-16 20:37:40 +00:00
Graham Christensen
408d4a0505
Merge pull request #118 from DeterminateSystems/push-lrtmozosxrvy
Use GHA runners for VMs since they have KVM
2025-06-16 20:19:11 +00:00
Graham Christensen
20742e63e2 Use GHA runners for VMs since they have KVM 2025-06-16 16:10:07 -04:00
Graham Christensen
1aadf1e96c
Increase the nixos test timeout to 10 minutes, up from 5
Most tests complete within 4m, one test -- the docker test -- takes approximately 6m45s. Ten gives us plenty of room ...?
2025-06-16 13:29:47 -04:00
Eelco Dolstra
b2905dc08e fetchToStore(): Address a FIXME 2025-06-16 12:27:44 -04:00
Eelco Dolstra
e3fa4faff9 fetchToStore(): Don't require a valid path in dry run mode 2025-06-16 12:27:44 -04:00
Eelco Dolstra
af5815fd54 Give unit tests access to a $HOME directory
Also, don't try to access cache.nixos.org in the libstore unit tests.
2025-06-16 12:27:44 -04:00
Eelco Dolstra
dc5e620032 fetchToStore() cache: Use content hashes instead of store paths
We can always compute the store path from the content hash, but not
vice versa. Storing the content hash allows `hashPath()` to be
replaced by `fetchToStore(...FetchMode::DryRun...)`, which gets us
caching in lazy-trees mode.
2025-06-16 12:27:44 -04:00
Graham Christensen
b0aa12df25
Merge pull request #116 from DeterminateSystems/push-zrwpvlwurrkr
Don't build fallback-paths if we didn't build aarch64-linux and x86 d…   …arwin
2025-06-16 16:01:06 +00:00
Graham Christensen
eba6cd8488 Don't build fallback-paths if we didn't build aarch64-linux and x86 darwin 2025-06-16 11:50:13 -04:00
Graham Christensen
151456a999 Change the aarch64 linux / x86 darwin condition to exclude pull request, since we do want to build them on every other trigger 2025-06-16 11:50:13 -04:00
Graham Christensen
d41480dc45
Merge pull request #114 from DeterminateSystems/push-zlvvuopvyszo
Parallelize the flake regression suite
2025-06-16 14:49:31 +00:00
Graham Christensen
cf11e27047 Don't stall on a stuck nixos vm test build forever 2025-06-16 10:31:52 -04:00
Graham Christensen
97dc226cae Use fewer runners 2025-06-16 10:31:52 -04:00
Graham Christensen
6185afef92 Run onnamespace, use their cache 2025-06-16 10:31:52 -04:00
Graham Christensen
b0a325d8db Run on GHA runners, not blacksmith due to timeouts 2025-06-16 10:31:52 -04:00
Graham Christensen
f764c9eae3 Add retry to the eval steps, split out m since it takes a while on its own 2025-06-16 10:31:52 -04:00
Graham Christensen
c7d80871ac Parallelize the flake regression suite 2025-06-16 10:31:52 -04:00
Eelco Dolstra
49a059d426
Merge pull request #110 from DeterminateSystems/fix-fetcher-cache
Fix broken fetchToStore() caching
2025-06-13 22:30:30 +00:00
Eelco Dolstra
8b9cb382e9 Fix path field in fetcher cache
86785fd9d1 was broken because it was
storing the full path in the MountedSourceAccessor as the `path` field
in the fetcher cache key (i.e. including the
/nix/store/... prefix). Especially in the case of lazy (virtual) store
paths, this didn't work at all because those paths are different every time.
2025-06-13 22:29:20 +02:00
Eelco Dolstra
cbedb8e19a Fix broken fetchToStore() caching on unlocked inputs 2025-06-13 22:29:20 +02:00
Graham Christensen
e84daa23f7
Merge pull request #112 from DeterminateSystems/push-xrtwsoznmtqt
Move the actual vm tests / flake regressions into the generic build phase
2025-06-13 19:36:22 +00:00
Graham Christensen
8aa7d7d5cc Go back to github hosted runners... blacksmith's keep dying 2025-06-13 15:27:23 -04:00
Graham Christensen
ff5f65dac8 Move the actual vm tests / flake regressions into the generic build phase
This lets these steps run in maximal parallelism.

This also uses a success job to "combine" all the component jobs into a single signal.

This also collapses the publish step into the ci job so we don't double-run
2025-06-13 14:27:26 -04:00
Eelco Dolstra
b3b5dd6665
Merge pull request #111 from DeterminateSystems/push-suswmmmyvmxm
Fixup the complainy docs line
2025-06-13 14:45:43 +00:00
Graham Christensen
37ab15a9f3 Drop the complainy 3.6.3 line 2025-06-13 09:33:34 -04:00
Graham Christensen
1533b85da3
Merge pull request #109 from DeterminateSystems/release-v3.6.4/afc44aa9-a290-409e-90f9-a3497b03c021
Release v3.6.4
2025-06-12 23:57:13 +00:00
Graham Christensen
da67f596de Mark 3.6.3 as revoked, and use its notes for 3.6.4 2025-06-12 19:54:50 -04:00
github-actions[bot]
ac5cbe7c88
Generare release notes for 3.6.4 2025-06-12 23:23:32 +00:00
github-actions[bot]
17de8fd29c
Set .version-determinate to 3.6.4 2025-06-12 23:23:27 +00:00
github-actions[bot]
760e6e5f1e
Prepare release v3.6.4 2025-06-12 23:23:24 +00:00
Graham Christensen
60257ecd17
Merge pull request #106 from DeterminateSystems/release-v3.6.3/1649aa00-94c6-44df-b2b1-12e5750b76fc
Release v3.6.3
2025-06-12 18:48:34 +00:00