Skip to content

Commit f5685cd

Browse files
committed
fix(nix): copy web build dir correctly, set doCheck not doChecks
1 parent e3c80b4 commit f5685cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@
134134
commonCraneArgs
135135
// {
136136
inherit cargoArtifacts cargoVendorDir;
137-
doChecks = false;
137+
doCheck = false;
138138
cargoExtraArgs = "--locked --no-default-features ${
139139
lib.optionalString (features != [ ]) ("--features " + lib.concatStringsSep "," features)
140140
}";
141141
preBuild = ''
142142
mkdir -p www/build
143-
cp -r ${www} www/build
143+
cp -r ${www}/* www/build
144144
'';
145145

146146
# NOTE: This makes build non-deterministic. It might be worth making builds in some contexts

0 commit comments

Comments
 (0)