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

Nologin error #16703

Merged
merged 2 commits into from Jul 7, 2016
Merged

Nologin error #16703

merged 2 commits into from Jul 7, 2016

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jul 4, 2016

Motivation for this change

Fixes #16428

Things done
  • Tested using sandboxing
    (nix.useChroot on NixOS,
    or option build-use-chroot in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

The shadow package's shellPath wasn't detected properly

Fixes NixOS#16428
All shell packages must export the shellPath passthru
@mention-bot
Copy link

@zimbatm, thanks for your PR! By analyzing the annotation information on this pull request, we identified @edolstra, @wkennington and @rbvermaa to be potential reviewers

@bjornfor
Copy link
Contributor

bjornfor commented Jul 5, 2016

The first commit seems like a no-brainer. The second one I cannot judge (yet). Are you waiting for feedback regarding the 2nd commit?

@zimbatm
Copy link
Member Author

zimbatm commented Jul 5, 2016

The second-one exposes the error of the first commit. For legacy reasons we also accept a path as an argument but if it's a package it should expose the shellPath passthru. I wrote all of that code initially so I'm quite confident of what code uses that util. I just like to send PRs just to make sure I didn't miss anything obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants