Skip to content

Add mkWrapper example#24

Merged
CMCDragonkai merged 1 commit intomasterfrom
wrap-deps
Aug 1, 2020
Merged

Add mkWrapper example#24
CMCDragonkai merged 1 commit intomasterfrom
wrap-deps

Conversation

@nzhang-zh
Copy link
Copy Markdown
Contributor

Alternative to #23

Instead of baking nix store path into the binary, use the wrapProgram utility in postFix stage to put the nix store path onto application's PATH.

This requires moving back to using cabal.nix as the auto generated expression from cabal2nix and override the drv in default.nix to add the postFix.

@nzhang-zh nzhang-zh requested a review from CMCDragonkai August 1, 2020 03:03
@nzhang-zh
Copy link
Copy Markdown
Contributor Author

Related to #7

@CMCDragonkai CMCDragonkai merged commit 7e4e665 into master Aug 1, 2020
@CMCDragonkai CMCDragonkai deleted the wrap-deps branch August 1, 2020 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants