Skip to content

Commit

Permalink
Merge pull request #388 from obsidiansystems/km-fix-mobile-assets
Browse files Browse the repository at this point in the history
Fix mobile asset injection in default builds
  • Loading branch information
ali-abrar authored Mar 30, 2019
2 parents 8612cca + df3d931 commit cf74ee2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -304,16 +304,18 @@ in rec {
${if android == null then null else frontendName} = {
executableName = "frontend";
${if builtins.pathExists staticFiles then "assets" else null} =
(if configPath == null then lib.id else nixpkgs.obeliskExecutableConfig.platforms.android.inject (injectableConfig configPath))
processedStatic.symlinked;
nixpkgs.obeliskExecutableConfig.platforms.android.inject
(if configPath == null then null else injectableConfig configPath)
processedStatic.symlinked;
} // android;
};
__ios = configPath: {
${if ios == null then null else frontendName} = {
executableName = "frontend";
${if builtins.pathExists staticFiles then "staticSrc" else null} =
(if configPath == null then lib.id else nixpkgs.obeliskExecutableConfig.platforms.ios.inject (injectableConfig configPath))
processedStatic.symlinked;
nixpkgs.obeliskExecutableConfig.platforms.ios.inject
(if configPath == null then null else injectableConfig configPath)
processedStatic.symlinked;
} // ios;
};
in {
Expand Down

0 comments on commit cf74ee2

Please sign in to comment.