aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorLibravatar Rohit Goswami <rgoswami@ieee.org>2020-12-27 18:09:34 +0000
committerLibravatar Rohit Goswami <rgoswami@ieee.org>2020-12-27 18:10:11 +0000
commit9e021d4ce1be7b2f1f375fbd8ef09e655181ee93 (patch)
treeac022b01ff3489f7b6eaa324beb5ddd5f65d3027 /shell.nix
parent096d7f4f804534b97eed88db84806b8e5d20041e (diff)
nix: Init nix setup
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..25a5227
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,5 @@
+let
+ sources = import ./nix/sources.nix;
+ pkgs = import sources.nixpkgs { };
+ customPython = pkgs.poetry2nix.mkPoetryEnv { projectDir = ./.; };
+in pkgs.mkShell { buildInputs = with pkgs; [ customPython mmake ]; }