Age | Commit message (Expand) | Author |
2018-09-03 | Merge branch 'master' into core-updates | Marius Bakke |
2018-09-02 | Add (guix describe) and use it to initialize '%package-search-path'....* guix/describe.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/packages.scm (%default-package-module-path): New variable.
(%package-module-path): Honor 'package-path-entries'.
* build-aux/update-NEWS.scm (main): Use %DEFAULT-PACKAGE-MODULE-PATH
instead of (last (%package-module-path)).
| Ludovic Courtès |
2018-09-02 | compile-as-derivation: Adjust %load-compiled-path....* build-aux/compile-as-derivation.scm: Set not only %load-path but also
%load-compiled-path. This can avoid problems where a stale .go is
loaded.
| Ludovic Courtès |
2018-07-27 | build-self: Default to Guile 2.2 when building a standalone Guix....* build-aux/build-self.scm (build): Change #:guile-version to default to
"2.2" when PULL-VERSION is greater than 0.
| Ludovic Courtès |
2018-07-27 | gnu: guile: Remove version 2.2.2....* gnu/packages/guile.scm (guile-2.2.2): Remove.
* guix/self.scm (guile-for-build): Remove special case for "2.2.2".
(guix-derivation): Likewise.
* build-aux/build-self.scm (build): Likewise.
| Ludovic Courtès |
2018-06-26 | build-self: Inherit the daemon connection from the parent process....Fixes <https://bugs.gnu.org/31892>.
Reported by Vagrant Cascadian <vagrant@debian.org>.
* build-aux/build-self.scm (build): Define 'port' and wrap 'open-pipe*'
call in 'with-input-from-port'.
(build-program): Use 'port->connection' or 'open-connection' instead of
'with-store.'
| Ludovic Courtès |
2018-06-21 | build-self: Avoid recompilations of 'compute-guix-derivation'....* build-aux/build-self.scm (build-program)["compute-guix-derivation"]:
Honor the SOURCE command-line argument. Add a VERSION command-line
argument and honor it.
(build): Pass VERSION to BUILD.
| Ludovic Courtès |
2018-06-18 | self: Define derived '-directory' variables in config.scm....This is a followup to d6b5aa0b031f0e7091f7424ac616d1c4d10fed5b.
* guix/self.scm (%config-variables): Remove %CONFIG-DIRECTORY,
%STATE-DIRECTORY, %STORE-DATABASE-DIRECTORY, and %STORE-DIRECTORY.
(make-config.scm): Define them here.
* build-aux/build-self.scm (%config-variables, make-config.scm):
Likewise.
| Ludovic Courtès |
2018-06-18 | build-self: Do not rely on '%store-database-directory'....Guix'es older than one week don't have this variable so requiring it
would break things for them.
* build-aux/build-self.scm (%config-variables): Remove
'%store-database-directory'.
| Ludovic Courtès |
2018-06-18 | build: Remove checks for 'nix-instantiate'....* guix/import/snix.scm (open-nixpkgs): Use "nix-instantiate"
unconditionally.
* configure.ac: Remove check for 'nix-instantiate'.
* guix/config.scm.in (%nix-instantiate): Remove.
* guix/self.scm (%dependency-variables): Remove '%nix-instantiate'.
(make-config.scm): Remove it from the generated "config.scm".
* build-aux/build-self.scm (%dependency-variables, make-config.scm):
Likewise.
| Ludovic Courtès |
2018-06-18 | self: Make (guix config) generation really stateless....Previously the %CONFIG-VARIABLES list would be generated based on what
the current (guix config) contains. Thus, it would include
'%guix-register-program', which we recently removed, because
existing (guix config) most likely contained that variable. Since its
value could differ from machine to machine, the build farm could be
building a different config.scm, thereby preventing people from getting
substitutes.
* guix/self.scm (%config-variables): Turn into a white list instead of
taking all the remaining variables from the current (guix config).
* build-aux/build-self.scm (%config-variables): Likewise.
| Ludovic Courtès |
2018-06-15 | hydra: Make sure we add an absolute file name to the load path....Previously, under Cuirass, we'd add "build-aux/cuirass/../hydra/../..".
But then, commit c45477d2a1a651485feede20fe0f3d15aec48b39 added this
in (gnu system vm):
(local-file (search-path %load-path
"guix/store/schema.sql"))
Since 'search-path' would not return an absolute file name, 'local-file'
would try to resolve that relative to "gnu/system", leading to:
ERROR: In procedure force:
In procedure canonicalize-path: No such file or directory: "/gnu/store/…-guix-ce573b1/gnu/system/build-aux/cuirass/../hydra/../../guix/store/schema.sql
* build-aux/hydra/gnu-system.scm <top level>: Canonicalize DIR before
adding it to %LOAD-PATH.
| Ludovic Courtès |
2018-06-14 | Remove 'guix-register' and its traces....* Makefile.am (SH_TESTS): Remove tests/guix-register.sh.
* build-aux/pre-inst-env.in (GUIX_REGISTER): Remove.
* gnu/build/install.scm (directives): Remove outdated comment.
* gnu/build/vm.scm (root-partition-initializer): Update comment.
* gnu/packages/package-management.scm (guix-register): Remove.
* guix/config.scm.in (%sbindir, %guix-register-program): Remove.
* guix/scripts/system.scm (install): Adjust docstring.
* guix/self.scm (make-config.scm): Remove #:guix. Do not generate
%sbindir and %guix-register-program.
(specification->package): Remove "guix".
* nix/guix-register/guix-register.cc: Remove.
* nix/libstore/store-api.cc (decodeValidPathInfo): Remove.
* nix/libstore/store-api.hh (decodeValidPathInfo): Remove declaration.
* nix/local.mk (sbin_PROGRAMS, guix_register_SOURCES)
(guix_register_CPPFLAGS, guix_register_LDFLAGS): Remove.
* tests/guix-register.sh: Remove.
| Ludovic Courtès |
2018-06-10 | hydra: guix-modular: Build the full Guix....* build-aux/hydra/guix-modular.scm (build-job): Pass #:pull-version to
BUILD.
| Ludovic Courtès |
2018-06-09 | pull: Install the new Guix in a profile....* guix/scripts/pull.scm (%pull-version): New variable.
(build-from-source): Pass #:pull-version to BUILD.
(whole-package-for-legacy, derivation->manifest-entry): New procedure.
(build-and-install): Rewrite in terms of 'build-and-use-profile'.
* guix/scripts/system.scm (maybe-suggest-running-guix-pull)[latest]:
Switch to "/current".
* scripts/guix.in (augment-load-paths!): Remove use of
~/.config/guix/latest.
* build-aux/compile-as-derivation.scm: Replace "/guix/latest/" with
"/current/share/guile/site/X.Y"
* guix/scripts.scm (warn-about-old-distro)[age]: Check "/current"
instead of "/latest".
* doc/guix.texi (Invoking guix pull): Document it.
* doc/contributing.texi (Running Guix Before It Is Installed): Remove
footnote about abusing ~/.config/guix/latest.
| Ludovic Courtès |
2018-06-09 | self: Produce a complete package with the 'guix' command....* guix/self.scm (guix-command): New procedure.
(compiled-guix): Add #:pull-version parameter.
[command, package]: New variables.
Honor PULL-VERSION.
(guix-derivation): Add #:pull-version and pass it to 'compiled-guix'.
* build-aux/build-self.scm (build-program): Add #:pull-version
parameter. Pass it to 'guix-derivation'.
(build): Add #:pull-version and pass it to 'build-program'.
* build-aux/compile-as-derivation.scm: Pass #:pull-version to BUILD.
| Ludovic Courtès |
2018-05-13 | build: 'test-env' does not 'guix download' non-existent files....Reported by uniq10.
* build-aux/test-env.in: Check whether FILE exists before invoking 'guix
download'.
| Ludovic Courtès |
2018-05-12 | hydra: Switch back to "-" instead of "@" in package job names....Fixes a regression introduced in ede121de426f9c56820852888a0b370f0ccbce49.
Reported by Mark H Weaver <mhw@netris.org>.
* build-aux/hydra/gnu-system.scm (job-name): Pass "-" as the second
argument to 'package-full-name'.
| Ludovic Courtès |
2018-04-22 | build: Fix possible race condition in 'test-env'....Reported by Mark H Weaver <mhw@netris.org>.
* build-aux/test-env.in: Add 'guile' invocation before 'guix download'
invocation to make sure 'guix-daemon' is listening.
| Ludovic Courtès |
2018-04-09 | hydra: Fix uses of 'eval-when'....* build-aux/hydra/gnu-system.scm: Use (expand load eval) in 'eval-when'
clause so as to not poison a cat and to ensure %load-compiled-path is
properly set when the 'use-modules' clauses are expanded.
* build-aux/hydra/guix.scm: Likewise.
| Ludovic Courtès |
2018-04-08 | hydra: guix-modular: Honor the 'systems' argument....* build-aux/hydra/guix-modular.scm (hydra-jobs)[systems]: Define as in
gnu-system.scm.
Honor SYSTEMS.
| Ludovic Courtès |
2018-04-08 | build-self: Add missing 'close-pipe' call....* build-aux/build-self.scm (build): Call 'close-pipe'.
| Ludovic Courtès |
2018-04-08 | hydra: guix-modular: Explicitly build for the latest 2.2....* build-aux/hydra/guix-modular.scm (build-job): Pass #:guile-version to
'build'.
| Ludovic Courtès |
2018-04-08 | hydra: Clear '%load-compiled-path' for gnu-system.scm....On hydra.gnu.org GUILE_LOAD_COMPILED_PATH happened to be empty so we
were fine. However on GuixSD with Cuirass, we could have a conflicting
non-empty path and .go files for some of the (guix …) and (gnu …)
modules would be taken from there.
* build-aux/hydra/gnu-system.scm: Set %load-compiled-path.
| Ludovic Courtès |
2018-04-08 | hydra: 'guix-modular' jobs use the new 'build-self'....* build-aux/hydra/guix-modular.scm: Remove 'eval-when' form that fiddled
with '%load-path'.
(build-job): Load 'build-aux/build-self.scm' and call the procedure it
returns.
* build-aux/hydra/evaluate.scm: The 'build-things' replacement no longer
calls 'exit'.
| Ludovic Courtès |
2018-04-08 | cuirass: Add job specs for the modular Guix....* build-aux/cuirass/guix-modular.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
| Ludovic Courtès |
2018-04-08 | cuirass: Factorize hydra-to-cuirass CI job translation....* build-aux/cuirass/gnu-system.scm: Move code to...
* build-aux/cuirass/hydra-to-cuirass.scm: ... here, and include it.
* Makefile.am (EXTRA_DIST): Add 'build-aux/cuirass/hydra-to-cuirass.scm'
and 'build-aux/cuirass/gnu-system.scm'.
| Ludovic Courtès |
2018-04-08 | build: Add 'as-derivation' target....* build-aux/compile-as-derivation.scm: New file.
* Makefile.am (as-derivation): New target.
(EXTRA_DIST): Add compile-as-derivation.scm.
| Ludovic Courtès |
2018-04-08 | build-self: Use (guix self)....This mitigates <https://bugs.gnu.org/27284>.
* build-aux/build-self.scm (libgcrypt, zlib, gzip, bzip2, xz)
(false-if-wrong-guile, package-for-current-guile, guile-json)
(guile-ssh, guile-git, guile-bytestructures, matching-guile-2.2): Remove.
(%dependency-variables, %persona-variables, %config-variables): New
variables.
(make-config.scm, load-path-expression, gexp->script)
(build-program): New procedures.
(build): Rewrite to simply delegate to 'guix-derivation'.
| Ludovic Courtès |
2018-03-25 | maint: Adjust 'check-final-inputs-self-contained' for glibc:static....This change is necessary to cope with
6dff905e51202bbdebbad8811b6509584d12a796.
* build-aux/check-final-inputs-self-contained.scm (final-inputs): Change
'match' pattern to match (LABEL PACKAGE OUTPUT).
| Ludovic Courtès |
2018-02-16 | Merge branch 'master' into core-updates | Mark H Weaver |
2018-02-15 | pull: Update the %sbindir variable in (guix config) when building....Fixes <https://bugs.gnu.org/30370>.
* build-aux/build-self.scm (guix): New variable.
(builder): Use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Diego Nicola Barbato |
2018-02-01 | Merge branch 'master' into core-updates | Marius Bakke |
2018-01-29 | hydra: Fix up arm qemu job....* build-aux/hydra/gnu-system.scm (qemu-jobs): Fix up arm qemu job.
Follow-up to 44b0303762f58badd9b9f8f1145e54b76b9d19d2.
| Danny Milosavljevic |
2018-01-29 | hydra: Only build the "flash image" on arm....* build-aux/hydra/gnu-system.scm (qemu-jobs): Only build the "flash image"
on arm.
| Danny Milosavljevic |
2018-01-29 | hydra: Work around import problem....* build-aux/hydra/gnu-system.scm: qemu-jobs: Work around import problem.
Follow-up to 1fe805b290f26db477bcd49be91af54f6c5d061f.
| Danny Milosavljevic |
2018-01-29 | hydra: Add (gnu bootloader) import....* build-aux/hydra/gnu-system.scm: Add (gnu bootloader) import.
Follow-up to de2bc8d6da0ba4e74ed083af66a22cf96f74e67f.
| Danny Milosavljevic |
2018-01-29 | hydra: Add arm image builder....* build-aux/hydra/gnu-system.scm (%u-boot-systems): New
variable.
(%guixsd-supported-systems): Add armhf-linux.
(qemu-jobs): Use u-boot if system in %u-boot-systems.
| Danny Milosavljevic |
2018-01-21 | hydra: Make the list of target systems a parameter....* build-aux/hydra/gnu-system.scm (hydra-jobs): Define 'systems' and use
it.
| Ludovic Courtès |
2018-01-15 | cuirass: Properly convert list of <license> objects....Fixes a bug whereby we would 'write' raw <license> objects when they
were in a list.
* build-aux/cuirass/gnu-system.scm (entry->sexp-entry): Add recursive
case when O is a list.
| Ludovic Courtès |
2017-12-29 | hydra: Do not cross-build from non-Intel platforms....* build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs](pointless?):
Return #t on non-Intel.
| Ludovic Courtès |
2017-12-19 | Merge branch 'master' into core-updates | Marius Bakke |
2017-12-13 | hydra: Pre-load the compiler....Starting from Guile 2.2.3, '%fresh-auto-compile' does what it says and
would auto-compile everything, including the compiler (see
<https://bugs.gnu.org/29226>).
* build-aux/hydra/gnu-system.scm: Call 'compile'.
| Ludovic Courtès |
2017-12-13 | hydra: Invalidate derivation caches after each architecture evaluation....This reduces max RSS from 1.3G to 1.0G.
* guix/derivations.scm (invalidate-derivation-caches!): New procedure.
* build-aux/hydra/gnu-system.scm (hydra-jobs): Use it. Add 'format'
call.
| Ludovic Courtès |
2017-12-13 | pull: Add (guix profiling) to the build environment....Reported by Ricardo Wurmus.
* build-aux/build-self.scm (build): Add (guix profiling).
| Ludovic Courtès |
2017-12-07 | Merge branch 'master' into core-updates | Marius Bakke |
2017-12-07 | pull: Build with an ABI-compatible Guile....Fixes <https://bugs.gnu.org/29570>.
Reported by Vagrant Cascadian <vagrant@debian.org>.
* build-aux/build-self.scm (matching-guile-2.2): New procedure.
(guile-for-build): Use it.
| Ludovic Courtès |
2017-12-05 | Merge branch 'master' into core-updates | Marius Bakke |
2017-11-28 | build: Explicitly flush the "LOAD" and "GUILEC" lines....* build-aux/compile-all.scm <top level>: Add calls to 'force-output'
in the #:report-load and #:report-compilation procedures. Fixes a
regression introduced in 2890ad332fcdfd4bc92b127d783975437c8b718b
whereby compilation output would be buffered, leading to a weird
visual effect.
| Ludovic Courtès |
2017-11-21 | Revert "Add (guix self) and use it when pulling."...This reverts commit 5f93d97005897c2d859f0be1bdff34c88467ec61.
'guix pull' would fail because (guix self) needs 'scheme-files'
from (guix discovery), which was not exported until now.
| Ludovic Courtès |