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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c6c54c898b2e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2167fc90d5ee
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 7, 2020

  1. cabal2nix: split into a lightweight version and a wrapper

    Current, the `cabal2nix` derivation contains both the executable, and a wrapper
    that adds `nix` and `nix-prefetch-scripts`, which are required for some
    features.
    
    However, when calling `callCabal2nix` to create a derivation from a cabal file
    at evaluation time,
    these features are not actually used, but the huge closure of
    `nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
    still needs to be fetched.
    
    This commit splits cabal2nix into a lightweight version that is a standalone
    static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
    dependencies in the path for full usage of the command line
    utility (`cabal2nix`).
    
    This commit also switches to the default ghc, to reduce the likelyhood of
    building a different ghc when calling `callCabal2nix`.
    madjar authored and cdepillabout committed Mar 7, 2020
    Copy the full SHA
    9f46e2b View commit details
  2. Merge pull request #81125 from madjar/split-cabal2nix

    cabal2nix: split into a lightweight version and a wrapper
    cdepillabout authored Mar 7, 2020
    Copy the full SHA
    2167fc9 View commit details
Loading