exercism.org/rust/shell.nix
Daniel Siepmann 184bf48147
Split shell.nix files per language
This allows to only download and build environment for the actual
language one is playing with.
Also do not use downloaded binary but provide a derivation for exercism
binary.
2024-03-25 09:22:40 +01:00

14 lines
188 B
Nix

{
pkgs ? import <nixpkgs> { }
}:
pkgs.mkShellNoCC {
name = "exercism";
buildInputs = [
pkgs.gcc
pkgs.rustc
pkgs.cargo
(pkgs.callPackage ../exercism.nix { })
];
}