recipes.nix/flake.nix
Adithya Nair dee0348c05
Some checks failed
Build and Push to Cachix / Push to Binary Cache (X86-64) (push) Failing after 1m5s
Build and Push to Cachix / Push to Binary Cache (aarch64) (push) Successful in 16m4s
initial commit
2024-11-03 19:11:03 +05:30

29 lines
814 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils?ref=main";
};
outputs = { nixpkgs, flake-utils, ... }:
let
pkgs_x86_64-linux = import nixpkgs {
system = "x86_64-linux";
};
pkgs_aarch64-linux = import nixpkgs {
system = "aarch64-linux";
};
in
{
overlays.default = import ./overlay.nix;
packages.x86_64-linux.autobrr = pkgs_x86_64-linux.callPackage ./packages/autobrr { };
packages.aarch64-linux.autobrr = pkgs_aarch64-linux.callPackage ./packages/autobrr { };
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
formatter = pkgs.nixpkgs-fmt;
}
);
}