Skip to content
Snippets Groups Projects
  1. Oct 26, 2018
  2. Oct 23, 2018
  3. Oct 22, 2018
    • Eelco Dolstra's avatar
      Per-output reference and closure size checks · 3cd15c5b
      Eelco Dolstra authored
      In structured-attributes derivations, you can now specify per-output
      checks such as:
      
        outputChecks."out" = {
          # The closure of 'out' must not be larger than 256 MiB.
          maxClosureSize = 256 * 1024 * 1024;
      
          # It must not refer to C compiler or to the 'dev' output.
          disallowedRequisites = [ stdenv.cc "dev" ];
        };
      
        outputChecks."dev" = {
          # The 'dev' output must not be larger than 128 KiB.
          maxSize = 128 * 1024;
        };
      
      Also fixed a bug in allowedRequisites that caused it to ignore
      self-references.
      3cd15c5b
  4. Oct 20, 2018
  5. Oct 16, 2018
  6. Oct 04, 2018
  7. Sep 28, 2018
  8. Sep 27, 2018
  9. Sep 26, 2018
    • Eelco Dolstra's avatar
      Ensure download thread liveness · 97504300
      Eelco Dolstra authored
      * Don't wait forever for the client to remove data from the
        buffer. This does mean that the buffer can grow without bounds
        (e.g. when downloading is faster than writing to disk), but meh.
      
      * Don't hold the state lock while calling the sink. The sink could
        take any amount of time to process the data (in particular when it's
        actually a coroutine), so we don't want to block the download
        thread.
      97504300
    • Eelco Dolstra's avatar
      Untabify · 98b2cc2e
      Eelco Dolstra authored
      98b2cc2e
    • Eelco Dolstra's avatar
      sinkToSource(): Start the coroutine lazily · ed785828
      Eelco Dolstra authored
      In particular this causes copyStorePath() from HttpBinaryCacheStore to
      only start a download if needed. E.g. if the destination LocalStore
      goes to sleep waiting for the path lock and another process creates
      the path, then LocalStore::addToStore() will never read from the
      source so we don't have to do the download.
      ed785828
    • Eelco Dolstra's avatar
      Make NAR header check more robust · 44e86304
      Eelco Dolstra authored
      Changes
      
        std::bad_alloc
      
      into
      
        bad archive: input doesn't look like a Nix archive
      44e86304
    • Will Fancher's avatar
  10. Sep 25, 2018
  11. Sep 17, 2018
  12. Sep 10, 2018
  13. Sep 07, 2018
  14. Sep 05, 2018
  15. Sep 03, 2018
  16. Sep 02, 2018
  17. Sep 01, 2018
  18. Aug 31, 2018
Loading