* gnu/packages/python.scm (python-2)[arguments]: Use 'modify-phases'. Return
true from phases where needed. Add 'set-source-file-times-to-1980' phase.
Add (ice-9 ftw) to #:modules.
This is a followup to 161094c, which gets rid of the "a/b" notation for
propagated inputs.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Change reference from
"libc/linux-headers" to "linux-headers".
* gnu/packages/emacs.scm (magit-svn): Change "magit/git-modes" to
"git-modes".
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/ssh.scm (corkscrew)[arguments]: In custom configure phase,
accept 'build' keyword argument and pass it to configure in --build argument
and, if not cross-compiling, the --host argument. Previously, the nix
system string was passed.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/video.scm (liba52)[arguments]: Remove --build from configure
flags.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/linux.scm (sysfsutils-1)[arguments]: Remove field.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Remove field.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/multiprecision.scm (gmp)[arguments]: Remove field.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Accept #:build
keyword argument. Pass it to 'gnu-build' on the build side.
* guix/build/gnu-build-system.scm (configure): Accept #:build keyword
argument. Unless it is false, pass --build to configure.
There were two issues:
1. Use of 'delete-duplicates', which is quadratic, was a serious problem for
closures with lots of propagated inputs, such as that of the 'hydra'
package (several minutes for 'guix build hydra -n'!).
2. The 'delete-duplicates' call essentially had no effect since duplicate
inputs typically had a different label and were thus kept. For
instance, (bag-transitive-inputs (package->bag inkscape)) would return
216 items whereas (delete-duplicates (map cdr THAT)) contains only 67
items.
The new implementation returns 67 items in this case. For 'hydra', we're
down from 42211 items to 361, and roughly 13s for 'guix build hydra'.
* guix/packages.scm (transitive-inputs): Rewrite as a breadth-first
traversal. Remove duplicate propagated inputs.
* tests/packages.scm ("package-transitive-inputs", "package->bag, propagated
inputs"): Adjust to use simple labels for propagated inputs, without "/".
("package-transitive-inputs, no duplicates"): New test.
This is a followup to commit 5d6792f ("gnu: bootstrap: Create a wrapper for
guile to set the system load path.")
* tests/size.scm ("store-profile"): Expect profile of 'bash' bootstrap binary.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Expect GUILE-DRV to
depend on 'bash' bootstrap binary.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): On armhf,
include --with-fpu=neon.
* doc/guix.texi (GNU Distribution): Document that our armhf port
requires NEON.
* gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add procps.
(texinfo-5, texinfo-4)[native-inputs]: Override to be empty.
* gnu/packages/commencement.scm (texinfo-boot0)[texinfo]: Override
native-inputs to be empty.
This bug was introduced in commit 85c3127.
Thanks to Christopher Webber for reporting it.
* gnu/syste/linux-initrd.scm (base-initrd): Include (guix build syscalls)
module in derivation.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.