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
|
||||
|
||||
if [[ ! -f Cargo.lock ]]; then
|
||||
echo
|
||||
echo "ERROR: The Cargo.lock file doesn't exist"
|
||||
echo
|
||||
echo "Cargo.lock is needed to make sure that depsSha256 doesn't change"
|
||||
echo "when the registry is updated."
|
||||
echo
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue