Simplify dev shell

This commit is contained in:
Eelco Dolstra 2024-02-29 21:42:35 +01:00
parent f16e3c292a
commit 7a2d7ce296
2 changed files with 8 additions and 0 deletions

View file

@ -46,6 +46,7 @@
default = magic-nix-cache; default = magic-nix-cache;
}); });
/*
devShells = forEachSupportedSystem ({ pkgs, cranePkgs, lib }: { devShells = forEachSupportedSystem ({ pkgs, cranePkgs, lib }: {
default = pkgs.mkShell { default = pkgs.mkShell {
inputsFrom = [ cranePkgs.magic-nix-cache ]; inputsFrom = [ cranePkgs.magic-nix-cache ];
@ -156,5 +157,6 @@
]; ];
}; };
}); });
*/
}; };
} }

View file

@ -4,6 +4,9 @@
, nix , nix
, boost , boost
, darwin , darwin
, rust-analyzer
, clippy
, rustfmt
}: }:
let let
@ -21,6 +24,9 @@ in rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
installShellFiles installShellFiles
rust-analyzer
clippy
rustfmt
]; ];
buildInputs = [ buildInputs = [