mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
xqilla: unbreak darwin; add required frameworks
This commit is contained in:
parent
c398cede57
commit
d32beebac2
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, xercesc }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, darwin, xercesc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xqilla";
|
||||
@ -23,6 +23,13 @@ stdenv.mkDerivation rec {
|
||||
"CXXFLAGS=-std=c++14"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xercesc
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
CoreServices
|
||||
SystemConfiguration
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "An XQuery and XPath 2 library and command line utility written in C++, implemented on top of the Xerces-C library";
|
||||
mainProgram = "xqilla";
|
||||
|
Loading…
Reference in New Issue
Block a user