-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
50 lines (45 loc) · 1.08 KB
/
flake.nix
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
agenix-shell.url = "github:aciceri/agenix-shell";
};
outputs = inputs@{ self, nixpkgs, flake-parts, agenix-shell, ... }:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = nixpkgs.lib.systems.flakeExposed;
imports = [
# agenix-shell.flakeModules.default
];
# agenix-shell = {
# secrets = {
# foo.file = ./secrets/foo.age;
# };
# };
perSystem = {
pkgs,
config,
lib,
...
}:
let
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation;
in
{
devShells.default = pkgs.mkShell.override {
stdenv = pkgs.llvmPackages.libcxxStdenv;
} {
packages = with pkgs; [
rustc
cargo
clippy
maturin
python3
darwin.libobjc
libiconv
python3
python312Packages.pip
];
};
};
};
}