Purity: don't look for library dependencies (of the form `-lfoo') in /lib and /usr/lib. Likewise, when searching for included Makefiles, don't look in /usr/include and friends. Patch from Nixpkgs, by Eelco Dolstra. diff -rc make-3.81-orig/src/read.c make-3.81/src/read.c *** make-3.81-orig/src/read.c 2006-03-17 15:24:20.000000000 +0100 --- make-3.81/src/read.c 2007-05-24 17:16:31.000000000 +0200 *************** *** 99,107 **** --- 99,109 ---- #endif INCLUDEDIR, #ifndef _AMIGA + #if 0 "/usr/gnu/include", "/usr/local/include", "/usr/include", + #endif #endif 0 }; diff -rc make-3.81-orig/src/remake.c make-3.81/src/remake.c *** make-3.81-orig/src/remake.c 2006-03-20 03:36:37.000000000 +0100 --- make-3.81/src/remake.c 2007-05-24 17:06:54.000000000 +0200 *************** *** 1452,1460 **** --- 1452,1462 ---- static char *dirs[] = { #ifndef _AMIGA + #if 0 "/lib", "/usr/lib", #endif + #endif #if defined(WINDOWS32) && !defined(LIBDIR) /* * This is completely up to the user at product install time. Just define ref='/guix/about/'>aboutsummaryrefslogtreecommitdiff
path: root/build-aux/build-self.scm
AgeCommit message (Collapse)Author
2021-11-27build-self: Help users to submit useful bug reports.Tobias Geerinckx-Rice
* build-aux/build-self.scm (build): Request the ‘COMPLETE output’.
2021-04-29download: Use Disarchive as a last resort.Timothy Sample
This is a fixed version of 66b14dccdd0d83c875ce3a8d50ceab8b6f0a3ce2, which was reverted in e74250c3c535b75dd2225a26df51febb7ed94654. * guix/download.scm (%disarchive-mirrors): New variable. (%disarchive-mirror-file): New variable. (built-in-download): Add 'disarchive-mirrors' keyword argument and pass its value along to the 'builtin:download' derivation. (url-fetch): Pass '%disarchive-mirror-file' to 'built-in-download'. * guix/scripts/perform-download.scm (perform-download): Read Disarchive mirrors from the environment and pass them to 'url-fetch'. * guix/build/download.scm (disarchive-fetch/any): New procedure. (url-fetch): Add 'disarchive-mirrors' keyword argument, use it to make a list of URIs, and use the new procedure to fetch the file if all other methods fail. * build-aux/build-self.scm (build-program)[select?]: Exclude '(guix build download)'. * guix/self.scm (compiled-guix)[*core-modules*]: Add 'guile-json' to the list of extensions.
2021-04-01build-self: Take care of the spinner in the parent process.Ludovic Courtès
This simplifies code and mostly ensures we don't print a spinner while there's build activity going on. * build-aux/build-self.scm (build-program): Remove 'spin' and 'call-with-new-thread' call from "compute-guix-derivation" body. Remove "Computing Guix derivation" message. (proxy): Pass extra argument to 'select'. Display a spinner when 'select' returns empty lists. (build): Print "Computing Guix derivation" message here.
2021-04-01build-self: Forward sub-process build output to (current-build-output-port).Ludovic Courtès
Fixes <https://bugs.gnu.org/41930>. * build-aux/build-self.scm (build-program): Add extra 'build-output' parameter. Interpret it as a socket name and connect to it; use it as the CURRENT-BUILD-OUTPUT-PORT. (proxy): New procedure. (build): Open a named socket. Accept connections and call 'proxy' on it.
2021-03-19build-self: Silent Guile warnings while computing the derivation.Ludovic Courtès
In particular, silence the Guile-Git autoload warnings introduced by c1940fde43c7aca37d67589cc5cb248086d17d56. * build-aux/build-self.scm (build-program): Wrap 'guix-derivation' call in 'parameterize'.