Autoreconf vs already configured source

I’ve just opened a PR to update the remake package cf The previous maintainer was using the sources from the release assets which were already configured (the ./configure file was already generated). So I thought that it would be better to compile directly from the “raw” sources and do the autoreconf step in nix.

It turns out that this step requires to download a few files from none stable links. I made it work with a new fetcher. The autoreconfHook step works and the sources build fine.

But the question remains : should we use preconfigured sources or should we always privilege autoreconfiguring in nix ?

I personally would prefer building “closest to source”, to make it easy to patch and customize. But in upstream is doing something that is really non-reproducible when building from the git source tree, so I’d lean towards using the released tarballs in that case. Ref.

1 Like