Files
edccchk/flake.nix
Hugh O'Brien ac64ca99e3 Add flake.nix
2024-12-05 04:10:47 -05:00

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; };
};
});
}