about summary refs log tree commit diff
path: root/nix/nix-1p/README.md (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-05 r/5036 docs(nix/nix-1p): Update to use final and prevvpfeiffer1-5/+7
The convention has changed to use `final` instead of `self` and `prev` instead of `super`. This new convention is much easier to understand especially for users that are new to Nix and Nixpkgs. This change is notable in the Nixpkgs project code. I added a note mentioning that the official documentation hasn't been update with this information. The documentation is currently undergoing an overhaul and that is why I believe this hasn't been reflected in the nixpkgs documentation as of yet. Imported-From: https://github.com/tazjin/nix-1p/pull/9/commits Change-Id: I901df69a564969b1784b3d7ac629cfaf85093acb Reviewed-on: https://cl.tvl.fyi/c/depot/+/6859 Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2021-11-14 Note recommended use of 'or' in override patternsVincent Ambo1-2/+9
This fixes #6
2021-11-14 Document binding of attribute set arguments using '@'Vincent Ambo1-0/+27
First and foremost this is being added because it was lacking, and nix-1p strives to have fairly complete coverage of all useful features. Additionally, as pointed out by @nixinator in #6 there is some surprising behaviour around how default arguments work in combination with '@' and I thought this was worth noting.
2020-11-25 Note that `or` works for nested attribute accessVincent Ambo1-1/+3
2020-11-25 Add small section about `or` expressionsVincent Ambo1-1/+27
2019-12-18 Fix typo in code snippetAsad Saeeduddin1-1/+1
2019-08-21 Fix rendering of pipes in code blocks across dialectsVincent Ambo1-2/+2
Pipes inside of code blocks inside of tables seem to pose a challenge for some Markdown renderers. Not a problem for Github's but this page is occasionally embedded in other documentation (such as nixery.dev)
2019-08-07 Add table with most important Nix operatorsVincent Ambo1-0/+23
2019-08-02 Fix link to nixdocLouis Taylor1-0/+1
2019-08-01 Make Github's Nix highlighter happyVincent Ambo1-3/+7
The highlighter expects that all code blocks are valid expressions (to some degree) and highlights mismatches in dark red, which is not particularly pleasant for the reader. This introduces a "fake" attribute set in the `inherit` section to please the highlighter.
2019-08-01 Add Nix idioms (file lambdas, callPackage, overrides)Vincent Ambo1-6/+99
These are not strictly speaking language features, but my intention for this document is that someone can - after reading it - navigate a large chunk of existing Nix code.
2019-08-01 Add note about 'rec' in attribute setsVincent Ambo1-0/+3
2019-08-01 Point people to the issue tracker for ... issue trackingVincent Ambo1-3/+3
2019-08-01 Check in initial version of nix-1pVincent Ambo1-0/+413
Adds the initial version originally published as a gist. This is already slightly different from the gist in that it contains a section on derivations. This is not yet complete.