Specify clang 11 for build
This commit is contained in:
parent
633efdfef1
commit
240dda6766
|
@ -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": {
|
||||||
|
|
|
@ -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 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user