1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
with import <nixpkgs> {}; stdenvNoCC.mkDerivation rec { name = "compustream-env"; env = buildEnv { name = name; paths = buildInputs; }; buildInputs = [ fish git cmake gcc8 gdb cgdb glfw3 glew glm ]; shellHook = '' export NIX_SHELL_NAME="${name}" ''; }