nix: add shell starter

This commit is contained in:
Sebastien Bourdeauducq 2018-08-24 19:03:25 +08:00
parent 23ea8c81f3
commit 7f523e7e50

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 ];
}