From 240dda6766f7b44a51699a101e9d8c6caa48f687 Mon Sep 17 00:00:00 2001 From: xenia Date: Thu, 8 Feb 2024 18:21:42 +0100 Subject: [PATCH] Specify clang 11 for build --- flake.lock | 6 +++--- flake.nix | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 1908e05e..6b83fa1d 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1696757521, - "narHash": "sha256-cfgtLNCBLFx2qOzRLI6DHfqTdfWI+UbvsKYa3b3fvaA=", + "lastModified": 1699155732, + "narHash": "sha256-Wg4RmOGUEO4YCF0fEc/qiQ/3+BGC/f0qywIE8xEkIpY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2646b294a146df2781b1ca49092450e8a32814e1", + "rev": "15492ddc2974ba426ea7e17116ea7aa44fc96dcd", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 3969424d..95402c5d 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,7 @@ version = "dev"; src = ./. ; makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ]; + nativeBuildInputs = [ pkgs.clang_11 ]; preConfigure = '' export version="v${version}" @@ -41,6 +42,9 @@ in rec { packages.kak = kak; packages.default = kak; + devShells.default = pkgs.mkShell { + packages = [ pkgs.clang_11 ]; + }; } ); }