diff options
Diffstat (limited to 'shells/rust/shell.nix')
| -rw-r--r-- | shells/rust/shell.nix | 37 |
1 files changed, 37 insertions, 0 deletions
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 <benedikt.peetz@b-peetz.de> +# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +# 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 <https://www.gnu.org/licenses/gpl-3.0.txt>. +{ + 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 + ]; +} |
