Skip to content
Snippets Groups Projects
  1. Sep 03, 2015
  2. Sep 02, 2015
  3. Sep 01, 2015
  4. Aug 24, 2015
  5. Aug 21, 2015
  6. Aug 19, 2015
  7. Aug 07, 2015
  8. Aug 05, 2015
  9. Aug 04, 2015
  10. Aug 03, 2015
  11. Jul 31, 2015
  12. 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
  13. Jul 26, 2015
  14. Jul 24, 2015
  15. Jul 23, 2015
  16. Jul 21, 2015
  17. Jul 20, 2015
  18. Jul 19, 2015
  19. 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
Loading