Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fixup! nix overlays: Fix build and use nixpkgs style
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Oct 2, 2018
1 parent 2d0604a commit acde183
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nix/overlays/faster-build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

{ pkgs, localLib }:

with localLib;

self: super: {
mkDerivation = args: super.mkDerivation (args // optionalAttrs (localLib.isCardanoSL args.pname) {
mkDerivation = args: super.mkDerivation (args // optionalAttrs (isCardanoSL args.pname) {
configureFlags = (args.configureFlags or []) ++ [ "--ghc-options=-O0" ];
});
}

0 comments on commit acde183

Please sign in to comment.