mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #225977 from uninsane/pr/sane/cross-2023-04-12-staging
This commit is contained in:
commit
f13b89d6ab
@ -61,6 +61,8 @@ let
|
||||
(lib.withFeatureAs httpSupport "serf" serf)
|
||||
"--with-zlib=${zlib.dev}"
|
||||
"--with-sqlite=${sqlite.dev}"
|
||||
"--with-apr=${apr.dev}"
|
||||
"--with-apr-util=${aprutil.dev}"
|
||||
] ++ lib.optionals javahlBindings [
|
||||
"--enable-javahl"
|
||||
"--with-jdk=${jdk}"
|
||||
|
@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
|
||||
lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "-ldb-6.9" "-ldb"
|
||||
substituteInPlace apu-1-config \
|
||||
--replace "-ldb-6.9" "-ldb"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ apr expat libiconv libxcrypt ]
|
||||
|
@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||
pname = "libqmi";
|
||||
version = "1.32.2";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputs = [ "out" "dev" ]
|
||||
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
@ -47,6 +48,7 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
python3
|
||||
] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
|
||||
gtk-doc
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_43
|
||||
@ -68,6 +70,7 @@ stdenv.mkDerivation rec {
|
||||
"-Dudevdir=${placeholder "out"}/lib/udev"
|
||||
(lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||
(lib.mesonBool "introspection" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||
(lib.mesonBool "man" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
@ -11,10 +11,11 @@ index 4358a23..6ce7776 100644
|
||||
if target in build_targets:
|
||||
return PathVariable.PathIsDirCreate(key, val, env)
|
||||
else:
|
||||
@@ -155,6 +155,7 @@ if sys.platform == 'win32':
|
||||
@@ -155,6 +155,8 @@ if sys.platform == 'win32':
|
||||
env = Environment(variables=opts,
|
||||
tools=('default', 'textfile',),
|
||||
CPPPATH=['.', ],
|
||||
+ AR=os.environ['AR'],
|
||||
+ ENV=os.environ,
|
||||
)
|
||||
|
||||
|
@ -18,9 +18,22 @@ stdenv.mkDerivation rec {
|
||||
--replace @@NIX_UTILLINUX@@ ${util-linux}/bin
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook libtool pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
libtool
|
||||
perl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ pam libHX util-linux libxml2 pcre2 perl openssl cryptsetup ];
|
||||
buildInputs = [
|
||||
cryptsetup
|
||||
libHX
|
||||
libxml2
|
||||
openssl
|
||||
pam
|
||||
pcre2
|
||||
util-linux
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user