mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
Additional docs for doJailbreak
Yesterday with @infinisil on #nixos, he pointed me to: peti/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.
This commit is contained in:
parent
8ab67c7a19
commit
32c8e793bc
|
@ -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; });
|
||||
|
||||
|
|
Loading…
Reference in a new issue