Unverified Commit 8e7fcd2d authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

distcc: fixup build with python 3.12

https://hydra.nixos.org/build/264564185/nixlog/4/tail
Also move python3 and which to nativeBuildInputs.
parent 5c575f95
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -17,8 +17,11 @@ let
      sha256 = "0zjba1090awxkmgifr9jnjkxf41zhzc4f6mrnbayn3v6s77ca9x4";
    };

    nativeBuildInputs = [ pkg-config autoconf automake ];
    buildInputs = [popt avahi python3 gtk3 which procps libiberty_static];
    nativeBuildInputs = [
      pkg-config autoconf automake which
      (python3.withPackages (p: [ p.setuptools ]))
    ];
    buildInputs = [ popt avahi gtk3 procps libiberty_static ];
    preConfigure =
    ''
      export CPATH=$(ls -d ${gcc.cc}/lib/gcc/*/${gcc.cc.version}/plugin/include)