on iko/ghcjs-patch-master help sign in
Delete noisy trace message (#526)
17f1f63Michael Peyton Jones
lib/call-cabal-project-to-nix.nix+2−2
@@ -173,7 +173,7 @@ let
173 else null;
173 else null;
174 } // pkgs.lib.optionalAttrs (checkMaterialization != null) {
174 } // pkgs.lib.optionalAttrs (checkMaterialization != null) {
175 inherit checkMaterialization;
175 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") {
177 nativeBuildInputs = [ nix-tools ghc hpack cabal-install pkgs.rsync pkgs.git ];
177 nativeBuildInputs = [ nix-tools ghc hpack cabal-install pkgs.rsync pkgs.git ];
178 # Needed or stack-to-nix will die on unicode inputs
178 # Needed or stack-to-nix will die on unicode inputs
179 LOCALE_ARCHIVE = pkgs.lib.optionalString (pkgs.stdenv.hostPlatform.libc == "glibc") "${pkgs.glibcLocales}/lib/locale/locale-archive";
179 LOCALE_ARCHIVE = pkgs.lib.optionalString (pkgs.stdenv.hostPlatform.libc == "glibc") "${pkgs.glibcLocales}/lib/locale/locale-archive";
@@ -247,5 +247,5 @@ let
247
247
248 # move pkgs.nix to default.nix ensure we can just nix `import` the result.
248 # move pkgs.nix to default.nix ensure we can just nix `import` the result.
249 mv $out/pkgs.nix $out/default.nix
249 mv $out/pkgs.nix $out/default.nix
250− ''));
250+ '');
251in { projectNix = plan-nix; inherit src; inherit (fixedProject) sourceRepos; }
251in { projectNix = plan-nix; inherit src; inherit (fixedProject) sourceRepos; }