Use nix-direnv flake support.

This commit is contained in:
CronyAkatsuki 2024-03-07 19:48:00 +01:00
parent 3217a3dec1
commit 14c3e8d466
3 changed files with 44 additions and 1 deletions

15
flake.nix Normal file
View file

@ -0,0 +1,15 @@
{
description = "hb-downloader";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.x86_64-linux.default = ( import ./shell.nix { inherit pkgs; });
};
}