Skip to content

Commit 9f47422

Browse files
committed
fix: Include Dioxus.toml and diesel.toml in sourceFilter
It seems the base path setting hasn't been updated...
1 parent 3ab8017 commit 9f47422

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

flake.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@
119119
# Keep all source and /assets for building this crate
120120
sourceFilter = path: type:
121121
(craneLib.filterCargoSources path type)
122-
|| (builtins.match ".*assets/.*" path != null);
122+
|| (builtins.match ".*assets/.*" path != null)
123+
|| (builtins.match ".*Dioxus.toml" path != null)
124+
|| (builtins.match ".*diesel.toml" path != null);
123125
# Only keep Cargo.toml and Cargo.lock, for building dependencies
124126
manifestFilter = path: type:
125127
(craneLib.filterCargoSources path type)
@@ -131,8 +133,7 @@
131133

132134
npmDepsHash = "sha256-HRMLzN2s0CKjHXx23MAL4EURhzHhpb6gtSsocva6q8s=";
133135

134-
# Override the build command to generate the specific file you need
135-
# Adjust 'input.css' to whatever your source css file is named
136+
# Override the build command to generate tailwind css
136137
buildPhase = ''
137138
npx @tailwindcss/cli -i tailwind.css -o tailwind_output.css
138139
'';

0 commit comments

Comments
 (0)