nixpkgs/pkgs
Bas van Dijk cee35739ff mkshell: improve mergeInputs
mergeInputs is now simply defined in terms of `concatLists` and
`catAttrs` instead of a more complicated `foldr`.

Note that the order of PATH has also changed. For example running the
following with nix-shell:

  let
    pkgs = import <nixpkgs> {};

    shell1 = pkgs.mkShell {
      buildInputs = [ pkgs.htop ];
    };

    shell2 = pkgs.mkShell {
      buildInputs = [ pkgs.hello ];
    };

    shell3 = pkgs.mkShell {
      inputsFrom = [ shell1 shell2 ];
      buildInputs = [ pkgs.tree ];
    };

  in shell3

Results in the following PATH:

$ echo $PATH
...
/nix/store/yifq4bikf7m07160bpia7z48ciqddbfi-tree-1.8.0/bin:
/nix/store/vhxqk81234ivqw1a7j200a1c69k8mywi-htop-2.2.0/bin:
/nix/store/n9vm3m58y1n3rg3mlll17wanc9hln58k-hello-2.10/bin
...

Previously the order was:

/nix/store/n9vm3m58y1n3rg3mlll17wanc9hln58k-hello-2.10/bin
/nix/store/vhxqk81234ivqw1a7j200a1c69k8mywi-htop-2.2.0/bin:
/nix/store/yifq4bikf7m07160bpia7z48ciqddbfi-tree-1.8.0/bin:

I think the new order makes more sense because it allows to override
the PATH in the outermost mkShell.
2019-06-23 22:20:10 +02:00
..
applications flexget: 2.21.2 -> 2.21.8 2019-06-23 15:02:41 +02:00
build-support mkshell: improve mergeInputs 2019-06-23 22:20:10 +02:00
common-updater common-updater-scripts: simplify fetchgit fix 2019-06-02 09:31:51 +02:00
data unifont_upper: 12.1.01 -> 12.1.02 2019-06-23 14:14:21 +02:00
desktops Update deepin packages (#63652) 2019-06-22 22:40:11 +02:00
development python.pkgs.soundfile: 0.9.0.post1 -> 0.10.2 2019-06-23 15:32:19 +02:00
games enyo-doom: 1.06 -> 1.06.9 2019-06-23 14:57:16 +02:00
misc vimPlugins.camelcasemotion: init at 2019-06-06 (#63683) 2019-06-23 13:02:48 +01:00
os-specific linux: 5.2-rc5 -> 5.2-rc6 2019-06-23 07:38:23 -04:00
servers neo4j: 3.5.5 -> 3.5.6 2019-06-23 14:55:22 +02:00
shells oh-my-zsh: 2019-06-15 -> 2019-06-15 2019-06-19 08:54:10 -04:00
stdenv treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
test treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
tools openapi-generator-cli: 4.0.0 -> 4.0.1 2019-06-23 15:01:58 +02:00
top-level python.pkgs.soundfile: 0.9.0.post1 -> 0.10.2 2019-06-23 15:32:19 +02:00