Commit Graph

9741 Commits

Author SHA1 Message Date
Ricardo Wurmus ac5d633a96 gnu: Add ghc-hslua.
* gnu/packages/haskell.scm (ghc-hslua): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 27f3949086 gnu: Add ghc-sha.
* gnu/packages/haskell.scm (ghc-sha): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 12676ce8be gnu: Add ghc-juicypixels.
* gnu/packages/haskell.scm (ghc-juicypixels): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 348519e1bf gnu: Add ghc-mmap.
* gnu/packages/haskell.scm (ghc-mmap): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus fcacbec34e gnu: Add ghc-filemanip.
* gnu/packages/haskell.scm (ghc-filemanip): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 132133c1ae gnu: Add ghc-yaml.
* gnu/packages/haskell.scm (ghc-yaml): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 9efdbb72af gnu: Add ghc-mockery.
* gnu/packages/haskell.scm (ghc-mockery): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 1c17529fd5 gnu: Add ghc-logging-facade.
* gnu/packages/haskell.scm (ghc-logging-facade): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus b55630a3a8 gnu: Add ghc-conduit.
* gnu/packages/haskell.scm (ghc-conduit): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 1300634bf1 gnu: Add ghc-hspec-contrib.
* gnu/packages/haskell.scm (ghc-hspec-contrib): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus cb31771f84 gnu: Add ghc-aeson-qq.
* gnu/packages/haskell.scm (ghc-aeson-qq): New variable.
2015-12-10 14:34:51 +01:00
Ricardo Wurmus 3611fc7bff gnu: Add ghc-haskell-src-meta.
* gnu/packages/haskell.scm (ghc-haskell-src-meta): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 2e67725150 gnu: Add ghc-th-orphans.
* gnu/packages/haskell.scm (ghc-th-orphans): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 536b84a832 gnu: Add ghc-th-reify-many.
* gnu/packages/haskell.scm (ghc-th-reify-many): New variable.
2015-12-10 14:34:50 +01:00
Ricardo Wurmus 25101be9dc gnu: Add ghc-th-expand-syns.
* gnu/packages/haskell.scm (ghc-th-expand-syns): New variable.
2015-12-10 14:34:50 +01:00
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
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
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