about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorGabriel Gonzalez <Gabriel439@gmail.com>2020-05-09 19:16:06 -0700
committerProfpatsch <mail@profpatsch.de>2020-06-17 15:57:21 +0200
commit459cf94991754d391f7808bbc306f52653298ada (patch)
tree63793bfff1d73bde5a11205e601a6ecf7f38a1bb /pkgs/development/libraries
parent2ee84ca8e2adb0ef5b5ea52ad38fe0e107893d3e (diff)
downloadnixlib-459cf94991754d391f7808bbc306f52653298ada.tar
nixlib-459cf94991754d391f7808bbc306f52653298ada.tar.gz
nixlib-459cf94991754d391f7808bbc306f52653298ada.tar.bz2
nixlib-459cf94991754d391f7808bbc306f52653298ada.tar.lz
nixlib-459cf94991754d391f7808bbc306f52653298ada.tar.xz
nixlib-459cf94991754d391f7808bbc306f52653298ada.tar.zst
nixlib-459cf94991754d391f7808bbc306f52653298ada.zip
Nixpkgs support for `dhall-to-nixpkgs`
The motivation for this change is to enable a new Dhall command-line
utility called `dhall-to-nixpkgs` which converts Dhall packages to
buildable Nix packages.  You can think of `dhall-to-nixpkgs` as the
Dhall analog of `cabal2nix`.

You can find the matching pull request for `dhall-to-nixpkgs` here:

https://github.com/dhall-lang/dhall-haskell/pull/1826

The two main changes required to support `dhall-to-nixpkgs` are:

* Two new `buildDhall{Directory,GitHub}Package` utilities are added

  `dhall-to-nixpkgs` uses these in the generated output

* `pkgs.dhallPackages` now selects a default version for each package
  using the `prefer` utility

  All other versions are still buildable via a `passthru` attribute
Diffstat (limited to 'pkgs/development/libraries')
0 files changed, 0 insertions, 0 deletions