Update from clang 11 to clang 15 to work with nixpkgs 24.05
This commit is contained in:
parent
31e142c9f7
commit
2266acf5cc
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user