-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
34 lines (34 loc) · 1.02 KB
/
flake.nix
File metadata and controls
34 lines (34 loc) · 1.02 KB
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
{
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs?ref=nixos-unstable";
};
};
outputs =
{ self, nixpkgs, ... }@flakeInputs:
let
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
in
{
inherit nixpkgs;
overlays = {
default = import ./overlay.nix;
};
legacyPackages = forAllSystems (
system: nixpkgs.legacyPackages.${system}.appendOverlays (builtins.attrValues self.overlays)
);
packages = forAllSystems (system: {
inherit (self.legacyPackages.${system})
simplifiedVideoLibraryRenamer
;
default = self.legacyPackages.${system}.simplifiedVideoLibraryRenamer;
});
apps = forAllSystems (system: {
simplifiedVideoLibraryRenamer = {
type = "app";
program = "${self.legacyPackages.${system}.simplifiedVideoLibraryRenamer}/bin/simplifiedVideoLibraryRenamer";
};
default = self.apps.${system}.simplifiedVideoLibraryRenamer;
});
};
}