1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00
Commit graph

19908 commits

Author SHA1 Message Date
Eelco Dolstra
a1d27ff6d2 Include Determinate Nix version number in the manual 2025-02-21 19:20:23 +01:00
Eelco Dolstra
69553dfc36 Mark the nix CLI as *the* interface in the manual, deprecate nix-* 2025-02-21 19:20:23 +01:00
Luc Perkins
a48757359a
Merge pull request #55 from DeterminateSystems/remove-sidebar-release-notes
Include only 2.26 in the sidebar release notes
2025-02-21 17:51:34 +00:00
Luc Perkins
d6bd787e5e
s/releases notes/release notes 2025-02-21 12:45:39 -05:00
Luc Perkins
e77d1a760e
Fix release notes version list 2025-02-21 12:38:05 -05:00
Luc Perkins
2f70d15f7f
Use /latest URL rather than version specific 2025-02-21 12:36:08 -05:00
Luc Perkins
8caa66b492
Fix merge conflict in template 2025-02-21 12:35:09 -05:00
Luc Perkins
2f64b0ff10
Provide external link instead of internal release notes link 2025-02-21 12:30:42 -05:00
Luc Perkins
b9e654819a
Include only 2.26 in the sidebar release notes 2025-02-21 12:26:28 -05:00
Eelco Dolstra
85077c8a5e
Merge pull request #54 from DeterminateSystems/detsys-release-notes
Fix Detsys Nix manual, add release notes
2025-02-21 17:16:45 +00:00
Cole Helbling
d712540206 wip: delete unnecessary CI for now 2025-02-21 09:09:05 -08:00
Fabian Möller
cd1935468d Fix perl store bindings
When #9863 converted the `Nix::Store` free functions into member functions, the
implicit `this` argument was not accounted for when iterating over the variable
number of arguments in some functions.

(cherry picked from commit 5cf9e18167)
2025-02-21 14:47:37 +00:00
Eelco Dolstra
223f82efab
Merge pull request #12543 from B4dM4n/fix-perl-store-bindings
Fix perl store bindings
2025-02-21 15:46:46 +01:00
Sergei Zimmerman
0d5004508f tests/functional: Add flake-based regression for debugger use-after-free
This is the simplest reproducer I have. It would be great to find
a repro without flakes, but I guess this should be ok for now.
2025-02-21 14:36:39 +00:00
Sergei Zimmerman
af2ddfdb3b libexpr: Fix use-after-free of StaticEnv::up
It's not very clear what the ownership model is here, but one thing
is certain: `.up` can't be destroyed before the StaticEnv that refers
to it is.

Changing a non-owning pointer to taking shared ownership of the parent
`StaticEnv` prevents the `.up` from being freed.

I'm not a huge fan of the inverted ownership, where child `StaticEnv`
takes a refcount of the parent, but this seems like the least intrusive
way to fix the use-after-free.

This shouldn't cause any shared_ptr cycles to appear (hopefully).
2025-02-21 14:36:39 +00:00
Eelco Dolstra
237c9bda79 Add release notes for 1.0.0 2025-02-21 13:27:21 +01:00
Eelco Dolstra
3f59f80e6c Fix location of release-notes-determinate 2025-02-21 13:07:37 +01:00
Fabian Möller
5cf9e18167
Fix perl store bindings
When #9863 converted the `Nix::Store` free functions into member functions, the
implicit `this` argument was not accounted for when iterating over the variable
number of arguments in some functions.
2025-02-21 11:49:00 +01:00
Eelco Dolstra
5a647b670c
Merge pull request #44 from DeterminateSystems/build-manual
Build the Nix manual in CI
2025-02-21 01:21:00 +00:00
Eelco Dolstra
dece94fe25 Restrict permissions 2025-02-21 02:12:41 +01:00
Eelco Dolstra
53c03a0161 Cleanup 2025-02-21 01:50:42 +01:00
Eelco Dolstra
c23a2cdc4a Hack 2025-02-21 01:43:22 +01:00
Graham Christensen
90e355784c
Merge pull request #51 from DeterminateSystems/graham/fh-634-spaghetti-deploy
Initial cut of propose-release / release workflows
2025-02-21 00:40:47 +00:00
Eelco Dolstra
0dc5b249ff Build the Nix manual in CI and deploy to Netlify 2025-02-21 00:23:30 +01:00
Thomas Bereknyei
bbf6ff29e6 doc: ssl-cert-file leaks into OSX builds 2025-02-20 17:57:10 -05:00
Graham Christensen
592994d2e1 Fixup the release workflow 2025-02-20 17:15:51 -05:00
Graham Christensen
013c09948e Create an initial propose-release workflow 2025-02-20 17:13:19 -05:00
John Ericson
61f49de7ae
Merge pull request #12511 from xokdvium/chore/delete-dead-code
libfetchers-tests: Add back git-utils.cc
2025-02-20 15:56:38 -05:00
Eelco Dolstra
0da6a4a0ec
Merge pull request #12540 from xokdvium/fix/devshell
packaging: Fix devShell
2025-02-20 21:53:46 +01:00
Eelco Dolstra
b6101aedb4
Merge pull request #49 from DeterminateSystems/use-blacksmith
Run some jobs on blacksmith
2025-02-20 20:43:52 +00:00
Eelco Dolstra
835b3b4efe Fix vm_tests_all 2025-02-20 21:39:01 +01:00
Sergei Zimmerman
d95b7fea8e libfetchers-tests: Add back git-utils.cc
Seems like this got dropped at some point during meson migration, so
put it back in the build system.

Drop all tests for `parseGitUrl`, since that function doesn't exist
and migrating doesn't look sensible because git-lfs stuff seems to use
`ParsedURL`.
2025-02-20 20:19:16 +00:00
Eelco Dolstra
3e39ac4fc9 Don't run vm_tests_smoke in the merge queue 2025-02-20 21:06:17 +01:00
Eelco Dolstra
10977365ff Run some jobs on blacksmith 2025-02-20 21:03:49 +01:00
Eelco Dolstra
9620c840cf
Merge pull request #48 from DeterminateSystems/run-all-vm-tests
Run all of hydraJobs.tests.*
2025-02-20 19:43:24 +00:00
Eelco Dolstra
4c39f29a4a Move more stuff to the merge queue 2025-02-20 20:33:01 +01:00
Eelco Dolstra
d9f742302e Add merge queue config 2025-02-20 20:24:51 +01:00
John Ericson
6877988515 Fix dev shell
There was one `inputs.nixFmt` left after 573ffac2e6.
2025-02-20 13:01:42 -05:00
mergify[bot]
0d039d4abe
Merge pull request #12537 from NixOS/mergify/bp/2.26-maintenance/pr-12391
Only try to chmod /nix/var/nix/profiles/per-user when necessary (backport #12391)
2025-02-20 16:45:41 +00:00
Eelco Dolstra
856afa27c2 Build the binary tarball 2025-02-20 17:22:42 +01:00
Sandro Jäckel
65583ca79b Only try to chmod /nix/var/nix/profiles/per-user when necessary
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
(cherry picked from commit dcbf4dcc09)
2025-02-20 16:11:27 +00:00
Robert Hensing
76f4119605
Merge pull request #12391 from SuperSandro2000/per-user-stat-chmod
Only try to chmod /nix/var/nix/profiles/per-user when necessary
2025-02-20 17:10:24 +01:00
Eelco Dolstra
a691dcf48f Run all of hydraJobs.tests.* 2025-02-20 16:08:07 +01:00
John Ericson
0d6428821a
Merge pull request #12533 from obsidiansystems/eval-store-path-path
Introduce `EvalStore::storePath`
2025-02-20 01:24:39 -05:00
John Ericson
de22f58dfc Introduce EvalStore::storePath
This abstracts over a common case. Good for brevity, and enabling
further experiments.
2025-02-19 21:24:26 -05:00
John Ericson
782c63fc8e
Merge pull request #12512 from DeterminateSystems/store-fs
Use a union source accessor to put chroot stores in the logical location
2025-02-19 19:47:49 -05:00
Eelco Dolstra
ec7dc56f4e Remove unused variable 2025-02-20 01:09:18 +01:00
Eelco Dolstra
8dc2b2715b In pure eval mode, restrict rootFS to just the Nix store
Note that in pure mode, we don't need to use the union FS even when
using a chroot store, since the user shouldn't have access to the
physical /nix/store.
2025-02-19 23:13:11 +01:00
Eelco Dolstra
4206d95996 Remove sourcePathToStorePath()
It's no longer needed now that all store paths inside the evaluator
are logical rather than real paths.
2025-02-19 21:31:25 +01:00
mergify[bot]
514f1dea44
Merge pull request #12530 from NixOS/mergify/bp/2.26-maintenance/pr-12439
Set FD_CLOEXEC on sockets created by curl (backport #12439)
2025-02-19 20:24:14 +00:00