diff options
author | Stéphan Kochen <git@stephank.nl> | 2021-05-18 19:04:13 +0200 |
---|---|---|
committer | Stéphan Kochen <git@stephank.nl> | 2021-05-18 19:04:13 +0200 |
commit | 8e713d34d87aebb7a1714b00997924f74d1b5056 (patch) | |
tree | e997cfa76491c8cab0ecb74bd604f8afcc33eb91 | |
parent | 6be706bbe5d892de78ce2c3b757508701ac592a6 (diff) | |
download | nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.tar nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.tar.gz nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.tar.bz2 nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.tar.lz nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.tar.xz nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.tar.zst nixpkgs-8e713d34d87aebb7a1714b00997924f74d1b5056.zip |
websocat: fix darwin build
-rw-r--r-- | pkgs/tools/misc/websocat/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/misc/websocat/default.nix b/pkgs/tools/misc/websocat/default.nix index 821c059a45f..7ba2accc678 100644 --- a/pkgs/tools/misc/websocat/default.nix +++ b/pkgs/tools/misc/websocat/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, openssl, rustPlatform, Security, makeWrapper, bash }: +{ lib, stdenv, fetchFromGitHub, pkg-config, openssl, rustPlatform, libiconv +, Security, makeWrapper, bash }: rustPlatform.buildRustPackage rec { pname = "websocat"; @@ -15,7 +16,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-+3SG1maarY4DJ4+QiYGwltGLksOoOhKtcqstRwgzi2k="; nativeBuildInputs = [ pkg-config makeWrapper ]; - buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; + buildInputs = [ openssl ] + ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR=1; |