Commit Graph

46843 Commits

Author SHA1 Message Date
Jakob L. Kreuze 5ea7537b9a
machine: Allow non-root users to deploy.
* doc/guix.texi (Invoking guix deploy): Add section describing
prerequisites for deploying as a non-root user.
* guix/remote.scm (remote-pipe-for-gexp): New optional 'become-command'
argument.
(%remote-eval): New optional 'become-command' argument.
(remote-eval): New 'become-command' keyword argument.
* guix/ssh.scm (remote-inferior): New optional 'become-command'
argument.
(inferior-remote-eval): New optional 'become-command' argument.
(remote-authorize-signing-key): New optional 'become-command' argument.
* gnu/machine/ssh.scm (machine-become-command): New variable.
(managed-host-remote-eval): Invoke 'remote-eval' with the
'#:become-command' keyword.
(deploy-managed-host): Invoke 'remote-authorize-signing-key' with the
'#:become-command' keyword.
2019-08-15 07:43:03 -04:00
Jakob L. Kreuze 03cbd94d48
remote: Remove '--system' argument.
* gnu/services.scm (activation-script): Return a <program-file> rather
than a <scheme-file>.
* gnu/deploy.scm (guix-deploy): Remove handling for '--system'.
(show-help): Remove documentation for '--system'.
(%default-options): Remove default setting for 'system'.
2019-08-14 15:38:13 -04:00
Jakob L. Kreuze 2c8e04f136
remote: Build derivations appropriate for the remote's
* gnu/machine/ssh.scm (machine-ssh-configuration): Add 'system' field.
(managed-host-remote-eval): Pass 'system' field to 'remote-eval'.
(machine-check-building-for-appropriate-system): New variable.
(check-deployment-sanity): Add call to
'machine-check-building-for-appropriate-system'.
* doc/guix.texi (Invoking guix deploy): Describe new 'system' field.
* guix/ssh.scm (remote-system): New variable.
* guix/remote.scm (remote-eval): Use result of 'remote-system' when
lowering the G-Expression.
(remote-eval): Add 'system' keyword argument.
(trampoline): Return a <program-file> rather than a <scheme-file>.
2019-08-14 15:38:09 -04:00
Carl Dong 67dac6b892
gnu: mingw: Add x86_64 support.
This patch parameterizes previously hard-coded instances of
i686-w64-mingw32, adding support for x86_64-w64-mingw32.

* gnu/packages/mingw.scm (make-mingw-w64): New procedure.
(mingw-w64-i686, mingw-w64-x86_64): New variables.
(%mingw-triplet): Remove.
(mingw-w64): Update to point to 'mingw-w64-i686'.
* gnu/packages/cross-base.scm (cross-gcc): Use 'libc' keyword argument
if specified, instead of treating it as a boolean.
(native-libc): Return the correct mingw-w64 depending on machine
specified in target.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "x86_64-mingw".
* gnu/build/cross-toolchain.scm (set-cross-path/mingw): Replace
hardcoded 'i686-w64-mingw32' instances with 'target' keyword argument.
(cross-gcc-build-phases): Update accordingly; use 'target-mingw?'
implementation of target checking and add commentary.
* gnu/ci.scm (%cross-targets): Add "x86_64-w64-mingw32".
2019-08-14 21:29:53 +02:00
Eric Bavier 4afdb79249
gnu: onionshare: Upgrade to 2.1.
* gnu/packages/tor.scm (onionshare): Upgrade to 2.1.
[arguments]: Rename "tests" phase to "check".  Set home directory for tests.
Remove reference to closed upstream bug.
[inputs]: Add python-pycrypto and python-pysocks.
[license]: Remove bsd-3 license; relevant file no longer present.
2019-08-13 22:34:57 -05:00
Carlo Zancanaro 588a0a335d
gnu: Blender: Use opensubdiv.
Fixes <https://bugs.gnu.org/36977>.

* gnu/packages/graphics.scm (blender)[inputs]: Add opensubdiv.
[arguments]: Add "-DWITH_OPENSUBDIV=ON" to #:configure-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-08-13 14:43:42 -04:00
Carlo Zancanaro 13f30b546d
gnu: Add opensubdiv.
* gnu/packages/graphics.scm (opensubdiv): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-08-13 14:43:39 -04:00
Marius Bakke 1b1b006afd
Merge branch 'staging' 2019-08-13 18:51:12 +02:00
Marius Bakke fc34abf8c1
gnu: xapian: Update to 1.4.12.
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to 1.4.12.
2019-08-13 18:40:55 +02:00
Marius Bakke da926c2503
gnu: ccid: Update to 1.4.31.
* gnu/packages/security-token.scm (ccid): Update to 1.4.31.
2019-08-13 18:40:55 +02:00
Marius Bakke ecfdc95a72
gnu: zathura-pdf-mupdf: Update to 0.3.5.
* gnu/packages/pdf.scm (zathura-pdf-mupdf): Update to 0.3.5.
2019-08-13 18:40:54 +02:00
Marius Bakke d08dc99fad
gnu: mupdf: Update to 1.16.1.
* gnu/packages/pdf.scm (mupdf): Update to 1.16.1.
2019-08-13 18:40:54 +02:00
Tobias Geerinckx-Rice ecab5e3529
gnu: git: Update to 2.22.1.
* gnu/packages/version-control.scm (git): Update to 2.22.1.
2019-08-13 17:09:10 +02:00
Leo Famulari 55fe9abdcc
gnu: tremc: Update to 0.9.1-0.4d50dab.
* gnu/packages/bittorrent.scm (tremc): Update to 0.9.1-0.4d50dab.
2019-08-13 11:03:27 -04:00
Nicolas Goaziou 1ae2d3a11b
gnu: emacs-relint: Update to 1.10.
* gnu/packages/emacs-xyz.scm (emacs-relint): Update to 1.10.
2019-08-13 12:52:47 +02:00
Nicolas Goaziou 77bdfe2f13
gnu: scribus: Update to 1.5.5.
* gnu/packages/scribus.scm (scribus): Update to 1.5.5.
[source]: Remove unnecessary patches and snippet.
[description]: Change freetype to FreeType.
* gnu/packages/patches/scribus-poppler.patch: Remove file.
* gnu/local.mk: Apply removal.
2019-08-13 12:44:06 +02:00
Amin Bandali f9ccde2460
gnu: Add emacs-ebdb.
* gnu/packages/emacs-xyz.scm (emacs-ebdb): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-08-13 12:18:52 +02:00
Brian Leung 39a6852acb
gnu: emacs-inf-ruby: Update to 2.5.2.
* gnu/packages/emacs-xyz.scm (emacs-inf-ruby): Update to 2.5.2.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-08-13 12:13:20 +02:00
Leo Famulari a797e55ca0
gnu: Syncthing: Update to 1.2.1.
* gnu/packages/syncthing.scm (syncthing): Update to 1.2.1.
2019-08-12 16:23:12 -04:00
Leo Famulari e9a0e4756f
gnu: go-github-com-syncthing-notify: Update to 0.0.0-5.69c7a95.
* gnu/packages/syncthing.scm (go-github-com-syncthing-notify): Update to
0.0.0-5.69c7a95.
2019-08-12 16:23:12 -04:00
Leo Famulari 158e82933c
gnu: go-github-com-lib-pq: Update to 1.2.0.
* gnu/packages/syncthing.scm (go-github-com-lib-pq): Update to 1.2.0.
2019-08-12 16:23:12 -04:00
Leo Famulari e7189e0bff
gnu: go-github-com-maruel-panicparse: Update to 1.3.0.
* gnu/packages/golang.scm (go-github-com-maruel-panicparse): Update to 1.3.0.
2019-08-12 16:23:11 -04:00
Leo Famulari 8a5073461f
gnu: go-golang-org-x-sys-unix: Update to 0.0.0-4.04f50cd.
* gnu/packages/golang.scm (go-golang-org-x-sys-unix): Update to 0.0.0-4.04f50cd.
2019-08-12 16:23:11 -04:00
Leo Famulari 6df4e6899d
gnu: MPD: Update to 0.21.13.
* gnu/packages/mpd.scm (mpd): Update to 0.21.13.
2019-08-12 16:21:52 -04:00
Leo Famulari 89ccc9ce91
gnu: dav1d: Update to 0.4.0.
* gnu/packages/video.scm (dav1d): Update to 0.4.0.
2019-08-12 16:21:49 -04:00
Nicolas Goaziou 57939283c0
gnu: mame: Fix build.
* gnu/packages/emulators.scm (mame): Apply upstream patch.
* gnu/packages/patches/mame-rapidjson-fix.patch: New file.
* gnu/local.mk: Register file.
2019-08-12 15:39:59 +02:00
Efraim Flashner c9093d2794
gnu: Add rust-winapi.
* gnu/packages/crates-io.scm (rust-winapi): New variable.
2019-08-12 11:57:33 +03:00
Efraim Flashner 07631e31b1
gnu: Add rust-winapi-x86-64-pc-windows-gnu.
* gnu/packages/crates-io.scm (rust-winapi-x86-64-pc-windows-gnu): New
variable.
2019-08-12 11:57:33 +03:00
Efraim Flashner 58fdf6e1f2
gnu: Add rust-winapi-i686-pc-windows-gnu.
* gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu): New
variable.
2019-08-12 11:57:33 +03:00
Efraim Flashner 2a13c9fa5c
gnu: Add rust-wasm-bindgen-shared.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-shared): New variable.
2019-08-12 11:57:33 +03:00
Efraim Flashner ede033176a
gnu: Add rust-unindent.
* gnu/packages/crates-io.scm (rust-unindent): New variable.
2019-08-12 11:57:32 +03:00
Efraim Flashner 96bb8fd065
gnu: Add rust-unicode-width.
* gnu/packages/crates-io.scm (rust-unicode-width): New variable.
2019-08-12 11:57:32 +03:00
Efraim Flashner f706f5dcf0
gnu: Add rust-ucd-util.
* gnu/packages/crates-io.scm (rust-ucd-util): New variable.
2019-08-12 11:57:32 +03:00
Efraim Flashner 92a292f14f
gnu: Add rust-typenum.
* gnu/packages/crates-io.scm (rust-typenum): New variable.
2019-08-12 11:57:31 +03:00
Efraim Flashner eca548232c
gnu: Add rust-synstructure-test-traits.
* gnu/packages/crates-io.scm (rust-synstructure-test-traits): New
variable.
2019-08-12 11:57:31 +03:00
Efraim Flashner 3ded5e3f70
gnu: Add rust-strsim.
* gnu/packages/crates-io.scm (rust-strsim): New variable.
2019-08-12 11:57:31 +03:00
Efraim Flashner 0d601e3860
gnu: Add rust-stdweb-internal-runtime.
* gnu/packages/crates-io.scm (rust-stdweb-internal-runtime): New
variable.
2019-08-12 11:57:31 +03:00
Efraim Flashner a60f26b24d
gnu: Add rust-spin.
* gnu/packages/crates-io.scm (rust-spin): New variable.
2019-08-12 11:57:30 +03:00
Efraim Flashner b158738a04
gnu: Add rust-slab.
* gnu/packages/crates-io.scm (rust-slab): New variable.
2019-08-12 11:57:30 +03:00
Efraim Flashner 9cbb0c97ce
gnu: Add rust-shlex.
* gnu/packages/crates-io.scm (rust-shlex): New variable.
2019-08-12 11:57:30 +03:00
Efraim Flashner b7ca017ad3
gnu: Add rust-semver-parser.
* gnu/packages/crates-io.scm (rust-semver-parser): New variable.
2019-08-12 11:57:29 +03:00
Efraim Flashner ac3e813b84
gnu: Add rust-scopeguard.
* gnu/packages/crates-io.scm (rust-scopeguard): New variable.
2019-08-12 11:57:29 +03:00
Efraim Flashner cbfef1f903
gnu: Add rust-scoped-tls.
* gnu/packages/crates-io.scm (rust-scoped-tls): New variable.
2019-08-12 11:57:29 +03:00
Efraim Flashner f6a1efbca4
gnu: Add rust-rustc-std-workspace-core.
* gnu/packages/crates-io.scm (rust-rustc-std-workspace-core): New
variable.
2019-08-12 11:57:29 +03:00
Efraim Flashner dea7871742
gnu: Add rust-quick-error.
* gnu/packages/crates-io.scm (rust-quick-error): New variable.
2019-08-12 11:57:28 +03:00
Efraim Flashner 3bb3a9a021
gnu: Add rust-ppv-lite86.
* gnu/packages/crates-io.scm (rust-ppv-lite86): New variable.
2019-08-12 11:57:28 +03:00
Efraim Flashner b7d218d8cb
gnu: Add rust-pocket-resources.
* gnu/packages/crates-io.scm (rust-pocket-resources): New variable.
2019-08-12 11:57:28 +03:00
Efraim Flashner b1c3b9e73b
gnu: Add rust-plain.
* gnu/packages/crates-io.scm (rust-plain): New variable.
2019-08-12 11:57:27 +03:00
Efraim Flashner b275df9cd3
gnu: Add rust-pin-utils.
* gnu/packages/creates-io.scm (rust-pin-utils): New variable.
2019-08-12 11:57:27 +03:00
Efraim Flashner e11365fdad
gnu: Add rust-percent-encoding.
* gnu/packages/creates-io.scm (rust-percent-encoding): New variable.
2019-08-12 11:57:27 +03:00