Commit Graph

342 Commits

Author SHA1 Message Date
Ludovic Courtès 765a5bf167
self: Ensure the daemon refers to the right 'guix' command.
Previously it would refer to
/var/guix/profiles/per-user/root/current-guix/bin/guix, which would fail
when that profile does not exist.  This is notably the case when using
'channel-instance->package' as done in commit
7e6d8d366a.

* gnu/packages/package-management.scm (guix-daemon)[arguments]: In
'install phase, honor environment variable 'GUIX'.
* guix/self.scm (whole-package)[wrap]: New procedure.
Use it.
2019-02-04 00:03:30 +01:00
Ludovic Courtès db7c901af1
gnu: guix: Update to 4bddd12.
* gnu/packages/package-management.scm (guix): Update to 4bddd12.
2019-01-28 23:52:20 +01:00
Ricardo Wurmus 0791437f97
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 14:57:10 +01:00
Ludovic Courtès 008883561f
gnu: guix: Remove 'guix-devel' variable.
* gnu/packages/package-management.scm (guix-devel): Remove.
2019-01-26 00:06:55 +01:00
Ludovic Courtès f896abc71f
gnu: emacs-nix-mode: Move to emacs-xyz.scm.
This removes emacs-xyz.scm from the closure of (gnu packages base).

* gnu/packages/package-management.scm (emacs-nix-mode): Move back to...
* gnu/packages/emacs-xyz.scm (emacs-nix-mode): ... here.  New variable.
2019-01-21 23:10:07 +01:00
Ludovic Courtès 7e6d8d366a
ci: Use a valid 'current-guix'.
This fixes a regression introduced in
b5f8c2c885 whereby 'current-guix' (needed
by some of the system tests) would fail to build.
Reported by Ricardo Wurmus <rekado@elephly.net>.

It also speeds up compilation of 'current-guix' since the channel
instance is already compiled or can be built quickly compared to the
default 'current-guix'.

* gnu/packages/package-management.scm (current-guix-package): New
variable.
(current-guix): Honor it.
* gnu/ci.scm (channel-build-system): New variable.
(channel-instances->derivation): New procedure.
(system-test-jobs): Add #:source and #:commit parameters.
Define 'instance' and parameterize CURRENT-GUIX-PACKAGE.
(hydra-jobs)[checkout, commit, source]: New variables.
Pass #:source and #:commit to 'system-test-jobs'.
2019-01-20 01:42:11 +01:00
Ricardo Wurmus eeb883cb0d
gnu: Move Emacs packages to new module.
* gnu/packages/emacs.scm: Move almost all packages from here...
* gnu/packages/emacs-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/statistics.scm: Update module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus 255d1bbe77
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus cd0322a3ef
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus 44d10b1f72
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:46:44 +01:00
Efraim Flashner d691e96657
gnu: conda: Use 'invoke'.
* gnu/packages/package-management.scm (conda)[arguments]: Use 'invoke'.
2019-01-13 12:44:03 +02:00
Efraim Flashner 675e7bba3e
gnu: python-conda: All phases return #t.
* gnu/packages/package-management.scm (python-conda)[arguments]: Use
'invoke'.
2019-01-13 12:44:03 +02:00
Efraim Flashner e227f248a6
gnu: python-conda: Fix test suite.
* gnu/packages/package-management.scm (python-conda)[native-inputs]: Add
python-cytoolz.
2019-01-13 12:44:00 +02:00
Ludovic Courtès 0991fd5336
build: Require Guile 2.2.
* configure.ac: Require Guile 2.2.
* README: Adjust accordingly.
* doc/guix.texi (Requirements): Likewise.
* gnu/packages/package-management.scm (guile2.0-guix): Deprecate.
(guix-minimal): Inherit from GUIX, not from GUILE2.0-GUIX.
2019-01-09 14:47:53 +01:00
Ludovic Courtès ad3c9fbbb9
gnu: guix: Update to 7ba2b27.
* gnu/packages/package-management.scm (guix): Update to 7ba2b27.
2018-12-27 12:08:25 +01:00
Ludovic Courtès 78bc4eb627
gnu: guix: Update to 6f1e0bb.
* gnu/packages/package-management.scm (guix): Update to 6f1e0bb.
2018-12-24 18:48:19 +01:00
Ludovic Courtès 25ec3684e3
gnu: guix: Update to bdf860c.
* gnu/packages/package-management.scm (guix): Update to bdf860c.
2018-12-22 00:26:41 +01:00
Rutger Helling 122db9a6ca
gnu: flatpak: Fix indentation.
* gnu/packages/package-management.scm (flatpak): Fix indentation.
2018-12-20 12:51:52 +01:00
Rutger Helling 36e1ab842d
gnu: Add flatpak.
* gnu/packages/package-management.scm (flatpak): New variable.
2018-12-20 08:07:56 +01:00
Ludovic Courtès 439a4c7511
gnu: guix: Update to 5de5f81.
* gnu/packages/package-management.scm (guix): Update to 5de5f81.
2018-12-19 00:14:00 +01:00
Rutger Helling 83d4da1211
gnu: libostree: Update to 2018.9.1.
* gnu/packages/package-management.scm (libostree): Update to 2018.9.1.
2018-12-18 14:53:43 +01:00
Ludovic Courtès 7ef64ec847
gnu: guix: Update to 60b0402.
* gnu/packages/package-management.scm (guix): Update to 60b0402.
2018-12-14 00:36:12 +01:00
Ricardo Wurmus 23a1f738b1
gnu: guix: Update to 6ddc63e599.
This fixes a problem introduced with commit
6eac835f17.  Reported on the #guix IRC channel
by tune.

* gnu/packages/package-management.scm (guix): Update to 6ddc63e599.
2018-12-07 15:37:19 +01:00
Ludovic Courtès 6eac835f17
maint: update-guix-package: Really register GC roots.
Previously we'd pass a relative file name to 'add-indirect-root', which
the daemon would interpret as relative to "/".  Consequently, checkouts
were not protected from GC.

* build-aux/update-guix-package.scm (main): Pass an absolute file name
to 'add-indirect-root'.
2018-12-07 15:14:12 +01:00
Ludovic Courtès 5118e26f83
gnu: guix-daemon: Add dependency on Guile-JSON.
Fixes a bug introduced in 6776af04d4,
where the configure phase of 'guix-daemon' would abort due to the lack
of Guile-JSON.

* gnu/packages/package-management.scm (guix-daemon)[inputs]: Add
GUILE-JSON.
2018-12-07 00:06:51 +01:00
Ludovic Courtès 676c3adc14
gnu: guix: Update to c845323. 2018-12-05 18:30:16 +01:00
Ludovic Courtès c845323d4b
gnu: guix: Update to 0.16.0. 2018-12-05 16:30:58 +01:00
Ludovic Courtès 194451347d
Merge branch 'core-updates' 2018-12-03 08:52:17 +01:00
Eric Bavier 6776af04d4
Make Guile-JSON a required dependency.
* README (Requirements): Remove "optional" verbiage.
* doc/guix.texi (Requirements): Move Guile-JSON from optional to required.
* configure.ac (HAVE_GUILE_JSON): Remove Automake conditional.
(have_guile_json): Error if not "yes".
* Makefile.am (MODULE, SCM_TESTS)[HAVE_GUILE_JSON]: Add modules and tests
unconditionally.
* gnu/packages/package-mangement.scm (guix-minimal)[propagated-inputs]: Leave
guile-json input.
2018-12-02 17:56:05 -06:00
Marius Bakke 25ca46985c
Merge branch 'master' into core-updates 2018-11-29 15:56:49 +01:00
Ludovic Courtès 0a9d1c5ab7
gnu: guix-daemon: Adjust 'install' phase to latest update.
Fixes <https://bugs.gnu.org/33496>.
Reported by Brett Gilio <brettg@posteo.net>.

This is a followup to commit 254602cdf8.

* gnu/packages/package-management.scm (guix-daemon)[arguments]: In
'install' phase, remove use of "install-nodist_pkglibexecSCRIPTS"
target.
2018-11-25 17:09:44 +01:00
Julien Lepiller 07fdf96140
gnu: diffoscope: Update to 106.
* gnu/packages/package-management.scm (diffoscope): Update to 106.
2018-11-25 12:57:26 +01:00
Julien Lepiller c1d80c7a9c
gnu: diffoscope: Fix test failure.
* gnu/packages/package-management.scm (diffoscope)[arguments]: Remove
failing Berkeley DB test.
2018-11-25 12:57:20 +01:00
Ludovic Courtès 254602cdf8
gnu: guix: Update to 71a78ba.
* gnu/packages/package-management.scm (guix): Update to 71a78ba.
2018-11-25 01:19:21 +01:00
Marius Bakke 4f70db97a0
Merge branch 'master' into core-updates 2018-11-20 01:14:12 +01:00
Ludovic Courtès c39f3e1c43
gnu: diffoscope: Update to 105.
* gnu/packages/package-management.scm (diffoscope): Update to 105.
2018-11-19 09:59:07 +01:00
Ludovic Courtès 7a54b2281d
gnu: guix-daemon: Install 'guix-authenticate'.
Fixes <https://bugs.gnu.org/33368>.
Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/package-management.scm (guix-daemon)[arguments]: In
'install' phase, build "install-nodist_libexecSCRIPTS" target to install
'guix-authenticate'.
2018-11-14 21:34:08 +01:00
Marius Bakke 79ee97a144
Merge branch 'master' into core-updates 2018-11-14 21:20:46 +01:00
Ludovic Courtès 3483f82413
gnu: guix: Update to f5a2724.
* gnu/packages/package-management.scm (guix): Update to f5a2724.
2018-11-13 15:44:25 +01:00
Marius Bakke f4a5faa9dc
Merge branch 'master' into core-updates 2018-11-05 23:56:22 +01:00
Ludovic Courtès 8e5c59868c
gnu: diffoscope: Update to 104.
* gnu/packages/package-management.scm (diffoscope): Update to 104.
2018-11-03 15:16:02 +01:00
Marius Bakke d02bb02f7d
Merge branch 'master' into core-updates 2018-10-17 20:47:11 +02:00
Eric Bavier 6f1ce09d79
gnu: Add guix-minimal.
* gnu/packages/guile.scm (guile-2.0.13): New variable.
* gnu/packages/package-management.scm (guix)[arguments]: Adjust 'wrap-program'
phase to handle "missing" inputs.
(guix-minimal): New variable.
2018-10-16 17:09:15 -05:00
Eric Bavier c8e3651a82
gnu: guile2.0-guix: Fix build.
* gnu/packages/gnupg.scm (guile2.0-gcrypt): New variable.
* gnu/packages/guile.scm (guile2.0-sqlite3): New variable.
* gnu/packages/package-management.scm (guile2.0-guix)[propagated-inputs]: Use
them.
2018-10-16 17:09:15 -05:00
Ludovic Courtès 532f92c8f3
gnu: guix: Update to f9a8fce.
* gnu/packages/package-management.scm (guix): Update to f9a8fce.
2018-10-15 23:54:20 +02:00
Ludovic Courtès ed9d7cb4d9
gnu: guix-daemon: Run 'guix' from /var/guix/profiles/per-user/root.
Fixes <https://bugs.gnu.org/32183>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>
and Konrad Hinsen <konrad.hinsen@fastmail.net>.

* gnu/packages/package-management.scm (guix-daemon)[arguments]: Execute
/var/guix/profiles/per-user/root/current-guix/bin/guix instead of ~root/….
2018-10-11 18:29:11 +02:00
Marius Bakke cf6db76d2a
Merge branch 'master' into core-updates 2018-10-05 19:15:39 +02:00
Ludovic Courtès ca91d35225
gnu: guix: Update to 1d0be47.
* gnu/packages/package-management.scm (guix): Update to 1d0be47.
2018-10-04 11:21:37 +02:00
Tobias Geerinckx-Rice 91a3c8005d
gnu: rpm: Update to 4.14.2.
* gnu/packages/package-management.scm (rpm): Update to 4.14.2.
[arguments]: Rename 'set-nspr-search-path' phase to
'set-nss-library-path' and remove CPATH work-around.
Remove obsolete 'fix-rpm-symlinks' phase.
[home-page]: Drop www.
2018-10-04 06:28:26 +02:00
Ludovic Courtès 5abcb1b0e6
gnu: guix: Update to 7fed935.
* gnu/packages/package-management.scm (guix): Update to 7fed935.
2018-09-28 00:30:38 +02:00