Update from clang 11 to clang 15 to work with nixpkgs 24.05

This commit is contained in:
xenia 2024-06-02 23:16:12 +02:00
parent 240dda6766
commit 2da2cf2113

View File

@ -9,12 +9,14 @@
flake-utils.lib.eachDefaultSystem (sys:
let
pkgs = nixpkgs.legacyPackages.${sys};
clang = pkgs.clang_15;
kak = pkgs.stdenv.mkDerivation rec {
pname = "kak";
version = "dev";
src = ./. ;
makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ pkgs.clang_11 ];
nativeBuildInputs = [ clang ];
preConfigure = ''
export version="v${version}"
@ -43,7 +45,7 @@
packages.kak = kak;
packages.default = kak;
devShells.default = pkgs.mkShell {
packages = [ pkgs.clang_11 ];
packages = [ clang ];
};
}
);