mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
trying to fix darwin build
This commit is contained in:
parent
19c42b883f
commit
73714678f1
@ -1,6 +1,9 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, CoreFoundation
|
||||
, Security
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -13,11 +16,13 @@ buildGoModule rec {
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zyTUGAxUAfrigRNiw03ZXFK+UkpuxwuU2xviZmAPuR8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-dgiKWHSm49/CB4dWrNWIzkkmj6Aw4l+9iLa6xe/umq0=";
|
||||
|
||||
excludedPackages = "misc";
|
||||
|
||||
buildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64)
|
||||
[ CoreFoundation Security ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
|
@ -5471,6 +5471,7 @@ with pkgs;
|
||||
|
||||
trivy = callPackage ../tools/admin/trivy {
|
||||
buildGoModule = buildGo118Module;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
||||
trompeloeil = callPackage ../development/libraries/trompeloeil { };
|
||||
|
Loading…
Reference in New Issue
Block a user