aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authoravanspector <avanspector@gmail.com>2024-01-13 19:25:13 +0100
committeravanspector <avanspector@gmail.com>2024-01-13 19:25:13 +0100
commit2411febf838bc24935a1fd5c99c84916e3c45805 (patch)
tree9abac8188b74f5fdff76471c3ab88adead016d6b /shell.nix
parent5e7b031a1dca19e6fff5dfb05347e6d0524277f4 (diff)
add shell environment for Nix
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 000000000..21301b9d7
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,11 @@
+{ pkgs ? import <nixpkgs> {} }:
+pkgs.mkShell {
+ name = "odin";
+ nativeBuildInputs = with pkgs; [
+ git
+ clang_17
+ llvmPackages_17.llvm
+ llvmPackages_17.bintools
+ ];
+ shellHook="CXX=clang++";
+}