#!/bin/bash
set -e

# To get infos
# nix-shell -p nix-info --run --extra-experimental-features nix-command "nix-info -m"

# nix-channel --update
# nix-env -iA nixpkgs.nix nixpkgs.cacert
# nix-shell --show-trace --option build-fallback true --run --extra-experimental-features nix-command 'bun install'
# nix-shell --show-trace --option build-fallback true --run --extra-experimental-features nix-commandfix-bun
# nix-shell --show-trace --option build-fallback true --run --extra-experimental-features nix-command build
nix run --extra-experimental-features nix-command --extra-experimental-features flakes .#check-lint
nix run --extra-experimental-features nix-command --extra-experimental-features flakes .#install
nix run --extra-experimental-features nix-command --extra-experimental-features flakes .#build
nix run --extra-experimental-features nix-command --extra-experimental-features flakes .#build-css
# nix-shell --run --extra-experimental-features nix-command "npm run css-default-theme"
# nix-shell --run --extra-experimental-features nix-command "npm run css-dark-theme"
# nix-shell --run--extra-experimental-features nix-command  "npm run css-herbie-theme"
# nix-shell --run--extra-experimental-features nix-command  "npm run css-monotony-theme"
# nix-shell --run--extra-experimental-features nix-command  "npm run css-greyson-theme"
