nixpkgs/pkgs/development
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
..
androidndk-pkgs treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
arduino treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
beam-modules treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
bower-modules/generic
compilers Merge together merge bases of 19.09 and master 2020-01-15 18:54:36 -05:00
coq-modules treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
dhall-modules
dotnet-modules/patches
em-modules/generic treewide: Get rid of most parseDrvName without breaking compat 2019-11-24 17:22:28 +00:00
go-modules
go-packages
guile-modules tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
haskell-modules shellFor: Refactor for consistency and cross 2020-01-17 10:46:29 -05:00
idris-modules
interpreters stdenv: Introduce hasCC attribute 2019-11-25 00:12:38 +00:00
java-modules treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
libraries treewide: Get rid of most parseDrvName without breaking compat 2019-11-24 17:22:28 +00:00
lisp-modules treewide: Get rid of most parseDrvName without breaking compat 2019-11-24 17:22:28 +00:00
lua-modules lua*Packages.lua-yajl: init at 2.0-1 2019-09-07 23:05:55 +09:00
misc treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
mobile treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
node-packages Merge staging-next into staging 2019-08-28 08:26:42 +02:00
ocaml-modules treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
perl-modules treewide: Get rid of most parseDrvName without breaking compat 2019-11-24 17:22:28 +00:00
pharo treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
pure-modules tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
python-modules python.pkgs.MySQL_python: remove 2019-09-09 13:18:07 +01:00
r-modules treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
ruby-modules treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
tools treewide: Get rid of most parseDrvName without breaking compat 2019-11-24 17:22:28 +00:00
web Merge branch 'master' into staging-next 2019-09-06 03:20:09 +02:00