ofborg/nix/update-crates.sh
Andreas Rammhold 804bb34181 Move from crate2nix to buildRustPackage based on the Cargo.lock
Nixpkgs recently gained the ability to fetch cargo dependencies based on
the Cargo.lock file which means we can get rid of all the generated Nix
expressions. The only downside to that is that we are now building
everything in one go and do not have the semi-incremental builds as we
had before.
2021-07-07 12:19:54 -07:00

6 lines
74 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash
set -e
cargo fetch --locked