We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d62830 commit d653059Copy full SHA for d653059
flake.lock
flake.nix
@@ -2,7 +2,7 @@
2
description = "Development environment flake";
3
4
inputs = {
5
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
6
fenix = {
7
url = "github:nix-community/fenix";
8
inputs.nixpkgs.follows = "nixpkgs";
@@ -18,12 +18,14 @@
18
psycopg
19
]);
20
buildInputs = with pkgs; [
21
+ llvmPackages.libclang
22
];
23
in
24
{
25
devShells.default = pkgs.mkShell {
26
nativeBuildInputs = with pkgs; [
27
pkg-config
28
+ clang
29
git
30
mold
31
(fenix.packages.${system}.stable.withComponents [
@@ -42,6 +44,10 @@
42
44
43
45
46
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
47
+ shellHook = ''
48
+ export CC=clang
49
+ export CXX=clang++
50
+ '';
51
};
52
});
53
}
0 commit comments