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
Jörg Thalheim
e72f19eb28
Merge pull request #13300 from NixOS/deletePath-keep-going
...
deletePath(): Keep going when encountering an undeletable file
2025-06-02 18:00:10 +02: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
Eelco Dolstra
6b6d3dcf34
deletePath(): Keep going when encountering an undeletable file
...
This should reduce the impact of #5207 .
2025-06-02 14:54:01 +02:00
Eelco Dolstra
97462bde31
Merge pull request #13305 from donottellmetonottellyou/donottellmetonottellyou/document-nix-channel-tarball-ttl
...
add documentation of tarball-ttl to nix-channel
2025-06-02 14:37:59 +02:00
Eelco Dolstra
86767349d5
Merge pull request #13304 from fzakaria/small-fix
...
Fix overriding gtest with gmock
2025-06-02 14:02:47 +02:00
Eelco Dolstra
7ad4426b8b
Merge pull request #13310 from xokdvium/cleanup-position
...
libutil: Use `std::shared_ptr<const Pos>` and simplify `Pos` class constructors
2025-06-02 14:02:25 +02:00
Eelco Dolstra
97e3c3fff8
Merge pull request #13309 from NaN-git/fix-substring
...
libexpr: fix various overflows and type mismatches
2025-06-02 14:01:48 +02:00
Eelco Dolstra
16e4b3b7df
Merge pull request #13311 from xokdvium/dedup-prim-op-app-prim-op
...
libexpr: Deduplicate `Value::primOpAppPrimOp`
2025-06-02 14:00:29 +02: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
Philipp Otterbein
afd9c78508
libexpr: fix various overflows and type mismatches
2025-06-02 02:06:48 +02:00
Sergei Zimmerman
9563b509ff
libexpr: Deduplicate Value::primOpAppPrimOp
...
`getPrimOp` function was basically identical to existing
`Value::primOpAppPrimOp` modulo some trivial differences.
Makes sense to reuse existing code for that.
2025-06-01 21:16:01 +00:00
Sergei Zimmerman
cdb8567473
libutil: Don't explicitly default special member functions
...
Since all of the member types are copyable/movable the compiler
will generate all of those by default anyway.
2025-06-01 20:55:28 +00:00
Sergei Zimmerman
b73e706589
libutil: Use std::shared_ptr<const Pos> instead of std::shared_ptr<Pos>
...
There's actually no mutation happening so there's no point in using
a mutable shared_ptr. Furthermore, this makes it much more evident to
the reader that no actual mutation (especially in multithreaded case)
is happening.
Also get rid of redundant constructor that isn't actually used anywhere
other than `Pos::operator std::shared_ptr<Pos>` which just passes in &*this,
(identical to just `this`), which can't be nullptr.
2025-06-01 20:55:26 +00:00
Jade Masker
c0ceaa2d5d
add reference to the tarball-ttl documentation
...
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2025-06-01 15:56:46 -04:00
Jade Masker
633d39109b
remove overly verbose mention of fetchTarball
...
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2025-06-01 15:55:49 -04:00
Philipp Otterbein
ed4e512dcd
symbol-table: reference entries instead of allocating Values
2025-06-01 21:00:01 +02:00
Philipp Otterbein
94bbaddb93
symbol-table: reduce memory usage and use boost::unordered_flat_set
2025-06-01 19:20:11 +02:00
Jade Lynn Masker
6badd21b6a
add documentation of tarball-ttl to nix-channel
2025-05-31 19:05:29 -04:00
Farid Zakaria
58e34a2d27
Overriding gtest with gmock
...
How did this work before...
* Added .direnv/ to gitignore
2025-05-31 07:41:27 -07: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
587b5f5361
Merge pull request #13297 from NixOS/split-linux-builder
...
Split LinuxDerivationBuilder
2025-05-30 12:35:01 +02:00
Eelco Dolstra
908129eb22
Cleanup
2025-05-30 11:54:54 +02:00
John Ericson
81f5d6763d
Merge pull request #13299 from xokdvium/restore-packaging-overriding
...
flake: Restore `packaging-overriding` check
2025-05-29 22:31:15 -04:00
John Ericson
1a73f7aa6d
Merge pull request #13298 from xokdvium/drop-pre-commit-override
...
flake: Drop `pre-commit` override
2025-05-29 22:22:57 -04:00
Sergei Zimmerman
4fa991a680
flake: Restore packaging-overriding check
...
The underlying bug seems to have been fixed in diffoscope 293 [1] [2].
Our nixpkgs input has 295.
[1]: https://github.com/NixOS/nixpkgs/pull/393381#issuecomment-2766703347
[2]: https://diffoscope.org/news/diffoscope-292-released/
2025-05-29 22:35:50 +00:00
Sergei Zimmerman
dd80f16376
flake: Drop pre-commit override
...
`pre-commit` builds fine with the flake's input nixpkgs
on i686-linux.
2025-05-29 21:57:08 +00:00
Eelco Dolstra
4dc419eaec
Split LinuxDerivationBuilder
...
This restores doing seccomp/personality initialization even when
sandboxing is disabled.
https://hydra.nixos.org/build/298482132
2025-05-29 21:57:25 +02:00
Eelco Dolstra
b7fd872147
Cleanup
2025-05-29 21:39:22 +02:00