| Commit message (Expand) | Author | Age | Files | Lines |
* | guix: Add support for channel dependencies.•••* guix/channels.scm (<channel-metadata>): New record.
(read-channel-metadata, channel-instance-dependencies): New procedures.
(latest-channel-instances): Include channel dependencies; add optional
argument PREVIOUS-CHANNELS.
(channel-instance-derivations): Build derivation for additional channels and
add it as dependency to the channel instance derivation.
* doc/guix.texi (Channels): Add subsection "Declaring Channel Dependencies".
* tests/channels.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
| Ricardo Wurmus | 2018-12-09 | 1 | -0/+139 |
* | Merge branch 'core-updates' | Ludovic Courtès | 2018-12-03 | 2 | -3/+36 |
|\ |
|
| * | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-29 | 4 | -6/+36 |
| |\ |
|
| * \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-24 | 1 | -0/+69 |
| |\ \ |
|
| * \ \ | Merge remote-tracking branch 'origin/master' into core-updates | Efraim Flashner | 2018-11-21 | 1 | -2/+2 |
| |\ \ \ |
|
| * \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-14 | 7 | -48/+43 |
| |\ \ \ \ |
|
| * \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-07 | 3 | -34/+211 |
| |\ \ \ \ \ |
|
| * \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-11-05 | 3 | -1/+103 |
| |\ \ \ \ \ \ |
|
| * \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-10-21 | 4 | -50/+61 |
| |\ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-10-17 | 3 | -1/+136 |
| |\ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-10-05 | 3 | -14/+135 |
| |\ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-26 | 2 | -1/+137 |
| |\ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-20 | 1 | -1/+6 |
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Leo Famulari | 2018-09-13 | 1 | -0/+36 |
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-09 | 23 | -449/+139 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Marius Bakke | 2018-09-03 | 1 | -2/+3 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'staging' into core-updates | Marius Bakke | 2018-08-25 | 3 | -3/+161 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * | | | | | | | | | | | | | | | | gexp: Remove backward compatibility hack for 'imported-files'.•••* guix/gexp.scm (gexp->derivation): Remove #:import-creates-derivation?.
(imported-files): Remove #:derivation? and adjust callers.
(imported-modules), compiled-modules): Likewise.
* guix/packages.scm (patch-and-repack): Adjust 'gexp->derivation' call.
| Ludovic Courtès | 2018-07-26 | 1 | -3/+3 |
| * | | | | | | | | | | | | | | | | Merge branch 'master' into core-updates | Marius Bakke | 2018-07-24 | 14 | -54/+558 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into core-updates | Ricardo Wurmus | 2018-06-29 | 7 | -224/+98 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'origin/core-updates-next' into core-updates | Ricardo Wurmus | 2018-06-06 | 1 | -1/+34 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| | * | | | | | | | | | | | | | | | | | | gremlin: Add 'strip-runpath'.•••* guix/build/gremlin.scm (strip-runpath): New procedure.
* tests/gremlin.scm (c-compiler): New variable.
("strip-runpath"): New test.
| Ludovic Courtès | 2018-05-07 | 1 | -1/+34 |
* | | | | | | | | | | | | | | | | | | | | git: Nicely report '--with-commit' errors.•••* guix/git.scm (latest-repository-commit*): Rewrite to catch
'git-error'.
* po/guix/POTFILES.in: Add guix/git.scm.
* tests/guix-build-branch.sh: Test --with-commit errors.
| Ludovic Courtès | 2018-11-30 | 1 | -0/+3 |
* | | | | | | | | | | | | | | | | | | | | guix build: Add '--with-commit'.•••* guix/git.scm (<git-checkout>)[commit]: New field.
(git-checkout-compiler): Honor it.
* guix/scripts/build.scm (evaluate-git-replacement-specs): Add 'proc'
parameter and honor it.
(transform-package-source-branch)[replace]: New procedure.
Adjust 'evaluate-git-replacement-specs' accordingly.
(transform-package-source-commit): New procedure.
(%transformations, %transformation-options)
(show-transformation-options-help): Add 'with-commit'.
* tests/guix-build-branch.sh: Add test.
* doc/guix.texi (Package Transformation Options): Document it.
| Ludovic Courtès | 2018-11-30 | 1 | -0/+5 |
* | | | | | | | | | | | | | | | | | | | | guix build: Add '--with-branch' transformation option.•••* guix/scripts/build.scm (evaluate-git-replacement-specs)
(transform-package-source-branch): New procedures.
(%transformations, %transformation-options): Add 'with-branch'.
(show-transformation-options-help): Likewise.
* tests/guix-build-branch.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Package Transformation Options): Document it.
| Ludovic Courtès | 2018-11-30 | 1 | -0/+48 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | | | | inferior: Add 'inferior-eval-with-store'.•••* guix/inferior.scm (inferior-eval-with-store): New procedure, with code
formerly in 'inferior-package-derivation'.
(inferior-package-derivation): Rewrite in terms of
'inferior-eval-with-store'.
* tests/inferior.scm ("inferior-eval-with-store"): New test.
| Ludovic Courtès | 2018-11-28 | 1 | -0/+9 |
* | | | | | | | | | | | | | | | | | | | grafts: Record metadata as derivation properties.•••* guix/grafts.scm (graft-derivation/shallow): Pass #:properties to
'build-expression->derivation'.
* tests/grafts.scm ("graft-derivation, grafted item is a direct
dependency"): Check the value returned by 'derivation-properties'.
| Ludovic Courtès | 2018-11-28 | 1 | -5/+8 |
* | | | | | | | | | | | | | | | | | | | derivations: Add properties.•••* guix/derivations.scm (derivation): Add #:properties parameter.
[user+system-env-vars]: Honor it.
(derivation-properties): New procedure.
(build-expression->derivation): Add #:properties and pass it to
'derivation'.
* guix/gexp.scm (gexp->derivation): Likewise.
* tests/derivations.scm ("derivation-properties"): New test.
* tests/gexp.scm ("gexp->derivation properties"): New test.
* doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
| Ludovic Courtès | 2018-11-28 | 2 | -1/+19 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | | | pack: Add '--profile-name'.•••* guix/scripts/pack.scm (self-contained-tarball): Add #:profile-name and
honor it.
(squashfs-image, docker-image): Add #:profile-name.
(%default-options): Add 'profile-name'.
(%options, show-help): Add "--profile-name".
(guix-pack): Honor it.
* tests/guix-pack-localstatedir.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix pack): Document "--profile-name".
| Ludovic Courtès | 2018-11-23 | 1 | -0/+69 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | | lint: 'check-derivation' tries all the package's supported systems.•••This allows us to catch architecture-specific evaluation failures.
* guix/scripts/lint.scm (check-derivation): Move body into...
[try]: ... this. New procedure.
Call 'try' for each supported system of PACKAGE.
| Ludovic Courtès | 2018-11-20 | 1 | -2/+2 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | | deduplication: Restore directory mtime and permissions after deduplication.•••Fixes <https://bugs.gnu.org/33361>.
* guix/store/deduplication.scm (replace-with-link): Call 'set-file-time'
and 'chmod' after 'rename-file'.
* tests/nar.scm ("restore-file-set with directories (signed, valid)"):
New test.
| Ludovic Courtès | 2018-11-13 | 1 | -0/+35 |
* | | | | | | | | | | | | | | | | tests: Check file canonicalization for 'restore-file-set'.•••* guix/tests.scm (canonical-file?): New procedure.
* tests/nar.scm ("restore-file-set (signed, valid)"): Check that every
item of FILES matches 'canonical-file?'.
| Ludovic Courtès | 2018-11-13 | 1 | -1/+4 |
* | | | | | | | | | | | | | | | | tests: Remove check for a feature that appeared in Guile 2.0.10.•••* tests/nar.scm: Remove test for 'open-sha256-input-port'.
| Ludovic Courtès | 2018-11-13 | 1 | -7/+0 |
* | | | | | | | | | | | | | | | | tests: Add 'test-assertm' to (guix tests).•••* guix/tests.scm (test-assertm): New macro.
* tests/gexp.scm (test-assertm): Remove.
* tests/profiles.scm (test-assertm): Remove.
* tests/challenge.scm (%store, test-assertm): Remove.
* tests/debug-link.scm (%store, test-assertm): Remove.
* tests/size.scm (%store, test-assertm): Remove.
| Ludovic Courtès | 2018-11-12 | 5 | -40/+0 |
* | | | | | | | | | | | | | | | | guix package: '--show' errors when asked for a non-existent package.•••Fixes <https://bugs.gnu.org/33323>.
Reported by swedebugia <swedebugia@riseup.net>.
* guix/scripts/package.scm (process-query): Call 'leave' when
'find-packages-by-name' returns the empty list.
* tests/guix-package.sh: Test it.
| Ludovic Courtès | 2018-11-11 | 1 | -0/+4 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | | pack: Add test for '--relocatable'.•••* tests/guix-pack-relocatable.sh: New file.
* Makefile.am (SH_TESTS): Add it.
| Ludovic Courtès | 2018-11-06 | 1 | -0/+61 |
* | | | | | | | | | | | | | | | store-copy: Canonicalize the mtime and permissions of the store copy.•••Fixes a bug whereby directories in the output of 'guix pack -f tarball'
would not be read-only.
* guix/build/store-copy.scm (reset-permissions): New procedure.
(populate-store): Pass #:keep-mtime? #t to 'copy-recursively'. Call
'reset-permissions'.
* tests/pack.scm ("self-contained-tarball"): In CHECK, define
'canonical?' and use it to check that every file has an mtime of 1 and
is read-only.
* tests/guix-pack.sh: Invoke "chmod -Rf +w" before "rm -rf" in trap.
| Ludovic Courtès | 2018-11-06 | 2 | -13/+37 |
* | | | | | | | | | | | | | | | pack: Add test for 'self-contained-tarball' with localstatedir.•••* tests/pack.scm ("self-contained-tarball + localstatedir"): New test.
| Ludovic Courtès | 2018-11-06 | 1 | -0/+23 |
* | | | | | | | | | | | | | | | pack: Squashfs backend now honors '--localstatedir'.•••* guix/scripts/pack.scm (squashfs-image)[database]: New variable.
[build]: Add (gnu build install) to the closure. Call
'install-database-and-gc-roots' when DATABASE is true, and invoke
mksquashfs once more.
* tests/pack.scm ("squashfs-image + localstatedir"): New test.
| Ludovic Courtès | 2018-11-06 | 1 | -0/+36 |
* | | | | | | | | | | | | | | | pack: Docker backend now honors '--localstatedir'.•••* guix/docker.scm (build-docker-image): Add #:database parameter.
Create /var/guix/db, /var/guix/profiles, etc. when DATABASE is true.
* guix/scripts/pack.scm (docker-image): Export. Remove #:deduplicate?
parameter. Define 'database' and pass it to 'docker-image'.
* tests/pack.scm (test-assertm): Recompile the derivation of
%BOOTSTRAP-GUILE.
("docker-image + localstatedir"): New test.
| Ludovic Courtès | 2018-11-06 | 1 | -2/+51 |
* | | | | | | | | | | | | | | | pack: Import (guix store database) only when '--localstatedir' is passed.•••This is another way to address <https://bugs.gnu.org/32184>, which was
previously addressed in commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* gnu/build/install.scm (register-closure): Move to...
* gnu/build/vm.scm (register-closure): ... here. New procedure.
* guix/scripts/pack.scm (self-contained-tarball)[build]: Remove
now unneeded 'with-extensions' form and custom (guix config) module.
* tests/guix-pack.sh: Revert the strategy from
commit 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* tests/pack.scm ("self-contained-tarball"): Likewise.
| Ludovic Courtès | 2018-11-06 | 2 | -53/+37 |
| |_|_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | | |
|
* | | | | | | | | | | | | | | Add 'guix processes'.•••* guix/scripts/processes.scm, tests/processes.scm: New files.
* Makefile.am (MODULES): Add the former.
(SCM_TESTS): Add the latter.
* po/guix/POTFILES.in: Add guix/scripts/processes.scm.
* doc/guix.texi (Invoking guix processes): New node.
(Invoking guix-daemon): Reference it.
| Ludovic Courtès | 2018-10-29 | 1 | -0/+86 |
* | | | | | | | | | | | | | | tests: Fix typo.•••This is a followup to 19c924af4f3726688ca155a905ebf1cb9acdfca2.
* tests/pack.scm: Fix typo in 'test-skip'.
| Ludovic Courtès | 2018-10-28 | 1 | -1/+1 |
* | | | | | | | | | | | | | | gexp: 'gexp-modules' now consistently deletes duplicates.•••Fixes <https://bugs.gnu.org/32966>.
Reported by Clément Lassieur <clement@lassieur.org>.
* guix/gexp.scm (gexp-attribute): Add 'equal?' optional parameter; pass
it to 'delete-duplicates'.
(gexp-modules)[module=?]: New procedure.
Pass it to 'gexp-attribute'.
* tests/gexp.scm ("gexp-modules deletes duplicates"): New test.
| Ludovic Courtès | 2018-10-27 | 1 | -0/+16 |
| |_|_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | | |
|
* | | | | | | | | | | | | | tests: Run 'guix pack' tests using the external store.•••Fixes <https://bugs.gnu.org/32184>.
* guix/tests.scm (call-with-external-store): New procedure.
(with-external-store): New macro.
* tests/pack.scm (%store): Remove.
(test-assertm): Add 'store' parameter.
("self-contained-tarball"): Wrap in 'with-external-store'.
* tests/guix-pack.sh: Connect to the external store, if possible, by
setting NIX_STORE_DIR and GUIX_DAEMON_SOCKET. Remove most uses of
'--bootstrap'.
| Ludovic Courtès | 2018-10-19 | 2 | -47/+58 |
* | | | | | | | | | | | | | gnu: Use pypi.org.•••<pypi.io> redirects to <pypi.org>.
* guix/build-system/python.scm (pypi-uri): Replace pypi.io with pypi.org.
* guix/import/pypi.scm (pypi-url?): Likewise.
* tests/pypi.scm: Likewise.
| Leo Famulari | 2018-10-18 | 1 | -1/+1 |
* | | | | | | | | | | | | | services: dhcp-client: Deprecate 'dhcp-client-service' procedure.•••* gnu/services/networking.scm (dhcp-client-service-type): Add default
value.
* gnu/system/examples/bare-bones.tmpl: Use (service
dhcp-client-service-type) instead of (dhcp-client-service).
* gnu/system/examples/beaglebone-black.tmpl: Likewise.
* gnu/tests/base.scm (%avahi-os): Likewise.
* gnu/tests/databases.scm (%memcached-os): Likewise.
(%mongodb-os): Likewise.
* gnu/tests/dict.scm (%dicod-os): Likewise.
* gnu/tests/mail.scm (%opensmtpd-os): Likewise.
(%exim-os): Likewise.
(%dovecot-os): Likewise.
* gnu/tests/messaging.scm (run-xmpp-test): Likewise.
(run-bitlbee-test): Likewise.
* gnu/tests/monitoring.scm (%prometheus-node-exporter-os): Likewise.
* gnu/tests/networking.scm (%inetd-os): Likewise.
(run-iptables-test): Likewise.
* gnu/tests/nfs.scm (%base-os): Likewise.
* gnu/tests/rsync.scm (%rsync-os): Likewise.
* gnu/tests/ssh.scm (run-ssh-test): Likewise.
* gnu/tests/version-control.scm (%cgit-os): Likewise.
(%git-http-os): Likewise.
(%gitolite-os): Likewise.
* gnu/tests/virtualization.scm (%libvirt-os): Likewise.
* gnu/tests/web.scm (%httpd-os): Likewise.
(%nginx-os): Likewise.
(%varnish-os): Likewise.
(%php-fpm-os): Likewise.
(%hpcguix-web-os): Likewise.
(%tailon-os): Likewise.
* tests/guix-system.sh: Likewise.
* doc/guix.texi (Networking Services): Document
'dhcp-client-service-type' and remove 'dhcp-client-service'.
| Ludovic Courtès | 2018-10-18 | 1 | -2/+2 |
| |_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | |
|
* | | | | | | | | | | | | ui: Fix port-buffering with guile@2.0.•••* guix/status.scm (build-event-output-port)[guile@2.0]: Do not call 'setvbuf'
on custom binary port.
* tests/status.scm (current-build-output-port, UTF-8 + garbage)[guile@2.0]:
Use "?" in place of REPLACEMENT CHARACTER.
| Eric Bavier | 2018-10-16 | 1 | -1/+4 |
* | | | | | | | | | | | | status: Build upon multiplexed build output.•••This allows for more accurate status tracking and parsing of extended
build traces.
* guix/status.scm (multiplexed-output-supported?): New procedure.
(print-build-event): Don't print \r when PRINT-LOG? is true.
Adjust 'build-log' handling for when 'multiplexed-output-supported?'
returns true.
(bytevector-index, split-lines): New procedures.
(build-event-output-port)[%build-output-pid, %build-output]
[%build-output-left]: New variables.
[process-line]: Handle "@ build-output" traces.
[process-build-output]: New procedure.
[write!]: Add case for when %BUILD-OUTPUT-PID is true. Use
'bytevector-index' rather than 'string-index'.
(compute-status): Add #:derivation-path->output-path. Use it.
* tests/status.scm ("compute-status, multiplexed build output"):
New test.
("build-output-port, UTF-8")
("current-build-output-port, UTF-8 + garbage"): Adjust to new
'build-log' output.
* guix/scripts/build.scm (set-build-options-from-command-line):
Pass #:multiplexed-build-output?.
(%default-options): Add 'multiplexed-build-output?'.
* guix/scripts/environment.scm (%default-options): Likewise.
* guix/scripts/pack.scm (%default-options): Likewise.
* guix/scripts/package.scm (%default-options): Likewise.
* guix/scripts/pull.scm (%default-options): Likewise.
* guix/scripts/system.scm (%default-options): Likewise.
| Ludovic Courtès | 2018-10-15 | 1 | -3/+48 |
* | | | | | | | | | | | | daemon: Support multiplexed build output.•••This allows clients to tell whether output comes from the daemon or, if
it comes from a builder, from which builder it comes. The latter is
particularly useful when MAX-BUILD-JOBS > 1.
* nix/libstore/build.cc (DerivationGoal::tryBuildHook)
(DerivationGoal::startBuilder): Print the child's PID in "@ build-started"
traces.
(DerivationGoal::handleChildOutput): Define 'prefix', pass it to
'writeToStderr'.
* nix/libstore/globals.cc (Settings:Settings): Initialize
'multiplexedBuildOutput'.
(Settings::update): Likewise.
* nix/libstore/globals.hh (Settings)[multiplexedBuildOutput]: New field.
Update 'printBuildTrace' documentation.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0.163.
* nix/nix-daemon/nix-daemon.cc (performOp) <wopSetOptions>: Special-case
"multiplexed-build-output" and remove "use-ssh-substituter".
* guix/store.scm (set-build-options): Add #:multiplexed-build-output?
and honor it.
(%protocol-version): Bump to #x163.
* tests/store.scm ("multiplexed-build-output"): New test.
fixlet
| Ludovic Courtès | 2018-10-15 | 1 | -0/+63 |