[Nix-dev] Out-of-tree building for autotools packages in a Nix expression

Bjørn Forsman bjorn.forsman at gmail.com
Sun Sep 13 12:15:04 CEST 2015


On 13 September 2015 at 05:20, Anderson Torres
<torres.anderson.85 at gmail.com> wrote:
> Hello, Nixers!
>
> How can I instruct Nix to use an out-of-tree building in a GNU
> Autotools-based package? There are some packages I want to build, and
> generally the upstream developers recommend the building directory
> being out of the unpacked source tree.

I'm not aware of anything built into nix. I think you have to do it
manually, probably with preConfigure and configureScript.

- Bjørn


More information about the nix-dev mailing list