From 6e223ac4d92ff623acc95b5a9c523b53a626092b Mon Sep 17 00:00:00 2001 From: sage-michaels Date: Sat, 9 Feb 2019 17:14:05 -0800 Subject: [PATCH] Add a nix file This makes it easy to install all the relevant depdencies on OSX. You can then build the project with: nix-shell nix/shell.nix --run \ './autogen.sh && ./configure.sh --enable-sdl && make' --- nix/shell.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nix/shell.nix diff --git a/nix/shell.nix b/nix/shell.nix new file mode 100644 index 000000000..72b089a1a --- /dev/null +++ b/nix/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import { } }: + +with pkgs; stdenv.mkDerivation { + name = "projectm-shell"; + buildInputs = [ + glm + libGLU_combined + SDL2 + darwin.apple_sdk.frameworks.Carbon + ]; +}