Add NixOS config

This commit is contained in:
arne 2021-04-01 20:31:14 +02:00
commit 505eeb7575
3 changed files with 11 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
eval "$(lorri direnv)"

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/.direnv/
/.cpcache/
# Created by https://www.gitignore.io/api/clojure

9
shell.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> { }, lib ? pkgs.stdenv.lib }:
pkgs.mkShell rec {
name = "quil-env";
buildInputs = with pkgs; [
xorg_sys_opengl
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
}