Andreas Enge
c1e628f6ce
distro: Add Indent.
...
* distro/packages/indent.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-17 23:09:24 +01:00
Ludovic Courtès
9241172c9d
guix-package: Allow `--roll-back' to skip missing generations.
...
* guix-package.in (profile-numbers): New procedure.
(latest-profile-number): Use it.
(previous-profile-number): New procedure.
(roll-back): Use it lieu of `1-'. Check whether PREVIOUS-NUMBER is
zero, and raise an error when it is.
* tests/guix-package.sh: Test whether we can roll back over a "hole".
2013-01-17 22:42:39 +01:00
Ludovic Courtès
24e262f086
guix-package: Add `--roll-back'.
...
Based on a patch by Nikita Karetnikov <nikita@karetnikov.org>.
* guix-package.in (profile-regexp): New procedure.
(latest-profile-number): Remove `%profile-rx', and use
`profile-regexp' instead.
(profile-number, roll-back): New procedure.
(show-help): Add `--roll-back'.
(%options): Likewise.
(guix-package)[process-actions]: First check whether `roll-back?' is
among OPTS, and call `roll-back' if it is, followed by a recursive
call to `process-actions'. Emit the "nothing to be done" message only
when INSTALL or REMOVE is non-empty.
* tests/guix-package.sh (readlink_base): New function.
Add tests for `--roll-back'.
* doc/guix.texi (Invoking guix-package): Document `--roll-back'.
2013-01-17 22:42:39 +01:00
Andreas Enge
8ca6cc4b45
distro: gnutls: Update to 3.1.6.
...
* distro/packages/gnutls.scm (gnutls): Update to 3.1.6.
2013-01-17 16:41:05 +01:00
Ludovic Courtès
aba326f79c
packages: Change `base32' to allow non-literal strings.
...
* guix/packages.scm (base32): Allow arguments that are not literal strings.
2013-01-17 15:45:05 +01:00
Ludovic Courtès
2a6c679561
distro: nettle: Update to 2.6.
...
* distro/packages/nettle.scm (nettle): Update to 2.6.
2013-01-17 13:57:30 +01:00
Ludovic Courtès
183c9a89a3
distro: gdb: Add dependency on Expat and Python.
...
* distro/packages/gdb.scm (gdb): Add Expat and Python as inputs.
2013-01-16 23:50:51 +01:00
Ludovic Courtès
d041488307
distro: Add Expat.
...
* distro/packages/xml.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-16 23:40:02 +01:00
Ludovic Courtès
874e687428
doc: Start documenting derivations.
...
* doc/guix.texi (Defining Packages): Add cross-reference to
"Derivations".
(The Store): Add `build-derivations'.
(Derivations): Populate.
2013-01-16 23:09:53 +01:00
Ludovic Courtès
1da983b9f0
doc: Fix typos, and improve daemon documentation.
...
* doc/guix.texi: Fix typos.
(Invoking guix-daemon): Add details about `--disable-log-compression'
and `--disable-store-optimization'.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
2013-01-16 23:09:53 +01:00
Ludovic Courtès
b28168c125
doc: Remove @documentlanguage.
...
* doc/guix.texi: Remove @documentlanguage, which confuses TeX.
2013-01-16 23:09:52 +01:00
Andreas Enge
4c9e797577
distro: Add icu4c (International Components for Unicode).
...
* distro/packages/icu4c.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-16 17:39:47 +01:00
Nikita Karetnikov
a01b6da792
distro: Add Python 2.7.3.
...
* distro/packages/python.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-16 04:23:27 +00:00
Ludovic Courtès
e531ac2ad9
doc: Start documenting (guix store).
...
* doc/guix.texi (The Store): Populate.
(Introduction): Add cross-reference. Change "package store" to "the
store".
2013-01-15 23:32:13 +01:00
Ludovic Courtès
156b5010ff
distro: recutils: Add 3 optional dependencies.
...
* distro/packages/recutils.scm (recutils): Add Emacs, Check, and bc as
dependencies.
2013-01-15 23:00:46 +01:00
Ludovic Courtès
9282e25962
distro: check: Fix source URL.
...
* distro/packages/check.scm (check): Fix source URI.
2013-01-15 23:00:05 +01:00
Ludovic Courtès
727afa3be8
distro: Add patches forgotten in previous commits.
...
* distro/packages/patches/bigloo-gc-shebangs.patch,
distro/packages/patches/emacs-configure-sh.patch,
distro/packages/patches/procps-make-3.82.patch: New files.
* Makefile.am (dist_patch_DATA): Add them.
2013-01-15 22:56:52 +01:00
Ludovic Courtès
ed9f9a7765
distro: Add GNU bc.
...
* distro/packages/algebra.scm (bc): New variable.
2013-01-15 22:49:50 +01:00
Ludovic Courtès
c4d645341b
guix-package: Connect to the daemon only after arguments have been processed.
...
* guix-package.in (%store): Change to a SRFI-39 parameter. Update all users.
(guix-package): Parametrize %STORE to an open connection after
`parse-options' has been called.
2013-01-15 22:39:03 +01:00
Andreas Enge
acf60b26bd
distro: Add Cyrus SASL.
...
* distro/packages/cyrus-sasl.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-15 17:11:51 +01:00
Andreas Enge
0dd7a135b2
Test commit.
...
* Makefile.am: alphabetical ordering
2013-01-15 16:12:33 +01:00
Ludovic Courtès
c7e4a72a74
Augment `TODO'.
2013-01-15 11:35:15 +01:00
Ludovic Courtès
04732c37ca
distro: Fetch bootstrap binaries from alpha.gnu.org.
...
* build-aux/download.scm (%url-base): Change to alpha.gnu.org.
* distro/packages/bootstrap.scm (%bootstrap-base-url): Rename to...
(%bootstrap-base-urls): ... this. Add alpha.gnu.org as the first
URL. Update users.
2013-01-15 11:34:54 +01:00
Nikita Karetnikov
e2034de5d0
licenses: Add 'psfl'.
...
* guix/licenses.scm (psfl): New variable.
2013-01-15 09:54:38 +01:00
Ludovic Courtès
e117772ddd
distro: Add MIT/GNU Scheme and Bigloo.
...
* distro/packages/scheme.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-15 01:08:00 +01:00
Ludovic Courtès
29c1793dc2
build-system/gnu: Allow the `source' argument to be #f.
...
* guix/build-system/gnu.scm (gnu-build): Allow SOURCE to be #f.
2013-01-15 01:05:39 +01:00
Ludovic Courtès
f4b60f5f6b
daemon: Remove reference to immutable.{cc,hh}, which no longer exist.
...
* daemon.am (libutil_a_SOURCES): Remove nix/libutil/immutable.cc.
(libutil_headers): Remove nix/libutil/immutable.hh. These files were
removed in Nix commit def5160 (post 1.2).
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
2013-01-15 00:03:47 +01:00
Ludovic Courtès
5b00f53526
snix: When unable to determine the version number, leave the URI unchanged.
...
* guix/snix.scm (snix-derivation->guix-package)[pretty-uri]: When
VERSION is #f, return URI.
2013-01-14 23:45:54 +01:00
Ludovic Courtès
0ec1af59e5
guix-package: Create or diagnose missing profile directory.
...
Reported by Andreas Enge.
* guix-package.in (%profile-directory): Honor $NIX_STATE_DIR.
(guix-package)[ensure-default-profile]: Use it.
[process-actions]: Call it when the `profile' option is
%CURRENT-PROFILE.
* tests/guix-package.sh: Add installation test with $HOME set, using the
default profile.
2013-01-14 23:44:58 +01:00
Ludovic Courtès
2a5ab9dceb
tests: Use "binutils:lib" as the `guix-package' example.
...
* tests/guix-package.sh: Use "binutils:lib" instead of "libsigsegv:lib",
since the latter no longer exists.
2013-01-14 23:33:14 +01:00
Ludovic Courtès
ae9e328800
guix-package: Fix check for ~/.guix-profile existence.
...
* guix-package.in (guix-package): When testing whether
%USER-ENVIRONMENT-DIRECTORY exists, use `lstat' instead of
`file-exists?'. Reported by Andreas Enge.
2013-01-13 23:47:37 +01:00
Andreas Enge
1ca982808a
licenses: Add 'openldap2.8'.
...
* guix/licenses.scm (openldap2.8): New variable.
2013-01-13 23:18:58 +01:00
Andreas Enge
90a6d47caa
distro: Add PARI/GP
...
* distro/packages/algebra.scm (pari-gp): New variable.
2013-01-13 23:14:28 +01:00
Ludovic Courtès
a53b000c7a
Update to Nix 1.3.
2013-01-13 22:27:50 +01:00
Ludovic Courtès
34fcbe3a10
store: In `open-connection', process all the server's stderr.
...
* guix/store.scm (open-connection): Loop until `process-stderr' returns #t.
2013-01-13 22:27:00 +01:00
Ludovic Courtès
85a8a5f556
distro: openssl: Fix the `license' field.
...
* distro/packages/openssl.scm: Add renamer for (guix licenses). Adjust
accordingly.
2013-01-13 21:58:01 +01:00
Ludovic Courtès
468bdabb56
distro: Add GNU Emacs.
...
* distro/packages/emacs.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-13 17:12:22 +01:00
Ludovic Courtès
80ba8cc076
doc: Fix typos.
...
* doc/guix.texi (Setting Up the Daemon): Use "useradd -c" for comments.
Reported by Andreas Enge.
(Invoking guix-gc): Fix typo.
2013-01-13 16:37:51 +01:00
Ludovic Courtès
a661e42025
distro: Add GNU Mailutils.
...
* distro/packages/mailutils.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-13 16:34:41 +01:00
Ludovic Courtès
d5529a9162
distro: expect: Provide the right path to `stty'.
...
* distro/packages/tcl.scm (expect): Add #:phases argument.
2013-01-13 15:37:01 +01:00
Ludovic Courtès
fa39cc0da6
distro: gnutls: Add dependency on Which.
...
* distro/packages/gnutls.scm (gnutls): Add dependency on Which.
2013-01-12 23:02:26 +01:00
Ludovic Courtès
fbbb1c0f4c
distro: Add GDB.
...
* distro/packages/gdb.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-12 23:02:07 +01:00
Ludovic Courtès
75abd8ab23
distro: dejagnu: Add `expect' in the search path of `runtest'.
...
* distro/packages/dejagnu.scm (dejagnu): In `check' phase, change `PATH'
in `runtest', to avoid "expect not found in PATH" error.
2013-01-12 23:00:32 +01:00
Ludovic Courtès
39224d94e3
distro: Add MySQL.
...
* distro/packages/mysql.scm: New file.
* Makefile.am (MODULES): Add it.
2013-01-12 22:25:16 +01:00
Ludovic Courtès
fe8ccfcc72
distro: util-linux: Fix `license' field.
...
* distro/packages/linux.scm (util-linux): Change `license' field to
refer to the actual license objects.
2013-01-12 16:51:45 +01:00
Ludovic Courtès
e47e3effaf
distro: Add procps.
...
* distro/packages/linux.scm (procps): New variable.
2013-01-12 16:51:16 +01:00
Ludovic Courtès
eb6d676e2a
distro: tcl, expect: Enable tests.
...
* distro/packages/tcl.scm (tcl, expect): Remove #:tests? argument; add
#:test-target.
2013-01-12 16:24:35 +01:00
Ludovic Courtès
b22a12fda7
doc: Mention store sharing with Nix; update `package' example.
...
* doc/guix.texi: Set @documentlanguage.
(Installation): Add reference to `INSTALL' and `README'.
(Requirements): Mention store sharing with Nix.
(Defining Packages): Update example to include `use-modules' clauses
and to use (guix licenses).
2013-01-11 16:16:36 +01:00
Ludovic Courtès
01e354eb83
Merge branch 'core-updates'
...
Conflicts:
guix/build/union.scm
2013-01-11 16:01:49 +01:00
Ludovic Courtès
28e5560421
download: Abbreviate URLs when displaying the progress report.
...
* guix/build/download.scm (uri-abbreviation): New procedure.
(ftp-fetch, http-fetch): Use it instead of `uri->string' when calling
`progress-proc'. Reported by Andreas Enge.
2013-01-11 15:41:58 +01:00