Skip to content
Snippets Groups Projects
  1. Oct 24, 2017
    • Eelco Dolstra's avatar
      nix: Respect -I, --arg, --argstr · 0d59f1ca
      Eelco Dolstra authored
      Also, random cleanup to argument handling.
      0d59f1ca
    • Eelco Dolstra's avatar
      Remove the remote-builds option · 25f32625
      Eelco Dolstra authored
      This is superfluous since you can now just set "builders" to empty,
      e.g. "--builders ''".
      25f32625
    • Eelco Dolstra's avatar
      Remove the builder-files option · af241ae7
      Eelco Dolstra authored
      You can now include files via the "builders" option, using the syntax
      "@<filename>". Having only one option makes it easier to override
      builders completely.
      
      For backward compatibility, the default is "@/etc/nix/machines", or
      "@<filename>" for each file name in NIX_REMOTE_SYSTEMS.
      af241ae7
  2. Oct 23, 2017
  3. Oct 20, 2017
  4. Oct 19, 2017
  5. Oct 18, 2017
  6. Oct 17, 2017
    • Dan Peebles's avatar
      Shift Darwin sandbox to separate installed files · 6e5165b7
      Dan Peebles authored
      This makes it slightly more manageable to see at a glance what in a
      build's sandbox profile is unique to the build and what is standard. Also
      a first step to factoring more of our Darwin logic into scheme functions
      that will allow us a bit more flexibility. And of course less of that
      nasty codegen in C++! 😀
      6e5165b7
    • Eelco Dolstra's avatar
    • Eelco Dolstra's avatar
      BinaryCacheStore: Support local caching of NARs · ca580bec
      Eelco Dolstra authored
      This speeds up commands like "nix cat-store". For example:
      
        $ time nix cat-store --store https://cache.nixos.org?local-nar-cache=/tmp/nar-cache /nix/store/i60yncmq6w9dyv37zd2k454g0fkl3arl-systemd-234/etc/udev/udev.conf
        real    0m4.336s
      
        $ time nix cat-store --store https://cache.nixos.org?local-nar-cache=/tmp/nar-cache /nix/store/i60yncmq6w9dyv37zd2k454g0fkl3arl-systemd-234/etc/udev/udev.conf
        real    0m0.045s
      
      The primary motivation is to allow hydra-server to serve files from S3
      binary caches. Previously Hydra had a hack to do "nix-store -r
      <path>", but that fetches the entire closure so is prohibitively
      expensive.
      
      There is no garbage collection of the NAR cache yet. Also, the entire
      NAR is read when accessing a single member file. We could generate the
      NAR listing to provide random access.
      
      Note: the NAR cache is indexed by the store path hash, not the content
      hash, so NAR caches should not be shared between binary caches, unless
      you're sure that all your builds are binary-reproducible.
      ca580bec
    • Eelco Dolstra's avatar
      Remove BinaryCacheStoreAccessor · 11ba4302
      Eelco Dolstra authored
      Probably as a result of a bad merge in
      4b8f1b0e, we had both a
      BinaryCacheStoreAccessor and a
      RemoteFSAccessor. BinaryCacheStore::getFSAccessor() returned the
      latter, but BinaryCacheStore::addToStore() checked for the
      former. This probably caused hydra-queue-runner to download paths that
      it just uploaded.
      11ba4302
    • Shea Levy's avatar
      fetchgit: Remove incomplete/unneeded ref check. · cbc21691
      Shea Levy authored
      This check fails for tags and branches, and is made redundant by the
      checks git itself will do when fetching the repo.
      cbc21691
  7. Oct 16, 2017
  8. Oct 12, 2017
  9. Oct 09, 2017
  10. Oct 07, 2017
  11. Oct 06, 2017
  12. Oct 05, 2017
  13. Oct 03, 2017
Loading