oysteikt-homepage/shell.nix

12 lines
245 B
Nix
Raw Normal View History

2024-02-07 17:54:31 +01:00
{ pkgs ? import <nixpkgs> { }, ... }:
pkgs.mkShell {
packages = with pkgs; [
python3
];
shellHook = ''
alias serve='python3 -m http.server'
echo "$(tput setaf 001)run 'serve' to serve the local content...$(tput sgr0)"
'';
}