guix-devel/guix
Ludovic Courtès 94a4b3b9f2 package: Make sure the dependencies get built along with the manifest.
Before this, something like "guix package -i glibc" could fail because
glibc lists linux-libre-headers as a propagated input (which would be
added as a dependency in the manifest) but the linux-libre-headers
output could be unavailable, leading to an error like this:

  path `/nix/store/4v2bk8sx5cm166gks3fi3q7d9zchibnk-linux-libre-headers-3.3.8' is not valid

This patch adds such dependencies as inputs of the profile derivation.

* guix/scripts/package.scm (profile-derivation): Accept package objects
  in the `deps' field of an element of PACKAGES.  Convert them to their
  output path for BUILDER, and add them to the inputs of the
  `build-expression->derivation' call.
  (input->name+path): When INPUT doesn't contain a package object,
  return it as is.
  (guix-package)[process-actions](canonicalize-deps): Expect DEPS to
  contain package objects, and leave them as is.
2013-05-10 22:46:19 +02:00
..
build download: Fix premature socket close on TLS connections. 2013-05-10 01:14:25 +02:00
build-system Add 'python-build-system'. 2013-05-08 22:46:12 +00:00
scripts package: Make sure the dependencies get built along with the manifest. 2013-05-10 22:46:19 +02:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
build-system.scm Update license headers. 2013-01-06 00:47:50 +01:00
config.scm.in substitute-binary: Implement `--substitute'. 2013-04-12 21:58:47 +02:00
derivations.scm scripts: Report what will be substituted. 2013-04-17 00:08:21 +02:00
download.scm Merge branch 'master' into core-updates 2013-04-26 16:43:08 +02:00
ftp-client.scm ftp-client: `ftp-chdir' changes one step at a time. 2013-04-27 16:25:54 +02:00
gnu-maintenance.scm gnu-maintenance: Add GnuTLS FTP server. 2013-05-10 01:15:04 +02:00
gnupg.scm Add `guix refresh' and related auto-update tools. 2013-04-25 00:13:56 +02:00
licenses.scm licenses: Add 'x11-style'. 2013-03-06 20:40:11 +00:00
nar.scm nar: Add support for symlinks. 2013-04-12 21:58:47 +02:00
packages.scm Merge branch 'core-updates' 2013-04-30 17:06:00 +02:00
serialization.scm Add (guix nar) and (guix serialization). 2013-04-12 21:57:58 +02:00
snix.scm snix: Prefer synopses from the Womb rather than from Nixpkgs. 2013-04-20 11:52:50 +02:00
store.scm daemon: Gracefully handle cases where the daemon does not return a status code. 2013-04-20 10:53:31 +02:00
ui.scm ui: Implement `guix --help'. 2013-05-10 12:33:18 +02:00
utils.scm Merge branch 'core-updates' 2013-04-30 17:06:00 +02:00
web.scm web: Add workaround for <http://bugs.gnu.org/13095>. 2013-04-27 23:00:51 +02:00