mirror of
https://github.com/Silveere/nixfiles-assets.git
synced 2025-04-28 14:55:27 -04:00
22 lines
537 B
Nix
22 lines
537 B
Nix
{
|
|
inputs = {
|
|
systems.url = "github:nix-systems/default";
|
|
};
|
|
outputs = { self, nixpkgs, systems }:
|
|
let
|
|
lib = nixpkgs.lib;
|
|
eachSystem = lib.genAttrs (import systems);
|
|
in {
|
|
packages = eachSystem (system: let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in rec {
|
|
nixfiles-assets = pkgs.callPackage ./package.nix { };
|
|
default = nixfiles-assets;
|
|
}
|
|
);
|
|
overlays.default = final: prev: {
|
|
inherit (self.outputs.packages.${prev.pkgs.system}) nixfiles-assets;
|
|
};
|
|
};
|
|
}
|