Skip to content
Snippets Groups Projects
  1. Apr 22, 2020
  2. Apr 20, 2020
  3. Apr 19, 2020
    • Eelco Dolstra's avatar
      Store more stuff in the evaluation cache · 0725ab2f
      Eelco Dolstra authored
      In particular, we store whether an attribute failed to evaluate (threw
      an exception) or was an unsupported type. This is to ensure that a
      repeated 'nix flake show' never has to evaluate anything, so it can
      execute without fetching the flake.
      
      With this, 'nix flake show nixpkgs/nixos-20.03 --legacy' executes in
      0.6s (was 3.4s).
      0725ab2f
  4. Apr 18, 2020
  5. Apr 17, 2020
  6. Apr 16, 2020
  7. Apr 15, 2020
  8. Apr 14, 2020
  9. Apr 13, 2020
    • Andreas Rammhold's avatar
      SourceExprCommand: allocate the vSourceExpr via uncollectable memory · d2c37192
      Andreas Rammhold authored
      Previously the memory would occasionally be collected during eval since
      the GC doesn't consider the member variable as alive / doesn't scan the
      region of memory where the pointer lives.
      
      By using the traceable_allocator<T> allocator provided by Boehm GC we
      can ensure the memory isn't collected. It should be properly freed when
      SourceExprCommand goes out of scope.
      d2c37192
  10. Apr 12, 2020
    • Eelco Dolstra's avatar
      Merge pull request #3488 from LnL7/darwin-tmpdir · 512753f8
      Eelco Dolstra authored
      never use /var/folders for TMPDIR on darwin
      512753f8
    • Daiderd Jordan's avatar
      never use /var/folders for TMPDIR on darwin · 4d9db420
      Daiderd Jordan authored
      This doesn't just cause problems for nix-store --serve but also results
      in certain build failures. Builds that use unix domain sockets in their
      tests often fail because the /var/folders prefix already consumes more
      than half of the maximum length of socket paths.
      
          struct sockaddr_un {
             sa_family_t sun_family;               /* AF_UNIX */
             char        sun_path[108];            /* Pathname */
          };
      4d9db420
  11. Apr 11, 2020
Loading