aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
blob: c2e52a6926aedacc52c78a9e9d0671013ece45f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = with pkgs; [
    (import ./nix/pkglst/shell-pkgs.nix { inherit pkgs; })
  ];
  buildPhase = "nix build -f default.nix";
  shellHook = ''
    echo "built spine @ ./result/bin/spine"
    if [[ -e ".envrc" ]]; then
      source .envrc
    fi
    #nix-instantiate | nix show-derivation | jq
  '';
}