-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
29 lines (27 loc) · 765 Bytes
/
Copy pathflake.nix
File metadata and controls
29 lines (27 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
description = "clang flake";
inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; };
outputs = { self, nixpkgs }:
let
system =
"x86_64-linux"; # Or your system like "aarch64-linux", "x86_64-darwin"
pkgs = nixpkgs.legacyPackages.${system};
pythonPackages = ps: [ ps.pip ps.sphinx ps.breathe ];
pythonEnv = pkgs.python3.withPackages pythonPackages;
in {
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
pkgs.llvmPackages_19.clang
pkgs.llvmPackages_19.lld
pkgs.llvm
pkgs.cmake
pkgs.ninja
pkgs.vcpkg
pkgs.doxygen
pkgs.graphviz
pkgs.pandoc
pythonEnv
];
};
};
}