Commit Graph

276 Commits

Author SHA1 Message Date
Oleg Pykhalov 49d9fce827
gnu: emacs-nix-mode: Fix build by switching upstream source.
'nix' version 2 doesn't provide Emacs libraries anymore.

* gnu/packages/package-management.scm (emacs-nix-mode): Do not inherit
'nix'.  Switch upstream source to <https://github.com/nixos/nix-mode>.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2018-07-01 18:00:36 +08:00
Ludovic Courtès 1fb947f6d7
gnu: guix-daemon: Build in the absence of guile-sqlite3.
Fixes a regression introduced in
3f311279d3 whereby guix-daemon's configure
would error out due to the lack of guile-sqlite3.

* gnu/packages/package-management.scm (guix-daemon)[inputs]: Remove
"boot-guile", "boot-guile/i686", and "util-linux".
[arguments]: Add #:configure-flags.
2018-06-19 15:29:21 +02:00
Ludovic Courtès 3f311279d3
gnu: guix: Update to 7af5c2a.
* gnu/packages/package-management.scm (guix): Update to 7af5c2a.
2018-06-19 14:29:46 +02:00
Ludovic Courtès 554eaae4a0
gnu: diffoscope: Update to 96.
* gnu/packages/package-management.scm (diffoscope): Update to 96.
2018-06-17 01:40:14 +02:00
Ludovic Courtès baed923682
self: Add 'guix-daemon' to the result.
* gnu/packages/package-management.scm (guix-daemon): New variable.
* guix/self.scm (whole-package): Add #:daemon and honor it.
(compiled-guix): Pass #:daemon to 'whole-package'.
2018-06-14 23:34:59 +02:00
Ludovic Courtès ea0a06cee2
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.
2018-06-14 11:17:00 +02:00
Ludovic Courtès c5a2e1ffcb
build: Require Guile-SQLite3.
The next commits make (sqlite3) an indirect dependency of (gnu build
install), which is itself used by (guix scripts system), hence this new
requirement.

* configure.ac: Error out when $guix_cv_have_recent_guile_sqlite3 is
false.  Remove HAVE_GUILE_SQLITE3 Automake conditional.
* Makefile.am (MODULES, SCM_TESTS): Remove HAVE_GUILE_SQLITE3 conditions.
* doc/guix.texi (Requirements): Add Guile-SQLite3.
* README: Ditto.
* gnu/packages/package-management.scm (guix)[propagated-inputs]: Add
GUILE-SQLITE3.
[arguments]: In 'wrap-program' phase, take guile-sqlite3 into account.
2018-06-14 11:16:58 +02:00
宋文武 3d39130926
gnu: Add libostree.
* gnu/packages/package-management.scm (libostree): New variable.
2018-06-12 19:28:18 +08:00
Ludovic Courtès 8b3aea9d9e
gnu: guix: Update to 77a1aac.
* gnu/packages/package-management.scm (guix): Update to 77a1aac.
2018-06-10 23:32:00 +02:00
宋文武 e6c8199b66
gnu: nix: Update to 2.0.4.
* gnu/packages/package-management.scm (nix): Update to 2.0.4.
2018-06-10 21:38:32 +08:00
Ricardo Wurmus 116ca65b58
Merge branch 'master' into core-updates 2018-06-06 22:43:37 +02:00
Rutger Helling c7a2f7b999
gnu: diffoscope: Update to 95.
* gnu/packages/package-management.scm (diffoscope): Update to 95.
2018-06-06 14:39:24 +02:00
Mark H Weaver 539bf8f2c0
Merge branch 'master' into core-updates 2018-05-17 01:00:50 -04:00
Ludovic Courtès cbcdb77790
gnu: diffoscope: Update to 94.
* gnu/packages/package-management.scm (diffoscope): Update to 94.
2018-05-11 18:42:43 +02:00
Marius Bakke 12bd588346
Merge branch 'master' into core-updates 2018-05-06 15:56:24 +02:00
Ludovic Courtès 05c62b1e1d
gnu: guix-register: Reduce the set of dependencies.
* gnu/packages/package-management.scm (guix-register)[native-inputs]
[propagated-inputs]: New field.
2018-05-01 00:05:40 +02:00
Mark H Weaver 3d5ad159b3
Merge branch 'master' into core-updates 2018-04-30 04:03:54 -04:00
Roel Janssen 5b862761f2
gnu: guix: Update to ab85cf7.
* gnu/packages/package-management.scm (guix): Update to ab85cf7.
2018-04-25 14:28:28 +02:00
Rutger Helling 113e9bc5a4
gnu: diffoscope: Update to 93.
* gnu/packages/package-management.scm (diffoscope): Update to 93.
2018-04-25 11:31:41 +02:00
Mark H Weaver c52872bfc4
Merge branch 'master' into core-updates 2018-04-21 05:02:52 -04:00
Julien Lepiller 76fa5e042b
gnu: guix: Add po4a input.
* gnu/packages/package-management.scm (guix)[inputs]: Add po4a.
2018-04-19 21:30:49 +02:00
Mark H Weaver 3c0316169b
Merge branch 'master' into core-updates 2018-04-11 17:19:06 -04:00
Ludovic Courtès b1fb247b78
gnu: guix: Update to 486de73.
* gnu/packages/package-management.scm (guix): Update to 486de73.
2018-04-11 01:03:46 +02:00
Mark H Weaver f89aa1521a
Merge branch 'master' into core-updates 2018-04-10 00:42:22 -04:00
Ludovic Courtès 278c16579d
gnu: Add 'guix-register'.
* gnu/packages/package-management.scm (guix-register): New variable.
2018-04-08 17:41:08 +02:00
Marius Bakke 5576cfabf3
Merge branch 'master' into core-updates 2018-03-29 17:34:41 +02:00
Chris Marusich 272c070962
tests: Add tests for "guix pack".
* guix/scripts/pack.scm (bootstrap-xz): New variable.
  (%options) <--bootstrap>: New option.
  (show-help): Document the new --bootstrap option.
  (guix-pack): When --bootstrap is specified, use the bootstrap Guile,
  tar, and xz to build the pack, and do not use any profile hooks or
  locales.
* doc/guix.texi (Invoking guix pull): Document the new --bootstrap
  option.
* tests/guix-pack.sh: New file.
* Makefile.am (SH_TESTS): Add guix-pack.sh.
* gnu/packages/package-management.scm (guix) <inputs>: Add util-linux.
2018-03-24 03:04:07 +01:00
Mark H Weaver 92fcb831c0
gnu: guix: Use invoke.
* gnu/packages/package-management.scm (guix)[arguments]: Use invoke in the
bootstrap phase.
2018-03-23 04:42:22 -04:00
Ricardo Wurmus 8c72ed923d
Merge branch 'master' into core-updates 2018-03-14 17:37:20 +01:00
Ludovic Courtès 189be331ac
build-system/gnu: Add 'bootstrap' phase.
This factorizes what has become a widespread idiom.

* guix/build/gnu-build-system.scm (%bootstrap-scripts): New variable.
(bootstrap): New procedure.
(%standard-phases): Add it after 'unpack'.
* guix/build/ant-build-system.scm (%standard-phases): Delete 'bootstrap.
* guix/build/asdf-build-system.scm (%standard-phases/source)
(%standard-phases): Likewise.
* guix/build/cargo-build-system.scm (%standard-phases): Likewise.
* guix/build/cmake-build-system.scm (%standard-phases): Likewise.
* guix/build/dub-build-system.scm (%standard-phases): Likewise.
* guix/build/emacs-build-system.scm (%standard-phases): Likewise.
* guix/build/font-build-system.scm (%standard-phases): Likewise.
* guix/build/go-build-system.scm (%standard-phases): Likewise.
* guix/build/haskell-build-system.scm (%standard-phases): Likewise.
* guix/build/minify-build-system.scm (%standard-phases): Likewise.
* guix/build/ocaml-build-system.scm (%standard-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/r-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/scons-build-system.scm (%standard-phases): Likewise.
* guix/build/texlive-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/audio.scm (faad2)[arguments]: Replace 'bootstrap.
(soundtouch, cuetools, bluez-alsa): Remove 'arguments'.
(cava)[arguments]: Replace 'bootstrap.
* gnu/packages/backup.scm (rdup): Remove 'bootstrap.
* gnu/packages/bioinformatics.scm (seek)[arguments]: Replace
'bootstrap.
* gnu/packages/bioinformatics.scm (htslib-for-sambamba): Remove
'arguments'.
* gnu/packages/ci.scm (hydra, cuirass): Remove 'bootstrap'.
* gnu/packages/crypto.scm (libb2): Remove #:phases.
* gnu/packages/databases.scm (guile-wiredtiger): Likewise.
* gnu/packages/debug.scm (stress-make): Remove 'bootstrap'.
* gnu/packages/documentation.scm (asciidoc): Likewise.
* gnu/packages/fontutils.scm (libuninameslist): Remove 'arguments'.
* gnu/packages/ftp.scm (weex): Remove 'arguments'.
* gnu/packages/game-development.scm (ois): Remove 'arguments'.
* gnu/packages/games.scm (pioneer): Remove 'bootstrap.
* gnu/packages/gnome.scm (vte-ng, byzanz): Replace 'bootstrap.
(arc-theme): Remove 'arguments'.
(faba-icon-theme): Remove 'bootstrap.
(arc-icon-theme): Remove 'arguments'.
* gnu/packages/gnunet.scm (guile-gnunet): Likewise.
* gnu/packages/gtk.scm (guile-rsvg): Likewise.
* gnu/packages/guile.scm (mcron2): Remove 'bootstrap.
(guile-bash): Remove #:phases.
(guile-git): Remove 'bootstrap.
(guile-syntax-highlight): Remove 'arguments'.
(guile-sjson): Likewise.
* gnu/packages/java.scm (classpath-devel): Remove 'bootstrap.
* gnu/packages/kodi.scm (libdvdnav/kodi)
(libdvdread/kodi, libdvdcss/kodi): Likewise.
* gnu/packages/libreoffice.scm (hunspell): Remove 'arguments'.
* gnu/packages/libusb.scm (hidapi): Likewise.
* gnu/packages/linux.scm (bridge-utils): Rename 'bootstrap' to
'patch-stuff'; move it before 'bootstrap', without autoreconf
invocation.
(eudev): Rename 'bootstrap' to 'patch-file-names', without 'autogen.sh'
invocation; move it before 'bootstrap.
(gpm): Replace 'bootstrap'.
(f2fs-tools): Remove 'arguments'.
(rng-tools): Remove #:phases.
* gnu/packages/messaging.scm (hexchat): Rename 'bootstrap' to
'copy-intltool-makefile'; remove "autoreconf" invocation and move before
'bootstrap'.
(libmesode): Remove 'arguments'.
(libstrophe): Likewise.
* gnu/packages/microcom.scm (microcom): Likewise.
* gnu/packages/networking.scm (libnet): Remove 'bootstrap.
* gnu/packages/onc-rpc.scm (libnsl): Remove 'arguments'.
* gnu/packages/package-management.scm (guix): Replace 'bootstrap.
* gnu/packages/sawfish.scm (librep): Remove 'arguments'.
* gnu/packages/version-control.scm (findnewest): Likewise.
* gnu/packages/video.scm (liba52, handbrake, motion): Replace
'bootstrap.
* gnu/packages/web.scm (fcgiwrap): Remove #:phases.
(tidy): Replace 'bootstrap.
(gumbo-parser): Remove #:phases.
* gnu/packages/wget.scm (wget2): Replace 'bootstrap.
* gnu/packages/wm.scm (i3lock-color): Remove #:phases.
* gnu/packages/xdisorg.scm (xclip): Likewise.
* gnu/packages/xml.scm (libxls): Replace 'bootstrap'.
* gnu/packages/xorg.scm (xf86-video-freedreno)
(xf86-video-intel): Remove #:phases.
* gnu/packages/zile.scm (zile-on-guile): Replace 'bootstrap.
2018-03-11 22:04:40 +01:00
Ludovic Courtès 464f544739
gnu: 'autoconf-wrapper' is no longer a procedure.
Fixes <https://bugs.gnu.org/30710>.
Suggested by Björn Höfling <bjoern.hoefling@bjoernhoefling.de>.

* gnu/packages/autotools.scm (autoconf-wrapper): Rename to...
(make-autoconf-wrapper): ... this.  Add 'properties' field.
(autoconf-wrapper): New variable.
* gnu/packages/gnunet.scm (guile-gnunet): Adjust accordingly.
* gnu/packages/gnupg.scm (signing-party): Likewise.
* gnu/packages/guile.scm (guile-ics, guile-bash): Likewise.
* gnu/packages/libevent.scm (libuv): Likewise.
* gnu/packages/logging.scm (glog): Likewise.
* gnu/packages/mail.scm (libetpan): Likewise.
* gnu/packages/mate.scm (mate-icon-theme-faenza)
(mate-screensaver): Likewise.
* gnu/packages/package-management.scm (guix): Likewise.
* gnu/packages/sawfish.scm (librep): Likewise.
* gnu/packages/video.scm (motion): Likewise.
* gnu/packages/zile.scm (zile-on-guile): Likewise.
2018-03-09 23:24:34 +01:00
Tobias Geerinckx-Rice 63f931cf82
gnu: gcab: Update to 1.1.
* gnu/packages/package-management.scm (gcab): Update to 1.1.
[source]: Remove git dependency in a snippet.
2018-02-27 16:49:57 +01:00
Tobias Geerinckx-Rice 775989c7a8
gnu: nix, patchelf: Use HTTPS for nixos.org home pages.
* gnu/packages/elf.scm (patchelf)[home-page]: Use HTTPS.
* gnu/packages/package-management.scm (nix)[home-page]: Likewise.
2018-02-20 05:02:44 +01:00
Ludovic Courtès 5912791655
gnu: guix: Update snapshot to bdf0c64.
* gnu/packages/package-management.scm (guix): Update to bdf0c64.
[arguments] <copy-bootstrap-guile>: Move after 'check' phase.  Rewrite
to use "guix download" and to intern only one or two tarballs.
[inputs]: Remove "boot-guile/*".  Add "boot-guile" and, optionally,
"boot-guile/i686".
2018-02-19 00:33:34 +01:00
Mark H Weaver a7fb298665
Merge branch 'master' into core-updates 2018-02-11 04:05:07 -05:00
Ludovic Courtès be5e2cf1a6
gnu: guix: Update snapshot to bc880f9.
* gnu/packages/package-management.scm (guix): Update to bc880f9.
2018-02-09 11:45:44 +01:00
Mark H Weaver b89d8a4271
Merge branch 'master' into core-updates 2018-01-26 00:15:26 -05:00
Tobias Geerinckx-Rice 44118720c0
gnu: gcab: Update to 1.0 [fixes CVE-2018-5345].
* gnu/packages/package-management.scm (gcab): Update to 1.0.
[build-system]: Switch to meson-build-system.
[native-inputs]: Add glib:bin and vala.
[arguments]: Don't build developer documentation.
Disable introspection, thanks.
2018-01-26 02:11:20 +01:00
Tobias Geerinckx-Rice cb3909256d
gnu: Add msitools.
* gnu/packages/package-management.scm (msitools): New public variable.
2018-01-26 00:09:18 +01:00
Tobias Geerinckx-Rice 98a11b7fce
gnu: Add gcab.
* gnu/packages/package-management.scm (gcab): New public variable.
2018-01-26 00:09:18 +01:00
Mark H Weaver a102d359a6
Merge branch 'master' into core-updates 2018-01-23 17:01:07 -05:00
Ludovic Courtès 14e375b980
gnu: guix: Update snapshot to 33988f9.
* gnu/packages/package-management.scm (guix): Update to 33988f9.
2018-01-22 13:02:36 +01:00
Mark H Weaver e074a655dd
Merge branch 'master' into core-updates 2018-01-19 23:59:20 -05:00
Tobias Geerinckx-Rice 7ed6343fd7
gnu: package-management: Prefix licenses.
* gnu/packages/package-management.scm (define-module): Import
(guix licenses) with #:prefix instead of #:select.
Adjust all callers.
2018-01-18 04:26:41 +01:00
Tobias Geerinckx-Rice 37756a1332
gnu: package-management: Alphabetise module imports.
* gnu/packages/package-management.scm (define-module): Order module
imports alphabetically.
2018-01-18 04:26:41 +01:00
Ludovic Courtès 7c0926ea7c
gnu: guix: Update snapshot to 0dcf675.
* gnu/packages/package-management.scm (guix): Update to 0dcf675.
2018-01-13 00:57:52 +01:00
Leo Famulari 4adb40bffc
Merge branch 'master' into core-updates 2018-01-11 14:22:50 -08:00
Ludovic Courtès 73244e634c
gnu: guix: Update snapshot to 3c5dbd2.
* gnu/packages/package-management.scm (guix): Update to 3c5dbd2.
2018-01-11 11:20:00 +01:00
Ludovic Courtès 2b778b27c9
gnu: guix: Update snapshot to c04ffad.
* gnu/packages/package-management.scm (guix): Update to c04ffad.
2018-01-08 10:40:16 +01:00
Leo Famulari 4ed41f472b
Merge branch 'master' into core-updates 2018-01-03 14:18:01 -05:00