hb-downloader/flake.nix

19 lines
583 B
Nix

{
description = "hb-downloader";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
};
outputs = { self, nixpkgs, flake-utils, pre-commit-hooks, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.x86_64-linux.default =
(import ./shell.nix { inherit pkgs pre-commit-hooks; });
packages.x86_64-linux.default = (import ./default.nix { inherit pkgs; });
};
}