notes/os/linux/nixos/tools/nix/develop.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

14 строки
308 B
Plaintext

nix develop nixpkgs#hello
inside the shell, you can call:
- unpackPhase
- configurePhase
- buildPhase
{...
devShell.x86_64-linux =
pkgs.mkShell { buildInputs = [ self.packages.x86_64-linux.hello pkgs.cowsay ]; };
}
2021
https://serokell.io/blog/practical-nix-flakes