mirror of
https://github.com/claunia/edccchk.git
synced 2025-12-16 11:14:45 +00:00
23 lines
649 B
Nix
23 lines
649 B
Nix
{
|
|
description = "edccchk";
|
|
inputs = { flake-utils.url = "github:numtide/flake-utils"; };
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
packages = {
|
|
edccchk = pkgs.stdenv.mkDerivation {
|
|
name = "edccchk";
|
|
src = ./.;
|
|
installPhase = "install -m 755 -Dt $out/bin edccchk";
|
|
};
|
|
default = self.packages.${system}.edccchk;
|
|
};
|
|
apps = {
|
|
edccchk =
|
|
flake-utils.lib.mkApp { drv = self.packages.${system}.edccchk; };
|
|
};
|
|
});
|
|
}
|