tuto:nix
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
tuto:nix [2022/06/21 15:27] – [nix] root | tuto:nix [2022/06/21 20:15] (Version actuelle) – [nix-shell] root | ||
---|---|---|---|
Ligne 140: | Ligne 140: | ||
==== nix-shell ==== | ==== nix-shell ==== | ||
* https:// | * https:// | ||
+ | |||
+ | <code haskell shell.nix> | ||
+ | { pkgs ? import < | ||
+ | |||
+ | with pkgs; | ||
+ | |||
+ | mkShell { | ||
+ | buildInputs = [ | ||
+ | elixir_1_10 | ||
+ | nodejs-12_x | ||
+ | ]; | ||
+ | } | ||
+ | </ | ||
< | < | ||
+ | $ nix-shell | ||
$ nix-shell shell.nix | $ nix-shell shell.nix | ||
</ | </ |
tuto/nix.1655825229.txt.gz · Dernière modification : 2022/06/21 15:27 de root