Skip to content

Commit 9e7ddaf

Browse files
committed
Make .profiled and .dwarf overridable
1 parent ab68554 commit 9e7ddaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/comp-builder.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ let
385385
inherit (package.identifier) version;
386386
nativeBuildInputs = [shellWrappers.drv] ++ attrs.nativeBuildInputs;
387387
});
388-
profiled = self (drvArgs // { enableLibraryProfiling = true; });
389-
dwarf = self (drvArgs // { enableDWARF = true; });
388+
profiled = lib.makeOverridable self (drvArgs // { enableLibraryProfiling = true; });
389+
dwarf = lib.makeOverridable self (drvArgs // { enableDWARF = true; });
390390
} // lib.optionalAttrs (haskellLib.isLibrary componentId || haskellLib.isTest componentId) ({
391391
inherit haddock;
392392
inherit (haddock) haddockDir; # This is null if `doHaddock = false`

0 commit comments

Comments
 (0)