[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17122: More problems with --no-substitutes
From: |
Sree Harsha Totakura |
Subject: |
bug#17122: More problems with --no-substitutes |
Date: |
Thu, 27 Mar 2014 17:51:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/27/2014 05:12 PM, Mark H Weaver wrote:
> Until we get this straightened out, what's the most reliable way for me to
> hack the code to ensure that substitutes cannot work, ever?
As a hack, you can try removing the code after the first line from
nix/scripts/substitute-binary.in and just have the script exit a return value
of 1. (you'll have to run config.status and make install after that).
This script substitute-binary when installed, is called by the daemon to fetch
the substitutes. If you just return 1 without doing anything in this script,
I am guessing the daemon would fall back to build locally.
Sree
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQEcBAEBAgAGBQJTNFb1AAoJECthXLMALpxGi1kIALlZqaI3a0/j/cUuxoqGBHzs
qIZEsTa9xTpkXR2K7DUl8IHjbHUDNlTcj+s8tnuREHUIeBcy+pxECLp5664Zxby0
/OqnVeEad+CgFS5kT3EfpvH5uVJ1kfP/OxYFgyp3hdIxyvh6pKc80M7wVjGiMyLt
zjFzkkVNrMijp9jnIBUbeCcBsTnK7FIEZfKL1Jo6hMdQV/5HEE2KLQiWMp42pDCP
HEd2y5umybZ3x2uDxmTADwaYC/ZUidKLvAwccV5P2PYGLn2ajpq2OO9xLHr5H9Bh
4wexsWWgXd8+ynAm3belv6FBdEMcyRA8oLvlWUF7aLZfoV5jfo6lAg5LBvnfBSU=
=kU5j
-----END PGP SIGNATURE-----