Re: [Nix-dev] Automatic makeWrapper

2013-12-12 Thread Marc Weber
Excerpts from Tomasz Kontusz's message of Thu Dec 12 22:35:15 +0100 2013: > Would a system like this be useful, and is the proposed API sane? API no idea, nixpkgs-ruby-overlay has been using such for long to automatically make all bin/* ruby packages find their dependencies. Marc Weber ___

[Nix-dev] Automatic makeWrapper

2013-12-12 Thread Tomasz Kontusz
I want to write some automation for generating makeWrapper - I want packages to propagate what variables will be needed to use them, and build wrappers based on that. So far the API I think about is having "autoWrapper" function from set to set for preprocessing arguments to mkDerivation. Examp