1
0
Fork 0
www/flake.nix

32 lines
615 B
Nix

{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/23.11";
outputs = { self, nixpkgs }: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pyenv = pkgs.python3.withPackages (pypkgs: [
pypkgs.markdown
pypkgs.beautifulsoup4
pypkgs.feedgen
]);
in {
packages.${system} = {
inherit pyenv;
};
devShells.${system} = {
default = pkgs.mkShell {
packages = [
pyenv
pkgs.inotify-tools
pkgs.rsync
pkgs.pagefind
];
shellHook = ''
make help
'';
};
};
};
}