Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

[pull] master from NixOS:master #12

Open
wants to merge 2,294 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2294 commits
Select commit Hold shift + click to select a range
b09b4dc
x86_64-darwin: Disable LTO
edolstra Jan 21, 2025
069ca2a
Merge pull request #12324 from NixOS/disable-lto
edolstra Jan 21, 2025
d8dbb71
release notes: 2.26.0
edolstra Jan 22, 2025
617bf84
Add a few more release notes
edolstra Jan 22, 2025
21f2e29
Add release credits
edolstra Jan 22, 2025
7af6329
Merge pull request #12326 from NixOS/release-notes
edolstra Jan 22, 2025
f472be2
Update the release script
edolstra Jan 22, 2025
65f95c5
Bump version
edolstra Jan 22, 2025
2d507ff
Merge pull request #12327 from NixOS/update-release-script
edolstra Jan 22, 2025
a28195d
Merge pull request #12328 from NixOS/bump-2.27.0
edolstra Jan 22, 2025
c5dc749
Add mergify backport rule for 2.26
edolstra Jan 22, 2025
2975c2c
Merge pull request #12329 from NixOS/backport
edolstra Jan 22, 2025
bd10b85
GitRepo::fetch(): Cleanup
edolstra Jan 22, 2025
41983db
GitRepo::fetch(): Ignore $GIT_DIR
edolstra Jan 22, 2025
e0c6ed1
Fix help test in dev shell
edolstra Nov 18, 2024
64a3899
Merge pull request #12331 from DeterminateSystems/git-dir
Mic92 Jan 22, 2025
f168a6e
Merge pull request #11799 from obsidiansystems/flake-nixpkgs-cleanup
roberth Jan 22, 2025
7f7ca38
Fix #12295
Ericson2314 Jan 22, 2025
06123f6
Merge pull request #12335 from obsidiansystems/fix-12295
roberth Jan 22, 2025
4f8f12f
sinkToSource: avoid heap allocation
Jan 22, 2025
be97dc1
libstore: fix progress bars
Jan 23, 2025
fed3a2c
Add Rosetta 2 install message
aidenfoxivey Jan 23, 2025
2dae5ac
Run the 'nix --help' tests early
edolstra Jan 22, 2025
5b43163
Disable 'man' tests
edolstra Jan 23, 2025
261b213
Merge pull request #11900 from DeterminateSystems/fix-help-test
edolstra Jan 23, 2025
9060d0f
Fix missing format argument
edolstra Jan 23, 2025
7dfff58
Rename InputPath -> InputAttrPath
edolstra Jan 23, 2025
9837aff
Merge pull request #12338 from DeterminateSystems/input-attr-path
roberth Jan 24, 2025
10c8d79
Merge pull request #12336 from NaN-git/fix-progress
roberth Jan 24, 2025
00d9e7e
EvalState::resolveLookupPathPath(): Call resolveSymlinks() before pat…
edolstra Jan 24, 2025
ace52b1
doc/building: Update for #11799
roberth Jan 24, 2025
4166f59
Merge pull request #12348 from NixOS/doc-building-11799
roberth Jan 24, 2025
c527fe0
Merge pull request #12347 from DeterminateSystems/fix-12339
roberth Jan 24, 2025
d48d464
Add a test for #12339
edolstra Jan 24, 2025
99dbcca
Merge pull request #12351 from DeterminateSystems/test-12339
edolstra Jan 24, 2025
ba6425a
dev: Configure nixfmt (rfc style)
roberth Jan 24, 2025
96e550e
Format .nix files
roberth Jan 24, 2025
b04077c
fix: Update shifted source positions after formatting
roberth Jan 24, 2025
85a3071
Merge pull request #12349 from NixOS/nixfmt
roberth Jan 24, 2025
4e5d1b2
Improve "illegal path references in fixed output derivation" error
bmillwood Oct 10, 2024
06de255
Merge pull request #12356 from Artturin/illegalpathrefprint
Ericson2314 Jan 26, 2025
7465fbe
refactor: Extract EvalState::realiseString
roberth Jan 27, 2025
0d7418b
packages.default: Add meta.mainProgram
roberth Jan 27, 2025
850329d
packages.nix-cli: Add meta.mainProgram
roberth Jan 27, 2025
6a2198d
Merge pull request #12251 from nix-windows/local-store/fix-infinite-loop
edolstra Jan 27, 2025
6a3b4af
Merge remote-tracking branch 'upstream/master' into lfs
kip93 Jan 27, 2025
8d74495
Merge pull request #12362 from roberth/refactor-realiseString
edolstra Jan 27, 2025
fbe2940
Merge pull request #12363 from roberth/issue-12161
roberth Jan 28, 2025
a5de2dd
tests/functional/characterisation/framework: Log to stderr
roberth Jan 24, 2025
fa87ad6
Fix shellcheck warnings
edolstra Jan 29, 2025
cfe9329
Merge pull request #12378 from DeterminateSystems/fix-shellcheck
edolstra Jan 29, 2025
102d90e
Fix duplicate setPathDisplay()
edolstra Jan 30, 2025
177a067
Merge pull request #12372 from roberth/test-characterisation-log-to-s…
edolstra Jan 30, 2025
3032512
GitExportIgnoreSourceAccessor: Don't show «unknown»
edolstra Jan 30, 2025
9f72d5b
Git fetcher: Don't pass URL query parameters for file:// URLs
edolstra Jan 30, 2025
ee9fa0d
Git fetcher: Don't use refspec <rev>:<rev>
edolstra Jan 30, 2025
c8b2264
readHead(): Make sure we're returning the HEAD ref line
edolstra Jan 30, 2025
7c8c71f
Totally exclude nix::setStackSize on Windows
puffnfresh Jan 31, 2025
26539a0
Add mbig-obj flag to allow cross-compiling libexpr to mingw32
puffnfresh Jan 31, 2025
5f6658b
fetchTree: Distinguish between fetchGit and fetchTree consistently
edolstra Jan 28, 2025
39ef2e2
Merge pull request #12375 from DeterminateSystems/fetchTree-errors
edolstra Jan 31, 2025
a142803
tests/functional/fetchGit.sh: Drop unnecessary --impure flags
edolstra Jan 28, 2025
5dec1dc
fetchGit/fetchTree: Allow fetching using only a NAR hash
edolstra Jan 28, 2025
4113fdf
Allow use of lock files with unlocked entries as long as they have a …
edolstra Jan 28, 2025
9e240ec
Remove isConsideredLocked()
edolstra Jan 28, 2025
8006196
tests/functional/fetchGit.sh: Add a test for NAR hash mismatches
edolstra Jan 29, 2025
d949c8d
Merge pull request #12249 from nix-windows/stack-size
Ericson2314 Feb 1, 2025
f62a287
Only enable big-obj on Windows
puffnfresh Feb 1, 2025
453e8dc
Fix flakes follow symlinks
stevalkr Jan 17, 2025
d5c00cf
Merge pull request #12387 from nix-windows/big-objs
mergify[bot] Feb 2, 2025
b842103
Merge pull request #12376 from DeterminateSystems/fetch-using-nar-hash
mergify[bot] Feb 2, 2025
340eae1
Merge pull request #12385 from DeterminateSystems/fix-git-workdir-pat…
mergify[bot] Feb 2, 2025
24d11d2
Merge pull request #12286 from stevalkr/flakes_symlink_path
mergify[bot] Feb 2, 2025
63c0ea5
Merge pull request #12252 from ilya-bobyr/fish-profile-source-once-an…
mergify[bot] Feb 2, 2025
803fb83
nix-profile.fish: Typo NIX_SS{H => L}_CERT_FILE
ilya-bobyr Jan 14, 2025
cba27ba
Merge pull request #12405 from ilya-bobyr/fish-profile-fix-ssl-cert-typo
edolstra Feb 3, 2025
243467e
More debugging documentation
Ericson2314 Feb 3, 2025
c73096b
Merge pull request #12408 from obsidiansystems/debugging-instructions
Ericson2314 Feb 3, 2025
134530a
Merge remote-tracking branch 'upstream/master' into lfs
kip93 Feb 3, 2025
53946fe
Narrow scope on some local variables
Ericson2314 Feb 1, 2025
41274f3
Inline `outputsSubstitutionTried`
Ericson2314 Feb 1, 2025
57463ab
Inline `closureRepaired`
Ericson2314 Feb 1, 2025
2297cc0
Inline `getDerivation` and `loadDerivation`
Ericson2314 Feb 1, 2025
4b1753e
Move `repairClosure`
Ericson2314 Feb 1, 2025
b3b7419
Inline `inputsRealised`
Ericson2314 Feb 1, 2025
85aa624
nix-profile-daemon.fish: XDG_DATA_DIRS: .profile/share
ilya-bobyr Jan 14, 2025
137ba71
Fix shellcheck lints
silvanshade Feb 4, 2025
5c6785e
Merge pull request #12392 from obsidiansystems/simplify-state-machine
edolstra Feb 4, 2025
02e6286
Merge pull request #12414 from ilya-bobyr/fish-profile-daemon-XDG_DAT…
edolstra Feb 4, 2025
3c10909
Use 'nix flake prefetch' to get the store path of a flake
edolstra Feb 4, 2025
1ab97a7
fetchOrSubstituteTree(): Return an accessor
edolstra Feb 4, 2025
c74ad6b
Remove FlakeRef::fetchTree()
edolstra Feb 4, 2025
0159848
Add FIXME
edolstra Feb 4, 2025
f90ba3a
Update tests/functional/flakes/symlink-paths.sh
Ericson2314 Feb 4, 2025
25fcc8d
Add `inputs.self.submodules` flake attribute
edolstra Feb 4, 2025
3e8cd2f
Merge pull request #12412 from obsidiansystems/simplify-state-machine-2
edolstra Feb 4, 2025
38f3914
Add a test for a flake referencing a flake that has inputs.self
edolstra Feb 4, 2025
5030077
nix-profile.fish: set --local NIX_LINK
ilya-bobyr Jan 14, 2025
d2425c5
Merge pull request #12422 from ilya-bobyr/fish-profile-use-set-local
edolstra Feb 5, 2025
1a8dfc0
Merge pull request #12415 from silvanshade/fix-shellcheck-lints
edolstra Feb 5, 2025
a562d0b
Merge pull request #12386 from DeterminateSystems/git-fixes
Ericson2314 Feb 5, 2025
c985252
Revert "Revert "Adapt scheduler to work with dynamic derivations""
Ericson2314 Nov 20, 2023
1f56ea4
Add BLAKE3 hashing algorithm
silvanshade Jan 29, 2025
7fd2125
Add BLAKE3 to documentation
silvanshade Feb 6, 2025
fc83c6c
Merge pull request #12379 from silvanshade/blake3-c
Ericson2314 Feb 6, 2025
6e2fcb7
Parser: Respect the accessor of the source file for relative paths
edolstra Feb 6, 2025
7096acc
Parser: Respect the accessor of the source file for relative paths
edolstra Feb 6, 2025
73060b4
pre-commit/check-merge-conflicts-2: fix use outside dev shell
roberth Jan 24, 2025
77a8386
test: Fix shellcheck by giving git-hashing scripts shebangs
roberth Jan 29, 2025
414c346
test: Use skipTest instead of exit 0
roberth Jan 29, 2025
aa383a0
Merge pull request #12373 from roberth/fix-pre-commit
mergify[bot] Feb 7, 2025
12d2527
Set FD_CLOEXEC on sockets created by curl
MaxHearnden Feb 9, 2025
e80d333
Document Store Derivations and Deriving Paths (#12290)
Ericson2314 Feb 10, 2025
cafefed
Rename to "content-address*ing* derivation"
Ericson2314 Feb 10, 2025
967d7b9
Merge pull request #12441 from obsidiansystems/content-addressing-der…
Ericson2314 Feb 10, 2025
1cb9a35
Merge remote-tracking branch 'origin/master' into lfs
edolstra Feb 10, 2025
40e8c5f
Fix possible deref of null git_config
edolstra Feb 10, 2025
c10dbdc
libfetchers: Drop no longer needed curl dependency
edolstra Feb 10, 2025
9db070d
Misc code cleanups
edolstra Feb 10, 2025
c210efa
Move git-lfs-fetch into its own source file
edolstra Feb 10, 2025
d78daaa
getLfsEndpointUrl(): Use our RAII helpers
edolstra Feb 10, 2025
c02fceb
Add release note
edolstra Feb 10, 2025
d4ecf15
smudgeLfs: Use default value
edolstra Feb 10, 2025
428a3e8
Add TODO
edolstra Feb 10, 2025
1f485b6
Merge pull request #12430 from DeterminateSystems/relative-path-literals
Ericson2314 Feb 10, 2025
b813a76
Merge remote-tracking branch 'origin/master' into self-input-attrs
edolstra Feb 10, 2025
4b75eda
Restore NAR hash assertion
edolstra Feb 10, 2025
528b286
Remove stray line
edolstra Feb 10, 2025
2819d8b
Add release note
edolstra Feb 10, 2025
92bf150
Merge pull request #12421 from DeterminateSystems/self-input-attrs
edolstra Feb 10, 2025
55c1e44
Update src/libstore/unix/build/local-derivation-goal.cc
aidenfoxivey Feb 10, 2025
254b7af
nix flake prefetch: Add --out-link option
edolstra Feb 10, 2025
dcbf4dc
Only try to chmod /nix/var/nix/profiles/per-user when necessary
SuperSandro2000 Feb 1, 2025
26b87e7
copyPathToStore(): Preserve symlinks
edolstra Feb 11, 2025
c000c16
Merge pull request #12448 from DeterminateSystems/dont-follow-symlink…
Ericson2314 Feb 11, 2025
2e20a5f
Don't import a symlink
edolstra Feb 11, 2025
23259bd
Merge pull request #12255 from NaN-git/fix-7359
Mic92 Feb 12, 2025
50912d0
Get rid of `impureOutputHash`
Ericson2314 Mar 31, 2022
fda585f
Merge pull request #12450 from DeterminateSystems/no-symlink
edolstra Feb 12, 2025
ca7e686
Merge pull request #12439 from MaxHearnden/cloexec
edolstra Feb 12, 2025
5c552b6
lockFlake(): When refetching a locked flake, use the locked ref
edolstra Feb 12, 2025
ed38c9d
Merge pull request #12458 from DeterminateSystems/refetch-locked
edolstra Feb 12, 2025
0abc264
Merge pull request #6346 from Ericson2314/impure-derivations-ng
Ericson2314 Feb 12, 2025
a902b84
Formatting
edolstra Feb 12, 2025
17d4604
Add test
edolstra Feb 12, 2025
eb91014
Merge pull request #12443 from DeterminateSystems/prefetch-out-link
roberth Feb 12, 2025
69c7b42
feat: access tokens per repo
tomberek Feb 12, 2025
a9f4d73
feat: test and document access-token prefix support
tomberek Feb 13, 2025
693a38a
Merge pull request #10153 from b-camacho/lfs
roberth Feb 13, 2025
b2d352e
Add `inputs.self.lfs`
kip93 Feb 13, 2025
4a1d1c7
Add release note
kip93 Feb 13, 2025
269efa0
fix: ensure access-token matches are complete
tomberek Feb 13, 2025
753f00c
fix: add comment about longest-possible match
tomberek Feb 13, 2025
3b5514e
fix: linting
tomberek Feb 13, 2025
6985598
doc: recursive-nix: advertise requiredSystemFeatures
SomeoneSerge Feb 14, 2025
8b89c45
Merge release notes
kip93 Feb 14, 2025
5eade48
Expose a bunch of things in the Legacy SSH Store for Hydra
Ericson2314 May 20, 2024
75db01c
Merge pull request #12473 from SomeoneSerge/patch-1
Ericson2314 Feb 14, 2025
2d36679
Merge pull request #12468 from kip93/self-input-attrs-lfs
roberth Feb 15, 2025
1068b96
Merge pull request #12400 from aidenfoxivey/add-rosetta-2-info-msg
roberth Feb 15, 2025
8b91127
Merge pull request #10748 from NixOS/legacy-ssh-extensions-for-hydra
Ericson2314 Feb 16, 2025
07f853b
Merge pull request #9415 from NixOS/fix-dynamic-derivations
roberth Feb 16, 2025
222a57c
More interesting dynamic derivations example
Ericson2314 Feb 5, 2025
f0dbfad
Merge pull request #12425 from obsidiansystems/more-interesting-dyn-d…
roberth Feb 16, 2025
917b8b2
Introduce `DerivationOptions`
Ericson2314 Jan 20, 2025
0d25cc6
Add `SSHMaster::Connection::trySetBufferSize`
Ericson2314 May 23, 2024
94a7c34
Allow setting `ssh://` pipe size
Ericson2314 Feb 17, 2025
8ac49ea
getDefaultNixPath(): Don't add symlinks if the target doesn't exist
edolstra Feb 17, 2025
df08e1e
resolveLookupPathPath(): Fix caching of negative lookups
edolstra Feb 17, 2025
5438889
dep-built-drv-2.sh: Don't fail with "cannot create symlink"
edolstra Feb 17, 2025
ca2e526
Merge pull request #12482 from DeterminateSystems/fix-test
edolstra Feb 17, 2025
bc66a9b
JSONLogger: Log to a file descriptor instead of another Logger
edolstra Feb 17, 2025
b0bbb12
Support libgit2 1.9.0
roberth Feb 17, 2025
d1b9324
Merge pull request #10765 from obsidiansystems/ssh-pipe-size-method
Ericson2314 Feb 17, 2025
2ea8d35
Merge pull request #12481 from DeterminateSystems/search-path-spam
Ericson2314 Feb 17, 2025
63a603d
Merge pull request #12484 from NixOS/libgit2-1.9.0
Ericson2314 Feb 17, 2025
c0c1469
Use getStandardError()
edolstra Feb 17, 2025
db7577a
Merge pull request #12483 from DeterminateSystems/json-logger
edolstra Feb 17, 2025
c5fcb1b
Fix a few warnings
roberth Feb 17, 2025
c003f3a
Merge pull request #12292 from obsidiansystems/derivation-options
Ericson2314 Feb 17, 2025
1f688d6
Merge pull request #12490 from NixOS/warnings-2025-02-17
edolstra Feb 17, 2025
b1a38b3
Move code related to NIX_MAN_DIR from libstore to nix-cli
xokdvium Feb 17, 2025
f55eb06
Merge pull request #12492 from xokdvium/refactor/move-show-man-page-t…
Ericson2314 Feb 18, 2025
e0617d2
windows: fix compilation after recent changes
puffnfresh Feb 18, 2025
9427c02
Merge pull request #12495 from nix-windows/windows-fixes
mergify[bot] Feb 18, 2025
bba4e6b
Restore detailed Nix CLI version
roberth Feb 18, 2025
3556f6b
Write just ./.version on all components
roberth Feb 18, 2025
11c42cb
startDaemon(): Detect if the daemon crashes before creating the socket
edolstra Feb 18, 2025
2018413
Make 'logger' a std::unique_ptr
edolstra Aug 25, 2022
b576e62
Fix crash on macOS
edolstra Feb 18, 2025
258b5ef
Merge pull request #6962 from edolstra/unique-ptr-logger
edolstra Feb 18, 2025
2b5365b
tests: Fix installTests
roberth Feb 18, 2025
95f16a3
Don't override default man search paths
xokdvium Feb 18, 2025
dc359f8
repl: suppress progress bar in printValue()
Feb 18, 2025
cca4e8c
Merge pull request #12504 from NaN-git/fix-repl
edolstra Feb 18, 2025
dfb5b2c
Merge pull request #12497 from xokdvium/fix/dont-override-default-man…
Ericson2314 Feb 18, 2025
da51098
Merge pull request #12498 from NixOS/fix-cli-fine-version
Ericson2314 Feb 18, 2025
5facd49
Merge pull request #12499 from DeterminateSystems/detect-daemon-crash
Ericson2314 Feb 18, 2025
cca0140
packaging: Move layers from dependencies to components
roberth Feb 18, 2025
f31d862
packaging: Add overrideAllMesonComponents
roberth Feb 18, 2025
48fb6fd
packaging: Add source overriding "methods"
roberth Feb 18, 2025
03efba3
test: Ignore packaging-overriding check on darwin for now
roberth Feb 18, 2025
0dbe28a
packaging: Add patch count to version
roberth Feb 18, 2025
d47e3c9
packaging: Make patch count lazier
roberth Feb 18, 2025
eb73bfc
libstore: fix expected bytes in progress bar
tie Feb 18, 2025
c19914f
doc: Fix ccacheStdenvPackages typo
infinisil Feb 18, 2025
5aeaa25
Merge pull request #12513 from tweag/ccacheStdenv-typo
Ericson2314 Feb 18, 2025
f0bdb65
packaging: Remove dead code
roberth Feb 18, 2025
e672243
Merge pull request #12503 from roberth/overriding
roberth Feb 18, 2025
5488e29
packaging: Restore libgit2 USE_SSH=exec
roberth Feb 18, 2025
f201446
Merge pull request #12518 from roberth/libgit2-use-ssh-exec
roberth Feb 19, 2025
573ffac
Remove nixfmt override
roberth Feb 19, 2025
0da8134
Move MountedSourceAccessor to libutil
edolstra Feb 18, 2025
d7f2c1b
Remove mounted-source-accessor.hh
edolstra Feb 18, 2025
2b3fed4
Merge pull request #12525 from DeterminateSystems/move-mounted-source…
edolstra Feb 19, 2025
e5fdb4b
Merge pull request #12524 from NixOS/remove-nixfmt-override
edolstra Feb 19, 2025
e5e0ce2
Remove redundant call to canonPath()
edolstra Feb 18, 2025
774b924
Add a storeFS accessor for paths resulting from IFD
edolstra Feb 18, 2025
641733f
Add test
edolstra Feb 18, 2025
c3d8799
MountedSourceAccessor: Remove redundant pathExists() method
edolstra Feb 19, 2025
5b7c240
Add a UnionSourceAccessor
edolstra Feb 19, 2025
99e78c3
Use UnionSourceAccessor to mount the chroot store on top of the real …
edolstra Feb 19, 2025
584ddd1
UnionSourceAccessor: Don't filter out underlying files of the wrong type
edolstra Feb 19, 2025
4206d95
Remove sourcePathToStorePath()
edolstra Feb 19, 2025
8dc2b27
In pure eval mode, restrict rootFS to just the Nix store
edolstra Feb 19, 2025
ec7dc56
Remove unused variable
edolstra Feb 20, 2025
782c63f
Merge pull request #12512 from DeterminateSystems/store-fs
Ericson2314 Feb 20, 2025
de22f58
Introduce `EvalStore::storePath`
Ericson2314 Feb 20, 2025
0d64288
Merge pull request #12533 from obsidiansystems/eval-store-path-path
Ericson2314 Feb 20, 2025
76f4119
Merge pull request #12391 from SuperSandro2000/per-user-stat-chmod
roberth Feb 20, 2025
6877988
Fix dev shell
Ericson2314 Feb 19, 2025
d95b7fe
libfetchers-tests: Add back git-utils.cc
xokdvium Feb 20, 2025
0da6a4a
Merge pull request #12540 from xokdvium/fix/devshell
edolstra Feb 20, 2025
61f49de
Merge pull request #12511 from xokdvium/chore/delete-dead-code
Ericson2314 Feb 20, 2025
bbf6ff2
doc: ssl-cert-file leaks into OSX builds
tomberek Feb 20, 2025
5cf9e18
Fix perl store bindings
B4dM4n Feb 21, 2025
223f82e
Merge pull request #12543 from B4dM4n/fix-perl-store-bindings
edolstra Feb 21, 2025
d904921
Merge pull request #12510 from tie/fix-progress-parallel
edolstra Feb 21, 2025
779bb3b
Include the Nix version in the title of the manual
edolstra Feb 21, 2025
f3ea14c
Merge pull request #12542 from tomberek/tomberek.ssl-default
edolstra Feb 24, 2025
b4dfeaf
nix flake archive: Skip relative path inputs
edolstra Feb 24, 2025
d433a22
Merge pull request #12553 from DeterminateSystems/archive-relative-paths
Mic92 Feb 24, 2025
0772c2e
packaging: Use correct stdenv for x86_64-darwin
roberth Feb 24, 2025
1f98abe
Merge pull request #12557 from roberth/packaging-x86_64-darwin-stdenv
roberth Feb 24, 2025
c8a443d
Merge pull request #12546 from DeterminateSystems/version-in-manual
Ericson2314 Feb 24, 2025
14c9755
nix flake archive: Recurse into relative path inputs
edolstra Feb 24, 2025
8384e41
Merge pull request #12559 from DeterminateSystems/archive-relative-paths
edolstra Feb 24, 2025
c071722
refact: Rename url -> hostAndPath
roberth Feb 25, 2025
1222438
Merge remote-tracking branch 'upstream/master' into tomberek.access-t…
roberth Feb 25, 2025
ff2798b
Merge pull request #12465 from tomberek/tomberek.access-token-prefixing
roberth Feb 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: DontAlign
AlignEscapedNewlines: Left
ColumnLimit: 120
BreakStringLiterals: false
BitFieldColonSpacing: None
Expand All @@ -30,3 +30,5 @@ BreakBeforeBinaryOperators: NonAssignment
AlwaysBreakBeforeMultilineStrings: true
IndentPPDirectives: AfterHash
PPIndentWidth: 2
BinPackArguments: false
BreakBeforeTernaryOperators: true
8 changes: 4 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
# Top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file, utf-8 charset
# Unix-style newlines with a newline ending every file, UTF-8 charset
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

# Match nix files, set indent to spaces with width of two
# Match Nix files, set indent to spaces with width of two
[*.nix]
indent_style = space
indent_size = 2

# Match c++/shell/perl, set indent to spaces with width of four
[*.{hpp,cc,hh,sh,pl,xs}]
# Match C++/C/shell/Perl, set indent to spaces with width of four
[*.{hpp,cc,hh,c,h,sh,pl,xs}]
indent_style = space
indent_size = 4

Expand Down
13 changes: 11 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@
.github/CODEOWNERS @edolstra

# Documentation of built-in functions
src/libexpr/primops.cc @roberth
src/libexpr/primops.cc @roberth @fricklerhandwerk

# Documentation of settings
src/libexpr/eval-settings.hh @fricklerhandwerk
src/libstore/globals.hh @fricklerhandwerk

# Documentation
doc/manual @fricklerhandwerk
maintainers/*.md @fricklerhandwerk
src/**/*.md @fricklerhandwerk

# Libstore layer
/src/libstore @thufschmitt @ericson2314
/src/libstore @ericson2314
50 changes: 34 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,54 @@
---
name: Bug report
about: Create a report to help us improve
about: Report unexpected or incorrect behaviour
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
## Describe the bug

A clear and concise description of what the bug is.
<!--
A clear and concise description of what the bug is.

If you have a problem with a specific package or NixOS,
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues.
If you have a problem with a specific package or NixOS,
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues.
-->

**Steps To Reproduce**
## Steps To Reproduce

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
<!--
Example:

**Expected behavior**
1. Clone this repository: ...
2. Run `nix-... ...`
3. Observe unexpected behaviour
-->

A clear and concise description of what you expected to happen.
## Expected behavior

**`nix-env --version` output**
<!-- A clear and concise description of what you expected to happen. -->

**Additional context**
## Metadata

Add any other context about the problem here.
<!-- Please insert the output of running `nix-env --version` below this line -->

**Priorities**
## Additional context

<!-- Add any other context about the problem here. -->

## Checklist

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [open bug issues and pull requests] for possible duplicates

[latest Nix manual]: https://nixos.org/manual/nix/unstable/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug

---

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
35 changes: 25 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
---
name: Feature request
about: Suggest an idea for this project
about: Suggest a new feature
title: ''
labels: feature
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Is your feature request related to a problem?

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
## Proposed solution

**Additional context**
Add any other context or screenshots about the feature request here.
<!-- A clear and concise description of what you want to happen. -->

**Priorities**
## Alternative solutions

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->

## Checklist

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [open feature issues and pull requests] for possible duplicates

[latest Nix manual]: https://nixos.org/manual/nix/unstable/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature

---

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
17 changes: 14 additions & 3 deletions .github/ISSUE_TEMPLATE/installer.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,25 @@ assignees: ''

<details><summary>Output</summary>

```log
<!-- paste console output inside the below code block -->

<!-- paste console output here and remove this comment -->
```log

```

</details>

## Priorities
## Checklist

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [open installer issues and pull requests] for possible duplicates

[latest Nix manual]: https://nixos.org/manual/nix/unstable/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open installer issues and pull requests]: https://github.com/NixOS/nix/labels/installer

---

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/missing_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ assignees: ''
- [ ] checked [open documentation issues and pull requests] for possible duplicates

[latest Nix manual]: https://nixos.org/manual/nix/unstable/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/src
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open documentation issues and pull requests]: https://github.com/NixOS/nix/labels/documentation

## Priorities
---

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
27 changes: 24 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
# Motivation
<!--

IMPORTANT

Nix is a non-trivial project, so for your contribution to be successful,
it really is important to follow the contributing guidelines:

https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md

Even if you've contributed to open source before, take a moment to read it,
so you understand the process and the expectations.

- what information to include in commit messages
- proper attribution
- volunteering contributions effectively
- how to get help and our review process.

-->

## Motivation

<!-- Briefly explain what the change is about and why it is desirable. -->

# Context
## Context

<!-- Provide context. Reference open issues if available. -->

<!-- Non-trivial change: Briefly outline the implementation strategy. -->
Expand All @@ -10,7 +31,7 @@

<!-- Large change: Provide instructions to reviewers how to read the diff. -->

# Priorities and Process
---

Add :+1: to [pull requests you find important](https://github.com/NixOS/nix/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc).

Expand Down
8 changes: 4 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
"c api":
- changed-files:
- any-glob-to-any-file: "src/lib*-c/**/*"
- any-glob-to-any-file: "test/unit/**/nix_api_*"
- any-glob-to-any-file: "src/*test*/**/nix_api_*"
- any-glob-to-any-file: "doc/external-api/**/*"

"contributor-experience":
- changed-files:
- any-glob-to-any-file: "CONTRIBUTING.md"
- any-glob-to-any-file: ".github/ISSUE_TEMPLATE/*"
- any-glob-to-any-file: ".github/PULL_REQUEST_TEMPLATE.md"
- any-glob-to-any-file: "doc/manual/src/contributing/**"
- any-glob-to-any-file: "doc/manual/source/contributing/**"

"documentation":
- changed-files:
- any-glob-to-any-file: "doc/manual/*"
- any-glob-to-any-file: "doc/manual/**/*"
- any-glob-to-any-file: "src/nix/**/*.md"

"store":
Expand All @@ -40,4 +40,4 @@
- any-glob-to-any-file: "src/*/tests/**/*"
# Functional and integration tests
- any-glob-to-any-file: "tests/functional/**/*"

32 changes: 0 additions & 32 deletions .github/workflows/backport.yml

This file was deleted.

Loading