-
Notifications
You must be signed in to change notification settings - Fork 84
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
Do not require global nix installation #75
Comments
What makes this hard? For my use case, all I want to use nix for is to pull in the |
Hello! Someone shared a contribution to clodl (tweag/clodl#48) to make it work with a non-global nix installation. I don't have much of an opinion on how it should be implemented, but as a user of If you have a clue, your input would be welcome. Is this something possible and desirable to do in |
I've added a comment to the clodl PR tweag/clodl#48 (comment) |
Hi. I'm that someone. :) This now seems to work on Linux and does not seem too onerous, see tweag/clodl#48 (comment) for details. Sorry folks, mac is not supported, because Do give it a test drive on Linux if so inclined. |
https://github.com/nixie-dev/nixie exists for macOS, but I haven't tried it. Not sure if it's a viable path forward, or if it's not, if it can help shake out some of those hidden issues, though it might not be worth addressing any hidden issues if there's no viable path forward on macOS. |
Patches are most welcome.
You may want to start by adding a mac presubmit check, to ensure that
things keep working.
…On Wed, May 22, 2024 at 8:51 AM Uri Baghin ***@***.***> wrote:
Sorry folks, mac is not supported, because nix-portable
<https://github.com/DavHau/nix-portable>, which is the main workhorse,
doesn't seem to support mac.
And that showstopper may be hiding more issues.
https://github.com/nixie-dev/nixie exists for macOS, but I haven't tried
it. Not sure if it's a viable path forward, or if it's not, if it can help
shake out some of those hidden issues, though it might not be worth
addressing any hidden issues if there's no viable path forward on macOS.
—
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB4GMHLG3ZQQGKRXDLO5R3ZDS5I7AVCNFSM4G5BQIEKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJSGUYTGNJZGE4A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Based on the discussion in #54, we should enable
rules_nixpkgs
to use a local installation of nix that is bound to the bazel workspace somehow.Other relevant issues: NixOS/nix#1973, bazelbuild/bazel#6994
The text was updated successfully, but these errors were encountered: