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:
parent
36ae531bc2
commit
5b6342e8af
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue