Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 2ee84ca8e2ad
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 459cf9499175
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Jun 17, 2020

  1. 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:
    
    dhall-lang/dhall-haskell#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
    Gabriella439 authored and Profpatsch committed Jun 17, 2020
    Copy the full SHA
    459cf94 View commit details
    Browse the repository at this point in the history