diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-10 19:04:25 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-14 11:40:51 +0700 |
commit | 593629b7a931bfb481291d13c167408beaaedb25 (patch) | |
tree | 83ebb00ef66f02ed7530fa9e48ffb6a23c2e2139 /pkgs/servers/routinator | |
parent | e79822050cb5b0f33333e13f4ccf1a31ec22fcb0 (diff) |
routinator: fix darwin build
Diffstat (limited to 'pkgs/servers/routinator')
-rw-r--r-- | pkgs/servers/routinator/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/routinator/default.nix b/pkgs/servers/routinator/default.nix index f1e705b0693e7..4d326c0bd621e 100644 --- a/pkgs/servers/routinator/default.nix +++ b/pkgs/servers/routinator/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }: rustPlatform.buildRustPackage rec { pname = "routinator"; @@ -11,6 +11,7 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-JwPAwhD+Pkx8Kx24m7z/RbEvDnI2YR8dnTgAV7TMsFE="; }; + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; cargoSha256 = "sha256-lhSSyJxxHc0t43xoDMtr/lSVL0xZl6poPYiyYXNvKKQ="; meta = with lib; { @@ -18,6 +19,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/NLnetLabs/routinator"; license = licenses.bsd3; maintainers = with maintainers; [ _0x4A6F ]; - platforms = platforms.linux; + platforms = platforms.all; }; } |