summaryrefslogtreecommitdiff
path: root/shell.nix
blob: ae3f6ff3250cfec15a7467f387880ed6e0db8975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  pkgs ? import <nixpkgs> { },
}:

pkgs.mkShell {
  buildInputs = with pkgs; [
    rustup
    pkg-config
    gcc
  ];

  shellHook = ''
    rustup target add x86_64-unknown-linux-musl
  '';
}