From 2da2cf21138f7de8e4238049f7bb3cdd97db9286 Mon Sep 17 00:00:00 2001 From: xenia Date: Sun, 2 Jun 2024 23:16:12 +0200 Subject: [PATCH] Update from clang 11 to clang 15 to work with nixpkgs 24.05 --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 95402c5d..081098bc 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; } );