summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjen1 <cjj39@cam.ac.uk>2021-08-05 00:49:01 +0100
committercjen1 <cjj39@cam.ac.uk>2021-08-05 00:49:01 +0100
commit8f77008ba9d352783129bc87274f017ea81f7194 (patch)
treed2781e5529a12319b9a0891b18dc2eb35e090a2f
parentb8cb2d942a6287a95e720278bbfe7563352ea48d (diff)
Add envrc for nix
-rw-r--r--.envrc1
-rw-r--r--shell.nix8
2 files changed, 9 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..051d09d
--- /dev/null
+++ b/.envrc
@@ -0,0 +1 @@
+eval "$(lorri direnv)"
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..6548e72
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,8 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+ buildInputs = [
+ pkgs.cmake
+ pkgs.cq-editor
+ ];
+}