kalbasit has quit [Read error: Connection reset by peer]
kalbasit has joined #nix-darwin
kalbasit has quit [Ping timeout: 258 seconds]
cmacrae has joined #nix-darwin
<cmacrae>
Hey people o/ Does anyone here use Nix to set up some sort of environment to manage maintenance of Homebrew packages? I don't use Homebrew at all, but I've just inherited ownership of a project that has a Homebrew package and figured I'd see if anyone has any nice Nix solutions for setting up an environment/toolchain
<Mic92>
cmacrae: I don't think you can use nix toolchains to build homebrew packages. The result will contain likely references to the /nix/store if you compile something for example.
<cmacrae>
Mic92: Ah, gotcha
<cmacrae>
I'll just rely on a remote CI environment, I guess - keeps things clean
<Mic92>
github actions or travis ci might be suitable.
<LnL>
one thing you could do is have a mirrored nix build for the package
<LnL>
homebrew formula aren't that different if it's a straightforward build
<LnL>
but yeah, different world for the builds themselves
<cmacrae>
Yeah I already maintain a Nix package for the piece of software, just I want to continue providing a Homebrew package for the community, as I think most people use that
<LnL>
right, you can probably get pretty far with just ci then
<cmacrae>
Sweet, glad you guys agree :) Thanks for your thoughts
<LnL>
nix is a lot stricter about stuff, the other direction probably wouldn't really work
cmacrae has quit [Remote host closed the connection]
cmacrae has joined #nix-darwin
cmacrae has quit [Read error: Connection reset by peer]
cmacrae has joined #nix-darwin
cmacrae has quit [Ping timeout: 256 seconds]
cmacrae has joined #nix-darwin
cmacrae has quit [Read error: Connection reset by peer]
cmacrae has joined #nix-darwin
cmacrae has quit [*.net *.split]
wildsebastian has quit [*.net *.split]
eraserhd2 has quit [*.net *.split]
infinisil has quit [*.net *.split]
eraserhd2 has joined #nix-darwin
wildsebastian has joined #nix-darwin
cmacrae has joined #nix-darwin
infinisil has joined #nix-darwin
cmacrae has quit [Quit: ERC (IRC client for Emacs 27.0.90)]
kalbasit has joined #nix-darwin
__monty__ has joined #nix-darwin
eraserhd2 has quit [Ping timeout: 272 seconds]
eraserhd has joined #nix-darwin
philr_ has quit [Ping timeout: 264 seconds]
__monty__ has quit [Quit: leaving]
rycee has joined #nix-darwin
<rycee>
Greetings. I'm curious if there is anybody using the Home Manger module for nix-darwin? If so, would you mind giving the branch in https://github.com/rycee/home-manager/pull/1339 a try? I'd like to merge it but it would be good to verify that it won't break things for mac users.
<{^_^}>
rycee/home-manager#1339 (by rycee, 3 weeks ago, open): home-environment: use per-user profile path in /etc
<Mic92>
rycee not a darwin regular, but I can check it out in my VM.
<rycee>
Mic92: That would be appreciated!
<Mic92>
rycee: Is there something I should check in particular? Update is running right now
<rycee>
Mic92: The main thing is that environment variables should still be set.
<rycee>
I.e., `. /etc/profiles/…/etc/profile.d/hm-session-vars.sh` should work.
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ has joined #nix-darwin
mbrgm_ is now known as mbrgm
philr_ has joined #nix-darwin
<rycee>
I'll head to bed. Will be back tomorrow :-)