blob: 74e68298b31e9bdb4552a4f8d103afd0aa8d39e5 (
plain) (
tree)
|
|
{
description = "Copanier";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
inputs.copanier = {
url = "github:spiral-project/copanier";
flake = false;
};
outputs = { self, copanier, flake-utils, nixpkgs }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; overlays = []; };
in rec {
packages.copanier = pkgs.callPackage ./. { src = copanier; };
defaultPackage = packages.copanier;
legacyPackages.copanier = packages.copanier;
apps.copanier = flake-utils.lib.mkApp { drv = packages.copanier; };
defaultApp = apps.copanier;
}) // rec {
overlays = {
copanier = final: prev: {
copanier = self.defaultPackage."${final.system}";
};
};
overlay = overlays.copanier;
};
}
|