flake.nix

24 lines · 521 bytes

 1{
 2  description = "Watch anime in cli with Anilist Integration and Discord RPC ";
 3
 4  inputs = {
 5    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
 6    systems.url = "github:nix-systems/default";
 7  };
 8
 9  outputs = {
10    nixpkgs,
11    systems,
12    ...
13  }: {
14    packages = nixpkgs.lib.genAttrs (import systems) (
15      system: let
16        pkgs = nixpkgs.legacyPackages.${system};
17        package = pkgs.callPackage ./package.nix {};
18      in {
19        default = package;
20        curd = package;
21      }
22    );
23  };
24}