From 6f96a983406b4e72dccd992784754a4d95cab3bf Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Tue, 27 Aug 2024 18:23:26 +0000 Subject: [PATCH] shells/rust: init --- flake.nix | 1 + shells/rust/default.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 shells/rust/default.nix diff --git a/flake.nix b/flake.nix index a652dc1..af69ae9 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ devShells = forAllSystems (pkgs: { armTrustedFirmware = pkgs.callPackage ./shells/armTrustedFirmware { }; plotter = pkgs.callPackage ./shells/plotter { }; + rust = pkgs.callPackage ./shells/rust { }; ryujinx = pkgs.callPackage ./shells/ryujinx { }; uboot = pkgs.callPackage ./shells/uboot { }; zephyr = pkgs.callPackage ./shells/zephyr { }; diff --git a/shells/rust/default.nix b/shells/rust/default.nix new file mode 100644 index 0000000..0f2c336 --- /dev/null +++ b/shells/rust/default.nix @@ -0,0 +1,20 @@ +{ + mkShell, + python3, + pkg-config, + cmake, + ninja, + curl, + patchelf, +}: + +mkShell { + packages = [ + python3 + pkg-config + cmake + ninja + curl + patchelf + ]; +}