Skip to content
Snippets Groups Projects
  1. Apr 28, 2020
  2. Apr 27, 2020
  3. Apr 22, 2020
  4. Apr 21, 2020
  5. Apr 18, 2020
  6. Apr 16, 2020
  7. Apr 15, 2020
  8. Apr 14, 2020
    • zimbatm's avatar
      add NIX_USER_CONF_FILES · 895516ca
      zimbatm authored
      Motivation: maintain project-level configuration files.
      
      Document the whole situation a bit better so that it corresponds to the
      implementation, and add NIX_USER_CONF_FILES that allows overriding
      which user files Nix will load during startup.
      895516ca
  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
  12. Apr 10, 2020
    • Bruce Toll's avatar
      Add test case for temporary directories on darwin · e8bd1bc7
      Bruce Toll authored
      A test case for correct handling of temporary directory deletion that
      was added to check.sh as part of PR #2689 was initially disabled for
      Darwin because of a directory permission issue in PR #2688.
      
      Now that the issue in PR #2688 is fixed, this commit enables the test
      case for Darwin.
      e8bd1bc7
    • Bruce Toll's avatar
      Fix nix-build --check -K in sandbox w/o root · 8132d0a1
      Bruce Toll authored
      Temporarily add user-write permission to build directory so that it
      can be moved out of the sandbox to the store with a .check suffix.
      
      This is necessary because the build directory has already had its
      permissions set read-only, but write permission is required
      to update the directory's parent link to move it out of the sandbox.
      
      Updated the related --check "derivation may not be deterministic"
      messages to consistently use the real store paths.
      
      Added test for non-root sandbox nix-build --check -K to demonstrate
      issue and help prevent regressions.
      8132d0a1
    • Eelco Dolstra's avatar
      Update release script · 3abf6d03
      Eelco Dolstra authored
      3abf6d03
    • Domen Kožar's avatar
      Merge pull request #2689 from tollb/fix/delete_tmp_dir_when_build_check_ok · db25a6d7
      Domen Kožar authored
      Delete temporary directory on successful build
      db25a6d7
  13. Apr 09, 2020
Loading