[Nix-dev] libffcall

Michael Raskin 7c6f434c at mail.ru
Thu Oct 29 17:01:33 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Simons wrote:
> fetches the source code from the CVS repository. Unfortunately, the CVS
> access doesn't work for me because my machine is behind a firewall that
> allows FTP and HTTP, but nothing else. Thus, I cannot build libffcall.

> Does anyone have a bright idea how to remedy this problem? Is there a
> way to "pre-fetch" the source code on a different machine, maybe? Or
> would it be possible to create a tarball of our own that can be
> downloaded from nixos.org?

1. If you have a computer with Nix installed, you can build
libffcall.src and then just "nix-store --export" the path.

2. Something like
stdenv.mkDerivation {
  buildCommand = "sleep 1d || true";
  sha256 = "...";
  name = "..";
}

Copy predownloaded checkout to $out, kill the sleep (there are cleaner
ways to do this, though). Should be enough.

3. Adding something.src to Hydra when a redistributable src is obtained
non-trivially
seems a good idea.. What do others think?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJK6bxcAAoJEE6tnN0aWvw3uJ0IALkB4281/JYwI6WxkHZNY61M
7htgtQ+/fyouWpRmPrUAQ2+Q7xjl+RIwSwO0Ouu3D1IEiFAIgvny/ipUDtNvodoj
eBE+6oN+XvX3xQNACXWjZPODl8tfJWdkoB+iixC5jcOqURoEVnaYASRICtJoxTiR
M3gWnvT6PUgtkpkZ+aDWEBP8GCCpQIG0W8+bNnhiIxX9WczM+VBJdogiVZTjQ6xU
oekiaPD/d1JOKQP0Kay/hxZvwcLYK43jVjfkoGtzEf79e4oI4XKQtDqDpY00nfsl
S1ZzDh0wmimfoJ+Tq7xmKcYlQ1HwrZTOsbMiPWc/hBh789D7mQniNQ/hstrycEo=
=V+vP
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list