summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* hydra: Pass the directory name of the Nix checkout.•••* build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item from NIX-CHECKOUT, and pass that to 'tarball-package'. Ludovic Courtès2013-09-181-4/+5
* hydra: Fix typo.•••* build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'. Ludovic Courtès2013-09-181-1/+1
* hydra: Add missing import.•••* build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix derivations). Ludovic Courtès2013-09-182-0/+2
* hydra: Return the .drv file names, not the <derivation> objects.•••* build-aux/hydra/gnu-system.scm (package->alist): Call 'derivation-file-name' on the result of 'package-derivation'. * build-aux/hydra/guix.scm (package->alist): Likewise. Ludovic Courtès2013-09-182-2/+4
* hydra: Point the Git submodule to our local copy.•••* build-aux/hydra/guix.scm (tarball-package): Add 'nix-checkout' parameter. Replace 'patch-bootstrap-script' phase by 'set-nix-module'. (hydra-jobs): Get the 'nix' value from ARGUMENTS, and pass it to 'tarball-package'. Ludovic Courtès2013-09-181-8/+12
* derivations: 'derivation' and related procedures return a single value.•••* guix/derivations.scm (derivation->output-path, derivation->output-paths): New procedures. (derivation-path->output-path): Use 'derivation->output-path'. (derivation-path->output-paths): Use 'derivation->output-paths'. (derivation): Accept 'derivation?' objects as inputs. Return a single value. (build-derivations): New procedure. (compiled-modules): Use 'derivation->output-paths'. (build-expression->derivation)[source-path]: Add case for when the input matches 'derivation?'. [prologue]: Accept 'derivation?' objects in INPUTS. [mod-dir, go-dir]: Use 'derivation->output-path'. * guix/download.scm (url-fetch): Adjust to the single-value return. * guix/packages.scm (package-output): Use 'derivation->output-path'. * guix/scripts/build.scm (guix-build): When the argument is 'derivation-path?', pass it through 'read-derivation'. Use 'derivation-file-name' to print out the .drv file names, and to register them. Use 'derivation->output-path' instead of 'derivation-path->output-path'. * guix/scripts/package.scm (roll-back): Adjust to the single-value return. (guix-package): Use 'derivation->output-path'. * guix/ui.scm (show-what-to-build): Adjust to deal with 'derivation?' objects instead of .drv file names. * gnu/system/grub.scm (grub-configuration-file): Use 'derivation->output-path' instead of 'derivation-path->output-path'. * gnu/system/vm.scm (qemu-image, system-qemu-image): Likewise. * tests/builders.scm, tests/derivations.scm, tests/packages.scm, tests/store.scm, tests/union.scm: Adjust to the new calling convention. * doc/guix.texi (Defining Packages, The Store, Derivations): Adjust accordingly. Ludovic Courtès2013-09-1818-290/+295
* tests: Clarify filtering of the "debug" output.•••* tests/guix-package.sh: Clearly filter out the "debug" output of 'gnu-make-boot0'. Ludovic Courtès2013-09-181-1/+1
* derivations: Add a nicer printer.•••* guix/derivations.scm (<derivation>): Add a printer. Ludovic Courtès2013-09-181-0/+12
* derivations: Keep the .drv file name in <derivation> objects.•••* guix/derivations.scm (<derivation>): Add 'file-name' field. (%read-derivation): Use (port-filename DRV-PORT) as the file name for the result. (derivation): Set the 'file-name' field in the result. * tests/derivations.scm ("build derivation with 1 source"): Assert that 'derivation-file-name' returns the right thing. Ludovic Courtès2013-09-172-14/+27
* gnu: dbus: Add dependency on libX11.•••* gnu/packages/glib.scm: Use #:export instead of 'define-public'. (dbus): Add LIBX11 as an input. Ludovic Courtès2013-09-161-7/+21
* Merge branch 'python'Andreas Enge2013-09-1420-67/+314
|\
| * gnu: Add python2-mechanize.•••* gnu/packages/python.scm (python2-mechanize): New variable. Andreas Enge2013-09-131-1/+36
| * gnu: Add python2-sqlite.•••* gnu/packages/python.scm (python2-sqlite): New variable. Andreas Enge2013-09-121-0/+31
| * gnu: Update python-babel, python2-babel to 1.3.•••* gnu/packages/python.scm (python-babel, python2-babel): Update to 1.3. Andreas Enge2013-09-111-5/+6
| * gnu: Add python-dateutil, python2-dateutil.•••* gnu/packages/python.scm (python-dateutil, python2-dateutil): New variables. Andreas Enge2013-09-111-0/+29
| * guix: python: Create module installation path and add it to PYTHONPATH during••• the installation phase. * guix/build/python-build-system.scm (get-python-version): New procedure. * guix/build/python-build-system.scm (install): Create and add path. * gnu/packages/python.scm (python-setuptools): Drop path creation code. Andreas Enge2013-09-112-19/+20
| * gnu: Add python-setuptools, python2-setuptools.•••* gnu/packages/python.scm (python-setuptools, python2-setuptools): New variables. Andreas Enge2013-09-101-0/+50
| * guix: python: Do not import %standard-phases from gnu-build-system.•••* guix/build-system/python.scm (python-build): Drop module gnu-build-system. Thanks to Ludovic Courtès <ludo@gnu.org>. Andreas Enge2013-09-101-1/+0
| * guix: python: Add parameter #:phases to build system.•••* guix/build-system/python.scm (python-build): Use parameter #:phases. Andreas Enge2013-09-101-0/+1
| * guix: python: Add package-with-python2, a procedure rewriting a package••• to compile with Python 2 instead of the default Python 3. * guix/build-system/python.scm (default-python2, package-with-explicit-python, package-with-python2): New procedures. * guix/build-system/python.scm (python2-pytz, python2-babel): Use package-with-python2. Andreas Enge2013-09-082-9/+56
| * guix: python: Add build phase and factor out calls to setup.py.•••* guix/build/python-build-system.scm (call-setuppy): New procedure. * guix/build/python-build-system.scm (build): New procedure. * guix/build/python-build-system.scm (check, install): Use call-setuppy. * guix/build/python-build-system.scm (%standard-phases): Add call to build. Andreas Enge2013-09-051-21/+28
| * gnu: python: Disable tests in python2-pytz and python2-babel.•••* gnu/packages/python.scm (python2-pytz, python2-babel): Disable tests. Andreas Enge2013-09-051-2/+2
| * gnu: python: Disable tests in pytz and babel.•••* gnu/packages/python.scm (python-pytz, python-babel): Disable tests. Andreas Enge2013-09-051-0/+2
| * gnu: python: Honour #:tests? and #:test-target in build system.•••* guix/build/python-build-system.scm (check): Use named parameters tests? and test-target (default now: "test" instead of "check"). Andreas Enge2013-09-051-6/+9
| * gnu: git: Switch back to Python 2.•••* gnu/packages/version-control.scm (git): Switch back to Python 2. Andreas Enge2013-09-051-1/+1
| * gnu: python: Implement the python naming scheme for pytz and babel.•••* gnu/packages/python.scm (pytz): Rename this ... * gnu/packages/python.scm (python-pytz): ... to this * gnu/packages/python.scm (python2-pytz): New variable, input python-2. * gnu/packages/python.scm (babel): Rename this ... * gnu/packages/python.scm (python-babel): ... to this * gnu/packages/python.scm (python2-babel): New variable, input python-2. Andreas Enge2013-09-041-5/+17
| * gnu: subversion: Switch back to Python 2.•••* gnu/packages/version-control.scm (subversion): Switch back to Python 2. Andreas Enge2013-09-041-1/+1
| * gnu: qemu: Switch back to Python 2.•••* gnu/packages/qemu.scm (qemu): Switch back to Python 2. Andreas Enge2013-09-041-1/+1
| * gnu: texlive: Switch back to Python 2.•••* gnu/packages/texlive.scm (texlive): Switch back to Python 2. Andreas Enge2013-09-041-1/+1
| * gnu: rubber: Switch back to Python 2.•••* gnu/packages/texlive.scm (rubber): Switch back to Python 2. Andreas Enge2013-09-041-1/+1
| * gnu: mesa: Switch back to Python 2.•••* gnu/packages/xorg.scm (mesa): Switch back to Python 2. Andreas Enge2013-09-041-1/+1
| * gnu: libxml2: Switch back to Python 2.•••* gnu/packages/xml.scm (libxml2): Switch back to Python 2. Andreas Enge2013-09-041-1/+1
| * gnu: zziplib: Switch back to Python 2.•••* gnu/packages/zip.scm (zziplib): Switch back to Python 2. Andreas Enge2013-09-041-1/+2
| * gnu: bazaar: Switch back to Python 2.•••* gnu/packages/version-control.scm (bazaar): Switch back to Python 2. Andreas Enge2013-09-041-1/+3
| * guix: python: Switch to python-wrapper as the default version for the python••• build system (switches to Python 3) and compute python-version instead of passing it as a parameter. * guix/build-system/python.scm (default-python): Switch to python-wrapper. * guix/build-system/python.scm (python-build): Drop parameter #:python-version. * guix/build/python-build-system.scm (wrap): Compute python version from input. Andreas Enge2013-09-042-5/+5
| * gnu: python: Replace input python by python-wrapper.•••* gnu/packages/{gdb.scm (gdb), cryptsetup.scm (cryptsetup), ghostscript.scm (ghostscript), glib.scm (glib), gnupg.scm (pius), gtk.scm (cairo, harfbuzz), libevent.scm (libevent), netpbm.scm (netpbm), oggvorbis.scm (libkate), qemu.scm (qemu), samba.scm (samba), texlive.scm (rubber, texlive), version-control.scm (subversion), xml.scm (libxml2, libxslt), xorg.scm (libxcb, mesa, xcb-proto, xorg-server), yasm.scm (yasm), zip.scm (zziplib)}: Replace input python by python-wrapper. Andreas Enge2013-09-0317-23/+23
| * gnu: python: Add package python-wrapper.•••* gnu/packages/python.scm (python-wrapper): New variable. Andreas Enge2013-09-031-1/+27
| * gnu: python: Revert 77c7f8f4 and make Python 3 the default.•••* gnu/packages/python.scm (python-3): Rename this to... * gnu/packages/python.scm (python): ...this, rename this to... * gnu/packages/python.scm (python-2): ...this. Andreas Enge2013-09-021-3/+3
* | substitute-binary: Add '--help'.•••Reported by Nikita Karetnikov <nikita@karetnikov.org>. * guix/scripts/substitute-binary.scm (show-help): New procedure. (guix-substitute-binary): Add '--help'. Ludovic Courtès2013-09-131-1/+29
* | gnu: gnutls: Upgrade to 3.2.4.•••* gnu/packages/gnutls.scm (gnutls): Update to 3.2.4; remove 'arguments' field, remove "patch/fix-tests" from the inputs. * gnu/packages/patches/gnutls-fix-tests-on-32-bits-system.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly. Ludovic Courtès2013-09-133-46/+3
* | guix package: Rename generation-related procedures.•••* guix/scripts/package.scm (profile-numbers): Rename to 'generation-numbers'. (previous-profile-number): Rename to 'previous-generation-number'. (profile-number): Rename to 'generation-number'. (roll-back): Rename 'previous-profile' to 'previous-generation'. Nikita Karetnikov2013-09-131-14/+14
* | Thank Matthias and Yutaka.Ludovic Courtès2013-09-121-0/+2
* | daemon: Use 'int' instead of the internal 'gcry_md_algo_t' type.•••Fixes compilation with the forthcoming libgcrypt 1.6.x. Reported by Matthias Wachs <wachs@net.in.tum.de> and NIIBE Yutaka <gniibe@fsij.org>. * nix/libutil/gcrypt-hash.cc (guix_hash_init, guix_hash_final): Use 'int' as the type of the 'algo' parameter. * nix/libutil/gcrypt-hash.hh: Update declarations accordingly. Ludovic Courtès2013-09-122-6/+6
* | gnu: avahi, dbus: Use /var as $localstatedir.•••* gnu/packages/avahi.scm (avahi): Pass '--localstatedir'; add 'patch/localstatedir'. * gnu/packages/glib.scm (dbus): Pass '--localstatedir' and '--with-session-socket-dir'; add 'patch/localstatedir'. * gnu/packages/patches/avahi-localstatedir.patch, gnu/packages/patches/dbus-localstatedir.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. Ludovic Courtès2013-09-115-3/+65
* | gnu: Move helper code to (gnu system …) modules.•••* gnu/packages/grub.scm (<menu-entry>, grub-configuration-file): Move to... * gnu/system/grub.scm: ... here. New file. * gnu/packages/linux.scm (<pam-service>, <pam-entry>, pam-service->configuration, pam-service->directory, %pam-other-services, unix-pam-service): Move to... * gnu/system/linux.scm: ... here. New file. * gnu/system/vm.scm (passwd-file): Move to... * gnu/system/shadow.scm: ... here. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/system/{grub,linux,shadow}.scm. Ludovic Courtès2013-09-117-205/+298
* | gnu: vm: Remove potluck hacks.•••* gnu/system/vm.scm (example1): Remove. (example2): Rename to... (system-qemu-image): ... this. Add 'store' parameter, and remove call to 'open-connection'. Ludovic Courtès2013-09-111-101/+79
* | gnu: vm: Setup PAM.•••* gnu/system/vm.scm (example2): Use 'pam-services->directory'. Change POPULATE to create /etc/pam.d, /etc/login.defs, and /var/run. Change BOOT to spawn syslogd; boot to Bash. Add inputs. Ludovic Courtès2013-09-111-20/+43
* | gnu: vm: Create shadow files with the right format.•••* gnu/system/vm.scm (passwd-file): When SHADOW? is true, use the right shadow(5) format. Always add a trailing newline. Ludovic Courtès2013-09-111-7/+11
* | linux-initrd: Create /dev/klog and /dev/kmsg.•••* guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/klog and /dev/kmsg. Ludovic Courtès2013-09-111-0/+4
* | gnu: linux-initrd: Fix typo.•••* gnu/packages/linux-initrd.scm (gnu-system-initrd): Add missing argument to 'format' call. Ludovic Courtès2013-09-111-1/+2