-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
43 lines (38 loc) · 1.07 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
{
description = "🌸 a git wrapper for cute commits.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
"aarch64-linux"
];
perSystem =
{ self', pkgs, ... }:
{
formatter = pkgs.nixfmt-rfc-style;
devShells.default = pkgs.mkShell {
packages = with pkgs; [
self'.packages.pogit.nativeBuildInputs
python312
python312Packages.pip
python312Packages.build
python312Packages.wheel
python312Packages.setuptools
];
};
packages = {
default = self'.packages.pogit;
pogit = pkgs.callPackage ./nix { };
};
};
flake.homeManagerModules = {
default = inputs.self.homeManagerModules.pogit;
pogit = import ./nix/hm-module.nix inputs.self;
};
};
}