1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-23 10:49:36 +01:00
Commit graph

21098 commits

Author SHA1 Message Date
John Ericson
934918ba16 Stores no longer inherit from their configs
Fix #10766

See that ticket for details.

Progress (I hope!) towards #11139.

Co-Authored-By: Sergei Zimmerman <xokdvium@proton.me>
2025-05-13 15:56:35 -04:00
Jörg Thalheim
f0f196cef0
Merge pull request #13175 from xokdvium/optimise-fetchtarball
libutil/tarfile: Create the scratch `std::vector` only once
2025-05-13 14:21:26 +02:00
Sergei Zimmerman
7628155d2b
libutil/tarfile: Create the scratch std::vector only once
I can't find a good way to benchmark in isolation from the
git cache, but common sense dictates that creating (and destroying)
a 131KiB std::vector for each regular file from the archive imposes
quite a significant overhead regardless of the IO bound git cache.

AFAICT there is no reason to keep a copy of the data since
it always gets fed into the sink and there are no coroutines/threads
in sight.
2025-05-13 10:50:46 +00:00
Jörg Thalheim
1ac4bf122b
Merge pull request #13173 from NixOS/better-truncated-tar-error
Improve 'cannot read file from tarball' error
2025-05-13 12:34:27 +02:00
Jörg Thalheim
542d6f3c79
Merge pull request #13174 from NixOS/test-lock-files
Test lock file contents more precisely
2025-05-13 12:34:06 +02:00
Eelco Dolstra
824e0d51fe Test lock file contents more precisely 2025-05-13 10:40:24 +02:00
Eelco Dolstra
bdb3f613dd Improve 'cannot read file from tarball' error
It now says e.g.

  error: cannot read file from tarball: Truncated tar archive detected while reading data
2025-05-13 10:32:12 +02:00
Jörg Thalheim
ed521760bc
Merge pull request #13161 from NixOS/remove-final
nix flake prefetch: Remove __final
2025-05-13 08:50:36 +02:00
Jörg Thalheim
0f985fea11
Merge pull request #13138 from NixOS/register-builtin-builders
Register builtin builders
2025-05-13 08:50:19 +02:00
gustavderdrache
6baf6470bf
Merge pull request #65 from DeterminateSystems/release-v3.5.2/fc308cb9-6d93-4141-a5ec-0033d4190d6e
Release v3.5.2
2025-05-12 23:39:44 +00:00
gustavderdrache
deb57afda4
Apply suggestions from code review
Co-authored-by: Graham Christensen <graham@grahamc.com>
2025-05-12 18:56:59 -04:00
github-actions[bot]
8dab273732
Generare release notes for 3.5.2 2025-05-12 22:31:47 +00:00
github-actions[bot]
2e8f1052cc
Set .version-determinate to 3.5.2 2025-05-12 22:31:42 +00:00
github-actions[bot]
9095520b78
Prepare release v3.5.2 2025-05-12 22:31:39 +00:00
Graham Christensen
cf3671a815
Merge pull request #64 from DeterminateSystems/better-truncated-tar-error
Improve 'cannot read file from tarball' error
2025-05-12 21:05:45 +00:00
Jörg Thalheim
6fdb170fb3
Merge pull request #13159 from NixOS/ignore-dir
Avoid unnecessarily updating old lock files with 'dir' parameters
2025-05-12 22:34:50 +02:00
Jörg Thalheim
b87b1cbc75
Merge pull request #13165 from bam80/patch-1
index.md: add warning for installing as root
2025-05-12 22:25:50 +02:00
Jörg Thalheim
c3745e7895
Merge pull request #13169 from NixOS/improve-build-failure-error
Improve build failure error messages
2025-05-12 22:25:31 +02:00
Eelco Dolstra
da4efbd2fe Improve 'cannot read file from tarball' error
It now says e.g.

  error: cannot read file from tarball: Truncated tar archive detected while reading data
2025-05-12 22:08:17 +02:00
Eelco Dolstra
f2214a5da5
Merge pull request #63 from DeterminateSystems/eelcodolstra/fh-806-lock-files-no-longer-contain-nar-hashes
Fix emitting narHash in lock files when lazy trees are disabled
2025-05-12 18:33:22 +00:00
Eelco Dolstra
51349ca37a Test lock file contents more precisely 2025-05-12 18:00:40 +02:00
Eelco Dolstra
4ea5cb3832 Fix emitting narHash in lock files when lazy trees are disabled 2025-05-12 17:34:32 +02:00
Eelco Dolstra
5a84237209 Improve build failure error messages
They're now laid out in a more readable way, and they shows the output
paths (if known).
2025-05-12 15:06:54 +02:00
Andrey Butirsky
3cc16d13f0
index.md: add warning for installing as root
warning: installing Nix as root is not supported by this script!
performing a single-user installation of Nix...
copying Nix to /nix/store.......................................................
......
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: the group 'nixbld' specified in 'build-users-group' does not exist
installing 'nix-2.28.3'
error: the group 'nixbld' specified in 'build-users-group' does not exist
/tmp/nix-binary-tarball-unpack.2j3lCU0A89/unpack/nix-2.28.3-x86_64-linux/install: unable to install Nix into your default profile
2025-05-10 18:13:58 +03:00
Graham Christensen
9bbe06be3a
Merge pull request #60 from DeterminateSystems/release-v3.5.1/64e9675a-96ff-4d91-817c-52e0322540e4
Release v3.5.1
2025-05-09 21:30:56 +00:00
Graham Christensen
52f51b17fb
Update rl-3.5.1.md 2025-05-09 17:22:29 -04:00
Graham Christensen
d2d6f9e726
Update changes.md 2025-05-09 17:09:46 -04:00
Graham Christensen
cef22abacd
Apply suggestions from code review 2025-05-09 17:00:30 -04:00
Graham Christensen
bd4b27c377
Apply suggestions from code review 2025-05-09 16:56:42 -04:00
Graham Christensen
c0fdf690fe
Apply suggestions from code review 2025-05-09 16:54:09 -04:00
github-actions[bot]
7a4871755e
Generare release notes for 3.5.1 2025-05-09 20:50:26 +00:00
github-actions[bot]
50e9583fb3
Set .version-determinate to 3.5.1 2025-05-09 20:50:21 +00:00
github-actions[bot]
13d712bd75
Prepare release v3.5.1 2025-05-09 20:50:18 +00:00
Graham Christensen
bb8ae358bc
Merge pull request #61 from DeterminateSystems/push-plouvlzynksx
Dispatch release notes with a gh token
2025-05-09 20:10:45 +00:00
Graham Christensen
220fa1e4e4 Split the release notes into another commit 2025-05-09 16:02:22 -04:00
Graham Christensen
619b496317 Fix release notes
* Stop aggressively deleting all the newlines
2025-05-09 15:17:10 -04:00
Graham Christensen
917d617945
Merge pull request #59 from DeterminateSystems/release-v3.5.0/f241ee9e-a92f-4ae3-8f60-23d176b3b2f7
Release v3.5.0
2025-05-09 17:12:00 +00:00
github-actions[bot]
83f92cfd04
Set .version-determinate to 3.5.0 2025-05-09 16:11:48 +00:00
github-actions[bot]
1342041312
Prepare release v3.5.0 2025-05-09 16:11:42 +00:00
Eelco Dolstra
cdbe788c1f
Merge pull request #13155 from Valodim/patch-2
Reduce maxLayers to 70 in docker build
2025-05-09 17:12:38 +02:00
Eelco Dolstra
da953d6d39 Add test 2025-05-09 16:55:13 +02:00
Eelco Dolstra
c686de6505 nix flake prefetch: Remove __final
This is currently an internal attribute, not intended to be shown to
users.

Fixes #13150.
2025-05-09 16:44:48 +02:00
Graham Christensen
290368169e
Merge pull request #58 from DeterminateSystems/improve-build-failure-error
Improve build failure error messages
2025-05-09 14:03:35 +00:00
Eelco Dolstra
d00682beb2 Backward compatibility hack for dealing with dir in URL-style flakerefs 2025-05-09 10:10:42 +02:00
Eelco Dolstra
8014671210 Improve build failure error messages 2025-05-09 00:32:41 +02:00
Eelco Dolstra
7c9d25cf39
Merge pull request #57 from DeterminateSystems/eelcodolstra/fh-800-assess-impact-of-flakelock-url-change-between-nix-versions
Canonicalize flake input URLs before checking flake.lock file staleness, for dealing with `dir` in URL-style flakerefs
2025-05-08 18:18:20 +00:00
Eelco Dolstra
bf1c0072f6 Backward compatibility hack for dealing with dir in URL-style flakerefs 2025-05-08 19:12:43 +02:00
Graham Christensen
7c477772d2
Merge pull request #56 from DeterminateSystems/references-without-context
Improve lazy trees backward compatibility
2025-05-08 16:57:16 +00:00
Graham Christensen
8eee061eb2 Fixup the actions ci yml label check 2025-05-08 12:42:09 -04:00
Eelco Dolstra
508b7a705f
Trigger flake_regressions from a label
Co-authored-by: Graham Christensen <graham@grahamc.com>
2025-05-08 18:12:58 +02:00