From 2730189c99656e5ae6bd5795a33e8a3225847036 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 12 Aug 2026 23:27:17 +0200 Subject: feat: Add more shells --- shells/perf/shell.nix | 22 ++++++++++++++++++++++ shells/releng/shell.nix | 26 ++++++++++++++++++++++++++ shells/rust/shell.nix | 37 +++++++++++++++++++++++++++++++++++++ shells/sqlite/shell.nix | 21 +++++++++++++++++++++ shells/zig.nix | 39 --------------------------------------- shells/zig/shell.nix | 39 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 145 insertions(+), 39 deletions(-) create mode 100644 shells/perf/shell.nix create mode 100644 shells/releng/shell.nix create mode 100644 shells/rust/shell.nix create mode 100644 shells/sqlite/shell.nix delete mode 100644 shells/zig.nix create mode 100644 shells/zig/shell.nix (limited to 'shells') diff --git a/shells/perf/shell.nix b/shells/perf/shell.nix new file mode 100644 index 0000000..4bfaeaf --- /dev/null +++ b/shells/perf/shell.nix @@ -0,0 +1,22 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + mkShell, + hyperfine, +}: +mkShell { + __structuredAttrs = true; + + packages = [ + # Perf + hyperfine + ]; +} diff --git a/shells/releng/shell.nix b/shells/releng/shell.nix new file mode 100644 index 0000000..bdc6e09 --- /dev/null +++ b/shells/releng/shell.nix @@ -0,0 +1,26 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + mkShell, + reuse, + git-bug, + cocogitto, +}: +mkShell { + __structuredAttrs = true; + + packages = [ + # Releng + git-bug + reuse + cocogitto + ]; +} diff --git a/shells/rust/shell.nix b/shells/rust/shell.nix new file mode 100644 index 0000000..e2f748d --- /dev/null +++ b/shells/rust/shell.nix @@ -0,0 +1,37 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + mkShell, + cargo, + clippy, + rustc, + rustfmt, + mold, + cargo-edit, + cargo-expand, + cargo-flamegraph, +}: +mkShell { + __structuredAttrs = true; + + packages = [ + # rust stuff + cargo + clippy + rustc + rustfmt + mold + + cargo-edit + cargo-expand + cargo-flamegraph + ]; +} diff --git a/shells/sqlite/shell.nix b/shells/sqlite/shell.nix new file mode 100644 index 0000000..6b168da --- /dev/null +++ b/shells/sqlite/shell.nix @@ -0,0 +1,21 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + mkShell, + sqlite-interactive, +}: +mkShell { + __structuredAttrs = true; + + packages = [ + sqlite-interactive + ]; +} diff --git a/shells/zig.nix b/shells/zig.nix deleted file mode 100644 index 3d3d874..0000000 --- a/shells/zig.nix +++ /dev/null @@ -1,39 +0,0 @@ -# rocie - An enterprise grocery management system -# -# Copyright (C) 2024 Benedikt Peetz -# Copyright (C) 2025 Benedikt Peetz -# SPDX-License-Identifier: GPL-3.0-or-later -# -# This file is part of Rocie. -# -# You should have received a copy of the License along with this program. -# If not, see . -{ - mkShell, - pkg-config, - zig, - reuse, - gcc, -}: -mkShell { - __structuredAttrs = true; - - buildInputs = [ - gcc - ]; - - env = { - VARIBALE = "a"; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - packages = [ - zig - - # Releng - reuse - ]; -} diff --git a/shells/zig/shell.nix b/shells/zig/shell.nix new file mode 100644 index 0000000..3d3d874 --- /dev/null +++ b/shells/zig/shell.nix @@ -0,0 +1,39 @@ +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . +{ + mkShell, + pkg-config, + zig, + reuse, + gcc, +}: +mkShell { + __structuredAttrs = true; + + buildInputs = [ + gcc + ]; + + env = { + VARIBALE = "a"; + }; + + nativeBuildInputs = [ + pkg-config + ]; + + packages = [ + zig + + # Releng + reuse + ]; +} -- cgit v1.3.1