forked from mirrors/nixpkgs
buildRustPackage: Cosmetic improvement
This commit is contained in:
parent
b19cae8544
commit
9176f73cee
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue