aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
blob: 941a21796abaa1bdebd12cba28f57e8d27a8606c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env -S nix-shell
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = with pkgs; [
    (import ./nix/pkglst/shell-pkgs.nix { inherit pkgs; })
  ];
  shellHook = ''
    nix-build
    echo "built spine @ ./result/bin/spine"
    nix-instantiate | nix show-derivation | jq
  '';
}