Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 00ab5c5b6af2
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 6f5a86b189fc
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 2, 2018

  1. tests/containers-imperative: Disable useSandbox

    Since 4f6df27, nix.useSandbox defaults
    to true which causes the Nix build within the containers-imperative test
    to fail while trying to hardlink files into the chroot:
    
    link("/nix/store/foo", "/nix/store/bar.drv.chroot/nix/store/foo")
       = -1 EPERM (Operation not permitted)
    
    The reason this happens is that the hosts store is mounted using 9p and
    an overlayfs is mounted on top, so even if we would disable the tmpfs
    for the upper directory the hardlink would still cross filesystem
    boundaries, which then fails with the above error code.
    
    I haven't yet seen any other test which fails in a similar way, which
    might be because building within VM tests is not very common and the
    installer tests build in a separate store, so they're not affected.
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Issue: NixOS/nix#2324
    Cc: @aristidb, @edolstra, @chaoflow, @kampfschlaefer
    aszlig committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    6f5a86b View commit details
    Browse the repository at this point in the history