@@ -25,7 +25,7 @@ let
25 # vary component config for tests
25 # vary component config for tests
27 packages.test-with-packages.components = {
27 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
29 library.doExactConfig = true; # not the default
29 library.doExactConfig = true; # not the default
@@ -68,14 +68,15 @@ in
70 meta.platforms = platforms.all;
70 meta.platforms = platforms.all;
71−} // {
71+ passthru = {
72− # Used for debugging with nix repl
72+ # Used for debugging with nix repl
73− inherit packages pkgSet;
73+ inherit packages pkgSet;
75− # Used for testing externally with nix-shell (../tests.sh).
75+ # Used for testing externally with nix-shell (../tests.sh).
76− # This just adds cabal-install to the existing shells.
76+ # This just adds cabal-install to the existing shells.
77− test-shell = addCabalInstall packages.test-with-packages.components.all;
77+ test-shell = addCabalInstall packages.test-with-packages.components.all;
79− # A variant of test-shell with the component option doExactConfig enabled
79+ # A variant of test-shell with the component option doExactConfig enabled
80− test-shell-dec = addCabalInstall packages.test-with-packages.components.library;
80+ test-shell-dec = addCabalInstall packages.test-with-packages.components.library;