LnL has quit [Quit: exit 1]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
abathur has quit [Quit: abathur]
abathur has joined #nix-darwin
mjrosenb has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LnL has joined #nix-darwin
gleber has quit [*.net *.split]
teehemkay has quit [*.net *.split]
angerman has quit [*.net *.split]
mog has quit [*.net *.split]
Chiliparrot has joined #nix-darwin
__monty__ has joined #nix-darwin
gleber has joined #nix-darwin
teehemkay has joined #nix-darwin
mog has joined #nix-darwin
angerman has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gleber has quit [*.net *.split]
angerman has quit [*.net *.split]
teehemkay has quit [*.net *.split]
mog has quit [*.net *.split]
teehemkay has joined #nix-darwin
angerman has joined #nix-darwin
gleber has joined #nix-darwin
mog has joined #nix-darwin
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
Chiliparrot has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has quit [Ping timeout: 240 seconds]
xcmw has joined #nix-darwin
<abathur> anyone compiled a loadable bash builtin on macOS before?
<gchristensen> oh dear
<abathur> I've fiddled enough to get it to compile, but when I `enable -f` to load it, the dlopen() call barfs "mach-o, but wrong filetype", which is thankfully searchable; a code comment there says // only MH_BUNDLE, MH_DYLIB, and some MH_EXECUTE can be dynamically loaded
<gchristensen> I just want to say I love that you're experimenting with bash builtins
<gchristensen> what do you want it to do? :)
<abathur> oh, well, I can't get this booze FUSE-for-bash thing out of my head
<abathur> so, just trying to get its builtin built to see if it'll work on macos :)
<abathur> I've been looking for any sort of tolerable cross-platform FUSE, just one path/tendril related to your ask on ~traced shell script execution
<abathur> though I've roughly given up on there being enough good cross-platform abstractions to stitch something together there; been assuming I may just focus on linux + CI for that
<gchristensen> what is this FUSE thing? :)
<gchristensen> uh oh
<gchristensen> oh
<gchristensen> guh, this is great
<abathur> hehe
<abathur> it's appropriate, if I can get it working
<abathur> I was *really* just looking around for whether anyone had forked and hacked bash to instrument it directly to collect anything similar to what we'd be looking for, but I got nerd-sniped when I found booze in the results
<abathur> more like sifting, I guess, since there's like a quintillion copies of bash on the internet
<gchristensen> you've seen opengl.sh right?
<abathur> no
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<abathur> ha, nice
<gchristensen> I've been thinking about making a fuse filesystem which automatically bind-mounts certain directories to another partition when they're created
<gchristensen> for example, Rust's ./target directory can be enormous. if ./Cargo.toml exists, then ./target would be bind-mounted to another filesystem
<abathur> ah, yeah
gleber has quit [*.net *.split]
teehemkay has quit [*.net *.split]
angerman has quit [*.net *.split]
mog has quit [*.net *.split]
<__monty__> Is there a way to set the default browser? Searching the documentation for default doesn't really work because of all the default values >.<
<antifuchs> __monty__: I don't believe there's an effective way to do it outside running the browser and choosing "make it the default". https://stackoverflow.com/a/50262636 has a programmatic way but I'm pretty sure nix-darwin doesn't use that (:
<__monty__> : ( State is so yucky though! 😩
mog has joined #nix-darwin
teehemkay has joined #nix-darwin
gleber has joined #nix-darwin
angerman has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<antifuchs> agreed /:
xcmw has joined #nix-darwin
<abathur> heh, that SO link notes it can be installed via homebrew now, I guess perhaps we could build and use it in nix-darwin
<abathur> though I tend to take a go-with-the-flow approach to a lot of this stuff on macOS; roughly: at dotfile bootstrap time, after Chrome installs, assuming I have a file named "chrome_instructions" with the contents "Make default browser and close", `open -w -a Google\ Chrome.app chrome_instructions`
<abathur> my loadable builtin question my not be as specific as I thought; has anyone used Nix to compile a plugin against any executable on macOS?
<abathur> I fumbled my way to overriding the bash package to make a new output with the .o files, which did get it compiling, but dlopen is complaining that it's the wrong filetype; I've since found the linker options -bundle and -bundle_loader
<abathur> -bundle_loader sounds like it should get me out of making a new output, letting unresolved symbols resolve against the specified loader, but I'm missing something wrt to the options
<abathur> wooo
<abathur> booze: usage: booze [-df] FN_ASSOC MOUNTPOINT
* abathur squees
abathur has quit [Quit: abathur]
abathur has joined #nix-darwin
eraserhd has quit [Quit: WeeChat 2.9]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
xcmw has quit [Client Quit]
eraserhd has joined #nix-darwin
__monty__ has quit [Quit: leaving]
philr has joined #nix-darwin
gleber has quit [*.net *.split]
teehemkay has quit [*.net *.split]
angerman has quit [*.net *.split]
mog has quit [*.net *.split]