philr has joined #nix-darwin
<emily> is it expected that the installer doesn't set up darwin-config in NIX_PATH so you get "error: file 'darwin-config' was not found in the Nix search path (add it using $NIX_PATH or -I), at /nix/store/j0r69hhvjml9c64868wmp0q2p3g9fyfr-darwin/darwin/default.nix:1:40" when trying to switch?
<emily> (admittedly I didn't reboot)
<emily> also, the installer overwrites /etc/zprofile but doesn't do eval `/usr/libexec/path_helper -s` like the stock one on catalina does
antifuchs has quit [Ping timeout: 258 seconds]
antifuchs has joined #nix-darwin
johnw has quit [Quit: ZNC - http://znc.in]
eraserhd2 has joined #nix-darwin
eraserhd has quit [Ping timeout: 260 seconds]
<LnL> is that with zsh enabled? the default might still be off
<LnL> path_helper is intentional, path is managed declaratively
elvishjerricco has quit [Ping timeout: 240 seconds]
elvishjerricco has joined #nix-darwin
carter has quit [Ping timeout: 240 seconds]
f47h3r has quit [Ping timeout: 240 seconds]
carter has joined #nix-darwin
antifuchs_ has joined #nix-darwin
antifuchs has quit [Ping timeout: 240 seconds]
antifuchs_ is now known as antifuchs
__monty__ has joined #nix-darwin
ris has joined #nix-darwin
eraserhd2 has quit [Quit: WeeChat 2.9]
philr has quit [Ping timeout: 260 seconds]
eraserhd has joined #nix-darwin
<abathur> has anyone successfully used nix-packaged valgrind on macOS? it looks like it builds/installs fine these days (haven't tried for some time...) but I get mmap errors on run like: valgrind: mmap-FIXED(0x7fff5f400000, 8388608) failed in UME (load_unixthread1) with error 22 (Invalid argument).
<emily> LnL: yep, zsh enabled. I didn't comment out the `environment.darwinConfig` line in the default config since it seemed to be optional, maybe that's why?
<emily> (also, I don't suppose anyone has gotten nix-darwin to work with flakes?)
<LnL> that's just if you want to change the default location
<LnL> I have played with it on a branch but nothing proper yet
<emily> ah, nice, the flakes branch didn't exist last time I checked ^^
<LnL> still just an experiment, I should take some time to look at how this works exactly for nixos
__monty__ has quit [Quit: leaving]
<emily> does anyone use nix-darwin to manage third-party packaged GUI apps (as opposed to App Store stuff, or free software that might be packaged in nixpkgs)? or is it better to just use `brew cask` alongside to automate non-App Store GUI app binary installs? it seems like it'd be a fuss to write derivations for random dmgs out there but maybe it wouldn't be too hard to port similar helper functionality as cask has, if anyone has anything like that I'd be
<emily> interested in seeing
<ris> i use it to provide `gitk` and `git gui`, but i'm not interested in gui stuff on macos really
<ris> otherwise, that is
eraserhd2 has joined #nix-darwin
<antifuchs> emily: I found a thing that generates a brewfile and installs the contents as an activation step. Works very well!
<antifuchs> It was in someone’s dotfiles, sorry I can’t be more specific (not at a computer atm)