Skip to content

Commit a668b88

Browse files
committed
chore(flake): update buildinputs
1 parent 41a6a38 commit a668b88

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

flake.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@
1919
inherit system overlays;
2020
};
2121
rust = pkgs.buildPackages.rust-bin.stable.latest.minimal;
22-
nativeBuildInputs = with pkgs; [
22+
buildInputs = with pkgs; [
2323
rust
2424
leptosfmt
2525
cargo-watch
2626
miniserve
2727
openssl
28-
];
29-
buildInputs = with pkgs; [
28+
tailwindcss
3029
pkg-config
3130
];
3231
in {
@@ -35,12 +34,12 @@
3534
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
3635
};
3736
devShells.${system}.default = pkgs.mkShell {
38-
inherit nativeBuildInputs buildInputs;
37+
inherit buildInputs;
3938
shellHook = ''mkdir -p out
4039
echo "Bienvenido al Blog."
4140
echo -e 'puede usar los comandos:
4241
\x1b[93m#[Para compilar y ejecutar el servidor web local]\x1b[0m
43-
cargo watch -x run --shell "npx tailwindcss -i ./input.css -o ./out/output.css && cargo run" &
42+
cargo watch -x run --shell "tailwindcss -i ./input.css -o ./out/output.css && cargo run" &
4443
\x1b[93m#[Para ejecutar o correr los archivos estáticos de tu sitio web localmente]\x1b[0m
4544
miniserve out --index index.html'
4645
'';

0 commit comments

Comments
 (0)