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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1696757521, "lastModified": 1699155732,
"narHash": "sha256-cfgtLNCBLFx2qOzRLI6DHfqTdfWI+UbvsKYa3b3fvaA=", "narHash": "sha256-Wg4RmOGUEO4YCF0fEc/qiQ/3+BGC/f0qywIE8xEkIpY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2646b294a146df2781b1ca49092450e8a32814e1", "rev": "15492ddc2974ba426ea7e17116ea7aa44fc96dcd",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -14,6 +14,7 @@
version = "dev"; version = "dev";
src = ./. ; src = ./. ;
makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ]; makeFlags = [ "debug=no" "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ pkgs.clang_11 ];
preConfigure = '' preConfigure = ''
export version="v${version}" export version="v${version}"
@ -41,6 +42,9 @@
in rec { in rec {
packages.kak = kak; packages.kak = kak;
packages.default = kak; packages.default = kak;
devShells.default = pkgs.mkShell {
packages = [ pkgs.clang_11 ];
};
} }
); );
} }