-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
pythonPackages.nose-randomly: fix tests on Darwin #149128
pythonPackages.nose-randomly: fix tests on Darwin #149128
Conversation
''; | ||
checkPhase = if stdenv.isDarwin then '' | ||
# Work around "OSError: AF_UNIX path too long" | ||
TMPDIR="/tmp" nosetests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we do export TMPDIR=$(mktemp -d)
and set that for everyone?
Also please target master. The rebuild could is not that high.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mktemp -d
has come up several times before, see #126642 (comment) and #145276 (comment).
I will change target to master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
838310b
to
f045620
Compare
f045620
to
65af24a
Compare
Motivation for this change
Similar to #145276 and a few others before that, the tmp path is too long on macOS.
I'd open an issue upstream, but the repo is archived.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes