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

20987 commits

Author SHA1 Message Date
Cole Helbling
63e9e9df37
fixup: only show "you can rerun" message if the derivation's platform is supported on this machine 2025-06-03 10:53:05 -07:00
Graham Christensen
a18fd9b131
Merge pull request #86 from DeterminateSystems/release-v3.6.2/12e4a1d6-8b7e-4bad-b367-cef81f9b2c30
Release v3.6.2
2025-06-03 00:05:53 +00:00
Graham Christensen
03aac2a873
Apply suggestions from code review 2025-06-02 19:34:55 -04:00
github-actions[bot]
49b472604a
Generare release notes for 3.6.2 2025-06-02 23:31:03 +00:00
github-actions[bot]
bb77bf0e3b
Set .version-determinate to 3.6.2 2025-06-02 23:30:58 +00:00
github-actions[bot]
419b5e0599
Prepare release v3.6.2 2025-06-02 23:30:55 +00:00
Graham Christensen
72c1f143ac
Merge pull request #85 from DeterminateSystems/keep-failed-remote-builders-warning
Call out that `--keep-failed` with remote builders will keep the failed build directory on that builder
2025-06-02 22:31:04 +00:00
Cole Helbling
242719cffb
--keep-failed with remote builders will keep the failed build directory on that builder 2025-06-02 14:41:29 -07:00
Graham Christensen
f8aabb0749
Merge pull request #79 from DeterminateSystems/path-position-info
Include the source location when warning about inefficient double copies
2025-06-02 18:51:49 +00:00
Luc Perkins
02c3c64bd4
Merge pull request #84 from DeterminateSystems/lucperkins/gtm-51-update-nix-src-readme-to-better-reflect-what-the-project-is
Rework README
2025-06-02 18:12:21 +00:00
Graham Christensen
7a450a8ba9
Update src/libexpr/paths.cc 2025-06-02 14:08:42 -04:00
Luc Perkins
4398d4e4fc
Merge branch 'lucperkins/gtm-51-update-nix-src-readme-to-better-reflect-what-the-project-is' of https://github.com/DeterminateSystems/nix-src into lucperkins/gtm-51-update-nix-src-readme-to-better-reflect-what-the-project-is 2025-06-02 11:01:41 -07:00
Luc Perkins
e6bcbacadf
Rework language around the manual
Co-authored-by: Graham Christensen <graham@grahamc.com>
2025-06-02 11:01:33 -07:00
Luc Perkins
7bab53af66
Fix dangling link reference 2025-06-02 11:01:06 -07:00
Luc Perkins
d7c2bcbab6
Add WSL to list
Co-authored-by: Graham Christensen <graham@grahamc.com>
2025-06-02 10:56:51 -07:00
Luc Perkins
29cbee6eb8
Fix merge conflicts with main 2025-06-02 10:54:23 -07:00
Luc Perkins
7ef7619657
Finish initial draft 2025-06-02 10:45:23 -07:00
Graham Christensen
8a82624801
Merge pull request #81 from DeterminateSystems/push-twpuyuspwtpz
Replace ε and ∅
2025-06-02 17:32:11 +00:00
Eelco Dolstra
57ee710b73
Merge pull request #83 from DeterminateSystems/deletePath-keep-going-detsys
deletePath(): Keep going when encountering an undeletable file
2025-06-02 15:42:16 +00:00
Graham Christensen
1500e541f2 diff-closures: use removed / added words 2025-06-02 11:21:26 -04:00
Eelco Dolstra
665e76f2e5 deletePath(): Keep going when encountering an undeletable file
This should reduce the impact of #5207.
2025-06-02 17:17:09 +02:00
Eelco Dolstra
03f3faf150
Merge pull request #82 from DeterminateSystems/graham/fh-834-fix-missing-command-nix-store-query-deriver
Document how to replicate nix-store --query --deriver with the nix cli
2025-06-02 15:07:59 +00:00
Graham Christensen
1647cb56c1 Document how to replicate nix-store --query --deriver with the nix command 2025-06-02 10:47:27 -04:00
Graham Christensen
724d552b64 Use words like added / removed 2025-06-02 09:30:18 -04:00
Graham Christensen
039d19159f Replace ∅ with (absent) 2025-06-02 09:29:55 -04:00
Graham Christensen
7d2dbbd3aa Rename ε to "(no version)" 2025-06-02 09:22:55 -04:00
Graham Christensen
44bdb74c62
Merge pull request #80 from DeterminateSystems/copy-sigs
nix store copy-sigs: Use http-connections setting to control parallelism
2025-06-02 10:26:04 +00:00
Eelco Dolstra
b16fa06ff1 nix store copy-sigs: Add docs 2025-06-02 12:06:21 +02:00
Eelco Dolstra
0278b9e180 nix store copy-sigs: Use http-connections setting to control parallelism
Previously it used the `ThreadPool` default,
i.e. `std:🧵:hardware_concurrency()`. But copying signatures is
not primarily CPU-bound so it makes more sense to use the
`http-connections` setting (since we're typically copying from/to a
binary cache).
2025-06-02 11:44:16 +02:00
Eelco Dolstra
3e45b40d66 Add position info to path values
(Actually, this adds a position field to *all* values.)

This allows improving the "inefficient double copy" warning by showing
where the source path came from in the source, e.g.

  warning: Performing inefficient double copy of path '/home/eelco/Dev/patchelf/' to the store at /home/eelco/Dev/patchelf/flake.nix:30:17. This can typically be avoided by rewriting an attribute like `src = ./.` to `src = builtins.path { path = ./.; name = "source"; }`.
2025-05-30 17:31:34 +02:00
Eelco Dolstra
8ff43c29ef
Merge pull request #76 from DeterminateSystems/improve-trace-ifd-test
Fix trace-ifd test failure in dev shell
2025-05-26 12:15:32 +00:00
Eelco Dolstra
5f13d13f78 Fix trace-ifd test failure in dev shell
Fixes

  error: cannot create symlink '/home/eelco/Dev/nix/tests/functional/flakes/result'; already exists

running the test multiple times in a dev shell.
2025-05-26 13:56:38 +02:00
Graham Christensen
047584d03b
Merge pull request #74 from DeterminateSystems/release-v3.6.1/228e087a-ae02-45c0-8bd9-756a89d31008
Release v3.6.1
2025-05-24 03:28:04 +00:00
Graham Christensen
4e08d4a917
Merge pull request #72 from DeterminateSystems/gustavderdrache/system-builderror
Make platform checks throw BuildError like other failures
2025-05-24 02:14:21 +00:00
github-actions[bot]
3e0433b65d
Generare release notes for 3.6.1 2025-05-24 02:11:10 +00:00
github-actions[bot]
20a79d9a73
Set .version-determinate to 3.6.1 2025-05-24 02:11:05 +00:00
github-actions[bot]
8e4f7984d1
Prepare release v3.6.1 2025-05-24 02:11:02 +00:00
Eelco Dolstra
ac7fd9d711
Merge pull request #73 from DeterminateSystems/fix-substitution-crash-detsys
Fix nlohmann error in fromStructuredAttrs()
2025-05-23 23:22:07 +00:00
gustavderdrache
562ed80bb7
Update src/libstore/unix/build/derivation-builder.cc
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2025-05-23 18:58:37 -04:00
Eelco Dolstra
4bc1043ae4 Add test 2025-05-24 00:46:37 +02:00
Eelco Dolstra
af7bfe7827 fromStructuredAttrs(): Don't crash if exportReferencesGraph is a string
Fixes

  error: [json.exception.type_error.302] type must be array, but is string

and other crashes.

Fixes #13254.
2025-05-24 00:46:37 +02:00
Eelco Dolstra
09d46ad93a Don't use 'callback' object that we may have moved out of 2025-05-24 00:46:37 +02:00
gustavderdrache
61c3efb4f4 Make platform checks throw BuildError like other failures 2025-05-23 17:40:02 -04:00
Graham Christensen
8cd9eb86ad
Merge pull request #71 from DeterminateSystems/release-v3.6.0/97cc9af4-6a23-49f0-a8e9-190390c2f020
Release v3.6.0
2025-05-22 23:43:13 +00:00
Graham Christensen
486fca34bc
Apply suggestions from code review 2025-05-22 19:36:08 -04:00
github-actions[bot]
e5e7c2797c
Generare release notes for 3.6.0 2025-05-22 23:29:04 +00:00
github-actions[bot]
a43997cce4
Set .version-determinate to 3.6.0 2025-05-22 23:28:59 +00:00
github-actions[bot]
90cb816511
Prepare release v3.6.0 2025-05-22 23:28:56 +00:00
Graham Christensen
f9967792c7
Merge pull request #70 from DeterminateSystems/gustavderdrache/trace-ifd
Emit warnings when using import-from-derivation by setting the `trace-import-from-derivation` option to `true`
2025-05-22 22:54:07 +00:00
gustavderdrache
0b66fd3c34 Update src/libexpr/include/nix/expr/eval-settings.hh
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2025-05-22 17:30:14 -04:00