aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-06-08 14:14:40 +0200
committerAdrian Kummerlaender2018-06-08 14:14:40 +0200
commit52a78e8bcb8efe9b825c3d42f16e79af7b8477f4 (patch)
tree38649621fe61c3d59500c0f8538a16767272016a
parent6de3d16fd3e7d98c98cdf73c6a3317e1a6b10184 (diff)
downloadcomputicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.tar
computicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.tar.gz
computicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.tar.bz2
computicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.tar.lz
computicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.tar.xz
computicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.tar.zst
computicle-52a78e8bcb8efe9b825c3d42f16e79af7b8477f4.zip
Update NIX expression
-rw-r--r--shell.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index c57c8a5..026572b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,12 +1,18 @@
with import <nixpkgs> {};
stdenv.mkDerivation rec {
- name = "env";
+ name = "computicle-env";
env = buildEnv { name = name; paths = buildInputs; };
+
buildInputs = [
+ fish
git cmake gcc gdb cgdb
glfw3
glew
glm
];
+
+ shellHook = ''
+ export NIX_SHELL_NAME="${name}"
+ '';
}