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

Commits on Apr 19, 2020

  1. Additional docs for doJailbreak

    Yesterday with @infinisil on #nixos, he pointed me to: NixOS/jailbreak-cabal#7 after a good deal of time wrangling through a package to make it work. 
    The `nix-build -K` command, is very handy for debugging things like these, again I learnt from infinisil. 
    And after much experimenting and looking through, it turned out that jailbreaking wasn't working as expected, and its documentation could point it out to avoid future confusion.
    asheshambasta authored Apr 19, 2020
    Copy the full SHA
    2803da7 View commit details
  2. Merge pull request #85537 from asheshambasta/haskell-updates

    Additional docs for doJailbreak
    cdepillabout authored Apr 19, 2020
    Copy the full SHA
    536c1c6 View commit details
Showing with 5 additions and 0 deletions.
  1. +5 −0 pkgs/development/haskell-modules/lib.nix
5 changes: 5 additions & 0 deletions pkgs/development/haskell-modules/lib.nix
Original file line number Diff line number Diff line change
@@ -86,6 +86,11 @@ rec {
future.
Instead of jailbreaking, you can patch the cabal file.
Note that jailbreaking at this time, doesn't lift bounds on
conditional branches.
https://github.com/peti/jailbreak-cabal/issues/7 has further details.
*/
doJailbreak = drv: overrideCabal drv (drv: { jailbreak = true; });