Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix tests fails with darwin on staging-next #44172

Closed
FRidh opened this issue Jul 28, 2018 · 0 comments
Closed

Nix tests fails with darwin on staging-next #44172

FRidh opened this issue Jul 28, 2018 · 0 comments
Labels
1.severity: blocker 6.topic: darwin Running or building packages on Darwin

Comments

@FRidh
Copy link
Member

FRidh commented Jul 28, 2018

Issue description

running test tests/dump-db.sh... [FAIL]
    + clearStore
    + echo 'clearing store...'
    clearing store...
    + chmod -R +w /private/tmp/nix-test/store
    chmod: cannot access '/private/tmp/nix-test/store': No such file or directory

https://hydra.nixos.org/build/78200134

cc @NixOS/darwin-maintainers

@FRidh FRidh added 6.topic: darwin Running or building packages on Darwin 1.severity: blocker labels Jul 28, 2018
LnL7 added a commit to LnL7/nixpkgs that referenced this issue Jul 28, 2018
Unlike on linux these are not namespaced per user so this will cause
build failures if /tmp/nix-test was not removed by a previous build if
the nixbld user id doesn't match by accident. Nix already creates a
unique tempdir for builds so we can use that instead.

Fixes NixOS#44172
LnL7 added a commit that referenced this issue Aug 5, 2018
Unlike on linux these are not namespaced per user so this will cause
build failures if /tmp/nix-test was not removed by a previous build if
the nixbld user id doesn't match by accident. Nix already creates a
unique tempdir for builds so we can use that instead.

Fixes #44172

(cherry picked from commit 77a9745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.severity: blocker 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

1 participant