Nixing (notes)
Reviewing Gabriel439/haskell-nix to prepare myself for a travelling development workflow. Here are some short notes:
nix-shell
requires anenv
attribute.build.nix
files should return a set.build.nix
files, in project0, should specify projects to build in withproject0 = pkgs.haskellPackages.callPackage ./default.nix {}
elements- In the above case, you enter a nix-shell with
nix-shell --attr project0.env release2.nix
- you can default this with a
shell.nix
of(import ./release2.nix).project0.env
- In the above case, you enter a nix-shell with