summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add 'guix offload' as a daemon build hook.Ludovic Courtès2014-01-24
| | | | | | | | | | | | | | | | | | | | | | | | * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_BUILD_HOOK): New macro. (options): Add '--no-build-hook'. (parse_opt): Handle it. (main)[HAVE_DAEMON_OFFLOAD_HOOK]: Set 'useBuildHook' by default. Set $NIX_BUILD_HOOK to our offload hook unless otherwise specified. [!HAVE_DAEMON_OFFLOAD_HOOK]: Clear 'useBuildHook'. * pre-inst-env.in: Set and export NIX_BUILD_HOOK. * nix/scripts/offload.in, guix/scripts/offload.scm: New files. * guix/ui.scm (show-guix-help)[internal?]: Add "offload". * config-daemon.ac: Call 'GUIX_CHECK_UNBUFFERED_CBIP'. Instantiate 'nix/scripts/offload'. Set 'BUILD_DAEMON_OFFLOAD' conditional, and optionally define 'HAVE_DEAMON_OFFLOAD_HOOK' cpp macro. * daemon.am (nodist_pkglibexec_SCRIPTS)[BUILD_DAEMON_OFFLOAD]: Add it. * Makefile.am (MODULES)[BUILD_DAEMON_OFFLOAD]: Add 'guix/scripts/offload.scm'. (EXTRA_DIST)[!BUILD_DAEMON_OFFLOAD]: Likewise. * m4/guix.m4 (GUIX_CHECK_UNBUFFERED_CBIP): New macro. * doc/guix.texi (Setting Up the Daemon): Move most of the body to... (Build Environment Setup): ... this. New subsection. (Daemon Offload Setup): New subsection.
* store: Add 'topologically-sorted'.Ludovic Courtès2014-01-24
| | | | | | | * guix/store.scm (topologically-sorted): New procedure. * tests/store.scm ("topologically-sorted, one item", "topologically-sorted, several items", "topologically-sorted, more difficult"): New tests.
* nar: Add 'restore-file-set', for use by build hooks.Ludovic Courtès2014-01-24
| | | | | | | | | | | | | | | * guix/nar.scm (&nar-invalid-hash-error, &nar-signature-error): New condition types. (&nar-error): Add 'file' and 'port' fields. (&nar-read-error): Remove 'port' and 'file' fields. (lock-store-file, unlock-store-file, finalize-store-file, temporary-store-directory, restore-file-set): New procedures. * tests/nar.scm (%seed): New variable. (random-text): New procedure. ("restore-file-set (signed, valid)", "restore-file-set (missing signature)", "restore-file-set (corrupt)"): New tests. * po/Makevars (XGETTEXT_OPTIONS): Add '--keyword=message'.nar fixes * po/POTFILES.in: Add guix/nar.scm.
* store: Add 'with-store' convenience macro.Ludovic Courtès2014-01-24
| | | | * guix/store.scm (with-store): New macro.
* hash: Add 'open-sha256-input-port', for Guile > 2.0.9.Ludovic Courtès2014-01-24
| | | | | | | | * guix/hash.scm (open-sha256-input-port): New procedure. * tests/hash.scm (supports-unbuffered-cbip?): New procedure. ("open-sha256-input-port, empty", "open-sha256-input-port, hello", "open-sha256-input-port, hello, one two", "open-sha256-input-port, hello, read from wrapped port"): New tests.
* pki: Factorize signature manipulation procedures.Ludovic Courtès2014-01-24
| | | | | | | * guix/pki.scm (signature-subject, signature-signed-data, valid-signature?): New procedures. * guix/scripts/authenticate.scm (guix-authenticate): Adjust to use them.
* utils: Add 'fcntl-flock'.Ludovic Courtès2014-01-24
| | | | | | * guix/utils.scm (%struct-flock, F_SETLKW, F_xxLCK): New variables. (fcntl-flock): New procedure. * tests/utils.scm ("fcntl-flock"): New test.
* store: Add 'register-path' procedure.Ludovic Courtès2014-01-24
| | | | | | | | | * guix/store.scm (register-path): New procedure. * tests/store.scm ("register-path"): New test. * guix/config.scm.in (%guix-register-program): New variable. * configure.ac: Compute and substitute 'guix_sbindir'. Compute 'guix_prefix'. * pre-inst-env.in: Define 'GUIX_REGISTER'.
* guix-register: Support registration in the current store, without '--prefix'.Ludovic Courtès2014-01-24
| | | | | | | * nix/guix-register/guix-register.cc (register_validity): Leave 'info.path' unmodified when PREFIX is empty. (main): Call 'settings.processEnvironment' early on. Leave 'settings.nixStore' unmodified when PREFIX is empty.
* store: Add comments for the %stderr constants.Ludovic Courtès2014-01-24
| | | | | * guix/store.scm (process-stderr): Add comments for the various constants, to help when stracing.
* ui: Filter out internal commands from '--help'.Ludovic Courtès2014-01-24
| | | | | * guix/ui.scm (show-guix-help)[internal?]: New procedure. Use it to filter out internal commands reported by '--help'.
* gnu: Rename (gnu packages oggvorbis) to (gnu packages xiph).Andreas Enge2014-01-23
| | | | | | | | * gnu/packages/oggvorbis.scm: Rename this ... * gnu/packages/xiph.scm: ... to this. Adjust module name accordingly. * gnu-system.am (GNU_SYSTEM_MODULES): Update. * gnu/packages/{gnunet.scm, libcanberra.scm, mp3.scm, pulseaudio.scm, sdl.scm, video.scm}: Use new module name.
* gnu: sqlite: Upgrade to 3.8.2.Sree Harsha Totakura2014-01-23
| | | | | | * gnu/packages/sqlite.scm (sqlite): Upgrade to 3.8.2. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: guile-2.0: Switch to libgc 7.4.0.Ludovic Courtès2014-01-22
| | | | | * gnu/packages/guile.scm (guile-2.0): Use LIBGC-7.4. (guile-2.0/fixed): Keep using LIBGC.
* gnu: Add libatomic_ops 7.4.0 and libgc 7.4.0.Ludovic Courtès2014-01-22
| | | | * gnu/packages/bdw-gc.scm (libatomic-ops, libgc-7.4): New variables.
* gnu: libgc: Explicitly mark license as 'x11-style'.Ludovic Courtès2014-01-22
| | | | * gnu/packages/bdw-gc.scm (libgc)[license]: Use 'x11-style'.
* gnu: isc-dhcp: Fix license.Ludovic Courtès2014-01-22
| | | | * gnu/packages/admin.scm (isc-dhcp): Change license to ISC.
* gnu: gnubik: Synchornize synopsis and description.Ludovic Courtès2014-01-22
| | | | * gnu/packages/games.scm (gnubik): Synchornize synopsis and description.
* gnu: Add GNU V.E.R.A.Ludovic Courtès2014-01-22
| | | | | * gnu/packages/dictionaries.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* licenses: Add GNU FDL 1.3+.Ludovic Courtès2014-01-22
| | | | * guix/licenses.scm (fdl1.3+): New variable.
* gnu: glib: Upgrade to 2.39.1.Ludovic Courtès2014-01-20
| | | | | | | * gnu/packages/glib.scm (glib): Upgrade to 2.39.1. Run tests sequentially. * gnu/packages/patches/glib-tests-desktop.patch: Adjust for 2.39.1. Add hunk for gsettings.c.
* doc: List what's in the chroot.Ludovic Courtès2014-01-18
| | | | * doc/guix.texi (Setting Up the Daemon): List what's in the chroot.
* Update 'nix-upstream' sub-module; adjust build system, doc, and substituter.Ludovic Courtès2014-01-18
| | | | | | | | | | | | | * nix-upstream: Update sub-module. * daemon.am (libutil_a_SOURCES): Add affinity.cc. (libutil_headers): Add affinity.hh. (libexec_PROGRAMS, nix_setuid_helper_SOURCES, nix_setuid_helper_CPPFLAGS, nix_setuid_helper_LDADD): Remove. * doc/guix.texi (Setting Up the Daemon): Remove paragraph about 'nix-setuid-helper'. * guix/scripts/substitute-binary.scm (guix-substitute-binary): Exit 0 when %CACHE-URL has an HTTP scheme and looking up its host fails. Always print a newline to stdout when starting.
* linux-initrd: Make /dev/{null,zero} world-writable.Ludovic Courtès2014-01-18
| | | | | | | Reported by zerwas on #guix. * guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/null and /dev/zero world-writable.
* gnu: mesa: Propagate input.Andreas Enge2014-01-18
| | | | * gnu/packages/gl.scm (mesa): Propagate input libx11.
* hydra: Add debugging for the Guix job set.Ludovic Courtès2014-01-18
| | | | * build-aux/hydra/guix.scm: Set '%load-verbosely'.
* gnu: gl: Correct copyright notice.Andreas Enge2014-01-18
| | | | | * gnu/packages/gl.scm: Add copyright notice for mesa, moved here from module xorg in commit 200726e.
* gnu: Add DocBook DTD and XSL style sheets.Ludovic Courtès2014-01-17
| | | | | * gnu/packages/docbook.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* doc: Distinguish between (gnu packages ...) and "GNU packages".Ludovic Courtès2014-01-17
| | | | | * doc/guix.texi (Package Modules): Add a footnote stating that (gnu packages ...) has nothing to do with "GNU packages."
* ui: Update copyright year in '--version' output.Ludovic Courtès2014-01-17
| | | | * guix/ui.scm (show-version-and-exit): Increment copyright year.
* gnu: Add libexif, libgphoto2, and gphoto2.Ludovic Courtès2014-01-15
| | | | | * gnu/packages/photo.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: pspp: Upgrade to 0.8.2John Darrington2014-01-15
| | | | | | | | * gnu/packages/maths.scm (pspp): Update to 0.8.2. * gnu/packages/patches/pspp-tests.patch: Deleted. * gnu-system.am: Removed pspp-tests.patch from the manifest. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: git: 'git-submodule' works even if Perl is not in $PATH.Ludovic Courtès2014-01-15
| | | | | | * gnu/packages/version-control.scm (git): Add 'native-inputs' field; move Gettext there from 'inputs'. In 'split' phase, wrap the 'git-submodule' script.
* gnu: valgrind: Update to 2.9.0.Andreas Enge2014-01-15
| | | | * gnu/packages/valgrind.scm (valgrind): Update to 2.9.0.
* Update 'sr.po'.Ludovic Courtès2014-01-15
|
* gnu: Add Taylor UUCP.Ludovic Courtès2014-01-15
| | | | | * gnu/packages/uucp.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: inetutils: Upgrade to 1.9.2.Ludovic Courtès2014-01-14
| | | | | * gnu/packages/admin.scm (inetutils): Upgrade to 1.9.2. Add Readline as an input.
* doc: Fix another reference to (gnu packages admin).Ludovic Courtès2014-01-14
| | | | | * doc/guix.texi (Using the Configuration System): Change module name to (gnu packages admin).
* gnu: Add mpc123.Ludovic Courtès2014-01-14
| | | | * gnu/packages/mp3.scm (libmpcdec, mpc123): New variables.
* gnu: Changes references to (gnu packages admin).Ludovic Courtès2014-01-13
| | | | | | | | * gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/system.scm, gnu/system/dmd.scm, gnu/system/shadow.scm, gnu/system/vm.scm: Change references to (gnu packages system) to (gnu packages admin). This is a followup to commit 4aeea89.
* gnu: Rename (gnu packages system) to (gnu packages admin).Ludovic Courtès2014-01-13
| | | | | | * gnu/packages/system.scm: Rename to... * gnu/packages/admin.scm: ... this. Adjust module name accordingly. * gnu-system.am (GNU_SYSTEM_MODULES): Update.
* gnu: Add ISC's DHCP implementation.Ludovic Courtès2014-01-13
| | | | * gnu/packages/system.scm (isc-dhcp): New variable.
* gnu: Add libtirpc.Ludovic Courtès2014-01-13
| | | | | * gnu/packages/onc-rpc.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* guix package: Gracefully handle EPIPE on '--search'.Ludovic Courtès2014-01-13
| | | | | * guix/scripts/package.scm (guix-package): Wrap body of 'search' in 'leave-on-EPIPE'.
* ui: Don't use hyphens in 'package->recutils' output.Ludovic Courtès2014-01-13
| | | | | * guix/ui.scm (package->recutils): Rename recutils field from 'home-page' to 'homepage'.
* gnu: Add aumix.Ludovic Courtès2014-01-13
| | | | * gnu/packages/linux.scm (aumix): New variable.
* gnu: Add GnuPG's pinentry.Ludovic Courtès2014-01-13
| | | | * gnu/packages/gnupg.scm (pinentry): New variable.
* gnu: guile-ssh: Remove now unneeded cruft.Ludovic Courtès2014-01-13
| | | | | * gnu/packages/ssh.scm (guile-ssh): Remove libssh version hack from 'autoreconf' phase.
* gnu: Add Aspell dictionaries.Ludovic Courtès2014-01-12
| | | | | | * gnu/packages/aspell.scm (aspell-dictionary): New procedure. (aspell-dict-en, aspell-dict-eo, aspell-dict-es, aspell-dict-fr): New variables.
* config: '%store-directory' always honors $NIX_STORE_DIR.Ludovic Courtès2014-01-08
| | | | | * guix/config.scm.in (%store-directory): Honor $NIX_STORE_DIR. * guix/store.scm (%store-prefix): Use %store-directory directly.