Commit graph

95 commits

Author SHA1 Message Date
Valentin Gagarin
a64de1bfb2 remove reference to builtins.langVersion
this is unrelated to the proposal, as the version declaration is only
relevant for parsing, and would cover all use cases of `langVersion` if
we have minor version numbers
2023-06-22 14:09:52 +02:00
Valentin Gagarin
d54d6bc670
add argument in favor of semver 2023-06-15 15:02:19 +02:00
Valentin Gagarin
d97603e26d
add hint at what implementation would look like 2023-06-15 15:01:37 +02:00
Valentin Gagarin
d9d6a1000c
fix typo 2023-06-15 14:48:08 +02:00
Valentin Gagarin
571c807923
add argument on version proliferation risk 2023-06-15 14:40:29 +02:00
Valentin Gagarin
f193f543ba
add example of best effort interop 2023-06-15 14:39:46 +02:00
Valentin Gagarin
76a3d1fe01
add risk of increased maintenance burden 2023-06-15 14:15:55 +02:00
Valentin Gagarin
371ddd5dc8
fix typo 2023-06-14 12:45:02 +02:00
Valentin Gagarin
a2f921fb18
clarify design goal of deliberate forward non-compatibility 2023-06-14 02:05:58 +02:00
Valentin Gagarin
567d2d4ccf
add syntax constraint for shebang lines 2023-06-14 02:01:24 +02:00
Valentin Gagarin
80255aa2be
fix typo
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2023-06-14 01:57:32 +02:00
Valentin Gagarin
e97309a97f
remove allusion to timelines 2023-06-14 01:31:34 +02:00
Valentin Gagarin
e41b750ced
remove irrelevant argument 2023-06-14 01:00:44 +02:00
Valentin Gagarin
8413407247
fix typo
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2023-06-14 00:40:06 +02:00
Valentin Gagarin
a7def97e9a reword drawbacks, move drawbacks and alternatives to end of document 2023-06-12 12:45:53 +02:00
Valentin Gagarin
0583d77e44
remove duplicate example
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2023-06-12 12:37:01 +02:00
Valentin Gagarin
71ae7e770a
fix wording 2023-06-12 11:10:04 +02:00
Valentin Gagarin
3364b1cbb1
Update rfcs/0137-nix-language-version.md 2023-06-11 17:38:27 +02:00
Valentin Gagarin
f6d519ee09
Update rfcs/0137-nix-language-version.md 2023-06-11 02:19:34 +02:00
Valentin Gagarin
29e24243bd
Update rfcs/0137-nix-language-version.md
Co-authored-by: Ryan Lahfa <masterancpp@gmail.com>
2023-06-10 11:31:05 +02:00
Valentin Gagarin
a17e28f41b highlight design goals 2023-06-09 00:19:14 +02:00
Valentin Gagarin
3611cd2eae
add argument against with import ...; syntax 2023-06-08 14:47:00 +02:00
Valentin Gagarin
cc5b1b41fa use the proposed version syntax in examples 2023-06-08 14:46:16 +02:00
Valentin Gagarin
38793cf4d5 add roadmap as future work, with example 2023-06-02 17:37:57 +02:00
Valentin Gagarin
33af913472 fix typo 2023-06-02 14:38:15 +02:00
Valentin Gagarin
4776e4e2e0 add Go as prior art 2023-06-02 10:58:09 +02:00
Valentin Gagarin
5d125cd32f add brain worm syntax 2023-06-01 22:35:42 +02:00
Valentin Gagarin
6e081bbf5b explain exception for bare expressions 2023-06-01 22:32:42 +02:00
Valentin Gagarin
6ee9ecd950 fix typo 2023-06-01 22:31:49 +02:00
Valentin Gagarin
4c99631c1e add Perl use as prior art 2023-06-01 19:51:39 +02:00
Valentin Gagarin
abcda5a387 incorporate feedback and re-evaluate
prefer the special syntax approach, based on the arguments that all
other alternatives would defeat the purpose of guaranteeing predictable
results, which this proposal values higher than forward compatibility.
2023-06-01 19:44:52 +02:00
Valentin Gagarin
e1ed3be683 answer questions and incorporate suggestions
reworked the proposal to add semantics and combine it with related
efforts to provide a systematic way of issuing deprecation warnings.
2023-06-01 15:48:21 +02:00
Valentin Gagarin
37cd0bb585
assume a fixed version when none is specified
as suggested by @infinisil and @kevincox
2022-12-16 16:52:04 +01:00
Valentin Gagarin
32436e5c31
Update rfcs/0137-nix-language-version.md 2022-12-16 15:38:35 +01:00
Valentin Gagarin
9afffbefff reorder arguments to better capture their relation 2022-12-16 12:54:49 +01:00
Valentin Gagarin
288c7f1fa9 add prior art
as suggested by @piegamesde
2022-12-16 12:54:39 +01:00
Valentin Gagarin
4265b085ab remove non-argument about encouraging a principled approach
the convention indeed does not encourage discipline, as @andir points
out[1], and at the worst would encourage haphazard changes because it
makes them appear harmless, as @tazjin adds [2].

[1]: https://github.com/NixOS/rfcs/pull/137/files#r1050542977
[2]: https://github.com/NixOS/rfcs/pull/137/files#r1050580213
2022-12-16 12:26:30 +01:00
Valentin Gagarin
c6d692c6eb using Nix language version istead would help third-party evaluators 2022-12-16 11:36:51 +01:00
Valentin Gagarin
bb73166eb1 rewrite arguments to be more precise 2022-12-16 09:45:46 +01:00
Valentin Gagarin
02e3126a26 RFC 137: Set Nix language version in magic comment 2022-12-12 17:54:11 +01:00
Kevin Cox
553b132ca0
Stalled RFCs RFC (#130)
* Stalled RFCs RFC

* Rename with PR number

* Spelling fix.

Co-authored-by: Luna Nova <git@lunnova.dev>

* Spelling and Grammar Fixes

Co-authored-by: Ryan Mulligan <ryan@ryantm.com>

* Update shepherds.

* Fix diagram rendering.

Co-authored-by: Linus Heckemann <git@sphalerite.org>

* Add reference to https://github.com/NixOS/rfcs/pull/51

* Fix brain-typo.

Co-authored-by: Ryan Mulligan <ryan@ryantm.com>

Co-authored-by: Luna Nova <git@lunnova.dev>
Co-authored-by: Ryan Mulligan <ryan@ryantm.com>
Co-authored-by: Linus Heckemann <git@sphalerite.org>
2022-10-24 00:33:39 -04:00
Ryan Mulligan
8bb86f8bdd
RFC 0124: match filename to number (#129) 2022-07-11 20:34:18 -04:00
Jonathan Ringer
220af8e4f1
[RFC 0119] Formalize testing for nixpkgs packages (#119)
* Formalize tests for nixpkgs packages

* Update rfcs/0119-testing-conventions.md

Co-authored-by: Kevin Cox <kevincox@kevincox.ca>

* Update rfcs/0119-testing-conventions.md

* Update rfcs/0119-testing-conventions.md

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>

* Update rfcs/0119-testing-conventions.md

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>

* Update rfcs/0119-testing-conventions.md

* Update rfcs/0119-testing-conventions.md

* Update rfcs/0119-testing-conventions.md

* Add shepherds

* Update RFC post 30th Apr meeting

* Update rfcs/0119-testing-conventions.md

* passthru.tests -> tests

* typo

* Update rfcs/0119-testing-conventions.md

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>

Co-authored-by: Kevin Cox <kevincox@kevincox.ca>
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-06-30 12:54:53 -04:00
John Ericson
1b1b1d14a7
[RFC 0124] Do not auto-close stale Nix issues and PRs, matching Nixpkgs's policy (#124)
* nix-mark-stale-issues: Copy template

* nix-mark-stale-issues: First draft

* stale-nix-no-close: Update

* stale-nix-no-close: Make the diff less normative

* nix-mark-stale-issues: Fix typo

Thanks!

Co-authored-by: Niklas Hambüchen <mail@nh2.me>

Co-authored-by: Niklas Hambüchen <mail@nh2.me>
2022-06-19 07:00:35 -04:00
tomberek
01d0c0798a
[RFC 0102] Moderation Team (#102)
Co-authored-by: David Arnold <dgx.arnold@gmail.com>
Co-authored-by: 7c6f434c <7c6f434c@mail.ru>
Co-authored-by: Ryan Mulligan <ryan@ryantm.com>
2022-02-21 10:23:23 +01:00
Las Safin
331380bf93
[RFC 0097] Unset read permission bit on /nix/store for other users (#97) 2022-02-09 14:57:10 +01:00
Robert Scott
6cd3a49c9a
[RFC 0089] Collect non-source package meta attribute (#89)
Co-authored-by: asymmetric <lorenzo@mailbox.org>
2022-02-09 14:56:01 +01:00
Eelco Dolstra
b5181c9246
[RFC 0106] Nix release schedule (#106)
* Nix release schedule
* Fix link
* Update rfcs/0106-nix-release-schedule.md

Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com>

* Add shepherds
* Update to reflect latest meeting

Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com>
2022-01-26 15:20:00 +01:00
Maximilian Bosch
5fa45c912a
[RFC 0108] NixOS Container rewrite (#108)
* Initial nixos container commit because I want to view diffs between changes

* Updates / Improvements

* Note regarding static networking

* Updates

* update

* Update.

* Update.

* Update

Thanks Linus for the proof-read :)

* Update.

Mention that nixops container backend is also affected as pointed out by
fpletz.

* fixup! wording, spelling

* Move document according to assigned RFC number

* Linkify related issues

As it's done in https://github.com/NixOS/rfcs/blob/master/rfcs/0004-replace-unicode-quotes.md

* Bind-mounting Nix state isn't strictly needed

It's sufficient to have the store-paths available.

* Wording

Co-authored-by: Kevin Cox <kevincox@kevincox.ca>

* Clarify "default mode", remove a few unnecessary implementation details

* rfc108: add shepherds

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

* Apply wording suggestions from @lheckemann

Co-authored-by: Linus Heckemann <git@sphalerite.org>

* Usage of `nsenter` to update a container's configuration is not relevant for the RFC

* Rename `config` to `system-config` to avoid ambiguities in the module system

* Explicitly talk about deprecation of current implementation

Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
Co-authored-by: Kevin Cox <kevincox@kevincox.ca>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Linus Heckemann <git@sphalerite.org>
2022-01-12 15:29:54 +01:00
John Ericson
9a2f5accf0
[RFC 0092] Computed derivations (#92)
* Initial draft "ret-cont" recursive Nix

* Fix typos and finish trailing sentance

* Switch to advocating temp store rather than daemon socket

Also:

 - Allow fixed output builds (in that temp store)

 - Clean up drawbacks and alternatives.

* ret-cont-recursive-nix: Fix typo

Thanks @siddharthist!

Co-Authored-By: Ericson2314 <git@JohnEricson.me>

* ret-cont-recursive-nix: Fix typo

Thanks @Mic92

Co-Authored-By: Ericson2314 <git@JohnEricson.me>

* ret-cont-recursive-nix: Fix typo

Thanks @globin

Co-Authored-By: Ericson2314 <git@JohnEricson.me>

* ret-cont-recursive-nix: Fix typo

Thanks @siddharthist!

Co-Authored-By: Ericson2314 <git@JohnEricson.me>

* ret-cont-recursive-nix: Clean up motivation, adding examples

* ret-cont-recursive-nix: Improve syntax highlighting

* Do a lousy job formalizing the detailed design

Break off some previously inline observations into their own subsection.

* ret-cont-recursive-nix: Mention `builtins.exec` in alternatives

* ret-cont-recursive-nix: Fix typo

Thanks @Mic92!

Co-Authored-By: Ericson2314 <git@JohnEricson.me>

* ret-cont-recursive-nix: Remove dangling "$o"

The later examples with `nix-instantiate` automatically get all the outputs of the final rewritten drv, so there's no output iteration needed. `"$o"` was mistakenly copied over from the earlier examples.

Thanks to @ocharles for asking me the question that led me to this. Hopefully this change answers that?

* Update rfcs/0000-ret-cont-recursive-nix.md

Co-Authored-By: Domen Kožar <domen@enlambda.com>

* ret-cont-recursive: Fix typo

about -> out

* ret-cont: Add examples and expand future work

* ret-cont: Fix syntax error

No `let`, so don't need `in`.

* ret-cont: Mention Ninja's upcomming `dyndep` and C++ oppertunity

* ret-cont: Fix missing explicit `outputs` and `__recursive`

This was in the "wrapper" derivation example.

* ret-cont: "caching builds" -> "caching evaluation"

We already cache builds just fine, thanks!

Thanks @globin for catching

* ret-cont: Improve formalism and reference #62

* drv-build-drv: Start drafting from old ret-cont-recursive-nix RFC

* drv-buiild-drv: WIP rewrite

* plan-dynamism: Rewrite RFC yet again

* plan-dynamism: Rename file accordingly

* plan-dynanism: Fix typo

Thanks @mweinelt.

* plan-dynanism: Fix formalism slightly

* Apply suggestions from code review

Thanks!

Co-authored-by: Rosario Pulella <Rosariopulella@gmail.com>
Co-authored-by: Ninjatrappeur <NinjaTrappeur@users.noreply.github.com>

* plan-dynamism: `Buildables` -> `DerivedPathsWithHints`

Thanks @sternenseemann for catching.

* plan-dynamism: Add semantics and examples for `!` syntax

* plan-dynamism: Too many dashes in `--derivation`

* plan-dynanism: Put pupose of text hashing before name

* Apply suggestions from code review

Co-authored-by: Ollie Charles <ollie@ocharles.org.uk>

* Apply suggestions from code review

Co-authored-by: Ollie Charles <ollie@ocharles.org.uk>

* Apply suggestions from code review

* Update rfcs/0000-plan-dynanism.md

* plan-dynanism: Fix bad sentence

Thanks @roberth!

* plan-dynamism: Number the two parts

* plan-dynamism: Rip out part 2

There is more to do I'm sure, but I wanted to get the ball rolling.

* plan-dynamism: New motivation

* plan-dynamism: Fix typo

Thanks @L-as

* TEMP PLES AMEND

* [RFC 0092] Rename file

* [RFC 0092] Fix YAML header

* [RFC 0092] Rewrite summary

* [RFC 0092] Add link to documentation

* [RFC 0092] Rewrite example section

* [RFC 0092] Small fix

* [RFC 0092] Rewrite drawbacks and alternatives

* [RFC 0092] Improve alternatives section

* [RFC 0092] Fix syntax error

* [RFC 0092] Small change

* [RFC 0092] Remove unnecessary file

* [RFC 0092] Add comment about IFD

* [RFC 0092] Fix typo

* Update rfcs/0092-plan-dynamism.md

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

* plan-dynamism-experiment: Make clear is experimental

* plan-dynamism-experiment: Fix typo

Thanks @L-as

Co-authored-by: Langston Barrett <langston.barrett@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Robin Gloster <mail@glob.in>
Co-authored-by: Domen Kožar <domen@enlambda.com>
Co-authored-by: Rosario Pulella <Rosariopulella@gmail.com>
Co-authored-by: Ninjatrappeur <NinjaTrappeur@users.noreply.github.com>
Co-authored-by: Ollie Charles <ollie@ocharles.org.uk>
Co-authored-by: Las Safin <me@las.rs>
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2022-01-12 15:28:48 +01:00