Skip to content
Snippets Groups Projects
  1. Aug 19, 2015
  2. Aug 07, 2015
  3. Aug 05, 2015
  4. Aug 04, 2015
  5. Aug 03, 2015
  6. Jul 31, 2015
  7. Jul 28, 2015
    • Eelco Dolstra's avatar
      Add sort primop · 76cc8e97
      Eelco Dolstra authored
      76cc8e97
    • Eelco Dolstra's avatar
      Add primop genList · 50807f3d
      Eelco Dolstra authored
      This can be used to implement functions like ‘imap’ (or for that
      matter, ‘map’) without the quadratic complexity incurred by calling
      ‘++’ repeatedly.
      50807f3d
  8. Jul 26, 2015
  9. Jul 24, 2015
  10. Jul 23, 2015
  11. Jul 21, 2015
  12. Jul 20, 2015
  13. Jul 19, 2015
  14. Jul 17, 2015
    • Eelco Dolstra's avatar
      OCD: foreach -> C++11 ranged for · 6bd2c7bb
      Eelco Dolstra authored
      6bd2c7bb
    • Eelco Dolstra's avatar
      Allow remote builds without sending the derivation closure · 1511aa9f
      Eelco Dolstra authored
      Previously, to build a derivation remotely, we had to copy the entire
      closure of the .drv file to the remote machine, even though we only
      need the top-level derivation. This is very wasteful: the closure can
      contain thousands of store paths, and in some Hydra use cases, include
      source paths that are very large (e.g. Git/Mercurial checkouts).
      
      So now there is a new operation, StoreAPI::buildDerivation(), that
      performs a build from an in-memory representation of a derivation
      (BasicDerivation) rather than from a on-disk .drv file. The only files
      that need to be in the Nix store are the sources of the derivation
      (drv.inputSrcs), and the needed output paths of the dependencies (as
      described by drv.inputDrvs). "nix-store --serve" exposes this
      interface.
      
      Note that this is a privileged operation, because you can construct a
      derivation that builds any store path whatsoever. Fixing this will
      require changing the hashing scheme (i.e., the output paths should be
      computed from the other fields in BasicDerivation, allowing them to be
      verified without access to other derivations). However, this would be
      quite nice because it would allow .drv-free building (e.g. "nix-env
      -i" wouldn't have to write any .drv files to disk).
      
      Fixes #173.
      1511aa9f
    • Eelco Dolstra's avatar
      Make printValue() interruptible · f39979c6
      Eelco Dolstra authored
      Fixes #572.
      f39979c6
    • Eelco Dolstra's avatar
      nix-collect-garbage: Handle ENOENT · 7c9d0a59
      Eelco Dolstra authored
      Don't barf trying to read a link that just got deleted.
      
      Fixes #575.
      7c9d0a59
    • Jaka Hudoklin's avatar
      Add Dockerfile · 5845ffdf
      Jaka Hudoklin authored
      5845ffdf
  15. Jul 14, 2015
    • Nicolas B. Pierron's avatar
      Move attribute set data structures into their own header file. · db21cfa6
      Nicolas B. Pierron authored
      This modification moves Attr and Bindings structures into their own header
      file which is dedicated to the attribute set representation. The goal of to
      isolate pieces of code which are related to the attribute set
      representation. Thus future modifications of the attribute set
      representation will only have to modify these files, and not every other
      file across the evaluator.
      db21cfa6
  16. Jul 03, 2015
  17. Jul 01, 2015
Loading