1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

corerad: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:47:00 -05:00
parent 36ae531bc2
commit 5b6342e8af
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "corerad";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0vbbpndqwwz1mc59j7liaayxaj53cs8s3javgj3pvhkn4vp65p7c";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlagsArray = ''
-ldflags=
-X github.com/mdlayher/corerad/internal/build.linkTimestamp=1583280117

View file

@ -16351,7 +16351,9 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
corerad = callPackage ../tools/networking/corerad { };
corerad = callPackage ../tools/networking/corerad {
inherit (darwin.apple_sdk.frameworks) Security;
};
cpufrequtils = callPackage ../os-specific/linux/cpufrequtils { };