nix: add shell starter

pull/1136/merge
Sebastien Bourdeauducq 2018-08-24 19:03:25 +08:00
parent 23ea8c81f3
commit 7f523e7e50
1 changed files with 8 additions and 0 deletions

8
nix/shell.nix Normal file
View File

@ -0,0 +1,8 @@
{system ? builtins.currentSystem}:
let
pkgs = import <nixpkgs> {inherit system;};
artiq = pkgs.callPackage ./default.nix {};
in
pkgs.mkShell {
buildInputs = [ artiq ];
}