@@ -263,7 +263,7 @@ rec {
263 , ios ? null #TODO: Better error when missing
263 , ios ? null #TODO: Better error when missing
264 , packages ? {}
264 , packages ? {}
265 , overrides ? _: _: {}
265 , overrides ? _: _: {}
266− , staticPath ? base + /static
266+ , staticFiles ? base + /static
267 , tools ? _: []
267 , tools ? _: []
268 , shellToolOverrides ? _: _: {}
268 , shellToolOverrides ? _: _: {}
269 , withHoogle ? false # Setting this to `true` makes shell reloading far slower
269 , withHoogle ? false # Setting this to `true` makes shell reloading far slower
@@ -272,7 +272,7 @@ rec {
272 backendName = "backend";
272 backendName = "backend";
273 commonName = "common";
273 commonName = "common";
274 staticName = "static";
274 staticName = "static";
275− processedStatic = processAssets { src = staticPath; };
275+ processedStatic = processAssets { src = staticFiles; };
276 # The packages whose names and roles are defined by this package
276 # The packages whose names and roles are defined by this package
277 predefinedPackages = filterAttrs (_: x: x != null) {
277 predefinedPackages = filterAttrs (_: x: x != null) {
278 ${frontendName} = nullIfAbsent (base + "/frontend");
278 ${frontendName} = nullIfAbsent (base + "/frontend");
@@ -313,14 +313,14 @@ rec {
313 android = {
313 android = {
314 ${if android == null then null else frontendName} = {
314 ${if android == null then null else frontendName} = {
315 executableName = "frontend";
315 executableName = "frontend";
316− ${if builtins.pathExists staticPath then "assets" else null} =
316+ ${if builtins.pathExists staticFiles then "assets" else null} =
317 executableConfig.platforms.android.inject injectableConfig processedStatic.symlinked;
317 executableConfig.platforms.android.inject injectableConfig processedStatic.symlinked;
318 } // android;
318 } // android;
321 ${if ios == null then null else frontendName} = {
321 ${if ios == null then null else frontendName} = {
322 executableName = "frontend";
322 executableName = "frontend";
323− ${if builtins.pathExists staticPath then "staticSrc" else null} =
323+ ${if builtins.pathExists staticFiles then "staticSrc" else null} =
324 executableConfig.platforms.ios.inject injectableConfig processedStatic.symlinked;
324 executableConfig.platforms.ios.inject injectableConfig processedStatic.symlinked;
325 } // ios;
325 } // ios;