about summary refs log tree commit diff
path: root/nix/nix-1p (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-05-29 r/4189 feat(nix-1p): Export subtree to GitHubVincent Ambo1-0/+15
We needed a derivation for that, but this can also be used in the Nixery docs building process (which includes nix-1p). Change-Id: If97cf785a33d703af975da3b41de9b69566dfa81 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5789 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
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.