aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/shell.nix b/shell.nix
index b457068..ce29a92 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,12 +1,12 @@
-with import <nixpkgs> {};
+{ pkgs ? import <nixpkgs> { }, ... }:
-stdenvNoCC.mkDerivation rec {
+pkgs.stdenvNoCC.mkDerivation rec {
name = "compustream-env";
- env = buildEnv { name = name; paths = buildInputs; };
+ env = pkgs.buildEnv { name = name; paths = buildInputs; };
- buildInputs = [
- fish
- git cmake
+ buildInputs = with pkgs; [
+ cmake
+ universal-ctags
gcc8
gdb cgdb
glfw3