-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
nushell: 0.8.0 -> 0.9.0 #78782
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
nushell: 0.8.0 -> 0.9.0 #78782
Conversation
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.
diff LGTM
nixpkgs-review
passes on NixOS
Tests are failing on NixOS output from build
checks ofborg ... oh. Guess we knew that 😛 |
FWIW, the same tests fail from a normal |
A little further with output from build
|
73fd062
to
e8e47ce
Compare
@filalex77 sorry to re-request your review: like @evanjs mentions above, just bumping version broke the tests since test binaries where moved to a separate cargo feature and I didn't notice it straight away. Could you, please, ask OfBorg for a build so a Darwin builder builds it too? It built without issues on my OSX machine but double-checking would be nice. |
|
||
preCheck = '' | ||
export HOME=$TMPDIR | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
checkPhase = '' |
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.
Currently there doesn't seem to be a way to pass options to cargo test
itself, only to the tested binary via checkFlags
.
I've introduced a checkPhase
override here since it's less invasive change, but maybe buildRustPackage
should allow passing those options instead?
cc @andir (sorry for the ping, but you are listed as a codeowner there so I wanted to get it on your radar)
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.
checkPhase
override is the only way for now, so it can stay.
No worries, ask me anytime. I'm puzzled as to why my build passed all tests, but I'll check that later. As you requested, starting a Darwin build. |
Builds and runs fine on NixOS now. |
nushell: 0.8.0 -> 0.9.0
Motivation for this change
https://github.com/nushell/nushell/releases/tag/0.9.0
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)