aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorTom Harley2021-11-04 10:22:52 +0000
committerTom Harley2021-11-04 10:22:52 +0000
commit841052f7731c05e0f03d58284bfe8d249f91c109 (patch)
tree8cbd194124a985f2cf998b8cd08a0663e38fa331 /shell.nix
downloadsdl2_vnc-841052f7731c05e0f03d58284bfe8d249f91c109.tar.gz
sdl2_vnc-841052f7731c05e0f03d58284bfe8d249f91c109.zip

Initial commit

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