Skip to content
Snippets Groups Projects
  1. Jan 31, 2016
  2. Jan 19, 2016
  3. Jan 18, 2016
  4. Jan 05, 2016
  5. Jan 04, 2016
  6. Nov 25, 2015
    • Eelco Dolstra's avatar
      Set default binary-caches-parallel-connections to 25 · c0d41732
      Eelco Dolstra authored
      Some benchmarking suggested this as a good value. Running
      
        $ benchmark -f ... -t 25 -- sh -c 'rm -f /nix/var/nix/binary-cache*; nix-store -r /nix/store/x5z8a2yvz8h6ccmhwrwrp9igg03575jg-nixos-15.09.git.5fd87e1M.drv --dry-run --option binary-caches-parallel-connections <N>'
      
      gave the following mean elapsed times for these values of N:
      
      N=10:  3.3541
      N=20:  2.9320
      N=25:  2.6690
      N=30:  2.9417
      N=50:  3.2021
      N=100: 3.5718
      N=150: 4.2079
      
      Memory usage is also reduced (N=150 used 186 MB, N=25 only 68 MB).
      
      Closes #708.
      c0d41732
  7. Nov 23, 2015
  8. Nov 10, 2015
    • Vladimír Čunát's avatar
      rename `chroot` to `sandbox` (fixes #656, close #682) · b39622a4
      Vladimír Čunát authored
      - rename options but leav old names as lower-priority aliases,
        also "-dirs" -> "-paths" to get closer to the meaning
      - update docs to reflect the new names (old aliases are not documented),
        including a new file with release notes
      - tests need an update after corresponding changes to nixpkgs
      - __noChroot is left as it is (after discussion on the PR)
      b39622a4
  9. Nov 09, 2015
    • Eelco Dolstra's avatar
      Add option to verify build determinism · 8fdd156a
      Eelco Dolstra authored
      Passing "--option build-repeat <N>" will cause every build to be
      repeated N times. If the build output differs between any round, the
      build is rejected, and the output paths are not registered as
      valid. This is primarily useful to verify build determinism. (We
      already had a --check option to repeat a previously succeeded
      build. However, with --check, non-deterministic builds are registered
      in the DB. Preventing that is useful for Hydra to ensure that
      non-deterministic builds don't end up getting published at all.)
      8fdd156a
  10. Oct 08, 2015
  11. Oct 07, 2015
  12. Oct 05, 2015
  13. Oct 01, 2015
    • Eelco Dolstra's avatar
      nix-prefetch-url: Support prefetching from a Nix expression · 06f29faf
      Eelco Dolstra authored
      For example,
      
        $ nix-prefetch-url -A hello.src
      
      will prefetch the file specified by the fetchurl call in the attribute
      ‘hello.src’ from the Nix expression in the current directory. This
      differs from ‘nix-build -A hello.src’ in that it doesn't verify the
      hash.
      
      You can also specify a path to the Nix expression:
      
        $ nix-prefetch-url ~/Dev/nixpkgs -A hello.src
      
      List elements (typically used in ‘patches’ attributes) also work:
      
        $ nix-prefetch-url -A portmidi.patches.0
      06f29faf
    • Eelco Dolstra's avatar
      a3c4eb09
  14. Sep 17, 2015
  15. Sep 15, 2015
  16. Sep 03, 2015
  17. Sep 01, 2015
  18. Aug 05, 2015
  19. 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
  20. Jul 24, 2015
  21. Jul 23, 2015
  22. Jul 19, 2015
  23. Jun 12, 2015
  24. Jun 11, 2015
  25. Jun 08, 2015
  26. Jun 01, 2015
Loading