Skip to content
Snippets Groups Projects
  1. Jan 25, 2014
  2. Jan 24, 2014
  3. Jan 23, 2014
    • Ludovic Courtès's avatar
      Add 'guix offload' as a daemon build hook. · 49e6291a
      Ludovic Courtès authored
      * 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.
      49e6291a
    • Ludovic Courtès's avatar
      store: Add 'topologically-sorted'. · 50add477
      Ludovic Courtès authored
      * guix/store.scm (topologically-sorted): New procedure.
      * tests/store.scm ("topologically-sorted, one item",
        "topologically-sorted, several items", "topologically-sorted, more
        difficult"): New tests.
      50add477
    • Ludovic Courtès's avatar
      nar: Add 'restore-file-set', for use by build hooks. · cd4027fa
      Ludovic Courtès authored
      * 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.
      cd4027fa
    • Ludovic Courtès's avatar
      store: Add 'with-store' convenience macro. · ce4a4829
      Ludovic Courtès authored
      * guix/store.scm (with-store): New macro.
      ce4a4829
    • Ludovic Courtès's avatar
      hash: Add 'open-sha256-input-port', for Guile > 2.0.9. · 045111e1
      Ludovic Courtès authored
      * 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.
      045111e1
    • Ludovic Courtès's avatar
      pki: Factorize signature manipulation procedures. · d28684b5
      Ludovic Courtès authored
      * guix/pki.scm (signature-subject, signature-signed-data,
        valid-signature?): New procedures.
      * guix/scripts/authenticate.scm (guix-authenticate): Adjust to use
        them.
      d28684b5
    • Ludovic Courtès's avatar
      utils: Add 'fcntl-flock'. · 2cd5c038
      Ludovic Courtès authored
      * guix/utils.scm (%struct-flock, F_SETLKW, F_xxLCK): New variables.
        (fcntl-flock): New procedure.
      * tests/utils.scm ("fcntl-flock"): New test.
      2cd5c038
    • Ludovic Courtès's avatar
      store: Add 'register-path' procedure. · 6bfec3ed
      Ludovic Courtès authored
      * 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'.
      6bfec3ed
    • Ludovic Courtès's avatar
      guix-register: Support registration in the current store, without '--prefix'. · 349fd3b1
      Ludovic Courtès authored
      * 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.
      349fd3b1
    • Ludovic Courtès's avatar
      store: Add comments for the %stderr constants. · 5674a3fd
      Ludovic Courtès authored
      * guix/store.scm (process-stderr): Add comments for the various
        constants, to help when stracing.
      5674a3fd
    • Ludovic Courtès's avatar
      ui: Filter out internal commands from '--help'. · 59f734f3
      Ludovic Courtès authored
      * guix/ui.scm (show-guix-help)[internal?]: New procedure.
        Use it to filter out internal commands reported by '--help'.
      59f734f3
    • Andreas Enge's avatar
      gnu: Rename (gnu packages oggvorbis) to (gnu packages xiph). · 54ff0b7d
      Andreas Enge authored
      * 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.
      54ff0b7d
  4. Jan 22, 2014
  5. Jan 21, 2014
  6. Jan 20, 2014
    • Ludovic Courtès's avatar
      gnu: glib: Upgrade to 2.39.1. · 00585a55
      Ludovic Courtès authored
      * 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.
      00585a55
  7. Jan 18, 2014
Loading