diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-11 17:28:23 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-11 17:28:23 +0100 |
| commit | 3e7f672b35f4a2196be8f27d35ef527eec79179d (patch) | |
| tree | 58d09a5937c4d0d471bbd17a1b07f52e4d5cf410 /shell.nix | |
| parent | 595cdfd51594af7cee4258a1ed92b06c6bf0171d (diff) | |
| download | libs-lbm-3e7f672b35f4a2196be8f27d35ef527eec79179d.tar.gz | |
Too lazy to ammend last commit. Moving to particle based HLBM and
others. Also implemented rotational movement properly now
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..0c22e94 --- /dev/null +++ b/shell.nix @@ -0,0 +1,18 @@ +{ pkgs ? import <nixpkgs> {} +, ... +}: + +pkgs.mkShell { + buildInputs = [ + pkgs.scons + pkgs.clang + pkgs.clang-tools + ]; + + shellHook = '' + if [ ! -f compile_commands.json ]; then + printf "Generating compile_commands.json...\n" + scons cdb + fi + ''; +} |
