hb-downloader/flake.nix

19 lines
583 B
Nix
Raw Permalink Normal View History

2024-03-07 19:48:00 +01:00
{
2024-03-19 13:55:19 +01:00
description = "hb-downloader";
2024-03-19 14:07:26 +01:00
inputs = {
2024-03-19 14:10:17 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
};
2024-03-07 19:48:00 +01:00
2024-03-19 14:10:17 +01:00
outputs = { self, nixpkgs, flake-utils, pre-commit-hooks, ... }:
2024-03-19 13:55:19 +01:00
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
2024-03-19 14:10:17 +01:00
devShells.x86_64-linux.default =
(import ./shell.nix { inherit pkgs pre-commit-hooks; });
2024-03-19 13:55:19 +01:00
packages.x86_64-linux.default = (import ./default.nix { inherit pkgs; });
};
2024-03-07 19:48:00 +01:00
}