buildGoModule: enable strictDeps
This will improve cross compiling in the long run. See also https://github.com/NixOS/nixpkgs/pull/82786
This commit is contained in:
parent
201ac90018
commit
060a9227c2
@ -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; };
|
||||
|
Loading…
x
Reference in New Issue
Block a user