Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1940 commits
Select commit Hold shift + click to select a range
7a0d8b1
Update changes.md
edolstra Oct 9, 2025
a8c9874
Clean up release notes
cole-h Oct 9, 2025
80d3406
Merge pull request #228 from DeterminateSystems/release-v3.11.3/d3641…
edolstra Oct 9, 2025
35d73c2
Exprs: Use synchronized_pool_resource for thread-safety
edolstra Oct 9, 2025
5f09da7
positionToDocComment: Make thread-safe (again)
edolstra Oct 9, 2025
2656355
Input::clone(): Use std::filesystem::path
edolstra Oct 10, 2025
9bf4eba
nix flake clone: Support all input types
edolstra Oct 10, 2025
51bf3ea
Merge pull request #229 from DeterminateSystems/eelcodolstra/fh-1073-…
edolstra Oct 13, 2025
f7d872d
Merge remote-tracking branch 'detsys/main' into sync-2.32.0
edolstra Oct 13, 2025
00ad583
shellcheck
edolstra Oct 13, 2025
ea7e781
printValueAsJSON(): Don't wait for futures
edolstra Oct 13, 2025
f355760
Merge pull request #230 from DeterminateSystems/eelcodolstra/cf-211-e…
edolstra Oct 13, 2025
7af8453
Merge tag '2.32.1' into sync-2.32.0
edolstra Oct 14, 2025
4d7a61b
Merge remote-tracking branch 'detsys/main' into sync-2.32.0
edolstra Oct 14, 2025
454bdd6
builtins.parallel: Register values as GC roots
edolstra Oct 14, 2025
1520150
Merge pull request #231 from DeterminateSystems/fix-parallel-crash
edolstra Oct 14, 2025
3f03610
Revert "libexpr: Use same naive iterative merging but with `evalForUp…
edolstra Oct 13, 2025
9db6c98
Merge remote-tracking branch 'detsys/main' into export-import
edolstra Oct 16, 2025
097b3ac
Apply suggestions from code review
edolstra Oct 16, 2025
a05acc8
Factor out --no-check-sigs
edolstra Oct 16, 2025
5b79d59
nix nario import: Require signatures by default
edolstra Oct 16, 2025
c5656c3
Apply suggestions from code review
edolstra Oct 16, 2025
29fa056
nix store sign: Use required attribute
edolstra Oct 16, 2025
427ecd3
Test nario format 2
edolstra Oct 16, 2025
590d67c
nario: Don't use full store paths in the new format
edolstra Oct 16, 2025
7241615
Use serializer for std::optional<StorePath>
edolstra Oct 16, 2025
84b27da
Note that nario version 1 requires --no-check-sigs
edolstra Oct 16, 2025
17de7b2
Improve error message
edolstra Oct 17, 2025
ee303c5
Refuse to read/write narios from ttys
edolstra Oct 17, 2025
db4e80b
Use nario format 2 in the example
edolstra Oct 17, 2025
7dc9416
Merge pull request #215 from DeterminateSystems/export-import
edolstra Oct 17, 2025
36a874d
Source: Add skip() method
edolstra Oct 17, 2025
cc3a1ac
NullFileSystemObjectSink: Skip over file contents
edolstra Oct 17, 2025
aa15690
nix store dump-path: Refuse to write NARs to the terminal
edolstra Oct 17, 2025
e8ab7e4
nix nario list: Efficiently skip NARs
edolstra Oct 17, 2025
7e31bdc
nix nario list: Add --json flag
edolstra Oct 17, 2025
a4af7d4
nix nario list: Show NAR contents
edolstra Oct 17, 2025
a582f17
Fix error message
edolstra Oct 17, 2025
107a93e
Use a smaller buffer
edolstra Oct 20, 2025
dd7140a
Merge pull request #232 from DeterminateSystems/export-import
edolstra Oct 20, 2025
952e49c
Simplify `nix nario list` output
edolstra Oct 20, 2025
cbb627f
nix nario list: Add -l option to list details
edolstra Oct 20, 2025
70a08db
Change --no-contents to --recursive
edolstra Oct 20, 2025
850e974
Merge remote-tracking branch 'detsys/main' into sync-2.32.0
edolstra Oct 20, 2025
4f0b708
Merge pull request #234 from DeterminateSystems/nario-list
edolstra Oct 20, 2025
1e165e6
Merge remote-tracking branch 'detsys/main' into sync-2.32.0
edolstra Oct 21, 2025
64f751f
importPaths(): Seek over paths that are already in the store
edolstra Oct 21, 2025
2eea2eb
Merge pull request #236 from DeterminateSystems/nario-import-optimiza…
edolstra Oct 21, 2025
000b572
Merge pull request #226 from DeterminateSystems/sync-2.32.0
cole-h Oct 21, 2025
5479f6e
StringSource: Implement skip()
edolstra Oct 21, 2025
98405b1
Print the Nix version when using `-vv` (or more) verbosity
cole-h Oct 21, 2025
98ccc40
Merge pull request #237 from DeterminateSystems/print-nix-version-on-…
edolstra Oct 22, 2025
aa054ab
LocalStore::addToStore(): Skip unnecessary NARs rather than parsing them
edolstra Oct 21, 2025
0c7e4cb
importPaths(): Seek over paths that are already in the store for the …
edolstra Oct 21, 2025
bbdd59c
Optimize version 1 nario import
edolstra Oct 21, 2025
bd74502
Apply suggestions from code review
edolstra Oct 22, 2025
60db4b9
Merge pull request #238 from DeterminateSystems/nario-import-optimiza…
edolstra Oct 22, 2025
ce03ba3
LocalStore::addToStore(): Simplify since info.narSize is required
edolstra Oct 22, 2025
35a8e60
nix flake check: Fix output rendering
edolstra Oct 23, 2025
15efebd
LocalStore::addToStore(): Reinstate try/catch
edolstra Oct 23, 2025
85b66c9
Merge pull request #239 from DeterminateSystems/fix-flake-show-output
edolstra Oct 23, 2025
9e45207
Prepare release v3.12.0
github-actions[bot] Oct 23, 2025
ae5743c
Set .version-determinate to 3.12.0
github-actions[bot] Oct 23, 2025
09fb800
Generate release notes for 3.12.0
github-actions[bot] Oct 23, 2025
ffc9c7d
Update release notes
edolstra Oct 23, 2025
9512828
Merge pull request #240 from DeterminateSystems/release-v3.12.0/491a2…
detsys-spaghetti[bot] Oct 23, 2025
fd6c3bf
Allow access to the result of fetchClosure
edolstra Oct 23, 2025
236ebef
Merge pull request #241 from DeterminateSystems/eelcodolstra/fh-1092-…
edolstra Oct 23, 2025
9862432
Merge tag '2.32.2'
edolstra Oct 27, 2025
8f34600
Abbreviate flakerefs in error messages
edolstra Oct 30, 2025
2533c66
GitRepo::getRevCount(): Compute revcount in parallel
edolstra Nov 3, 2025
c83b99d
libstore/build: fixup JSON logger missing the resBuildResult result e…
cole-h Nov 4, 2025
ac134d9
Merge pull request #246 from DeterminateSystems/fixup-missing-build-r…
grahamc Nov 4, 2025
530cafc
Prepare release v3.12.1
github-actions[bot] Nov 4, 2025
608c08c
Set .version-determinate to 3.12.1
github-actions[bot] Nov 4, 2025
a5e3fab
Generate release notes for 3.12.1
github-actions[bot] Nov 4, 2025
9bb4e79
Update doc/manual/source/release-notes-determinate/changes.md
grahamc Nov 4, 2025
1d3ce49
Merge pull request #247 from DeterminateSystems/release-v3.12.1/640a2…
detsys-spaghetti[bot] Nov 4, 2025
2ea3231
Merge pull request #245 from DeterminateSystems/parallel-revcount
edolstra Nov 4, 2025
7f46b90
Merge pull request #243 from DeterminateSystems/eelcodolstra/fh-699-a…
edolstra Nov 4, 2025
530c34c
Merge pull request #242 from DeterminateSystems/sync-2.32.2
edolstra Nov 4, 2025
c34f124
Test that `builtOutputs` is present in the JSON log
cole-h Nov 4, 2025
b04856b
C API: add nix_locked_flake_read_path for flake file reading
RossComputerGuy Oct 31, 2025
0fe46d2
Merge pull request #248 from DeterminateSystems/test-builtOutputs-in-…
edolstra Nov 4, 2025
fed6a7e
Git fetcher: Restore progress indication
edolstra Nov 4, 2025
e532a6a
When pausing the progress bar, print current activities
edolstra Nov 4, 2025
e250749
Tell our users to file issues with us, not upstream
cole-h Nov 4, 2025
51fa1ca
Merge pull request #251 from DeterminateSystems/fixup-crash-report-url
cole-h Nov 4, 2025
7a77e87
nix flake check: Remove incorrect assertion
edolstra Nov 5, 2025
e6c5d56
Merge pull request #252 from DeterminateSystems/fix-nix-flake-check-c…
grahamc Nov 5, 2025
7385ea4
Prepare release v3.12.2
github-actions[bot] Nov 5, 2025
409e16d
Set .version-determinate to 3.12.2
github-actions[bot] Nov 5, 2025
a88bb39
Generate release notes for 3.12.2
github-actions[bot] Nov 5, 2025
4b31b57
Edit release notes
edolstra Nov 5, 2025
72d304e
Merge pull request #253 from DeterminateSystems/release-v3.12.2/9aa0d…
detsys-spaghetti[bot] Nov 5, 2025
ee725b2
C API: make nix_store_get_fs_closure compatible with upstream
RossComputerGuy Nov 6, 2025
5457686
Merge pull request #244 from DeterminateSystems/RossComputerGuy/flake…
edolstra Nov 6, 2025
d214202
Merge pull request #254 from DeterminateSystems/RossComputerGuy/get-f…
edolstra Nov 6, 2025
441aba4
Bump version
edolstra Nov 7, 2025
cd898c3
Merge tag '2.32.3' into sync-2.32.3
edolstra Nov 7, 2025
3dfc29f
Merge pull request #250 from DeterminateSystems/git-progress
edolstra Nov 7, 2025
2fadb19
flake.lock: Update
edolstra Nov 7, 2025
0dd456a
Merge pull request #255 from DeterminateSystems/sync-2.32.3
edolstra Nov 7, 2025
287b54b
build: Disable libstdc++ TBB backend to avoid unnecessary dependency
Mic92 Nov 7, 2025
70b7c05
Merge pull request #14511 from NixOS/backport-14509-to-2.32-maintenance
internal-nix-ci[bot] Nov 7, 2025
1876963
Drop x86_64-darwin from flake.nix
grahamc Nov 8, 2025
700b968
Modernize the distributed-builds docs by talking about aarch64-darwin
grahamc Nov 8, 2025
584585c
Drop x86_64-darwin from a couple more docs and globals.hh
grahamc Nov 8, 2025
3f7229a
Remove x86_64-darwin from the CI workflows
grahamc Nov 8, 2025
b591265
tests/functional: Add tests for builtins.dirOf
xokdvium Nov 9, 2025
be250f0
libexpr: Don't use nix::dirOf in prim_dirOf
xokdvium Nov 9, 2025
5b8c24f
Merge pull request #14524 from NixOS/backport-14515-to-2.32-maintenance
internal-nix-ci[bot] Nov 9, 2025
e7833a5
Merge pull request #257 from DeterminateSystems/push-twqrywvnylzz
grahamc Nov 9, 2025
8eb1c7f
Prepare release v3.13.0
github-actions[bot] Nov 9, 2025
512df48
Set .version-determinate to 3.13.0
github-actions[bot] Nov 9, 2025
6438cea
Generate release notes for 3.13.0
github-actions[bot] Nov 9, 2025
2be66a9
Tune up the changelog
grahamc Nov 9, 2025
42a402f
Merge pull request #259 from DeterminateSystems/release-v3.13.0/a410a…
detsys-spaghetti[bot] Nov 9, 2025
4758206
nix bundle: Wait for async path writer
edolstra Nov 10, 2025
04786b6
Merge pull request #260 from DeterminateSystems/fix-nix-bundle
edolstra Nov 10, 2025
46a43de
Restore isAllowed check in ChrootLinuxDerivationBuilder
xokdvium Nov 10, 2025
d7fc293
Merge pull request #14534 from NixOS/backport-14531-to-2.32-maintenance
internal-nix-ci[bot] Nov 10, 2025
60dbcf5
Merge tag '2.32.4' into sync-2.32.4
edolstra Nov 11, 2025
933df40
Merge pull request #261 from DeterminateSystems/sync-2.32.4
edolstra Nov 11, 2025
514590c
Prepare release v3.13.1
github-actions[bot] Nov 12, 2025
057fb98
Set .version-determinate to 3.13.1
github-actions[bot] Nov 12, 2025
348df64
Generate release notes for 3.13.1
github-actions[bot] Nov 12, 2025
bb9350d
Update release notes
cole-h Nov 12, 2025
ef054dc
Merge pull request #262 from DeterminateSystems/release-v3.13.1/f6157…
detsys-spaghetti[bot] Nov 12, 2025
dc4f411
nix flake prefetch-inputs: Skip build-time inputs
edolstra Nov 14, 2025
29943e0
Abbreviate flakerefs in diffs
edolstra Nov 15, 2025
c049e51
nix flake metadata: Abbreviate input flakerefs
edolstra Nov 15, 2025
f82b68b
Merge pull request #264 from DeterminateSystems/abbreviate-flakerefs
edolstra Nov 15, 2025
90c4cae
Add missing 'determinate' prefix
edolstra Nov 17, 2025
ce8bac0
Merge pull request #265 from DeterminateSystems/determinate-name-prefix
edolstra Nov 17, 2025
f5bdba4
Remove setting from Input
roberth Nov 12, 2025
9f1b206
Re-word README
lucperkins Nov 17, 2025
18528b0
Mention rebasing
lucperkins Nov 17, 2025
335aa0c
Clarify DetNix again
lucperkins Nov 17, 2025
7837a21
Fix broken link
lucperkins Nov 17, 2025
0bdf9d4
Finish broken sentence
lucperkins Nov 17, 2025
d78e2ee
Remove determinate flag from instructions
lucperkins Nov 17, 2025
717da15
Merge pull request #267 from DeterminateSystems/lucperkins/fh-1152-cl…
lucperkins Nov 17, 2025
22bf198
repl: Fix incorrect error message
edolstra Nov 17, 2025
d7ff2fe
Merge pull request #268 from DeterminateSystems/fetchers-settings-arg
cole-h Nov 18, 2025
4dbed26
getAccessorFromCommit(): Remove superfluous infoAttrs variable
edolstra Nov 3, 2025
3649a73
Git fetcher: Don't compute revCount if it's already specified
edolstra Nov 18, 2025
8095523
Git fetcher: Don't compute lastModified if it's already specified
edolstra Nov 18, 2025
f5e7146
Merge pull request #263 from DeterminateSystems/eelcodolstra/fh-994-m…
edolstra Nov 18, 2025
5c9b85e
Make content-encoding test more reliable
edolstra Nov 18, 2025
6bf5230
Merge pull request #269 from DeterminateSystems/skip-revCount
edolstra Nov 18, 2025
5fcf9f0
Remove fetchTree 'shallow' hack
edolstra Nov 18, 2025
dbe6770
Use non-shallow cache repo if it contains the requested commit
edolstra Nov 18, 2025
c1660ef
Add test
edolstra Nov 18, 2025
9903445
incident-20251118-nix-flake-registry-is-down use our mirrored registry
grahamc Nov 18, 2025
ced5dbe
Fix test
edolstra Nov 18, 2025
f14ea84
Merge pull request #270 from DeterminateSystems/shallow-optimization
edolstra Nov 18, 2025
8a68ba9
Move the test infra to use install.d.s for the registry
grahamc Nov 18, 2025
1a88716
Merge pull request #271 from DeterminateSystems/push-tlqrsoynuonv
grahamc Nov 19, 2025
695d1bb
Prepare release v3.13.2
github-actions[bot] Nov 19, 2025
067bcfa
Set .version-determinate to 3.13.2
github-actions[bot] Nov 19, 2025
3fa3baf
Generate release notes for 3.13.2
github-actions[bot] Nov 19, 2025
7cf32ab
Update release notes
cole-h Nov 19, 2025
be871f9
Merge pull request #272 from DeterminateSystems/release-v3.13.2/82b1e…
detsys-spaghetti[bot] Nov 19, 2025
73b596e
Add `nix registry resolve` command
edolstra Nov 19, 2025
abc07c4
Registry: Drop settings field
edolstra Nov 19, 2025
535a168
Include a copy of the upstream flake registry as a fallback
edolstra Nov 19, 2025
53e73be
Update src/nix/registry-resolve.md
edolstra Nov 19, 2025
e681209
Merge pull request #273 from DeterminateSystems/registry-improvements
edolstra Nov 19, 2025
c07da4a
feat: support consumers of docker.nix supplying their own base image
employee-64c7dcd530593118dcccc3fb Nov 21, 2025
32123eb
Input::getAccessorUnchecked(): Propagate accessor fingerprint
edolstra Nov 20, 2025
00e1a61
Introduce GitAccessorOptions
edolstra Nov 20, 2025
17cac04
Cleanup Git fingerprinting
edolstra Nov 20, 2025
9e4f0f8
Set the Git fingerprint early
edolstra Nov 20, 2025
ff2b8c2
Backward compatibility hack for Git inputs depending on Nix < 2.20 be…
edolstra Nov 19, 2025
4e9e36b
Add nix-219-compat setting
edolstra Nov 25, 2025
c6efcba
Workaround for Git fingerprints not reflecting how we fetched the tree
edolstra Nov 25, 2025
5827814
Simplify fingerprinting
edolstra Nov 25, 2025
90ca8c3
Fix submodules
edolstra Nov 25, 2025
03429c9
feat: support user-provided paths to land in $PATH
employee-64c7dcd530593118dcccc3fb Nov 25, 2025
4f9c962
In the legacy case if `submodules = true`, use `git checkout`
edolstra Nov 26, 2025
f3aeeca
In Nix < 2.20 compat mode, keep the 'dir' attr in URLs
edolstra Nov 26, 2025
392ac0c
Merge pull request #277 from employee-64c7dcd530593118dcccc3fb/docker…
edolstra Nov 26, 2025
6859aed
Merge pull request #280 from employee-64c7dcd530593118dcccc3fb/docker…
edolstra Nov 26, 2025
aa7ae84
BuildResult::Failure::rethrow(): Show status
edolstra Nov 13, 2025
e0fdfa8
BuildResult: Add a "Cancelled" status
edolstra Nov 13, 2025
508c09a
Introduce InstallableWithBuildResult
edolstra Nov 26, 2025
c6d07c4
InstallableWithBuildResult: Store build failures
edolstra Nov 26, 2025
ee75a66
Installable::build(): Report succeeding/failing installables
edolstra Nov 26, 2025
4ddb8b3
AutoDelete: Add move constructor
edolstra Nov 27, 2025
8b57a52
Add basic `nix ps` command
edolstra Nov 27, 2025
0f7b5b1
nix ps: Use cgroups to get all processes of a build
edolstra Nov 27, 2025
b5e4544
nix ps: Render the processes in a cgroup as a tree
edolstra Nov 27, 2025
367b81d
Move terminal width calculation to libutil
edolstra Nov 27, 2025
d0daa4c
nix ps: Adapt to terminal width
edolstra Nov 27, 2025
5b8fb29
nix ps: Support RemoteStore
edolstra Nov 27, 2025
274b793
coderabbit review
edolstra Nov 27, 2025
77e6c09
Move code
edolstra Nov 27, 2025
33eab7f
Add worker protocol feature for queryActiveBuilds
edolstra Nov 28, 2025
c7e4be8
nix ps: Show how long a build has been running
edolstra Nov 28, 2025
b3aef46
Add getCgroupStats() function
edolstra Nov 30, 2025
56824b8
nix ps: Show cgroup CPU stats
edolstra Nov 30, 2025
ada2fd4
Return per-process CPU time
edolstra Dec 1, 2025
de7101c
TODO
edolstra Dec 1, 2025
ec265c5
nix ps: Improve output formatting
edolstra Dec 1, 2025
45b0ab5
Get per-process uid
edolstra Dec 1, 2025
8cb1de9
Return user names if they exist
edolstra Dec 1, 2025
0e604bc
When not using cgroups, use /proc to enumerate the children of a pid
edolstra Dec 1, 2025
e24fcf2
builtins.path: Propagate references from derivation outputs
edolstra Dec 2, 2025
c10a68f
Move table stuff into libutil
edolstra Dec 1, 2025
2416099
Table: Use std::vectors
edolstra Dec 1, 2025
d4e5956
printTable(): Make destination stream explicit
edolstra Dec 1, 2025
09fa833
Code review
edolstra Dec 2, 2025
0910a53
Improve /proc/pid/stat parsing
edolstra Dec 2, 2025
c744ac3
nix ps: Use printTable()
edolstra Dec 2, 2025
ef95463
Rename cpuUser, cpuSystem to utime, stime
edolstra Dec 3, 2025
d60890d
Return cutime and cstime
edolstra Dec 3, 2025
d22ad22
nix ps: Add --json flag
edolstra Dec 3, 2025
b6336cc
nix ps: Update example
edolstra Dec 3, 2025
7ef2044
addPath(): Restore catching InvalidPathError
edolstra Dec 3, 2025
100a2fd
Merge pull request #283 from DeterminateSystems/eelcodolstra/fh-1177-…
edolstra Dec 3, 2025
906cd9d
nix ps: Improve formatting
edolstra Dec 3, 2025
c02a018
Serialize durations as floating-point seconds
edolstra Dec 3, 2025
3771d17
nix ps: macOS support
edolstra Dec 3, 2025
33a856f
Review comments
edolstra Dec 3, 2025
335cf66
packaging: fix build with lowdown 2.0.4
SandaruKasa Dec 3, 2025
40abd9e
Merge pull request #284 from SandaruKasa/postInstall
edolstra Dec 4, 2025
706fb07
Print cancelled builds before failed builds
edolstra Dec 4, 2025
ed90b25
Fix comment
edolstra Dec 4, 2025
055dfbc
Merge pull request #281 from DeterminateSystems/show-build-result
edolstra Dec 4, 2025
72abd2a
nix ps: Check whether stdout is a tty
edolstra Dec 4, 2025
889daaf
nix flake check: Show which outputs failed or succeeded
edolstra Dec 4, 2025
256efe2
DerivedPath: Remove superfluous operator ==
edolstra Dec 5, 2025
da7400d
determinePos(): Don't read from app values
edolstra Dec 5, 2025
1dacc20
Merge pull request #286 from DeterminateSystems/fix-256
edolstra Dec 5, 2025
bb6c8a1
Merge pull request #285 from DeterminateSystems/nix-flake-check-results
edolstra Dec 5, 2025
383aec2
Remove questionable code
edolstra Dec 5, 2025
3765b1a
Merge pull request #282 from DeterminateSystems/nix-ps
edolstra Dec 5, 2025
99b4669
Give fingerprints a distinct prefix
edolstra Dec 5, 2025
7bcc712
Merge pull request #278 from DeterminateSystems/detsys/eelcodolstra/f…
edolstra Dec 5, 2025
8f739c9
Add type field to ActiveBuild record
edolstra Dec 8, 2025
38a9007
Merge pull request #287 from DeterminateSystems/nix-ps-user
edolstra Dec 8, 2025
130c4a9
Prepare release v3.14.0
github-actions[bot] Dec 8, 2025
b208199
Set .version-determinate to 3.14.0
github-actions[bot] Dec 8, 2025
4105c90
Generate release notes for 3.14.0
github-actions[bot] Dec 8, 2025
b340667
Draft up a changelog
grahamc Dec 9, 2025
fa4df63
Fixup
grahamc Dec 9, 2025
1ddd288
Merge pull request #289 from DeterminateSystems/release-v3.14.0/87d6d…
detsys-spaghetti[bot] Dec 9, 2025
5956480
Fix typo
edolstra Dec 9, 2025
52ea293
Merge pull request #290 from DeterminateSystems/typo
edolstra Dec 9, 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
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .github/CODEOWNERS

This file was deleted.

21 changes: 9 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug report
about: Report unexpected or incorrect behaviour
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

## Describe the bug
Expand Down Expand Up @@ -32,7 +31,9 @@ assignees: ''

## Metadata

<!-- Please insert the output of running `nix-env --version` below this line -->
<!-- Please insert the output of running `determinate-nixd version` below this line -->

<!-- Please insert the output of running `nix --version` below this line -->

## Additional context

Expand All @@ -42,13 +43,9 @@ assignees: ''

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

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

[latest Nix manual]: https://nix.dev/manual/nix/development/
[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).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
19 changes: 7 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest a new feature
title: ''
title: ""
labels: feature
assignees: ''

assignees: ""
---

## Is your feature request related to a problem?
Expand All @@ -27,13 +26,9 @@ assignees: ''

<!-- 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://nix.dev/manual/nix/development/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature

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

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
23 changes: 9 additions & 14 deletions .github/ISSUE_TEMPLATE/installer.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---
name: Installer issue
about: Report problems with installation
title: ''
title: ""
labels: installer
assignees: ''

assignees: ""
---

## Platform

<!-- select the platform on which you tried to install Nix -->
<!-- select the platform on which you tried to install Determinate Nix -->

- [ ] Linux: <!-- state your distribution, e.g. Arch Linux, Ubuntu, ... -->
- [ ] macOS
- [ ] Linux: <!-- state your distribution, e.g. Arch Linux, Ubuntu, ... -->
- [ ] WSL

## Additional information
Expand All @@ -35,13 +34,9 @@ assignees: ''

<!-- 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://nix.dev/manual/nix/development/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open installer issues and pull requests]: https://github.com/NixOS/nix/labels/installer

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

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
19 changes: 7 additions & 12 deletions .github/ISSUE_TEMPLATE/missing_documentation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Missing or incorrect documentation
about: Help us improve the reference manual
title: ''
title: ""
labels: documentation
assignees: ''

assignees: ""
---

## Problem
Expand All @@ -19,13 +18,9 @@ assignees: ''

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

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

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

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

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
29 changes: 0 additions & 29 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
<!--

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.

PR stuck in review? We have two Nix team meetings per week online that are open for everyone in a jitsi conference:

- https://calendar.google.com/calendar/u/0/[email protected]

-->

## Motivation

<!-- Briefly explain what the change is about and why it is desirable. -->
Expand All @@ -34,9 +11,3 @@ PR stuck in review? We have two Nix team meetings per week online that are open
<!-- Invasive change: Discuss alternative designs or approaches you considered. -->

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

---

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

The Nix maintainer team uses a [GitHub project board](https://github.com/orgs/NixOS/projects/19) to [schedule and track reviews](https://github.com/NixOS/nix/tree/master/maintainers#project-board-protocol).
25 changes: 6 additions & 19 deletions .github/STALE-BOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,21 @@

- Thanks for your contribution!
- To remove the stale label, just leave a new comment.
- _How to find the right people to ping?_ &rarr; [`git blame`](https://git-scm.com/docs/git-blame) to the rescue! (or GitHub's history and blame buttons.)
- You can always ask for help on [our Discourse Forum](https://discourse.nixos.org/) or on [Matrix - #users:nixos.org](https://matrix.to/#/#users:nixos.org).
- You can always ask for help on [Discord](https://determinate.systems/discord).

## Suggestions for PRs

1. GitHub sometimes doesn't notify people who commented / reviewed a PR previously, when you (force) push commits. If you have addressed the reviews you can [officially ask for a review](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review) from those who commented to you or anyone else.
2. If it is unfinished but you plan to finish it, please mark it as a draft.
3. If you don't expect to work on it any time soon, closing it with a short comment may encourage someone else to pick up your work.
4. To get things rolling again, rebase the PR against the target branch and address valid comments.
5. If you need a review to move forward, ask in [the Discourse thread for PRs that need help](https://discourse.nixos.org/t/prs-in-distress/3604).
6. If all you need is a merge, check the git history to find and [request reviews](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review) from people who usually merge related contributions.
1. If it is unfinished but you plan to finish it, please mark it as a draft.
1. If you don't expect to work on it any time soon, closing it with a short comment may encourage someone else to pick up your work.
1. To get things rolling again, rebase the PR against the target branch and address valid comments.
1. If you need a review to move forward, ask in [Discord](https://determinate.systems/discord).

## Suggestions for issues

1. If it is resolved (either for you personally, or in general), please consider closing it.
2. If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
3. If you still have interest in resolving it, try to ping somebody who you believe might have an interest in the topic. Consider discussing the problem in [our Discourse Forum](https://discourse.nixos.org/).
4. As with all open source projects, your best option is to submit a Pull Request that addresses this issue. We :heart: this attitude!
3. If you still have interest in resolving it, try to ping somebody who you believe might have an interest in the topic. Consider discussing the problem in [Discord](https://determinate.systems/discord).

**Memorandum on closing issues**

Don't be afraid to close an issue that holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

## Useful GitHub search queries

- [Open PRs with any stale-bot interaction](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+)
- [Open PRs with any stale-bot interaction and `stale`](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+label%3A%22stale%22)
- [Open PRs with any stale-bot interaction and NOT `stale`](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+-label%3A%22stale%22+)
- [Open Issues with any stale-bot interaction](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+)
- [Open Issues with any stale-bot interaction and `stale`](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+label%3A%22stale%22+)
- [Open Issues with any stale-bot interaction and NOT `stale`](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+-label%3A%22stale%22+)
69 changes: 69 additions & 0 deletions .github/release-notes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/usr/bin/env bash

# SC2002 disables "useless cat" warnings.
# I prefer pipelines that start with an explicit input, and go from there.
# Overly fussy.
# shellcheck disable=SC2002

scratch=$(mktemp -d -t tmp.XXXXXXXXXX)
finish() {
rm -rf "$scratch"
}
trap finish EXIT

DATE=$(date +%Y-%m-%d)
DETERMINATE_NIX_VERSION=$(cat .version-determinate)
TAG_NAME="v${DETERMINATE_NIX_VERSION}"
NIX_VERSION=$(cat .version)
NIX_VERSION_MAJOR_MINOR=$(echo "$NIX_VERSION" | cut -d. -f1,2)
GITHUB_REPOSITORY="${GITHUB_REPOSITORY:-DeterminateSystems/nix-src}"

gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \
-f "tag_name=${TAG_NAME}" > "$scratch/notes.json"

trim_trailing_newlines() {
local text
text="$(cat)"
echo -n "${text}"
}

linkify_gh() {
sed \
-e 's!\(https://github.com/DeterminateSystems/nix-src/\(pull\|issue\)/\([[:digit:]]\+\)\)![DeterminateSystems/nix-src#\3](\1)!' \
-e 's#\(https://github.com/DeterminateSystems/nix-src/compare/\([^ ]\+\)\)#[\2](\1)#'
}

(
cat doc/manual/source/release-notes-determinate/changes.md \
| sed 's/^.*\(<!-- differences -->\)$/This section lists the differences between upstream Nix '"$NIX_VERSION_MAJOR_MINOR"' and Determinate Nix '"$DETERMINATE_NIX_VERSION"'.\1/' \

printf "\n<!-- Determinate Nix version %s -->\n" "$DETERMINATE_NIX_VERSION"
cat "$scratch/notes.json" \
| jq -r .body \
| grep -v '^#' \
| grep -v "Full Changelog" \
| trim_trailing_newlines \
| sed -e 's/^\* /\n* /' \
| linkify_gh
echo "" # final newline
) > "$scratch/changes.md"

(
printf "# Release %s (%s)\n\n" \
"$DETERMINATE_NIX_VERSION" \
"$DATE"
printf "* Based on [upstream Nix %s](../release-notes/rl-%s.md).\n\n" \
"$NIX_VERSION" \
"$NIX_VERSION_MAJOR_MINOR"

cat "$scratch/notes.json" | jq -r .body | linkify_gh
) > "$scratch/rl.md"

(
cat doc/manual/source/SUMMARY.md.in \
| sed 's/\(<!-- next -->\)$/\1\n - [Release '"$DETERMINATE_NIX_VERSION"' ('"$DATE"')](release-notes-determinate\/'"$TAG_NAME"'.md)/'
) > "$scratch/summary.md"

mv "$scratch/changes.md" doc/manual/source/release-notes-determinate/changes.md
mv "$scratch/rl.md" "doc/manual/source/release-notes-determinate/v${DETERMINATE_NIX_VERSION}.md"
mv "$scratch/summary.md" doc/manual/source/SUMMARY.md.in
Loading