nixpkgs/pkgs/development
Gabriel Gonzalez 87d5e6fc1a Change idiom for overriding Dhall package version
Before this change, a Dhall package like the Prelude would be
encoded as a record with one field per supported version.  Then
downstream packages would specify which package to override
by selecting a different record field.

The problem with that approach is that it did not provide an
easy way to override a package to a version other than the default
ones supplied by Nixpkgs.  Normally you would use the `.override`
method for this purpose, but the `override` method added by
`buildDhall{Directory,GitHub}Package` is clobbered by the
`override` method added by `callPackage` in
`./pkgs/top-level/dhall-packages.nix`.

The solution is to add a separate `.overridePackage` method which is
essentially the exact same as `.override`, except that it is no
longer clobbered by `callPackage`.  This `.overridePackage` method
allows one to override the arguments supplied to
`buildDhall{Directory,GitHub}Package`, making it easier to specify
package versions outside of the ones supported by Nixpkgs..

This also includes a change to only build one (preferred) version of each
package (instead of multiple supported versions per package), in order to
minimize the maintenance burden for the Dhall package set.
2020-11-11 11:16:04 +01:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
chez-modules
compilers fsharp41: Add patch to avoid type inference error. (#103223) 2020-11-10 12:52:13 +00:00
coq-modules
dhall-modules Change idiom for overriding Dhall package version 2020-11-11 11:16:04 +01:00
dotnet-modules
em-modules/generic
go-modules buildGoModule: copy vendor instead of symlinking 2020-11-06 13:55:46 +10:00
go-packages
guile-modules
haskell-modules cachix: bump to 0.5.1 2020-11-09 20:17:41 +01:00
idris-modules idris-modules: add final newline to TODO.md 2020-11-09 11:39:28 +00:00
interpreters Change idiom for overriding Dhall package version 2020-11-11 11:16:04 +01:00
java-modules
libraries Merge pull request #102918 from omasanori/opencv/update-2.4.13.7 2020-11-11 10:56:23 +01:00
lisp-modules
lua-modules
misc
mobile cocoapods-beta: 1.10.0.beta.2 -> 1.10.0 2020-11-07 20:30:27 -05:00
node-packages rust-analyzer: 2020-10-19 -> 2020-11-02 2020-11-07 01:29:51 +08:00
ocaml-modules ocaml-libvirt: 0.6.1.4.2017-11-08-unstable -> 0.6.1.5 2020-11-10 05:57:39 +01:00
perl-modules
pharo
php-packages Merge pull request #102734 from r-ryantm/auto-update/php-event 2020-11-04 18:29:41 +01:00
pure-modules
python-modules python37Packages.snowflake-connector-python: 2.3.4 -> 2.3.5 2020-11-10 22:35:39 -08:00
r-modules
ruby-modules
tools Merge pull request #103341 from r-ryantm/auto-update/act 2020-11-11 04:16:35 -05:00
web Merge pull request #103405 from r-ryantm/auto-update/flyctl 2020-11-11 03:51:56 -05:00