From ad58b57df7b298bc3e25c578f590d44da3ce36c9 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 17 Jun 2022 19:09:27 +0200 Subject: Initial commit --- shells/c*.nix | 12 ++++++++++++ shells/go.nix | 7 +++++++ shells/lua.nix | 7 +++++++ shells/rust.nix | 7 +++++++ shells/zig.nix | 7 +++++++ 5 files changed, 40 insertions(+) create mode 100644 shells/c*.nix create mode 100644 shells/go.nix create mode 100644 shells/lua.nix create mode 100644 shells/rust.nix create mode 100644 shells/zig.nix (limited to 'shells') diff --git a/shells/c*.nix b/shells/c*.nix new file mode 100644 index 0000000..0bc3a48 --- /dev/null +++ b/shells/c*.nix @@ -0,0 +1,12 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + name = "c*-shell"; + buildInputs = with pkgs; [ + gdb + valgrind + gcc + clang + cmake + ninja + ]; +} diff --git a/shells/go.nix b/shells/go.nix new file mode 100644 index 0000000..36b19bc --- /dev/null +++ b/shells/go.nix @@ -0,0 +1,7 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + name = "go-shell"; + buildInputs = with pkgs; [ + go + ]; +} diff --git a/shells/lua.nix b/shells/lua.nix new file mode 100644 index 0000000..ea68530 --- /dev/null +++ b/shells/lua.nix @@ -0,0 +1,7 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + name = "lua-shell"; + buildInputs = with pkgs; [ + lua + ]; +} \ No newline at end of file diff --git a/shells/rust.nix b/shells/rust.nix new file mode 100644 index 0000000..42dfebb --- /dev/null +++ b/shells/rust.nix @@ -0,0 +1,7 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + name = "rust-shell"; + buildInputs = with pkgs; [ + cargo + ]; +} diff --git a/shells/zig.nix b/shells/zig.nix new file mode 100644 index 0000000..2f0f6a7 --- /dev/null +++ b/shells/zig.nix @@ -0,0 +1,7 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + name = "zig-shell"; + buildInputs = with pkgs; [ + zig + ]; +} \ No newline at end of file -- cgit 1.4.1