guix-play/guix
Ludovic Courtès b3e2a5af9f build-system/python: Memoize the results of 'package-with-python2'.
Fixes <http://bugs.gnu.org/21675>.
Reported by Cyril Roelandt <tipecaml@gmail.com>.

Before this change, the command:

  guix build python2-oslo.utils -n --no-substitutes

would take 17.5s.  After, it is down to 2.9s.
Likewise, the command:

  guix graph python2-bandit | grep python2-setuptools.*Helve| wc -l

would return 412 nodes before, all functionally equivalent, and returns
a single one now.

* guix/build-system/python.scm (package-with-explicit-python): Remove
  'p' parameter.  Change to return a one-argument memoizing procedure.
  (package-with-python2): Adjust accordingly.
2015-10-13 00:06:11 +02:00
..
build Merge branch 'master' into core-updates 2015-10-07 23:55:17 -04:00
build-system build-system/python: Memoize the results of 'package-with-python2'. 2015-10-13 00:06:11 +02:00
import import: snix: Adjust names of license attributes. 2015-10-06 23:51:04 +02:00
scripts guix system: Add '--derivation'. 2015-10-10 22:46:15 +02:00
base32.scm
base64.scm
build-system.scm
config.scm.in utils: Remove Nixpkgs helpers. 2015-10-06 23:51:04 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cvs-download.scm
derivations.scm derivations: Improve docstring of 'substitution-oracle'. 2015-07-22 22:56:41 +02:00
download.scm Update CRAN mirrors. 2015-09-21 10:48:26 +02:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Add 'scheme-file'. 2015-10-10 22:46:15 +02:00
git-download.scm download: Disable offloading for downloads. 2015-09-05 22:11:03 +02:00
gnu-maintenance.scm gnu-maintenance: Use 'home-page' as an additional hint of "GNUness". 2015-06-16 10:31:12 +02:00
gnupg.scm
hash.scm
http-client.scm http-client: Backport Guile fix for 'read-chunk-header'. 2015-09-26 11:13:50 +02:00
licenses.scm licenses: Add Zope Public License. 2015-09-22 14:57:00 +02:00
monad-repl.scm
monads.scm monads: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm
packages.scm packages: Use locales from the /X.Y sub-directory of the locale package. 2015-10-04 10:19:42 +02:00
pk-crypto.scm
pki.scm
profiles.scm Use "normalized codesets" everywhere. 2015-10-04 00:10:03 +02:00
records.scm records: Remove unnecessary 'begin'. 2015-06-11 23:33:32 +02:00
scripts.scm emacs: Add 'guix-devel-build-package-source'. 2015-10-12 10:59:31 +03:00
search-paths.scm
serialization.scm
sets.scm
store.scm store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs. 2015-09-28 22:54:04 +02:00
svn-download.scm
tests.scm tests: 'open-connection-for-tests' takes an optional parameter. 2015-09-28 22:53:59 +02:00
ui.scm lint: Check non-translated package descriptions. 2015-09-24 22:46:20 +02:00
utils.scm utils: Add split procedure. 2015-10-09 12:17:01 -04:00