lix/src
Shea Levy b1112bbef1 import: If the path is a valid .drv file, parse it and generate a derivation attrset.
The generated attrset has drvPath and outPath with the right string context, type 'derivation', outputName with
the right name, all with a list of outputs, and an attribute for each output.

I see three uses for this (though certainly there may be more):

* Using derivations generated by something besides nix-instantiate (e.g. guix)

* Allowing packages provided by channels to be used in nix expressions. If a channel installed a valid deriver
  for each package it provides into the store, then those could be imported and used as dependencies or installed
  in environment.systemPackages, for example.

* Enable hydra to be consistent in how it treats inputs that are outputs of another build. Right now, if an
  input is passed as an argument to the job, it is passed as a derivation, but if it is accessed via NIX_PATH
  (i.e. through the <> syntax), then it is a path that can be imported. This is problematic because the build
  being depended upon may have been built with non-obvious arguments passed to its jobset file. With this
  feature, hydra can just set the name of that input to the path to its drv file in NIX_PATH
2012-07-25 09:30:17 -04:00
..
bin2c * Sync with the trunk. 2010-04-20 09:20:29 +00:00
boost * Install some headers in the right location. 2009-03-05 14:57:50 +00:00
bsdiff-4.3 Drop the externals directory 2012-03-18 23:54:57 +01:00
libexpr import: If the path is a valid .drv file, parse it and generate a derivation attrset. 2012-07-25 09:30:17 -04:00
libmain Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
libstore Handle platforms that don't support linking to a symlink 2012-07-23 18:42:18 -04:00
libutil Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
nix-env Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
nix-hash * Move parseHash16or32 into libutil, and use in nix-hash. 2011-12-02 11:47:06 +00:00
nix-instantiate nix-instantiate: default to "default.nix" if no arguments are given 2012-04-17 17:19:43 +02:00
nix-log2xml * Emit warning='1' or error='1' attributes for lines marked as 2010-03-05 12:54:58 +00:00
nix-setuid-helper * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
nix-store optimiseStore(): Use a content-addressed file store in /nix/store/.links 2012-07-23 17:14:15 -04:00
nix-worker Add function queryPathFromHashPart() 2012-07-17 18:55:39 -04:00
Makefile.am * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00