aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..aaa95fa
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,7 @@
+let
+ nixpkgs = import <nixpkgs> {};
+ pkg = nixpkgs.callPackage ./. {};
+ tools = with nixpkgs; [ gdb valgrind clang-tools ];
+
+in
+ pkg.overrideAttrs (old: { buildInputs = old.buildInputs ++ tools; })