From 505eeb757555ed02b2120792242920bf6ab86523 Mon Sep 17 00:00:00 2001 From: arne Date: Thu, 1 Apr 2021 20:31:14 +0200 Subject: [PATCH] Add NixOS config --- .envrc | 1 + .gitignore | 1 + shell.nix | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..051d09d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +eval "$(lorri direnv)" diff --git a/.gitignore b/.gitignore index 40b6a6a..9d56060 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.direnv/ /.cpcache/ # Created by https://www.gitignore.io/api/clojure diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..fd2082c --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? import { }, lib ? pkgs.stdenv.lib }: + +pkgs.mkShell rec { + name = "quil-env"; + buildInputs = with pkgs; [ + xorg_sys_opengl + ]; + LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}"; +}