
You could try setting the TAR_OPTIONS environment variable before running
Setup:
TAR_OPTIONS="--format=ustar" runhaskell Setup.hs sdist
On Sat, May 24, 2014 at 11:41 PM, Magnus Therning
Lately my attempts at creating tar-balls for uploading to Hackage have been failing. I use the standard `./Setup.hs sdist` method to generate tar-balls, but apparently that uses `/usr/bin/tar` (GNU tar), which defaults to the 'gnu' format, while Hackage requires the 'ustar' format.
Is there some way to pass arguments to `tar` when using `./Setup.hs sdist`?
/M
-- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus
Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more fun, and it comes without a 30-day, money-back guarantee. -- Steve McConnell, Code Complete
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
On Sat, May 24, 2014 at 11:41 PM, Magnus Therning
Lately my attempts at creating tar-balls for uploading to Hackage have been failing. I use the standard `./Setup.hs sdist` method to generate tar-balls, but apparently that uses `/usr/bin/tar` (GNU tar), which defaults to the 'gnu' format, while Hackage requires the 'ustar' format.
Is there some way to pass arguments to `tar` when using `./Setup.hs sdist`?
/M
-- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus
Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more fun, and it comes without a 30-day, money-back guarantee. -- Steve McConnell, Code Complete
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe