diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-02-07 00:02:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 00:02:12 +0000 |
commit | b30088fc3fdf6294c457a0184ffb9967f29d389e (patch) | |
tree | 0b18a33167a17c1ce79b42b975b4e4f1e984c7d0 /pkgs/build-support | |
parent | c92b3924fec8b9b7b0bfbe60f173751459b55c86 (diff) | |
parent | 1bda69b4294492363df8716263aa06ed6637148c (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/go/module.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index 448143f769084..284cc1586dad0 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -145,6 +145,11 @@ let cp -r --reflink=auto vendor $out ''} + if ! [ "$(ls -A $out)" ]; then + echo "vendor folder is empty, please set 'vendorHash = null;' or 'vendorSha256 = null;' in your expression" + exit 10 + fi + runHook postInstall ''; |