NixOS/nix — pull request #230 by redbaron (2014-03-29 11:52:32+00:00)
Title: Fix nix-shell for derivation with multiple outputs

If derivation declares multiple outputs and first (default) output
if not "out", then "nix-instantiate" calls return path with output
names appended after "!". Than suffix must be stripped before
ant path checks are done.