adambard / adambard/learnxinyminutes-docs

[Nix] A handful of missing features

オープン
#2,328 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Markdown
スター
12.3k
フォーク
3.7k
平均マージ
13時間 10分
マージ済み PR(30日)
6

説明

Here's my to-do list for Nix (things I didn't include because I didn't know about them when I first wrote the tutorial):
- You can use interpolation inside a dotted expression, e.g. `nixpkgs.pkgs.haskell.packages.${compiler}.callPackage`
- Inherit, e.g. `inherit a b;` and `inherit (foo) a b;`
- You can use `inherit` in `let` binding context as well as in sets
- `@`-patterns similar to Haskell pattern matching. For example, in a function definition: `f = args @ {x, y, z}: ...;`
- `or` can be used to provide a default value when pulling a value out of a set, e.g. `x.y or "defaultY"`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。