commit cfc3e62788cb93c71d1d47d9e3e66ff0876ad444
parent b2205134a0bccddd9355f87693aff7d411300ddf
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Fri, 10 Jun 2022 21:08:40 +0300
nextvi: fixup
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pkgs/suckless/nextvi/default.nix b/pkgs/suckless/nextvi/default.nix
@@ -11,8 +11,10 @@ stdenv.mkDerivation rec {
hash = "sha256-BRIZF+D+2nxnLXaVw+e78iAQIgQOt+IHPcn2BN/6TT4=";
};
- buildPhase = ''
+ buildPhase = if stdenv.isDarwin then ''
CFLAGS=-D_DARWIN_C_SOURCE sh ./build.sh
+ '' else ''
+ sh ./build.sh
'';
installPhase = ''