lix/src/libexpr/primops
Eelco Dolstra 30ccf4e52d Turn flake inputs into an attrset
Instead of a list, inputs are now an attrset like

  inputs = {
    nixpkgs.uri = github:NixOS/nixpkgs;
  };

If 'uri' is omitted, than the flake is a lookup in the flake registry, e.g.

  inputs = {
    nixpkgs = {};
  };

but in that case, you can also just omit the input altogether and
specify it as an argument to the 'outputs' function, as in

  outputs = { self, nixpkgs }: ...

This also gets rid of 'nonFlakeInputs', which are now just a special
kind of input that have a 'flake = false' attribute, e.g.

  inputs = {
    someRepo = {
      uri = github:example/repo;
      flake = false;
    };
  };
2019-08-30 16:27:51 +02:00
..
context.cc Add builtins.appendContext. 2019-01-31 08:52:23 -05:00
fetchGit.cc Turn flake inputs into an attrset 2019-08-30 16:27:51 +02:00
fetchGit.hh Add date of last commit to SourceInfo 2019-05-29 10:10:36 +02:00
fetchMercurial.cc Fix 32-bit overflow with --no-net 2019-06-24 22:16:43 +02:00
fromTOML.cc Fix abort in fromTOML 2019-06-24 17:09:09 +02:00