Commit 2e15d802 authored by Michal Sojka's avatar Michal Sojka
Browse files

daemontools: fix build with gcc14

We apply the patch from Debian, which can be seen here:
https://salsa.debian.org/debian/daemontools/-/blob/af0077708b725300d7993b06dca9051e2dac48d9/debian/patches/0005-fix-ftbfs.patch

Before figuring out that Debian already has the patch, I prepared the
patch myself and ended up with basically the same changes.
parent 634fd468
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -22,7 +22,13 @@ stdenv.mkDerivation rec {
    sha256 = "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5";
  };

  patches = [ ./fix-nix-usernamespace-build.patch ];
  patches = [
    (fetchurl {
      url = "https://salsa.debian.org/debian/daemontools/-/raw/1844f0e704ab66844da14354a16ea068eba0403f/debian/patches/0005-fix-ftbfs.patch";
      hash = "sha256-Q7t0kwajjTW2Ms5m44E4spBwHi5Xi6Y39FQVsawr8LA=";
    })
    ./fix-nix-usernamespace-build.patch
  ];

  outputs = [
    "out"