Nixのstdenv
https://nixos.org/guides/nix-pills/fundamentals-of-stdenv.html
nix pill
https://github.com/NixOS/nixpkgs/tree/master/doc/stdenv
docs集
https://github.com/NixOS/nixpkgs/tree/master/pkgs/stdenv
repo
Nixのderivationの1つ
ちゃんと読んではないがmrsekut.icon
The Standard Environmentという概念がある
これがstdenv
素でNixを使ってderivationを作る場合は、builtins.derivation関数を使う
このときはbuilder.shなどを自前で用意する必要がある
なんか色々手動でやらないといけないのでめんどい
この「色々」が何を指しているのかあまり理解していない #??
そこで、そのwrapperのようなstdenvを使用することで、その辺の楽ができる
したがってderivationを作る時も、builtins.derivationではなくstdenv.mkDerivationを使う