Skip to content

Commit 63da2af

Browse files
committed
WIP: DO NOT MERGE
We need to fix `forAllProjectsPackages`: ``` nix build .\#hydraJobs.x86_64-linux.required -j12 trace: evaluation warning: Explicitly set the ABI version of 'webkitgtk' error: … while calling the 'head' builtin at /nix/store/y8pbnccb8bc1p8fchx7zkb0874yblrg3-source/lib/attrsets.nix:1575:11: 1574| || pred here (elemAt values 1) (head values) then 1575| head values | ^ 1576| else … in the left operand of the update (//) operator at /nix/store/qgcnijjpgkdp0w9ld0iyxv76jk2wp0xx-source/lib/default.nix:404:29: 403| else 404| (b.${name} or {}) // (a.${name} or {}); | ^ 405| }) (__attrNames (a // b))); (stack trace truncated; use '--show-trace' to show the full trace) error: attribute 'package' missing at /nix/store/js4czlgq317dwr4zf1qr75xmk2pq6svr-source/nix/ouroboros-network.nix:27:27: 26| type = lib.types.attrsOf (lib.types.submodule ({ config, ... }: { 27| config = lib.mkIf config.package.isProject (cfg args); | ^ 28| })); ```
1 parent 2936e65 commit 63da2af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nix/ouroboros-network.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ let
8080
# package customizations as needed. Where cabal.project is not
8181
# specific enough, or doesn't allow setting these.
8282
modules = [
83-
(forAllProjectPackages ({ ... }: {
84-
ghcOptions = [ "-Werror" "-fno-ignore-asserts" ];
85-
}))
83+
# TODO: fix forAllProjectPackages
84+
# (forAllProjectPackages ({ ... }: {
85+
# ghcOptions = [ "-Werror" "-fno-ignore-asserts" ];
86+
# }))
8687
({ pkgs, ... }: {
8788
# We impose limit heap size limit when running some of the tests
8889
# to discover space leaks Once #4698 and #4699 are done we can

0 commit comments

Comments
 (0)