nur/flake.nix

23 lines
560 B
Nix

2023-04-12 14:45:08 +02:00
{
description = "My personal NUR repository";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs }:
2023-04-12 14:45:08 +02:00
let
systems = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in
{
packages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
2023-05-07 19:46:09 +02:00
inherit system;
2023-04-12 14:45:08 +02:00
});
};
}