[Nix-dev] Audacity, I know why it won't build, Need strategy recommendations please
Tony White
tonywhite100 at googlemail.com
Tue Oct 20 00:55:23 CEST 2009
2009/10/16 Michael Raskin <7c6f434c at mail.ru>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tony White wrote:
>> What I really need is a suggestion on how to download, use and then
>> discard the sources for each dep like libmad that audacity seems to
>> want the source code for. Obviously having an expression for source
>> code which is just a build time dep wastes space in the nix store
>> because it won't be used again unless audacity is recompiled.
>>
>> Is there an elegant and simple way that anyone can suggest for me to try?
>
> Thanks for looking into the problem. I guess ${libmad.src} should work,
> at least it works for absolute majority of packages (mkDerivation leaves
> the argument src in the output).
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJK2B3QAAoJEE6tnN0aWvw3lMgIAIDrl5AQwQETaRLSNR6l7j/i
> Yr1sWi/0+QjRYor4LTDiMl5MUf4C8tJaTZVuVfw2KiLmyYFKtU4K7zVMEg1fZ5KU
> tz1PEAJ8QVb2uZnQfdYbEekIu59Qovo3od7a5oSIxZSh0u7kTRvLzjz9COT7y1xw
> uaMqyWw1jVUiCzWIfqKgRrxsPg0/WIhFFH7T5YuelQZUz/fhEz9R/97m/DqVwLpr
> 89jmR9Sft9nwlpUnj8jBsbhYWART1gZclNoqVzIwXCHcaW9LigqzwuTzhzcXxVa2
> oyZXVERdy840LPHymZIgT7HaEFf4gdmEgLebkpDiN4OLtDfjco2+rwioMew3WR4=
> =UB8f
> -----END PGP SIGNATURE-----
>
Thanks Michael,
I've used your suggestion for ${libmad.src} and it works quite well.
Although I really wish I could work out why audacity is not taking the
shared libs available, even when I specify them explicitly.
I've managed to get a successful build with most options turned on.
Now I have a build running with everything turned on with as many
system libs being used as I have time to add and which the build
scripts have been able to pick up.
Thanks for the help,
Tony
More information about the nix-dev
mailing list