Add Scala environment

This commit is contained in:
Luc Perkins 2022-07-28 23:54:27 +02:00
parent 58ace59505
commit 7a7d428131
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
10 changed files with 107 additions and 13 deletions

View file

@ -20,7 +20,7 @@
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
helpers = with pkgs; [ pkg-config ];
helpers = with pkgs; [ openssl pkg-config ];
inherit (pkgs) mkShell;
inherit (pkgs.lib) optionals;
@ -30,15 +30,10 @@
devShells = {
default = mkShell {
nativeBuildInputs = [
buildInputs = [
rust
] ++ helpers;
buildInputs = with pkgs; [
openssl
pkgconfig
];
shellHook = ''
${rust}/bin/cargo --version
'';