@@ -25,7 +25,7 @@ let
2525 # vary component config for tests
2626 {
2727 packages.test-with-packages.components = {
28− all.doExactConfig = false; # the default
28+ all.doExactConfig = mkForce false; # the default; use force because of quirk in all. See package.nix
2929 library.doExactConfig = true; # not the default
3030 };
3131 }
@@ -68,14 +68,15 @@ in
6868 '';
6969
7070 meta.platforms = platforms.all;
71−} // {
72− # Used for debugging with nix repl
73− inherit packages pkgSet;
71+ passthru = {
72+ # Used for debugging with nix repl
73+ inherit packages pkgSet;
7474
75− # Used for testing externally with nix-shell (../tests.sh).
76− # This just adds cabal-install to the existing shells.
77− test-shell = addCabalInstall packages.test-with-packages.components.all;
75+ # Used for testing externally with nix-shell (../tests.sh).
76+ # This just adds cabal-install to the existing shells.
77+ test-shell = addCabalInstall packages.test-with-packages.components.all;
7878
79− # A variant of test-shell with the component option doExactConfig enabled
80− test-shell-dec = addCabalInstall packages.test-with-packages.components.library;
79+ # A variant of test-shell with the component option doExactConfig enabled
80+ test-shell-dec = addCabalInstall packages.test-with-packages.components.library;
81+ };
8182}