{ pkgs, lib, config, inputs, ... }: { name = "ai-game"; # https://devenv.sh/basics/ env = { GREET = "🛠️ Let's hack "; }; # https://devenv.sh/scripts/ scripts = { hello.exec = "echo $GREET"; cat.exec = "bat $@"; build.exec = "go build -o ./bin/"; show = { # Prints scripts that have a description # Adapted from https://github.com/cachix/devenv/blob/ef61728d91ad5eb91f86cdbcc16070602e7afa16/examples/scripts/devenv.nix#L34 exec = '' GREEN="\033[0;32m"; YELLOW="\033[33m"; NC="\033[0m"; echo echo -e "✨ Helper scripts you can run to make your development richer:" echo ${pkgs.gnused}/bin/sed -e 's| |••|g' -e 's|=| |' <