Commit bc23ad9e authored by FliegendeWurst's avatar FliegendeWurst
Browse files

gnunet: fix and enable strictDeps

parent 53bd7005
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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;
  };
})