summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* store: Add 'hash-part->path'.Ludovic Courtès2014-03-142-1/+19
| | | | | * guix/store.scm (hash-part->path): New procedure. * tests/store.scm ("hash-part->path"): New test.
* offload: Fix 'choose-build-machine' for several machines.Ludovic Courtès2014-03-131-4/+8
| | | | | * guix/scripts/offload.scm (choose-build-machine)[undecorate]: Turn into a two-argument procedure.
* offload: Convert the port number to a string when invoking lsh.Ludovic Courtès2014-03-131-2/+2
| | | | | * guix/scripts/offload.scm (remote-pipe, send-files): Pass the result of 'build-machine-port' to 'number->string'.
* offload: Allow build machines to specify a port number.Ludovic Courtès2014-03-132-2/+9
| | | | | * guix/scripts/offload.scm (<build-machine>): Add 'port' field. (remote-pipe, send-files): Use lsh's '-p' option when invoking it.
* guix build: Support '--with-source' along with '-e'.Ludovic Courtès2014-03-132-26/+34
| | | | | | | | | * guix/scripts/build.scm (derivation-from-expression): Remove. (options->derivations): Handle pairs of the form "('argument . (? derivation?))". (options/resolve-packages): Add 'store' parameter; update caller. Add 'system' variable. Add case for 'expression pairs. * guix/scripts/archive.scm (derivation-from-expression): New procedure.
* gnu: guile-xcb: Upgrade to 1.3.Ludovic Courtès2014-03-131-18/+8
| | | | | | * gnu/packages/guile-wm.scm (guile-xcb): Upgrade to 1.3. [arguments] Pass --with-guile-site-dir= instead of --datadir=, and pass --with-guile-site-ccache-dir=. Remove #:phases.
* gnu: linux-libre: Build the FUSE module.Ludovic Courtès2014-03-121-0/+2
| | | | * gnu/packages/linux.scm (linux-libre): Set CONFIG_FUSE_FS=m.
* gnu: unionfs-fuse: Add statically-linked variant.Ludovic Courtès2014-03-121-0/+16
| | | | * gnu/packages/linux.scm (unionfs-fuse/static): New variable.
* guix build: Add '--with-source'.Ludovic Courtès2014-03-122-14/+122
| | | | | | | | | | * guix/scripts/build.scm (package-with-source): New procedure. (show-help): Add '--with-source'. (%options): Likewise. (options->derivations): Call 'options/with-source' and 'options/resolve-packages'. (options/resolve-packages, options/with-source): New procedures. * doc/guix.texi (Invoking guix build): Document '--with-source'.
* download: 'download-to-store' accepts plain file names.Ludovic Courtès2014-03-111-2/+3
| | | | | * guix/download.scm (download-to-store): When URI is #f, assume that URL is a file name, and handle it.
* More /gnu/store replacements.Ludovic Courtès2014-03-103-6/+6
| | | | | | | | * gnu/packages/gcc.scm (gcc-4.7): Change /nix/store in comment. * gnu/system/vm.scm (operating-system-default-contents): Use (%store-prefix) instead of "/nix/store". * guix/derivations.scm (derivation-path->output-path, derivation-path->output-paths): Change to /gnu/store in docstring.
* gnu: linux-initrd: Make the pseudo-tty device nodes.Ludovic Courtès2014-03-102-1/+15
| | | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): Create /dev/ptmx and /dev/pts. * gnu/system/vm.scm (qemu-image): Umount /fs/dev/pts before /fs.
* tests: 'topologically-sorted' test handles different references orders.Ludovic Courtès2014-03-101-3/+12
| | | | | * tests/store.scm ("topologically-sorted, more difficult"): Arrange to handle a different ordering of (references %store y).
* gnu: Add UnionFS-FUSE.Ludovic Courtès2014-03-101-0/+25
| | | | * gnu/packages/linux.scm (unionfs-fuse): New variable.
* doc: Update packaging guidelines.Pierre-Antoine Rault2014-03-102-6/+20
| | | | | | | | | * HACKING (Submitting Patches): Mention 'git send-mail'. * doc/guix.texi (Packaging Guidelines): More details on how to prepare a package module. (Contributing): Add reference to #guix channel on Freenode. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: pretty-print: Fix boost referenceEric Bavier2014-03-101-1/+1
| | | | | * gnu/packages/pretty-print.scm (source-highlight): Change "boost-1.54" input to "boost"
* offload: Honor absolute build timeouts.Ludovic Courtès2014-03-091-4/+7
| | | | | | | | * guix/scripts/offload.scm (offload): Remove default value for 'build-timeout'. Pass '--timeout' to the remote 'guix build' process. (transfer-and-offload, process-request): Remove default value for 'build-timeout'.
* guix build: Add '--timeout' to the common build options.Ludovic Courtès2014-03-092-0/+15
| | | | | | | | | * guix/scripts/build.scm (show-build-options-help): Document '--timeout'. (set-build-options-from-command-line): Pass #:timeout to 'set-build-options'. (%standard-build-options): Add '--timeout'. * doc/guix.texi (Invoking guix build): Document it.
* store: Add #:timeout build option.Ludovic Courtès2014-03-093-8/+34
| | | | | | | | * guix/serialization.scm (write-string-pairs): New procedure. * guix/store.scm (write-arg): Add 'string-pairs' case. (set-build-options): Add 'timeout' keyword parameter. Honor it. * tests/derivations.scm ("build-expression->derivation and timeout"): New test.
* gnu: Add libpcap and jnettop.Ludovic Courtès2014-03-091-0/+53
| | | | * gnu/packages/admin.scm (libpcap, jnettop): New variables.
* build: Change state and log directories to $localstatedir/.../guix.Ludovic Courtès2014-03-093-4/+4
| | | | | | * daemon.am (libstore_a_CPPFLAGS): Change /nix to /guix. * guix/config.scm.in (%state-directory): Likewise. * guix/store.scm (log-file): Likewise.
* Change the default store file name to /gnu/store.Ludovic Courtès2014-03-093-26/+30
| | | | | | | | * configure.ac: Change the default 'storedir' to /gnu/store. Print $storedir. * doc/guix.texi: Replace "/nix/store" by "/gnu/store", except where describing Nix compatibility. * Makefile.am: Likewise.
* offload: Move macro definitions before use.Ludovic Courtès2014-03-091-69/+85
| | | | | | * guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock, with-machine-lock, machine-slot-file, acquire-build-slot, release-build-slot): Move definitions above their first use.
* gnu: soprano: Add input raptor2.Andreas Enge2014-03-091-3/+4
| | | | * gnu/packages/rdf.scm (soprano): Add input raptor2.
* offload: Distinguish between 'decline' and 'postpone'.Ludovic Courtès2014-03-091-42/+67
| | | | | | | | * guix/scripts/offload.scm (transfer-and-offload): New procedure, with core formerly in 'process-request'. (choose-build-machine): Remove 'requirements' parameter. (process-request): Reply 'decline' when none of MACHINES matches the requirements, and 'postpone' when MACHINES are busy.
* gnu: raptor2: Disable parallel tests.Andreas Enge2014-03-091-1/+3
| | | | | * gnu/packages/rdf.scm (raptor2): Disable parallel tests since it makes tests fail.
* offload: Prevent locked files from being GC'd.Ludovic Courtès2014-03-081-1/+8
| | | | | * guix/scripts/offload.scm (%slots): New variable. (choose-build-machine): Add SLOT to '%slots'.
* offload: Fix thinko.Ludovic Courtès2014-03-081-4/+4
| | | | | * guix/scripts/offload.scm (choose-build-machine)[machine+slots]: Use 'filter-map', not 'filter'.
* offload: Make 'parallel-builds' a hard limit.Ludovic Courtès2014-03-081-9/+82
| | | | | | | | | * guix/scripts/offload.scm (machine-choice-lock-file, machine-slot-file, acquire-build-slot, release-build-slot): New procedures. (choose-build-machine): Operate with (machine-choice-lock-file) taken. Acquire a build slot for each of MACHINES. Release those not used.
* offload: Further generalize lock files.Ludovic Courtès2014-03-081-15/+19
| | | | | | | * guix/scripts/offload.scm (lock-machine, unlock-machine): Remove. (lock-file, unlock-file): New procedures. (with-file-lock): New macro. (with-machine-lock): Rewrite in terms of 'with-file-lock'.
* offload: Generalize the machine lock mechanism.Ludovic Courtès2014-03-081-15/+16
| | | | | | | | * guix/scripts/offload.scm (lock-machine): Add 'hint' parameter. (unlock-machine): Remove 'machine' parameter. (with-machine-lock): Add 'hint' parameter, and pass it down. (process-request): Adjust uses of 'with-machine-lock' to pass the 'bandwidth hint.
* utils: Add a non-blocking option for 'fcntl-flock'.Ludovic Courtès2014-03-082-4/+57
| | | | | | * guix/utils.scm (F_SETLK): New variable. (fcntl-flock): Add 'wait?' keyword parameter; honor it. * tests/utils.scm ("fcntl-flock non-blocking"): New test.
* doc: Explain what's special about the (gnu packages ...) name space.Ludovic Courtès2014-03-081-13/+37
| | | | | | | | | | * doc/guix.texi (Invoking guix package): Explain where packages are searched for and link to "Package Modules". (Defining Packages) <example>: Use 'define-module' clause instead of 'use-modules'. Explain why and link to "Package Modules". (Invoking guix build): Explain where packages aer searched for and link to "Package Modules". (Package Modules): Explain that (gnu packages ...) is scanned.
* gnu: Add a2ps, trueprint, enscript, and source-highlightEric Bavier2014-03-073-0/+241
| | | | | | | * gnu/packages/pretty-print.scm: New file * gnu/packages/patches/source-highlight-regexrange-test.patch: New file * gnu-system.am (dist_patch_DATA): Add patch. (GNU_SYSTEM_MODULES): Add pretty-print.scm
* store: 'export-paths' doesn't export references of the given files.Ludovic Courtès2014-03-072-3/+11
| | | | | | | | | | | This fixes a regression introduced in 99fbddf9a623757e39d88bfb431f8f7d6f24b75b ("store: Change 'export-paths' to always export in topological order.") * guix/store.scm (export-paths): Define 'ordered' variable. Iterate over it. * tests/store.scm ("export/import paths, ensure topological order"): Add 'file0'. Adjust accordingly.
* gnu: Add ncmpc.David Thompson2014-03-061-1/+27
| | | | * gnu/packages/mpd.scm (ncmpc): New variable.
* utils: 'fcntl-flock' passes an errno when throwing an exception.Ludovic Courtès2014-03-061-1/+17
| | | | | * guix/utils.scm (%libc-errno-pointer, errno): New procedures. (fcntl-flock): Use it as the exception's argument.
* offload: Serialize file transfers to build machines.Ludovic Courtès2014-03-061-4/+46
| | | | | | | | * guix/scripts/offload.scm (machine-lock-file, lock-machine, unlock-machine): New procedures. (with-machine-lock): New macro. (process-request): Wrap 'send-files' and 'retrieve-files' calls in 'with-machine-lock'.
* tests: Rewrite 'fcntl-lock' test.Ludovic Courtès2014-03-061-14/+29
| | | | | | | | | * tests/utils.scm (temp-file): New variable. ("fcntl-flock"): Rewrite to actually test whether the child process waits for the lock to be released. The previous test was wrong because (1) it expected F_SETLK semantics, not F_SETLKW, and (2) it got EBADF because of a mismatch between the open mode and the lock style.
* download: Perform derivations locally.Ludovic Courtès2014-03-062-2/+7
| | | | | | * guix/download.scm (url-fetch): Pass #:local-build? #t to 'build-expression->derivation'. * guix/git-download.scm (git-fetch): Likewise.
* gnu: Add bitlbee.Mark H Weaver2014-03-064-2/+107
| | | | | | | * gnu/packages/messaging.scm (bitlbee): New variable. * gnu/packages/patches/bitlbee-fix-tests.patch: New file. * gnu/packages/patches/bitlbee-memset-fix.patch: New file. * gnu-system.am (dist_patch_DATA): Add patches.
* gnu: Add libotr.Mark H Weaver2014-03-062-1/+70
| | | | | * gnu/packages/messaging.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: gnupg: Add support for version 1.4.16.Mark H Weaver2014-03-061-0/+26
| | | | * gnu/packages/gnupg.scm (gnupg-1): New variable.
* gnu: Add lynx.Mark H Weaver2014-03-052-0/+87
| | | | | * gnu/packages/lynx.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: gnutls: Upgrade to 3.2.12.Mark H Weaver2014-03-051-3/+7
| | | | | | * gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.12. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add ElementTree and pybugz.Ludovic Courtès2014-03-031-1/+51
| | | | | * gnu/packages/python.scm (python2-element-tree, python2-pybugz): New variables.
* doc: Factorize documentation of common build options.Ludovic Courtès2014-03-031-41/+40
| | | | | | | | | | * doc/guix.texi (Invoking guix package): Remove documentation for --dry-run, --fallback, --no-substitutes, and --max-silent-time. Add a cross-ref to "Invoking guix build". (Invoking guix archive): Add "common build options" as the cross-ref topic for "Invoking guix build". (Invoking guix build): Move common build options separately. Add a paragraph to explain.
* gnu: subversion: Update to 1.7.14.Andreas Enge2014-03-021-2/+2
| | | | * gnu/packages/version-control.scm (subversion): Update to 1.7.14.
* gnu: subversion: Enable http checkouts.Andreas Enge2014-03-021-2/+4
| | | | | * gnu/packages/version-control.scm (subversion): Add input neon-0.29.6 to enable http and https checkouts.
* gnu: Add neon-0.29.6.Andreas Enge2014-03-021-0/+12
| | | | * gnu/packages/version-control.scm (neon-0.29.6): New variable.