Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2456 commits
Select commit Hold shift + click to select a range
55653c8
builtins.wasm: Add basic path primitives
edolstra Jan 19, 2026
22551fa
builtins.wasm: Add a read_file host function that supports binary files
edolstra Jan 19, 2026
bff5696
builtins.wasm: Add get_attr host function
edolstra Jan 20, 2026
b878824
WASM -> Wasm
edolstra Jan 20, 2026
e201484
builtins.wasm: Reserve value ID 0
edolstra Jan 20, 2026
679dfdb
Prepare release v3.15.2
github-actions[bot] Jan 20, 2026
6823672
Set .version-determinate to 3.15.2
github-actions[bot] Jan 20, 2026
b96cc00
Generate release notes for 3.15.2
github-actions[bot] Jan 20, 2026
40421a6
Fixuprelease notes
grahamc Jan 21, 2026
45ce621
Merge pull request #320 from DeterminateSystems/release-v3.15.2/f53e8…
detsys-spaghetti[bot] Jan 21, 2026
4cfd6f2
Fix misleading variable name
edolstra Jan 21, 2026
9e1a9be
builtins.wasm: Replace assertions
edolstra Jan 21, 2026
0ec1c42
builtins.wasm: Check memory export
edolstra Jan 21, 2026
aab9373
builtins.wasm: Catch all exceptions
edolstra Jan 21, 2026
a303760
builtins.wasm: Check return type
edolstra Jan 21, 2026
7761fb0
builtins.wasm: Check file size
edolstra Jan 21, 2026
57ac520
realisePath(): Move into EvalState
edolstra Jan 21, 2026
a4dc41c
Document the Wasm host interface
edolstra Jan 22, 2026
7ab6777
builtins.wasm: Check ValueIds
edolstra Jan 23, 2026
3aa4799
builtins.wasm: Fix endianness issues
edolstra Jan 23, 2026
bc707ee
builtins.wasm: Make thread-safe
edolstra Jan 23, 2026
094b65a
WASI: Enable access to $TMPDIR
edolstra Jan 23, 2026
ea1beab
Revert "builtins.wasm: Fix endianness issues"
edolstra Jan 23, 2026
370987f
Merge pull request #309 from DeterminateSystems/wasm
edolstra Jan 23, 2026
da197d8
builtins.wasm: Check against values with ID 0
edolstra Jan 23, 2026
e096c4b
attrsToJSON(): Never serialize the __final attribute
edolstra Jan 12, 2026
607804e
Provenance tracking
edolstra Jan 8, 2026
1d8d430
Include provenance in resBuildResult log messages
edolstra Jan 21, 2026
1a638ee
Include provenance in the daemon protocol
edolstra Jan 21, 2026
8c9d6b2
Add experimental feature to enable provenance
edolstra Jan 21, 2026
c8a845e
Fix test
edolstra Jan 22, 2026
05e14c5
Fix test
edolstra Jan 22, 2026
62e4faf
Implement RemoteStore::addToStore()
edolstra Jan 22, 2026
e7453a4
Cleanup
edolstra Jan 22, 2026
84e8f4b
Move provenance field
edolstra Jan 23, 2026
89bb2f4
DummyStore: Include provenance
edolstra Jan 23, 2026
c426593
Add Provenance destructor
edolstra Jan 23, 2026
b03ddaf
Rename "derivation" provenance to "build"
edolstra Jan 23, 2026
7319060
Merge pull request #324 from DeterminateSystems/wasm-value-check
edolstra Jan 23, 2026
959bc7d
Rename isUsefulProvenance() -> includeInProvenance()
edolstra Jan 23, 2026
06305fb
FetchurlProvenance: Remove sensitive URL data
edolstra Jan 23, 2026
e4ab014
FilteringSourceAccessor: Set subpath provenance correctly
edolstra Jan 25, 2026
a4734c6
Add provenance test
edolstra Jan 25, 2026
56e5d9f
filetransfer: assert maxQueueSize > 0
cole-h Jan 27, 2026
116b10a
filetransfer: don't allow the queue size to be 0
cole-h Jan 27, 2026
02fcf7b
Merge pull request #327 from DeterminateSystems/sep-cole/nix-268-3152…
cole-h Jan 28, 2026
b097e0d
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 2, 2026
3548c43
Merge tag '2.33.2' into sync-2.33.2
edolstra Feb 2, 2026
5f96c8a
Revert "buildPathsWithResults: don't report cancelled goals as failures"
edolstra Feb 2, 2026
af293a8
Merge pull request #332 from DeterminateSystems/sync-2.33.2
edolstra Feb 3, 2026
efc9828
Enable static builds
RossComputerGuy Jan 22, 2026
491773f
Fix prelink & libstore embedded shell
RossComputerGuy Jan 23, 2026
6f90821
Add nix-cli-static to CI
RossComputerGuy Jan 23, 2026
92e4388
Fix static linking with wasmtime
RossComputerGuy Jan 23, 2026
e2c4c33
Common prelink check
RossComputerGuy Jan 24, 2026
3614557
Disable libpsl in curl on static builds
RossComputerGuy Jan 24, 2026
d9ad8e4
Disable libidn in curl on static builds
RossComputerGuy Jan 24, 2026
eaa01ac
default-system-cpu: fixup macOS static build showing `arm64-darwin` a…
cole-h Jan 28, 2026
6ff3260
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 3, 2026
19aeca2
libutil-c: start signal handling on unix in init
RossComputerGuy Jan 30, 2026
ecce443
Temporarily disable the interrupt callback for the curl file transfer
RossComputerGuy Jan 30, 2026
0e3482b
Use libcxx stdenv on static darwin
RossComputerGuy Jan 30, 2026
b6a7958
Use unity builds
RossComputerGuy Feb 3, 2026
f28e495
Fix QueryPathInfo in daemon
pkpbynum Feb 3, 2026
4aa2942
Merge pull request #15140 from NixOS/backport-15134-to-2.33-maintenance
internal-nix-ci[bot] Feb 3, 2026
094f8dd
Merge remote-tracking branch 'detsys/main' into provenance-detsys
edolstra Feb 4, 2026
e6b36c5
Fix NAR hash mismatch error message
edolstra Feb 4, 2026
a1cf632
Support .gitattributes in subdirectories
edolstra Feb 4, 2026
18f8b70
libutil: Add overflow check to alignUp
xokdvium Feb 4, 2026
70e39c2
Merge pull request #15152 from NixOS/backport-15149-to-2.33-maintenance
internal-nix-ci[bot] Feb 5, 2026
fbf176d
Supress stdout output from git
edolstra Feb 5, 2026
fc1d758
Merge pull request #335 from DeterminateSystems/eelcodolstra/nix-285-…
edolstra Feb 5, 2026
bdc94b2
Add EvalContext type for per-thread evaluation context
edolstra Feb 5, 2026
a344766
Add helper functions for propagating eval context
edolstra Feb 5, 2026
2458fc6
Handle the next field consistently
edolstra Feb 5, 2026
7e69413
Use getReference().render()
edolstra Feb 5, 2026
76a53de
Remove primops_library
edolstra Feb 3, 2026
83c2e4f
Disable interrupt check in libstore only on static
RossComputerGuy Feb 5, 2026
5bb79cb
BinaryCacheStore::queryPathInfoUncached(): Ensure noexcept
edolstra Feb 5, 2026
5bee101
Merge pull request #336 from DeterminateSystems/eelcodolstra/nix-286-…
edolstra Feb 5, 2026
04fc9a5
CopiedProvenance: Handle null value for `next`
edolstra Feb 5, 2026
1f2a242
Minor improvements for static & libcxx
RossComputerGuy Feb 5, 2026
7f9efc6
Don't set provenance in impure mode
edolstra Feb 6, 2026
afca2cf
Build one static package
edolstra Feb 6, 2026
0e0935f
Merge pull request #323 from DeterminateSystems/tristanross/dsp-62-co…
edolstra Feb 6, 2026
bb3846e
builtins.getFlake: Devirtualize strings
edolstra Feb 6, 2026
7e9bec3
fetchTree: Return a lazily computed narHash attribute for compatibility
edolstra Feb 6, 2026
c4830a3
builtins.flakeRefToString: Evaluate attributes
edolstra Feb 6, 2026
850279b
Add test for builtins.getFlake
edolstra Feb 6, 2026
d69e6ae
Merge pull request #337 from DeterminateSystems/fix-302
edolstra Feb 6, 2026
ec59646
Merge remote-tracking branch 'detsys/main' into provenance-detsys
edolstra Feb 6, 2026
ae71c42
Merge pull request #321 from DeterminateSystems/provenance-detsys
edolstra Feb 6, 2026
c80220e
builtins.getFlake: Support path values
edolstra Feb 6, 2026
c9f71f3
Merge pull request #338 from DeterminateSystems/getflake-path
edolstra Feb 6, 2026
0c774b7
builtins.flakeRefToString: Evaluate attributes
edolstra Feb 6, 2026
e9d7785
Merge pull request #15166 from NixOS/backport-15160-to-2.33-maintenance
internal-nix-ci[bot] Feb 6, 2026
0a5eef6
Add subcommand 'nix provenance show'
edolstra Feb 9, 2026
cd0c020
Merge pull request #340 from DeterminateSystems/provenance-show
edolstra Feb 10, 2026
97c517d
Record builder host name in build provenance
edolstra Feb 9, 2026
df396d1
Merge pull request #341 from DeterminateSystems/record-build-host
edolstra Feb 10, 2026
cab5f67
Always record BuildProvenance
edolstra Feb 10, 2026
0d6c312
Add 'system' field to BuildProvenance
edolstra Feb 10, 2026
5217e30
Merge pull request #343 from DeterminateSystems/build-provenance
edolstra Feb 10, 2026
9a41f11
Store provenance info in the NAR info disk cache
edolstra Feb 10, 2026
da9cf40
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 11, 2026
083d28c
Increase the open file soft limit to the hard limit
edolstra Feb 11, 2026
2acd0d1
Merge pull request #344 from DeterminateSystems/nar-info-cache-proven…
edolstra Feb 11, 2026
30e33f1
Record subset of meta in provenance
RossComputerGuy Feb 10, 2026
bb832c0
Update comment for provenance test
RossComputerGuy Feb 10, 2026
bccd6a4
Various review changes for meta in provenance
RossComputerGuy Feb 11, 2026
b158718
Selective eval of meta for provenance
RossComputerGuy Feb 11, 2026
2ba1402
Merge pull request #347 from DeterminateSystems/bump-file-limit
edolstra Feb 12, 2026
c145c90
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 12, 2026
f2e8767
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 12, 2026
6aee6f4
Implement nix-search role
edolstra Feb 12, 2026
cd803fb
Add test for `nix search` on flakes
edolstra Feb 12, 2026
5ac1022
fix(libstore/filetransfer): enable TCP keep-alive on curl handles
lovesegfault Feb 12, 2026
6955018
feat(libstore/s3): use virtual-hosted-style URLs and add addressing-s…
lovesegfault Feb 12, 2026
48bbd96
Merge pull request #15220 from NixOS/backport-15216-to-2.33-maintenance
internal-nix-ci[bot] Feb 13, 2026
377fc95
release notes: 2.33.3
lovesegfault Feb 13, 2026
c964271
Merge pull request #342 from DeterminateSystems/RossComputerGuy/simpl…
edolstra Feb 13, 2026
7b8ad30
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 13, 2026
fdcfff6
Remove FIXMEs
edolstra Feb 13, 2026
d63dc7e
Fix test
edolstra Feb 13, 2026
1a84409
Merge tag '2.33.3' into sync-2.33.3
edolstra Feb 13, 2026
0b10d6f
add query_from_hash_part c API
pkpbynum Dec 10, 2025
93387a4
Add nix_store_copy_path C API
pkpbynum Dec 10, 2025
8a1e3d8
Merge pull request #351 from DeterminateSystems/sync-2.33.3
edolstra Feb 13, 2026
262f8e5
Set .version-determinate to 3.16.0
github-actions[bot] Feb 12, 2026
e95312c
Generate release notes for 3.16.0
github-actions[bot] Feb 12, 2026
c2f63e8
Release notes
cole-h Feb 12, 2026
786b9ba
Apply suggestions from code review
cole-h Feb 13, 2026
5c670e3
Merge pull request #349 from DeterminateSystems/release-v3.16.0/e1dcb…
cole-h Feb 13, 2026
bb74be7
Merge pull request #352 from DeterminateSystems/c-store-apis
edolstra Feb 15, 2026
1a69c8e
Record provenance for unlocked inputs and impure evaluations
edolstra Feb 16, 2026
4d0c767
Add setting narinfo-cache-meta-ttl
edolstra Feb 16, 2026
3fa029e
Merge pull request #354 from DeterminateSystems/eelcodolstra/nix-308-…
edolstra Feb 17, 2026
da4edc3
Merge pull request #355 from DeterminateSystems/eelcodolstra/nix-305-…
edolstra Feb 17, 2026
329c89b
Add `nix provenance verify` command
edolstra Feb 18, 2026
c0a353b
Minor changes related to meta provenance
RossComputerGuy Feb 18, 2026
31e8299
nix provenance verify: Use a wrapper store to track instantiated files
edolstra Feb 19, 2026
0269ee9
Expose FetchurlProvenance
edolstra Feb 19, 2026
ae725b2
Add derivationWithMeta builtin
RossComputerGuy Feb 19, 2026
3bb8793
Verify fetchurl provenance
edolstra Feb 19, 2026
e1bf5de
Don't set source path provenance for filtered paths
edolstra Feb 19, 2026
75e0049
Fix shadowed variable
edolstra Feb 19, 2026
b3aa6ea
ParsedURL: Add renderSanitized() method
edolstra Feb 19, 2026
0ee8865
Fix provenance meta sometimes not being an object
RossComputerGuy Feb 19, 2026
0f69936
Dump raw JSON for derivation meta provenance
RossComputerGuy Feb 19, 2026
e12473d
Evaluate all of __meta for provennace
RossComputerGuy Feb 19, 2026
86b9bcc
Fix provenance tests
RossComputerGuy Feb 19, 2026
f3f66b3
Add builtins.wasi
edolstra Feb 20, 2026
1306149
Cleanup
edolstra Feb 20, 2026
5ff902e
No string context in __meta
RossComputerGuy Feb 20, 2026
a3c549e
Make derivationStrictWithMeta internal
edolstra Feb 20, 2026
7cc42eb
Apply suggestion from @grahamc
grahamc Feb 20, 2026
0f813ca
Improve WASI logging
edolstra Feb 20, 2026
eb83e55
Merge pull request #357 from DeterminateSystems/RossComputerGuy/meta-…
grahamc Feb 20, 2026
d701862
Document builtins.wasi
edolstra Feb 20, 2026
428cbe3
Set a fixed value for argv[0]
edolstra Feb 20, 2026
3027418
Merge pull request #359 from DeterminateSystems/eelcodolstra/nix-282-…
edolstra Feb 20, 2026
1403780
Merge remote-tracking branch 'detsys/main' into eelcodolstra/nix-299-…
edolstra Feb 20, 2026
9438dff
Merge pull request #356 from DeterminateSystems/eelcodolstra/nix-299-…
edolstra Feb 20, 2026
823f756
builtins.hashString: Devirtualize lazy paths
edolstra Feb 20, 2026
90bec9c
Re-enable lazy trees tests
edolstra Feb 20, 2026
5d6ab84
Fix `nix run` on an app with lazy trees enabled
edolstra Feb 20, 2026
6405472
Merge pull request #360 from DeterminateSystems/hashString-devirtualize
edolstra Feb 20, 2026
23f3ac2
Prepare release v3.16.1
github-actions[bot] Feb 22, 2026
7e18e8f
Set .version-determinate to 3.16.1
github-actions[bot] Feb 22, 2026
fb52ce0
Generate release notes for 3.16.1
github-actions[bot] Feb 22, 2026
c129db6
Apply suggestions from code review
grahamc Feb 22, 2026
bbb745d
Update doc/manual/source/release-notes-determinate/v3.16.1.md
grahamc Feb 22, 2026
358fb43
Merge pull request #362 from DeterminateSystems/release-v3.16.1/2d8ee…
detsys-spaghetti[bot] Feb 22, 2026
f98ba61
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 23, 2026
ab271a9
libstore/filetransfer: Remove unused using namespace
xokdvium Dec 13, 2025
51f0d13
libstore/filetransfer: Fix double callback on enqueueFileTransfer tha…
xokdvium Dec 19, 2025
3dd9d38
Don't add the wasm/wasi builtins to the global lexical scope
edolstra Feb 23, 2026
1433046
Prepare release v3.16.2
github-actions[bot] Feb 23, 2026
c8041fe
Set .version-determinate to 3.16.2
github-actions[bot] Feb 23, 2026
0315e33
Generate release notes for 3.16.2
github-actions[bot] Feb 23, 2026
3bc45e9
Apply suggestions from code review
grahamc Feb 23, 2026
ce79ac4
Apply suggestion from @grahamc
grahamc Feb 23, 2026
650d0ec
Apply suggestion from @grahamc
grahamc Feb 23, 2026
d49a2ee
Make URL parsing for FetchurlProvenance more lenient
edolstra Feb 23, 2026
d90f3e9
Merge pull request #364 from DeterminateSystems/__wasm
edolstra Feb 23, 2026
1ffadb0
Merge pull request #365 from DeterminateSystems/release-v3.16.2/20ecf…
grahamc Feb 23, 2026
e07a31d
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 23, 2026
8fc0afd
Prepare release v3.16.3
github-actions[bot] Feb 24, 2026
263d71e
Set .version-determinate to 3.16.3
github-actions[bot] Feb 24, 2026
fe89275
Generate release notes for 3.16.3
github-actions[bot] Feb 24, 2026
9af7278
Apply suggestions from code review
grahamc Feb 24, 2026
8480326
Update doc/manual/source/release-notes-determinate/changes.md
grahamc Feb 24, 2026
2583f62
fixup: release notes
cole-h Feb 24, 2026
628d55c
Merge pull request #366 from DeterminateSystems/release-v3.16.3/5e971…
grahamc Feb 24, 2026
e69b425
More parallelism
grahamc Feb 24, 2026
27285a2
Merge remote-tracking branch 'detsys/main' into flake-schemas-detsys
edolstra Feb 24, 2026
0f5ad3a
InstallableFlake: Fix tab completion
edolstra Feb 25, 2026
a26e02d
Remove unused NIX_ALLOW_EVAL
edolstra Feb 25, 2026
d1c3725
Merge pull request #367 from DeterminateSystems/push-vpznklyquurl
grahamc Feb 25, 2026
f6b5b0f
Use openEvalCache()
edolstra Feb 25, 2026
c6a74e3
Respect the allowIFD flake schema attribute
edolstra Feb 25, 2026
00ff879
Remove FIXME that currently does not apply
edolstra Feb 25, 2026
56740c1
Remove nonsense FIXME
edolstra Feb 25, 2026
863de31
Newline
edolstra Feb 25, 2026
fdb57e4
Simplify test
edolstra Feb 25, 2026
bddf35a
Typo
edolstra Feb 25, 2026
d2bb664
Restore _NIX_TEST_BARF_ON_UNCACHEABLE
edolstra Feb 25, 2026
051b3c5
Drop FIXME
edolstra Feb 25, 2026
26809c3
flake.outputs -> outputs
edolstra Feb 25, 2026
f68fe29
show.sh: Remove test that `packages` is allowed to contain non-deriva…
edolstra Feb 25, 2026
e11ee51
Show activity for flake checks
edolstra Feb 25, 2026
e790744
Remove unused openEvalCache()
edolstra Feb 25, 2026
8e0ba58
Merge builtins.wasm and builtins.wasi into one function
edolstra Feb 26, 2026
c9559dc
Auto-detect whether a Wasm module uses WASI
edolstra Feb 26, 2026
9a660b9
Detect WASI by looking for wasi_snapshot_preview1 imports
edolstra Feb 26, 2026
5ebed26
fixup: don't check accessibility of embedded sandbox shell
cole-h Feb 26, 2026
67aea4c
Merge pull request #371 from DeterminateSystems/fixup-embedded-sandbo…
cole-h Feb 26, 2026
44a2f03
Add test for nix_store_build_paths
RossComputerGuy Feb 26, 2026
908be63
Merge pull request #372 from DeterminateSystems/RossComputerGuy/capi-…
RossComputerGuy Feb 26, 2026
466b470
nix flake show: Make --drv-paths / --output-paths require --json
edolstra Feb 26, 2026
3f1b906
Fix names
edolstra Feb 26, 2026
b5a3c50
Use all available schemas for error messages
edolstra Feb 26, 2026
b3eb0bf
coderabbit review
edolstra Feb 26, 2026
c40cccf
Fix handling of unknown outputs
edolstra Feb 27, 2026
2c7ef04
Change the `derivation` schema attribute to `derivationAttrPath`
edolstra Feb 27, 2026
4aadc97
call-flake-schemas.nix: Drop rec
edolstra Feb 27, 2026
90e9f41
Backward compatibility support for the derivation schema attribute
edolstra Feb 27, 2026
943f1a5
nix flake show: Fix derivation name rendering
edolstra Feb 27, 2026
e28d06b
nix flake show: Add --drv-names flag
edolstra Feb 27, 2026
ba48af2
Merge pull request #217 from DeterminateSystems/flake-schemas-detsys
edolstra Feb 27, 2026
a6a622b
Review comments
edolstra Feb 27, 2026
97ea761
Add missing temproots for cached sources and existing derivations
xokdvium Feb 14, 2026
618c4df
AsyncPathWriter: Register a temp root before creating the path
edolstra Feb 27, 2026
f7e9e71
Merge pull request #373 from DeterminateSystems/add-missing-temp-roots
grahamc Feb 27, 2026
3306013
Merge pull request #370 from DeterminateSystems/merge-wasm-wasi
edolstra Feb 27, 2026
d40dfb4
fixup: typo
cole-h Feb 27, 2026
fe3515c
Merge pull request #363 from DeterminateSystems/double-callback-filet…
cole-h Feb 27, 2026
5f8521b
read_file: Support any value than can be coerced to a path
edolstra Mar 2, 2026
aa29858
Merge pull request #375 from DeterminateSystems/wasm-read_file
edolstra Mar 2, 2026
cb07963
Prepare release v3.17.0
github-actions[bot] Mar 4, 2026
5b47fa2
Set .version-determinate to 3.17.0
github-actions[bot] Mar 4, 2026
98491b5
Generate release notes for 3.17.0
github-actions[bot] Mar 4, 2026
e8a3ed2
Apply suggestion from @grahamc
grahamc Mar 4, 2026
2dbcf67
Apply suggestion from @grahamc
lucperkins Mar 4, 2026
3a96d56
Merge pull request #377 from DeterminateSystems/release-v3.17.0/b0b49…
detsys-spaghetti[bot] Mar 4, 2026
5e69bd3
Fix crash in `nix repl` loading an invalid WASM file twice
edolstra Mar 6, 2026
6362dda
Merge pull request #378 from DeterminateSystems/fix-wasm-instance-cache
edolstra Mar 7, 2026
a6af221
Input::getAccessor(): Try substitution before fetching
edolstra Mar 10, 2026
41746d0
Handle the tarball fetcher
edolstra Mar 11, 2026
2581135
Merge pull request #380 from DeterminateSystems/eelcodolstra/nix-333-…
edolstra Mar 11, 2026
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
  •  
  •  
  •  
18 changes: 0 additions & 18 deletions .coderabbit.yaml

This file was deleted.

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/embed?src=b9o52fobqjak8oq8lfkhg3t0qg@group.calendar.google.com

-->

## 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
37 changes: 0 additions & 37 deletions .github/workflows/backport.yml

This file was deleted.

Loading
Loading