add shell environment for Nix

This commit is contained in:
avanspector
2024-01-13 19:25:13 +01:00
parent 5e7b031a1d
commit 2411febf83
2 changed files with 11 additions and 27 deletions
+11
View File
@@ -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++";
}