on iko/ghcjs-patch-master help sign in
Fix #742 : packages in `additional` in `shellFor` are indeed added and displayed by ghc-pkg list as per documentation specification (#743)
commit7fec2a157c747096037416940cd4afcc898b5266 authorGuillaume Desforges <aceus02@gmail.com> dateFri 3 Jul 2020, 00:19 (6 years ago) parent76e1392
1 file changed+6−5
builder/shell-for.nix+6−5
builder/shell-for.nix+6−5
@@ -35,11 +35,12 @@ let
3535 removeSelectedInputs = lib.filter
3636 (input: lib.all (cfg: input != cfg.components.library or null) selected);
3737
38− packageInputs = removeSelected
39− (lib.concatMap (cfg: cfg.depends) selectedConfigs
40− ++ additionalSelected
41− ++ lib.concatMap (cfg: cfg.setup.config.depends or []) selected
42− );
38+ packageInputs =
39+ removeSelected
40+ (lib.concatMap (cfg: cfg.depends) selectedConfigs
41+ ++ lib.concatMap (cfg: cfg.setup.config.depends or []) selected
42+ )
43+ ++ additionalSelected;
4344
4445 # Add the system libraries and build tools of the selected haskell
4546 # packages to the shell.