@@ -3,7 +3,7 @@
33, iosSdkVersion ? "10.2"
44}:
55let
6− getReflexPlatform = sys: import ./dep/reflex-platform { inherit iosSdkVersion; system = sys; };
6+ getReflexPlatform = sys: import ./dep/reflex-platform { inherit iosSdkVersion; system = sys; enableLibraryProfiling = profiling; };
77 reflex-platform = getReflexPlatform system;
88 inherit (reflex-platform) hackGet nixpkgs;
99 pkgs = nixpkgs;
@@ -48,10 +48,6 @@ let
4848 # The haskell environment used to build Obelisk itself, e.g. the 'ob' command
4949 ghcObelisk = reflex-platform.ghc.override {
5050 overrides = composeExtensions defaultHaskellOverrides (self: super: {
51− mkDerivation = args: super.mkDerivation (args // {
52− enableLibraryProfiling = profiling;
53− });
54−
5551 # Dynamic linking with split objects dramatically increases startup time (about 0.5 seconds on a decent machine with SSD)
5652 obelisk-command = addOptparseApplicativeCompletionScripts "ob" (justStaticExecutables' super.obelisk-command);
5753 });