commit 0e65743b7b1ea09b18c24e4305e65ac408e73b9d
parent c3bbecf2b05ee5d87fabf3974310dde9f08361d2
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 22 May 2022 13:01:12 +0300
gplaces: fix build on darwin
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/gemini/gplaces/default.nix b/pkgs/gemini/gplaces/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl }:
+{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, memstreamHook }:
stdenv.mkDerivation rec {
pname = "gplaces";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
- buildInputs = [ curl openssl ];
+ buildInputs = [ curl openssl ] ++ lib.optional stdenv.isDarwin memstreamHook;
installFlags = [ "PREFIX=$(out)" ];
diff --git a/pkgs/suckless/nextvi/default.nix b/pkgs/suckless/nextvi/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, memstreamHook }:
+{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "nextvi";