on master help sign in
Fix static files source for building server
commit585fdc7a77420a383221f43d3054a357ff73701a authorLuigy Leon <luigy.leon@obsidian.systems> dateTue 16 Oct 2018, 22:47 (8 years ago) parent7033e9b
1 file changed+2−2
default.nix+2−2
default.nix+2−2
@@ -324,10 +324,10 @@ rec {
324324 executableConfig.platforms.ios.inject injectableConfig processedStatic.symlinked;
325325 } // ios;
326326 };
327− passthru = { inherit android ios packages overrides tools shellToolOverrides withHoogle; };
327+ passthru = { inherit android ios packages overrides tools shellToolOverrides withHoogle staticFiles; };
328328 };
329329 in mkProject (projectDefinition args));
330− serverOn = sys: config: serverExe (projectOut sys).ghc.backend (projectOut system).ghcjs.frontend static config;
330+ serverOn = sys: config: serverExe (projectOut sys).ghc.backend (projectOut system).ghcjs.frontend (projectOut sys).passthru.staticFiles config;
331331 linuxExe = serverOn "x86_64-linux";
332332 in projectOut system // {
333333 linuxExeConfigurable = linuxExe;