Commit c55abf3e authored by Austin Butler's avatar Austin Butler
Browse files

cpulimit: fix build with GCC 15

parent 57cfff02
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
    sha256 = "1dz045yhcsw1rdamzpz4bk8mw888in7fyqk1q1b3m1yk4pd1ahkh";
  };

  env.NIX_CFLAGS_COMPILE = "-std=gnu17";

  patches = [
    ./remove-sys-sysctl.h.patch
    ./get-missing-basename.patch