nixpkgs/pkgs/test
Jacquin Mininger 7d67db3919 shellFor: Refactor for consistency and cross
This makes it work like work-on-multi from Reflex Platform. In
particular, rather than making `.env` from `shellFor`, we make `.env`
the primitive, and `shellFor` works by combining together the arguments
of all the packages to `generic-builder` and taking the `.env` of the
resulting mashup-package.

There are 2 benefits of this:

1. The dependency logic is deduplicated. generic builder just concatted
   lists, whereas all the envs until now would sieve apart haskell and
   system build inputs. Now, they both decide haskell vs system the same
   way: according to the argument list and without reflection.
   Consistency is good, especially because it mean that if the build
   works, the shell is more likely to work.

2. Cross is handled better. For native builds, because the
   `ghcWithPackages` calls would shadow, we through both the regular
   component (lib, exe, test, bench) haskell deps and Setup.hs haskell
   deps in the same `ghcWithPackages` call. But for cross builds we use
   `buildPackages.ghcWithPackages` to get the setup deps. This ensures
   everything works correctly.
2020-01-17 10:46:29 -05:00
..
cc-wrapper Merge remote-tracking branch 'upstream/master' into staging 2018-06-18 15:30:39 -04:00
cross wasm: init cross target 2019-04-23 21:48:57 -04:00
haskell-shellFor shellFor: Refactor for consistency and cross 2020-01-17 10:46:29 -05:00
ld-library-path pkgs/tests: Add test for LD_LIBRARY_PATH 2018-08-01 19:02:21 +03:00
macos-sierra-shared treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
mkOption Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
nixos-functions pkgs/test/nixos-functions: use dummy versioning 2018-11-19 19:26:52 +00:00
patch-shebangs treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
simple Remove cruft 2016-04-26 17:31:54 +02:00
stdenv-inputs treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
default.nix shellFor: Refactor for consistency and cross 2020-01-17 10:46:29 -05:00
kernel.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00