nix: added a basic shell providing nix & tea

progresses #1
This commit is contained in:
Fiscal Velvet Poet 2023-05-02 13:28:43 +10:00 committed by Fiscal Velvet Poet
parent 320b74fa81
commit b1f14470ac
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47
2 changed files with 12 additions and 0 deletions

View file

@ -23,5 +23,6 @@
type = "app";
program = "${flake.packages."skeleton-web:exe:site"}/bin/site";
};
devShell = pkgs.callPackage ./shell.nix {};
}
)

11
shell.nix Normal file
View file

@ -0,0 +1,11 @@
{
pkgs ? import <nixpkgs> {},
mkShell,
}:
with pkgs;
mkShell {
buildInputs = [
nix # Powerful package manager, makes packaging reliable & reproducible
tea # Gitea official CLI client
];
}