on iko/ghcjs-patch-master help sign in
Delete noisy trace message (#526)

This fires at least 3 times for every haskell.nix project (bootstrap happy, alex, and hscolor), and then again for every `cabalProject` and `hackage-package`. Moreover, it isn't actually informative: it just says `ghc` and `ghc-pkg` for the executables being used.

commit17f1f636743d6c79421a7584c845ba839753cc05 authorMichael Peyton Jones <michael.peyton-jones@iohk.io> dateTue 31 Mar 2020, 04:59 (7 years ago) parenteb15db0
1 file changed+2−2
lib/call-cabal-project-to-nix.nix+2−2
lib/call-cabal-project-to-nix.nix+2−2
@@ -173,7 +173,7 @@ let
173173 else null;
174174 } // pkgs.lib.optionalAttrs (checkMaterialization != null) {
175175 inherit checkMaterialization;
176− }) (builtins.trace "[${if name == null then "plan-to-nix-pkgs" else name + "-plan-to-nix-pkgs"}] cabal new-configure --with-ghc=${ghc.targetPrefix}ghc --with-ghc-pkg=${ghc.targetPrefix}ghc-pkg" (runCommand (if name == null then "plan-to-nix-pkgs" else name + "-plan-to-nix-pkgs") {
176+ }) (runCommand (if name == null then "plan-to-nix-pkgs" else name + "-plan-to-nix-pkgs") {
177177 nativeBuildInputs = [ nix-tools ghc hpack cabal-install pkgs.rsync pkgs.git ];
178178 # Needed or stack-to-nix will die on unicode inputs
179179 LOCALE_ARCHIVE = pkgs.lib.optionalString (pkgs.stdenv.hostPlatform.libc == "glibc") "${pkgs.glibcLocales}/lib/locale/locale-archive";
@@ -247,5 +247,5 @@ let
247247
248248 # move pkgs.nix to default.nix ensure we can just nix `import` the result.
249249 mv $out/pkgs.nix $out/default.nix
250− ''));
250+ '');
251251in { projectNix = plan-nix; inherit src; inherit (fixedProject) sourceRepos; }