nvd/flake.nix

20 lines
491 B
Nix
Raw Normal View History

2021-07-06 22:59:35 +02:00
{
description = "nvd";
inputs = {
2022-05-23 18:47:16 +02:00
flake-utils.url = "github:numtide/flake-utils";
2021-07-06 22:59:35 +02:00
};
outputs = { self, flake-utils, nixpkgs, ... }: (flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
defaultApp = {
type = "app";
program = "${self.packages.${system}.nvd}/bin/nvd";
};
defaultPackage = self.packages.${system}.nvd;
packages.nvd = pkgs.callPackage ./default.nix { };
}
));
}