diff --git a/pkgs/development/libraries/libixp/default.nix b/pkgs/development/libraries/libixp/default.nix index cc6c468bede5..c4f06b3ea77d 100644 --- a/pkgs/development/libraries/libixp/default.nix +++ b/pkgs/development/libraries/libixp/default.nix @@ -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 ];