]> Repositories - hackapet-example.git/blob - flake.nix
Setup example
[hackapet-example.git] / flake.nix
1 {
2         inputs = {
3                 nixpkgs.url = "nixpkgs";
4
5                 hackapet = {
6                         url = "git+https://git.ayoreis.com/hackapet.git";
7                         inputs.nixpkgs.follows = "nixpkgs";
8                 };
9         };
10
11         outputs = { nixpkgs, hackapet, ... }: let
12                 system = "x86_64-linux";
13                 pkgs = nixpkgs.legacyPackages.${system};
14         in {
15                 devShells.${system}.default = pkgs.mkShell {
16                         packages = with pkgs; [
17                                 (python3.withPackages (_: [ hackapet.packages.${system}.default ]))
18                         ];
19                 };
20         };
21 }