summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-05 19:42:16 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-05 19:42:16 +0200
commit1c68570ab297a96861ec87034ff9ef155e23b0a4 (patch)
treea6785ac0ec23ec3b4686ec4c11b0cc4590320c80 /pkgs/build-support
parent462aa777dfbb45829321dead7749382e3d551e8c (diff)
parent43f71029cc6b18c1b4db4d01b35dbb30425c2f4e (diff)
downloadnixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar
nixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.gz
nixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.bz2
nixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.lz
nixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.xz
nixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.tar.zst
nixpkgs-1c68570ab297a96861ec87034ff9ef155e23b0a4.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/rust/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix
index d3e13b913f3..468dd0c4b1a 100644
--- a/pkgs/build-support/rust/default.nix
+++ b/pkgs/build-support/rust/default.nix
@@ -137,6 +137,7 @@ stdenv.mkDerivation (args // {
       # give a friendlier error msg.
       if ! [ -e $srcLockfile ]; then
         echo "ERROR: Missing Cargo.lock from src. Expected to find it at: $srcLockfile"
+        echo "Hint: You can use the cargoPatches attribute to add a Cargo.lock manually to the build."
         exit 1
       fi