Specify clang 11 for build

This commit is contained in:
xenia 2024-02-08 18:21:42 +01:00
parent 1fbcf088fb
commit 31e142c9f7
2 changed files with 7 additions and 3 deletions

View File

@ -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": {

View File

@ -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 ];
};
}
);
}