nixpkgs/maintainers/scripts/convert-to-import-cargo-lock/shell.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
246 B
Nix
Raw Normal View History

{
pkgs ? import ../../.. { },
}:
let
inherit (pkgs) lib stdenv mkShell;
in
mkShell {
packages =
with pkgs;
[
rustc
cargo
clippy
rustfmt
]
++ lib.optional stdenv.hostPlatform.isDarwin pkgs.libiconv;
}