diff options
-rw-r--r-- | pkgs/development/go-modules/generic/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix index 1bf13c18821e..42b446b9fa86 100644 --- a/pkgs/development/go-modules/generic/default.nix +++ b/pkgs/development/go-modules/generic/default.nix @@ -208,6 +208,8 @@ let find $out/bin -type f -exec ${removeExpr removeReferences} '{}' + || true ''; + strictDeps = true; + disallowedReferences = lib.optional (!allowGoReference) go; passthru = passthru // { inherit go go-modules modSha256; }; |