Commit Graph

11695 Commits

Author SHA1 Message Date
Ricardo Wurmus 1777e1f2cb gnu: Add ghc-th-lift.
* gnu/packages/haskell.scm (ghc-th-lift): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 74d9f72e02 gnu: Add ghc-packedstring.
* gnu/packages/haskell.scm (ghc-packedstring): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 5de6eedc60 gnu: Add ghc-enclosed-exceptions.
* gnu/packages/haskell.scm (ghc-enclosed-exceptions): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 25b20a9c7a gnu: Add ghc-executable-path.
* gnu/packages/haskell.scm (ghc-executable-path): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 31be270b93 gnu: Add ghc-cmark.
* gnu/packages/haskell.scm (ghc-cmark): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 66c480b6c8 gnu: Add ghc-highlighting-kate.
* gnu/packages/haskell.scm (ghc-highlighting-kate): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 05245dc9ff gnu: Add ghc-diff.
* gnu/packages/haskell.scm (ghc-diff): Add variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus a54d11b58f gnu: Add ghc-regex-pcre-builtin.
* gnu/packages/haskell.scm (ghc-regex-pcre-builtin): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus ef2861b1d9 gnu: Add ghc-texmath.
* gnu/packages/haskell.scm (ghc-texmath): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 8164d58ec7 gnu: Add ghc-pandoc-types.
* gnu/packages/haskell.scm (ghc-pandoc-types): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 4cbd9f5993 gnu: Add ghc-deepseq-generics.
* gnu/packages/haskell.scm (ghc-deepseq-generics): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 6ff4a50d75 gnu: ghc-aeson: Propagate input.
* gnu/packages/haskell.scm (ghc-aeson)[inputs]: Move
  "ghc-unordered-containers" from here ...
[propagated-inputs]: ... to here.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 172bb3b86d gnu: ghc-haskell-src-exts: Propagate some inputs.
* gnu/packages/haskell.scm (ghc-haskell-src-exts)[inputs]: Remove field.
[propagated-inputs]: Move "cpphs", "ghc-mtl", "ghc-happy", and "ghc-syb"
from inputs field here.
[native-inputs]: Move "ghc-smallcheck", "ghc-tasty",
"ghc-tasty-smallcheck", and "ghc-tasty-golden" from inputs field here.
2015-12-10 14:34:50 +01:00
Ludovic Courtès 557b5557d8 gnu: commencement: Restrict allowed references for libstdc++.
* gnu/packages/commencement.scm (libstdc++)[arguments]: Add
  #:allowed-references.
2015-12-10 11:54:57 +01:00
Alex Kost 2e74b9f4cf gnu: emacs-w3m: Update to 1.4.538+0.20141022.
* gnu/packages/emacs.scm (emacs-w3m): Update to 1.4.538+0.20141022.
  [arguments]: Use '--without-compress-install' configure flag.
2015-12-10 13:24:49 +03:00
Alex Kost 932ece6553 gnu: emacs-w3m: Use 'modify-syntax'.
* gnu/packages/emacs.scm (emacs-w3m)[arguments]: Use 'modify-syntax'.
2015-12-10 13:23:50 +03:00
Ludovic Courtès 135065853f gnu: texinfo: Remove unneeded dependency on xz.
The impetus for this is that XZ 5.2.2 requires pthreads.  However, when
using the bootstrap GCC, using '-pthread' doesn't work because it tries
to refer to /nix/store/eeeeee-glibc-2.18.  XZ eventually fails to build
with undefined references to pthread symbols.

* gnu/packages/texinfo.scm (texinfo)[inputs]: Remove XZ, which was
unneeded.
2015-12-10 11:02:09 +01:00
Ludovic Courtès 6a4db3f361 gnu: libarchive: Fix test failure on SELinux systems.
Reported by Jan Synáček <jan.synacek@gmail.com>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00522.html>.

* gnu/packages/patches/libarchive-bsdtar-test.patch: New file.
* gnu/packages/backup.scm (libarchive)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-12-09 23:10:10 +01:00
Alex Sassmannshausen dcb7119a6d doc: rephrase code of conduct.
* doc/contributing.texi (Contributing): Rephrase 'code of conduct'
  section.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-12-09 22:18:47 +01:00
Ludovic Courtès 873d0ff2cd gnu-maintenance: Really find the latest GNOME releases.
Reported by Efraim Flashner <efraim@flashner.co.il>
at <https://lists.gnu.org/archive/html/guix-devel/2015-12/msg00202.html>.

* guix/gnu-maintenance.scm (latest-ftp-release): Call KEEP-FILE? on
directories too.
(latest-gnome-release)[even-minor-version?]: Protect again MINOR being
false; change pattern to match VERSION with two or more numbers.  Remove
use of 'version-major+minor'.
[even-numbered-tarball?]: Rename to...
[even-numbered?]: ... this.  Use 'package-name->name+version'.  When
VERSION is #f, check NAME.
2015-12-09 22:18:47 +01:00
Ludovic Courtès cd48eae560 build: Always check for gzip/bzip2/xz.
This allows (guix config) to contain valid values of %GZIP et al. even
when configured with --disable-daemon.

* config-daemon.ac: Move 'AC_PATH_PROG' invocations for
gzip & co. to...
* configure.ac: ... here.
2015-12-09 22:18:47 +01:00
Efraim Flashner 6b6a0b143d gnu: youtube-dl: Update to 2015.12.09.
* gnu/packages/video.scm (youtube-dl): Update to 2015.12.09.
[native-inputs]: Move python-setuptools here.
2015-12-09 23:05:54 +02:00
Efraim Flashner fa09215342 gnu: vte: Update to 0.42.1.
* gnu/packages/gnome.scm (vte): Update to 0.42.1.
2015-12-09 22:57:57 +02:00
Efraim Flashner 896dcbc77c gnu: libsecret: Update to 0.18.3.
* gnu/packages/gnome.scm (libsecret): Update to 0.18.3.
2015-12-09 22:48:39 +02:00
Efraim Flashner 5e8aec2cf3 gnu: libgnome-keyring: Update to 3.12.0.
* gnu/packages/gnome.scm (libgnome-keyring): Update to 3.12.0.
2015-12-09 22:48:39 +02:00
Alex Kost 1ae15c3646 emacs: Fix '--rounds' option in command popups.
* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "R" key for '--rounds' option to avoid conflicts with "r" key in
  'build' popup (--root) and 'package' popup (--remove).
2015-12-09 19:55:04 +03:00
Alex Kost dcb00c0ad5 emacs: Add 'guix-build-log-find-file'.
* emacs/guix-build-log.el (guix-build-log-find-file): New procedure.
* emacs/guix-command.el (guix-run-view-build-log): Use it.
2015-12-09 19:54:19 +03:00
Alex Kost d7a58c60d6 emacs: list: Fontify time stamps.
* emacs/guix-list.el (guix-list-time): New face.
  (guix-list-get-time): Use it.
2015-12-09 19:54:19 +03:00
Alex Kost d84018b5b1 emacs: info: Add 'guix-info-heading' face.
* emacs/guix-info.el (guix-info-heading): New face.
  (guix-package-info-heading): Inherit it.
2015-12-09 19:54:19 +03:00
Ludovic Courtès e15fcdd149 Add "Contributor Covenant".
* CODE-OF-CONDUCT: New file, adapted from
  <http://contributor-covenant.org/version/1/3/0/code_of_conduct.txt>.
* doc/contributing.texi (Contributing): Mention it.
* Makefile.am (EXTRA_DIST): Add it.
2015-12-09 14:29:41 +01:00
Eelco Dolstra cb9601029e daemon: Use deterministic $TMPDIR in chroot.
Rather than using $<host-TMPDIR>/nix-build-<drvname>-<number>, the
temporary directory is now always /tmp/nix-build-<drvname>-0. This
improves bitwise-exact reproducibility for builds that store $TMPDIR
in their build output. (Of course, those should still be fixed...)

* nix/libstore/build.cc (DerivationGoal)[tmpDirInSandbox]: New field.
(DerivationGoal::startBuilder): Initialize 'useChroot' earlier.  Compute
'tmpDirInSandbox', and use it when populating 'dirsInChroot'.
* doc/guix.texi (Build Environment Setup): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-09 14:29:41 +01:00
Ludovic Courtès a8d65643fb guix build: Add '--check'.
* guix/derivations.scm (build-derivations): Add optional 'mode'
parameter.
* guix/scripts/build.scm (%default-options): Add 'build-mode'.
(show-help, %options): Add '--check'.
(guix-build): Honor 'build-mode' key of OPTS.  Pass it to
'show-what-to-build' and 'build-derivations'.
* doc/guix.texi (Invoking guix build): Document it.
(Substitutes): Mention it.
2015-12-09 14:29:41 +01:00
Ludovic Courtès 58c08df054 derivations: Determine what's built in 'check' mode.
* guix/derivations.scm (substitution-oracle): Add #:mode parameter and
honor it.
(derivation-prerequisites-to-build): Likewise.
[derivation-built?]: Take it into account.
* guix/ui.scm (show-what-to-build): Add #:mode parameter.  Pass it to
'substitute-oracle' and 'derivations-prerequisites-to-build'.
* tests/derivations.scm ("derivation-prerequisites-to-build in 'check'
mode"): New test.
2015-12-09 14:29:41 +01:00
Efraim Flashner cc9553562c gnu: gmime: Update to 2.6.20.
* gnu/packages/mail.scm (gmime): Update to 2.6.20.
[arguments]: Use modify-phases syntax.
2015-12-09 15:21:34 +02:00
Ludovic Courtès 8d5e7ad29a gnu: guile-sly: Use HTTPS URL.
* gnu/packages/guile.scm (guile-sly)[source]: Use 'https'.  Failing to
do that, we get redirected to 'https', which fails because GnuTLS is
missing.
2015-12-08 23:58:12 +01:00
Ludovic Courtès 5b74fe065b guix build: Add '--rounds'.
* guix/scripts/build.scm (show-build-options-help)
(%standard-build-options): Add --rounds.
(set-build-options-from-command-line): Honor it.
* doc/guix.texi (Invoking guix build): Document it.
* doc/contributing.texi (Submitting Patches): Mention it.
2015-12-08 23:58:12 +01:00
Ludovic Courtès 2fba87ac7c store: Allow clients to request multiple builds.
* guix/store.scm (set-build-options): Add #:rounds parameter and honor it.
* tests/store.scm ("build multiple times"): New test.
2015-12-08 23:58:12 +01:00
Eelco Dolstra b23b4d394a daemon: Allow builds to be repeated.
This makes it easy to detect non-deterministic builds.

* nix/libstore/build.cc (DerivationGoal): Remove 'InodesSeen'; add
'curRound', 'nrRound', and 'prevInfos'.
(DerivationGoal::inputsRealised): Initialize 'nrRound'.
(NotDeterministic): New error type.
(DerivationGoal::buildDone): Check whether we need to repeat.
(DerivationGoal::startBuilder): Adjust message.
(DerivationGoal::registerOutputs): Check whether we get the same result.
* nix/libstore/globals.cc (Settings::get(const string & name, int def)):
New method.
* nix/libstore/globals.hh (Settings): Add it.
* nix/libstore/store-api.hh (ValidPathInfo): Add operator ==.
* nix/nix-daemon/nix-daemon.cc (performOp): Allow "build-repeat" for
"untrusted" users.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-08 23:58:12 +01:00
Andreas Enge 7fbee931a5 gnu: python-pillow: Update to 3.0.0.
* gnu/packages/python.scm (python-pillow, python2-pillow): Update to 3.0.0.
2015-12-08 23:16:37 +01:00
Andreas Enge b00150641a gnu: numactl: Update to 2.0.10.
* gnu/packages/linux.scm (numactl)[source]: Update to 2.0.10.
  [arguments]: Adapt phases to use the autotools machinery.
  [native-inputs]: Add autotools packages.
2015-12-08 23:09:59 +01:00
Ludovic Courtès c499125704 gnu-maintenance: Exclude development releases from GNOME update candidates.
Suggested by Efraim Flashner <efraim@flashner.co.il>.

* guix/gnu-maintenance.scm (latest-ftp-release): Add #:keep-file?
parameter and honor it.
(latest-gnome-release)[%not-dot]: New variable.
[even-minor-version?, even-numbered-tarball?]: New procedures.
Pass EVEN-NUMBERED-TARBALL? as #:keep-file? argument.
2015-12-08 16:09:33 +01:00
Efraim Flashner f714d9fe04 gnu: glade3: Update to 3.8.5.
* gnu/packages/gnome.scm (glade3): Update to 3.8.5.
2015-12-08 15:05:25 +02:00
Efraim Flashner 20a1a4c322 gnu: autogen: Update to 5.18.7.
* gnu/packages/autogen.scm (autogen): Update to 5.18.7.
2015-12-08 14:30:29 +02:00
Ludovic Courtès 6efa6f7645 gnu-maintenance: ftp.gnome.org does not provide signatures.
* guix/gnu-maintenance.scm (latest-ftp-release): Add #:file->signature
parameter.  Honor it.
(latest-gnome-release): Pass #:file->signature.
* guix/upstream.scm (coalesce-sources): Keep 'signature-urls' as #f
unless both sources provide it.
2015-12-07 23:57:20 +01:00
Ludovic Courtès e80c0f85ba gnu-maintenance: Add GNOME updater.
* guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Remove glib.
(false-if-ftp-error): New macro.
(latest-release*): Use it.
(non-emacs-gnu-package?): Rename to...
(pure-gnu-package?): ... this.  Add call to 'gnome-package?'.
(%gnu-updater): Adjust accordingly.
(gnome-package?, latest-gnome-release): New procedures.
(%gnome-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %GNOME-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
2015-12-07 23:32:01 +01:00
Ludovic Courtès e946f2ec92 gnu-maintenance: Generalize 'latest-ftp-release'.
* guix/gnu-maintenance.scm (latest-release): Rename to...
(latest-ftp-release): ... this.  Add #:server and #:directory
parameters.
(latest-release): New procedure.
2015-12-07 23:32:01 +01:00
Ludovic Courtès fba607b129 refresh: Bail out when asked for a nonexistent updater.
* guix/scripts/refresh.scm (lookup-updater): Call 'leave' when 'find'
returns #f.
2015-12-07 23:32:01 +01:00
Ludovic Courtès e3cc793e7c gnu-maintenance: Do not look for releases in "w32" sub-directories.
* guix/gnu-maintenance.scm (latest-release): Filter out "w32"
directories.
2015-12-07 23:32:01 +01:00
Ludovic Courtès 202440e07a gnu-maintenance: Add tests for 'release-file?'.
* tests/gnu-maintenance.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* guix/gnu-maintenance.scm (release-file?): Export.
2015-12-07 23:32:01 +01:00
Ludovic Courtès fa04a04f18 gnu-maintenance: Properly handle TeXmacs.
* guix/gnu-maintenance.scm (ftp-server/directory): Add comment.
(release-file?): Use 'string-ci=?' instead of 'equal?' when comparing
project names.
2015-12-07 23:32:01 +01:00