dhyan/flake.nix

24 lines
536 B
Nix
Raw Normal View History

2022-06-18 01:26:53 -07:00
{
description = "An album of the day chooser";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
};
outputs = { self, nixpkgs }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
devShell.x86_64-linux = pkgs.mkShell {
buildInputs = with pkgs; [
babashka
];
shellHook = ''
[[ -z $token ]] && echo "::dhyan:: Necessary Env Var missing: token"
2022-06-19 05:45:34 -07:00
[[ -z $folder ]] && echo "::dhyan:: Necessary Env Var missing: folder"
'';
2022-06-18 01:26:53 -07:00
};
};
}