Merge pull request #310545 from rrbutani/fix/xskat-darwin

xskat: fix build on Darwin
This commit is contained in:
Weijia Wang 2024-05-10 14:30:32 +02:00 committed by GitHub
commit 7ebe339812
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10"; sha256 = "8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10";
}; };
env.NIX_CFLAGS_COMPILE = "-Wno-implicit-int";
preInstall = '' preInstall = ''
sed -i Makefile \ sed -i Makefile \
-e "s|.* BINDIR .*| BINDIR = $out/bin|" \ -e "s|.* BINDIR .*| BINDIR = $out/bin|" \