This website requires JavaScript.
Explore
Help
Sign In
the-distro
/
ofborg
Watch
2
Star
0
Fork
You've already forked ofborg
1
Code
Issues
1
Pull requests
1
Packages
Projects
Releases
Wiki
Activity
804bb34181
ofborg
/
nix
/
update-crates.sh
6 lines
74 B
Bash
Raw
Normal View
History
Unescape
Escape
replace update-carnix.sh Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in separately.
2020-05-24 11:24:00 +00:00
#!/usr/bin/env nix-shell
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-05 15:34:20 +00:00
#!nix-shell -i bash
replace update-carnix.sh Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in separately.
2020-05-24 11:24:00 +00:00
set
-e
enforce Cargo.lock is up to date instead of building
2020-05-24 14:42:15 +00:00
cargo fetch --locked
Reference in a new issue
Copy permalink