Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add shell.nix #2

Open
milahu opened this issue May 28, 2022 · 1 comment
Open

add shell.nix #2

milahu opened this issue May 28, 2022 · 1 comment

Comments

@milahu
Copy link

milahu commented May 28, 2022

in my case:
nix develop will download 2GB of dependencies = killjoy
nix-shell will download 10MB of dependencies

can we add a shell.nix file? (and call that from flake.nix)

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = with pkgs; [
    cargo
    cargo-tarpaulin
    clippy
    entr
    jq
    linuxPackages_latest.perf
    reuse
    rustc
  ];
}
@kamadorueda
Copy link
Owner

That's ok, sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants