3
0
Fork 0
forked from mirrors/nixpkgs

buildRustPackage: Cosmetic improvement

This commit is contained in:
Ricardo M. Correia 2015-06-05 19:17:50 +02:00
parent b19cae8544
commit 9176f73cee

View file

@ -24,10 +24,12 @@ export CARGO_HOME=$out
cd $src cd $src
if [[ ! -f Cargo.lock ]]; then if [[ ! -f Cargo.lock ]]; then
echo
echo "ERROR: The Cargo.lock file doesn't exist" echo "ERROR: The Cargo.lock file doesn't exist"
echo echo
echo "Cargo.lock is needed to make sure that depsSha256 doesn't change" echo "Cargo.lock is needed to make sure that depsSha256 doesn't change"
echo "when the registry is updated." echo "when the registry is updated."
echo
exit 1 exit 1
fi fi