File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 83
83
hash = "sha256-X6VHTxVymZ76DLqDw6ZF59PRCEc7R5SVdcJ6qmrsXY4=" ;
84
84
} ;
85
85
# Build trunk derivation and resolve result folder with all output files
86
- my -app = craneLib . buildTrunkPackage ( commonArgs
86
+ web -app = craneLib . buildTrunkPackage ( commonArgs
87
87
// {
88
88
inherit cargoArtifacts ;
89
89
# Adding tailwind for build all styles pre trunk build and hashing files
102
102
} ) ;
103
103
# Serve via python3 http.server result folder in buildTrunkPackage derivation
104
104
serve-app = pkgs . writeShellScriptBin "serve-app" ''
105
- ${ pkgs . python3Minimal } /bin/python3 -m http.server -d ${ my -app} 8000
105
+ ${ pkgs . python3Minimal } /bin/python3 -m http.server -d ${ web -app} 8000
106
106
'' ;
107
107
# Custom derivation using source filtering and run leptosfmt check
108
108
leptosFmtCheck = { } :
118
118
{
119
119
# nix flake check
120
120
checks = {
121
- inherit my -app;
121
+ inherit web -app;
122
122
123
123
cargo-clippy = craneLib . cargoClippy ( commonArgs
124
124
// {
129
129
inherit src ;
130
130
cargoExtraArgs = "--all" ;
131
131
} ;
132
- my -app-leptosfmt = leptosFmtCheck { } ;
132
+ web -app-leptosfmt = leptosFmtCheck { } ;
133
133
} ;
134
134
135
135
# nix build
136
- packages . default = my -app;
136
+ packages . default = web -app;
137
137
138
138
# nix run
139
139
apps . default = flake-utils . lib . mkApp {
You can’t perform that action at this time.
0 commit comments