diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-03-21 16:15:37 +1100 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2023-03-21 16:15:37 +1100 |
commit | 220cd9391917d0350cf67e9c8e79501c3264c4cc (patch) | |
tree | 93a86a974120149a50c503b6d16162a1a29a4718 /pkgs/servers/rustypaste/default.nix | |
parent | 79ac6c8fda5bfaec8cb2543787ca5cc04520be34 (diff) |
rustypaste: fix darwin build
Diffstat (limited to 'pkgs/servers/rustypaste/default.nix')
-rw-r--r-- | pkgs/servers/rustypaste/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/rustypaste/default.nix b/pkgs/servers/rustypaste/default.nix index c4987cdd28867..2f9fc1a27e3a6 100644 --- a/pkgs/servers/rustypaste/default.nix +++ b/pkgs/servers/rustypaste/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }: rustPlatform.buildRustPackage rec { pname = "rustypaste"; @@ -13,6 +13,10 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-/zji2sFaOweBo666LqfNRpO/0vi1eAGgOReeuvQIaEQ="; + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.CoreServices + ]; + # Some tests need network checkFlags = [ "--skip paste::tests::test_paste_data" |