aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-23gnu: gifsicle: Update to 1.92.Tobias Geerinckx-Rice
* gnu/packages/image.scm (gifsicle): Update to 1.92.
2019-04-23build-self: Explain why we keep using deprecated bindings.Ludovic Courtès
* build-aux/build-self.scm (build): Add comment regarding the deprecated names.
2019-04-23linux-container: Remove '%containerized-shepherd-service' hack.Ludovic Courtès
This hack worked around a defect in the Shepherd 0.5.0 and is no longer needed. * gnu/services/shepherd.scm (%containerized-shepherd-service): Remove. * gnu/system/linux-container.scm (container-essential-services): Don't use it.
2019-04-23services: account: Make 'user-homes' a one-shot service.Ludovic Courtès
* gnu/system/shadow.scm (account-shepherd-service): Add 'one-shot?' field. Return #t from 'start'.
2019-04-23services: shepherd: Support one-shot services.Ludovic Courtès
* gnu/services/shepherd.scm (<shepherd-service>)[one-shot?]: New field. (shepherd-service-file): Pass #:one-shot? to the <service> constructor. * doc/guix.texi (Shepherd Services): Document it.
2019-04-23gnu: shepherd: Update to 0.6.0.Ludovic Courtès
* gnu/packages/admin.scm (shepherd): Update to 0.6.0. Use "mirror://gnu" as the URL base. [properties]: Remove.
2019-04-23gnu: spirv-headers: Update to 1.3.7.Rutger Helling
* gnu/packages/vulkan.scm (spirv-headers): Update to 1.3.7.
2019-04-23gnu: glslang: Update to 7.11.3188.Rutger Helling
* gnu/packages/vulkan.scm (glslang): Update to 7.11.3188.
2019-04-23gnu: emacs-disk-usage: Update to 1.3.3.Pierre Neidhardt
* gnu/packages/emacs-xyz.scm (emacs-disk-usage): Update to 1.3.3.
2019-04-23Revert "build-self: Avoid deprecated bindings."Ludovic Courtès
This reverts commit fa9e6e8b676ca920a894cf3b48bfcb670077144f. By using the new bindings, we would prevent users of Guix prior to de9fbe9cdcf5f8deb08becfc54b523084fd67bda, such as version 0.16.0, to upgrade to current master. Thus, we will keep using the old names for a while.
2019-04-23nls: Add missing installer files.Ludovic Courtès
* po/guix/POTFILES.in: Add newt/final.scm and newt/partition.scm.
2019-04-23install: Pass "quiet" to the kernel.Ludovic Courtès
This is a followup to 5582aa8e31bf88f981caedeb4fbbb758486b6ca7. * gnu/system/install.scm (installation-os)[kernel-arguments]: Add "quiet".
2019-04-23installer: Run 'guix system init' with the right locale.Ludovic Courtès
* gnu/installer/utils.scm (run-shell-command): Add #:locale and honor it. * gnu/installer/newt/final.scm (run-install-shell): Add 'locale' parameter; pass it to 'install-system'. (run-final-page): Obtain locale from RESULT; pass it to 'run-install-shell'. * gnu/installer/final.scm (install-system): Add 'locale' parameter; pass it to 'run-shell-command'.
2019-04-22system: Change default kernel-arguments to '("quiet").Christopher Baines
This improves the readability of the boot process, especially when using full disk encryption where you're required to enter the passphrase at a particular point. * gnu/system.scm (<operating-system>)[kernel-arguments]: Change the default to '("quiet"). * doc/guix.texi (operating-system Reference): Document this change.
2019-04-22gnu: openssh: Update to 8.0p1.Mark H Weaver
* gnu/packages/ssh.scm (openssh): Update to 8.0p1. [source]: Remove patch. * gnu/packages/patches/openssh-CVE-2018-20685.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
2019-04-22gnu: minetest: Simplify 'freetype' input specification.Mark H Weaver
* gnu/packages/games.scm (minetest)[inputs]: Eliminate an unnecessary use of Guile's '@' syntax to reference the 'freetype' package.
2019-04-22gnu: minetest-data: Update to 5.0.1.Mark H Weaver
* gnu/packages/games.scm (minetest-data): Update to 5.0.1. [description]: Fix typo.
2019-04-22gnu: maxima: Return #t from custom 'check' phase.Mark H Weaver
* gnu/packages/maths.scm (maxima)[arguments]: Use invoke in the custom check phase.
2019-04-22build-self: Avoid deprecated bindings.Mark H Weaver
* build-aux/build-self.scm (build): Replace references to nix-server-* with store-connection-*.
2019-04-22gnu: ghc-haskell-lexer: Update to 1.0.2.Tobias Geerinckx-Rice
* gnu/packages/haskell.scm (ghc-haskell-lexer): Update to 1.0.2.
2019-04-22gnu: python-redis: Update to 3.2.1.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (python-redis): Update to 3.2.1.
2019-04-22gnu: libabigail: Don't use NAME in source URI.Tobias Geerinckx-Rice
* gnu/packages/elf.scm (libabigail)[source]: Hard-code NAME.
2019-04-22gnu: libabigail: Update to 1.6.Tobias Geerinckx-Rice
* gnu/packages/elf.scm (libabigail): Update to 1.6.
2019-04-22gnu: python-sqlalchemy: Update to 1.3.3.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (python-sqlalchemy): Update to 1.3.3.
2019-04-22gnu: nsd: Update to 4.1.27.Tobias Geerinckx-Rice
* gnu/packages/dns.scm (nsd): Update to 4.1.27.
2019-04-22gnu: python-pyodbc: Update to 4.0.26.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (python-pyodbc): Update to 4.0.26.
2019-04-22gnu: memcached: Update to 1.5.13.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (memcached): Update to 1.5.13.
2019-04-22gnu: translate-shell: Update to 0.9.6.10.Tobias Geerinckx-Rice
* gnu/packages/dictionaries.scm (translate-shell): Update to 0.9.6.10.
2019-04-22gnu: linux-libre: Update to 5.0.9.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.0.9. (%linux-libre-hash): Update hash.
2019-04-22gnu: linux-libre@4.19: Update to 4.19.36.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.36. (%linux-libre-4.19-hash): Update hash.
2019-04-22gnu: linux-libre@4.14: Update to 4.14.113.Mark H Weaver
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.113. (%linux-libre-4.14-hash): Update hash.
2019-04-22gnu: linux-libre@4.9: Update to 4.9.170.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.170.
2019-04-22pull: Create profile after the store connection has been opened.Ludovic Courtès
Fixes <https://bugs.gnu.org/35341>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. Previously, we'd call 'ensure-default-profile' before the connection to the daemon has been opened. On the first connection, the daemon ensures that /var/guix/profiles/per-user is world-writable. Since we were calling 'ensure-default-profile' before that, /var/guix/profiles/per-user was typically non-writable (555 and root-owned), and thus 'guix pull' would error out. * guix/scripts/pull.scm (guix-pull): Call 'ensure-default-profile' within 'with-store'.
2019-04-22pull: Add '--news'.Ludovic Courtès
Suggested by Tobias Geerinckx-Rice <me@tobias.gr>. * guix/scripts/pull.scm (%options, show-help): Add '--news'. (display-profile-news): Add #:current-is-newer? and #:concise?. Honor them. (build-and-install): Pass #:concise? #t. (display-new/upgraded-packages)[concise/max-item-count]: New variable. Add call to 'display-hint'. (process-query): Add clause for 'display-news'. * doc/guix.texi (Invoking guix pull): Add '--news'.
2019-04-22gnu: Add pass-otp.Alex Griffin
* gnu/packages/password-utils.scm (pass-otp): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2019-04-22gnu: password-store: Allow external packages to provide extensions.Alex Griffin
* gnu/packages/password-utils.scm (password-store): Add mechanism for providing pass extensions in separate packages. [arguments]: Add patch-system-extension-dir phase. [native-search-paths]: Add PASSWORD_STORE_SYSTEM_EXTENSION_DIR. Signed-off-by: Christopher Baines <mail@cbaines.net>
2019-04-22gnu: python-dill: Update to 0.2.9.Tobias Geerinckx-Rice
* gnu/packages/python-xyz.scm (python-dill): Update to 0.2.9.
2019-04-22gnu: python-serpent: Tweak description.Tobias Geerinckx-Rice
* gnu/packages/python-xyz.scm (python-serpent)[description]: Use @code{} and edit slightly.
2019-04-22gnu: python-serpent: Update to 1.28.Tobias Geerinckx-Rice
* gnu/packages/python-xyz.scm (python-serpent): Update to 1.28. [native-inputs]: Add python-attrs & python-pytz.
2019-04-22gnu: python-openpyxl: Update to 2.6.2.Tobias Geerinckx-Rice
* gnu/packages/python-xyz.scm (python-openpyxl): Update to 2.6.2.
2019-04-22gnu: perl-text-csv: Fix build.Tobias Geerinckx-Rice
* gnu/packages/perl.scm (perl-text-csv)[source]: Update URL.
2019-04-22gnu: parallel: Update to 20190422.Tobias Geerinckx-Rice
* gnu/packages/parallel.scm (parallel): Update to 20190422.
2019-04-22gnu: eid-mw: Update to 4.4.16.Tobias Geerinckx-Rice
* gnu/packages/security-token.scm (eid-mw): Update to 4.4.16.
2019-04-22gnu: dbacl: Don't use NAME in source URI.Tobias Geerinckx-Rice
* gnu/packages/textutils.scm (dbacl)[source]: Hard-code NAME.
2019-04-22gnu: youtube-dl: Update to 2019.04.17.Tobias Geerinckx-Rice
* gnu/packages/video.scm (youtube-dl): Update to 2019.04.17.
2019-04-22gnu: dav1d: Update to 0.2.2.Tobias Geerinckx-Rice
* gnu/packages/video.scm (dav1d): Update to 0.2.2.
2019-04-22gnu: foo2zjs: Update to 20190413.Tobias Geerinckx-Rice
* gnu/packages/cups.scm (foo2zjs): Update to 20190413.
2019-04-21gnu: supertuxkart: Simplify unbundling and unbundle enet.Pierre Langlois
* gnu/packages/games.scm (supertuxkart)[source](snippet): Delete "lib/enet". Remove "CMakeList.txt" substitution. [arguments]<#:configure-flags>: Add "-DUSER_SYSTEM_GLEW=TRUE" and "-DUSE_SYSTEM_ENET=TRUE". <#:phases>: Delete. Signed-off-by: Christopher Baines <mail@cbaines.net>
2019-04-21gnu: supertuxkart: Update to 1.0.Pierre Langlois
* gnu/packages/games.scm (supertuxkart): Update to 1.0. [inputs]: Add openssl. Signed-off-by: Christopher Baines <mail@cbaines.net>
2019-04-21gnu: Add alex4.Kei Kebreau
* gnu/packages/games.scm (alex4): New variable.
;parent died or something (primitive-exit 2)))))) (pid (close-port child) (when (memq 'user namespaces) (initialize-user-namespace pid host-uids #:guest-uid guest-uid #:guest-gid guest-gid)) ;; TODO: Initialize cgroups. (write 'ready parent) (newline parent) ;; Check whether the child process' setup phase succeeded. (let ((message (read parent))) (close-port parent) (match message ('ready ;success pid) (((? symbol? key) args ...) ;exception (apply throw key args)) (_ ;unexpected termination #f))))))))) ;; FIXME: This is copied from (guix utils), which we cannot use because it ;; would pull (guix config) and all. (define (call-with-temporary-directory proc) "Call PROC with a name of a temporary directory; close the directory and delete it when leaving the dynamic extent of this call." (let* ((directory (or (getenv "TMPDIR") "/tmp")) (template (string-append directory "/guix-directory.XXXXXX")) (tmp-dir (mkdtemp! template))) (dynamic-wind (const #t) (lambda () (proc tmp-dir)) (lambda () (false-if-exception (delete-file-recursively tmp-dir)))))) (define* (call-with-container mounts thunk #:key (namespaces %namespaces) (host-uids 1) (guest-uid 0) (guest-gid 0) (process-spawned-hook (const #t))) "Run THUNK in a new container process and return its exit status; call PROCESS-SPAWNED-HOOK with the PID of the new process that has been spawned. MOUNTS is a list of <file-system> objects that specify file systems to mount inside the container. NAMESPACES is a list of symbols corresponding to the identifiers for Linux namespaces: mnt, ipc, uts, pid, user, and net. By default, all namespaces are used. HOST-UIDS is the number of host user identifiers to map into the container's user namespace, if there is one. By default, only a single uid/gid, that of the current user, is mapped into the container. The host user that creates the container is the root user (uid/gid 0) within the container. Only root can map more than a single uid/gid. GUEST-UID and GUEST-GID specify the first UID (respectively GID) that host UIDs (respectively GIDs) map to in the namespace. Note that if THUNK needs to load any additional Guile modules, the relevant module files must be present in one of the mappings in MOUNTS and the Guile load path must be adjusted as needed." (call-with-temporary-directory (lambda (root) (let ((pid (run-container root mounts namespaces host-uids thunk #:guest-uid guest-uid #:guest-gid guest-gid))) ;; Catch SIGINT and kill the container process. (sigaction SIGINT (lambda (signum) (false-if-exception (kill pid SIGKILL)))) (process-spawned-hook pid) (match (waitpid pid) ((_ . status) status)))))) (define (container-excursion pid thunk) "Run THUNK as a child process within the namespaces of process PID and return the exit status." (define (namespace-file pid namespace) (string-append "/proc/" (number->string pid) "/ns/" namespace)) (match (primitive-fork) (0 (call-with-clean-exit (lambda () (for-each (lambda (ns) (let ((source (namespace-file (getpid) ns)) (target (namespace-file pid ns))) ;; Joining the namespace that the process already ;; belongs to would throw an error so avoid that. ;; XXX: This /proc interface leads to TOCTTOU. (unless (string=? (readlink source) (readlink target)) (call-with-input-file source (lambda (current-ns-port) (call-with-input-file target (lambda (new-ns-port) (setns (fileno new-ns-port) 0)))))))) ;; It's important that the user namespace is joined first, ;; so that the user will have the privileges to join the ;; other namespaces. Furthermore, it's important that the ;; mount namespace is joined last, otherwise the /proc mount ;; point would no longer be accessible. '("user" "ipc" "uts" "net" "pid" "mnt")) (purify-environment) (chdir "/") (thunk)))) (pid (match (waitpid pid) ((_ . status) (status:exit-val status)))))) (define (container-excursion* pid thunk) "Like 'container-excursion', but return the return value of THUNK." (match (pipe) ((in . out) (match (container-excursion pid (lambda () (close-port in) (write (thunk) out) (close-port out))) (0 (close-port out) (let ((result (read in))) (close-port in) result)) (_ ;maybe PID died already (close-port out) (close-port in) #f)))))