-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
45 lines (40 loc) · 1.53 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
{
description = "The packages I use that have not been upstreamed to nixpks";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs =
{
self,
nixpkgs,
}:
let
genSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
];
pkgsFor = nixpkgs.legacyPackages;
in
{
overlays.default = _: prev: {
bridge-editor = prev.callPackage ./packages/bridge { };
gh-download = prev.callPackage ./packages/gh-download { };
pokeshell = prev.callPackage ./packages/pokeshell { };
mangayomi = prev.callPackage ./packages/mangayomi { };
kronkhite = prev.callPackage ./packages/krohnkite { };
valent = prev.callPackage ./packages/valent { stdenv = prev.clangStdenv; };
yoke = prev.callPackage ./packages/yoke { };
poketex = prev.callPackage ./packages/poketex { };
waydroid-script = prev.callPackage ./packages/waydroid-script { };
trashy = prev.callPackage ./packages/trashy { };
qtscrcpy = prev.callPackage ./packages/qtscrcpy { };
rqbit = prev.callPackage ./packages/rqbit { };
snow-updater = prev.callPackage ./scripts/default.nix { };
};
devShells = genSystems (system: {
default = pkgsFor.${system}.mkShell { packages = [ self.packages.${system}.snow-updater ]; };
});
packages = genSystems (system: self.overlays.default null pkgsFor.${system});
formatter = genSystems (system: pkgsFor.${system}.nixfmt-rfc-style);
};
}