Skip to content
Snippets Groups Projects
  1. Jul 23, 2015
  2. Jul 21, 2015
  3. Jul 20, 2015
  4. Jul 19, 2015
  5. 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
  6. 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
  7. Jul 03, 2015
  8. Jul 01, 2015
    • Eelco Dolstra's avatar
      Typo · dd48c06b
      Eelco Dolstra authored
      dd48c06b
    • Ludovic Courtès's avatar
      Preserve supplementary groups of build users · 9aed1173
      Ludovic Courtès authored
      The following patch is an attempt to address this bug (see
      <http://bugs.gnu.org/18994>) by preserving the supplementary groups of
      build users in the build environment.
      
      In practice, I would expect that supplementary groups would contain only
      one or two groups: the build users group, and possibly the “kvm” group.
      
      [Changed &at(0) to data() and removed tabs - Eelco]
      9aed1173
    • Eelco Dolstra's avatar
      Revert "add the manpath to the installer" · e012c126
      Eelco Dolstra authored
      This reverts commit 76f985b9. We
      shouldn't mess with $MANPATH, because on some "man" implementations
      (like NixOS'), the default value on $MANPATH is derived from $PATH. So
      if you set $MANPATH, you lose the default locations.
      e012c126
  9. Jun 30, 2015
  10. Jun 22, 2015
  11. Jun 17, 2015
  12. Jun 15, 2015
  13. Jun 12, 2015
  14. Jun 11, 2015
  15. Jun 10, 2015
  16. Jun 09, 2015
  17. Jun 08, 2015
Loading