2022-10-01 22:34:39 +08:00
|
|
|
{
|
|
|
|
description = "Another Clash Kernel";
|
|
|
|
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/master";
|
|
|
|
|
|
|
|
inputs.utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, utils }:
|
2022-10-02 02:15:37 +08:00
|
|
|
utils.lib.eachDefaultSystem
|
2022-10-01 22:34:39 +08:00
|
|
|
(system:
|
|
|
|
let
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in
|
|
|
|
{
|
2022-10-02 02:15:37 +08:00
|
|
|
packages = rec{
|
|
|
|
clash-meta = pkgs.callPackage ./. { };
|
|
|
|
default = clash-meta;
|
|
|
|
};
|
|
|
|
|
|
|
|
apps = rec {
|
|
|
|
clash-meta = utils.lib.mkApp { drv = self.packages.${system}.clash-meta; };
|
|
|
|
default = clash-meta;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
2022-10-01 22:34:39 +08:00
|
|
|
}
|
2022-10-02 02:15:37 +08:00
|
|
|
|