guix/guix/build
Ludovic Courtès 8cef92d063
profiles: Move some of the work to the build side.
When running:

  guix environment --ad-hoc gnome --no-grafts --search-paths

this reduces wall-clock time by ~5%.  The number of object cache lookups
goes down from 96K to 89K.  (Note that 'gnome' is an interesting example
because it has many propagated inputs, which themselves have propagated
inputs too, which would lead to a long input list and a long manifest in
the 'profile-derivation' gexp.)

* guix/profiles.scm (profile-derivation)[inputs, search-paths]: Remove.
[extra-inputs]: New variable.
[builder]: Adjust call to 'build-profile'.
* guix/build/profiles.scm (manifest-sexp->inputs+search-paths): New
procedure.
(build-profile): Remove 'inputs' parameter; make 'manifest' the 2nd
positional parameter and add #:extra-inputs.  Call
'manifest-sexp->inputs+search-paths' to obtain 'inputs' and
'search-paths'.
2021-06-12 00:49:32 +02:00
..
maven
android-ndk-build-system.scm
android-repo.scm
ant-build-system.scm
asdf-build-system.scm build-system: asdf: Work around package-name->name+version bug. 2021-05-08 13:42:38 +02:00
bournish.scm
bzr.scm
cargo-build-system.scm
cargo-utils.scm
chicken-build-system.scm
clojure-build-system.scm
clojure-utils.scm
cmake-build-system.scm
compile.scm
copy-build-system.scm
cvs.scm
debug-link.scm
download-nar.scm
download.scm download: Restore error reporting. 2021-05-05 23:20:36 -04:00
dub-build-system.scm
dune-build-system.scm
emacs-build-system.scm build-system: emacs: Clarify %install-dir. 2021-05-05 10:01:48 +02:00
emacs-utils.scm
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm
gnu-bootstrap.scm
gnu-build-system.scm
gnu-dist.scm
go-build-system.scm
graft.scm grafts: Support rewriting UTF-16 and UTF-32 store references. 2021-04-15 03:22:55 -04:00
gremlin.scm
guile-build-system.scm
haskell-build-system.scm
hg.scm
java-utils.scm
json.scm
julia-build-system.scm
linux-module-build-system.scm
lisp-utils.scm
make-bootstrap.scm
maven-build-system.scm
meson-build-system.scm
minify-build-system.scm
node-build-system.scm
ocaml-build-system.scm
perl-build-system.scm
po.scm
profiles.scm profiles: Move some of the work to the build side. 2021-06-12 00:49:32 +02:00
python-build-system.scm
qt-build-system.scm build-system/qt: Fix wrapping with QTWEBENGINEPROCESS_PATH. 2021-04-10 00:55:18 -04:00
qt-utils.scm
r-build-system.scm
rakudo-build-system.scm
renpy-build-system.scm
rpath.scm
ruby-build-system.scm
scons-build-system.scm
store-copy.scm
svn.scm
syscalls.scm
texlive-build-system.scm
union.scm
utils.scm
waf-build-system.scm