gnunet: fix and enable strictDeps

This commit is contained in:
FliegendeWurst
2025-05-14 16:04:34 +02:00
parent 53bd700506
commit bc23ad9e89
@@ -12,6 +12,7 @@
# runtime deps
adns,
bashNonInteractive,
curl,
gettext,
gmp,
@@ -48,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
nativeBuildInputs = [
libtool
gettext # msgfmt
makeWrapper
meson
ninja
@@ -57,8 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
adns
bashNonInteractive
curl
gettext
gmp
gnutls
jansson
@@ -71,6 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
libopus
libpulseaudio
libsodium
libtool
libunistring
libxml2
ncurses
@@ -78,6 +80,8 @@ stdenv.mkDerivation (finalAttrs: {
zlib
] ++ lib.optional postgresqlSupport libpq;
strictDeps = true;
preConfigure = ''
# Brute force: since nix-worker chroots don't provide
# /etc/{resolv.conf,hosts}, replace all references to `localhost'
@@ -122,5 +126,7 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ pstn ];
platforms = lib.platforms.unix;
changelog = "https://git.gnunet.org/gnunet.git/tree/ChangeLog?h=v${finalAttrs.version}";
# meson: "Can not run test applications in this cross environment." (for dane_verify_crt_raw)
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
};
})