mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 23:33:30 +00:00
Merge pull request #189402 from viraptor/libixp-darwin
libixp: fix darwin build
This commit is contained in:
commit
f81206f930
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-S25DmXJ7fN0gXLV0IzUdz8hXPTYEHmaSG7Mnli6GQVc=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.cc.isClang ''
|
||||
substituteInPlace mk/ixp.mk \
|
||||
--replace "©" "C "
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk
|
||||
'';
|
||||
@ -19,7 +24,6 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ txt2tags ];
|
||||
|
||||
meta = {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://github.com/0intro/libixp";
|
||||
description = "Portable, simple C-language 9P client and server libary";
|
||||
maintainers = with lib.maintainers; [ kovirobi ];
|
||||
|
Loading…
Reference in New Issue
Block a user