From 769a81c48b53ed202f27e886511c82370fbcb665 Mon Sep 17 00:00:00 2001 From: Sokhibjon Orzikulov Date: Sun, 22 Dec 2024 07:12:06 +0500 Subject: [PATCH] chore: add tw to shell & fix test --- .github/workflows/test.yml | 4 ++-- shell.nix | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 329ce5d..8d3f1ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: run: nix flake check --all-systems --show-trace - name: Compile css - run: nix-shell --run "tailwindcss -i ./style/input.css -o ./style/output.css" + run: nix develop --command bash -c "tailwindcss -i ./style/input.css -o ./style/output.css" - name: Compile website - run: nix-shell --run "trunk build --release" + run: nix develop --command bash -c "trunk build --release" - name: Build via Nix run: nix build diff --git a/shell.nix b/shell.nix index 19b92ea..7376c8e 100644 --- a/shell.nix +++ b/shell.nix @@ -31,6 +31,9 @@ in # Launch scripts just + # Tailwind + tailwindcss + # Rust rustc cargo