Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cidkidnix committed Nov 20, 2023
1 parent bb4b0ad commit 05ae47e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haskell-overlays/profiling.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
with haskellLib;

let
preventMobileProfiling = (!self.ghc.stdenv.targetPlatform.isiOS) && enableLibraryProfiling;
preventMobileProfiling = self: (!self.ghc.stdenv.targetPlatform.isiOS) && enableLibraryProfiling;
in

self: super: {

# Override mkDerivation to inherit global settings
mkDerivation = expr: super.mkDerivation (expr // {
enableLibraryProfiling = preventMobileProfiling;
enableLibraryProfiling = preventMobileProfiling self;
});
}

0 comments on commit 05ae47e

Please sign in to comment.