Branch: refs/heads/1.11-maintenance
  Home:   https://github.com/NixOS/nix
  Commit: 11dd08f02e842722fb391bef1ce72e2df0f7b3ba
      
https://github.com/NixOS/nix/commit/11dd08f02e842722fb391bef1ce72e2df0f7b3ba
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M src/libstore/build.cc
    M tests/common.sh.in

  Log Message:
  -----------
  macOS: Ugly hack to make the tests succeed

Sandboxes cannot be nested, so if Nix's build runs inside a sandbox,
it cannot use a sandbox itself. I don't see a clean way to detect
whether we're in a sandbox, so use a test-specific hack.

https://github.com/NixOS/nix/issues/1413
(cherry picked from commit 1888f7889b107ecbca7ad47f3a1132c32a17d227)


  Commit: 026f4f9ae881d9196422981f1f85fa3137525014
      
https://github.com/NixOS/nix/commit/026f4f9ae881d9196422981f1f85fa3137525014
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M src/libstore/local-store.cc

  Log Message:
  -----------
  macOS: Remove flags

In particular, UF_IMMUTABLE (uchg) needs to be cleared to allow the
path to be garbage-collected or optimised.

See https://github.com/NixOS/nixpkgs/issues/25819.
+       the file from being garbage-collected.

(cherry picked from commit b5bdfdef7320d74a98af1e53d64371e0cef2dbbe)


Compare: https://github.com/NixOS/nix/compare/3e574c3691fb...026f4f9ae881
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to