Chiliparrot has quit [Ping timeout: 264 seconds]
mog has quit [Remote host closed the connection]
mog has joined #nix-darwin
abathur has quit [Ping timeout: 272 seconds]
hamishmack has joined #nix-darwin
hmpffff has joined #nix-darwin
hamishmack has quit [Ping timeout: 258 seconds]
<angerman> anyone come across `"_utimensat", referenced from:` with nix on macOS? I believe this happens because I need some pre-built software for bootstrapping purposes, but the pre-built software was built on macOS 10.13+, which apparently contains utimesat, but for some reason within nix it's invisible, even on 10.14.
virus_dave has joined #nix-darwin
<LnL> we only export a subset of the libsystem symbols to keep builds compatible
__monty__ has joined #nix-darwin
<angerman> LnL: can I somehow link in impure system libs?
<angerman> I'll just need to make this work for the bootstrap process :-/
<eraserhd> So, I'm not sure what I did to screw up my PATH, but all of my tmux shells were messed up, but unsetting __* and re-execing them works. // __monty__
<__monty__> Don't even know what __* *is* : )
<eraserhd> __monty__: (sort of stolen from LnL): https://github.com/eraserhd/dotfiles/blob/develop/bash/default.nix#L6-L9
<eraserhd> Causes the shell to reload the environment.
<eraserhd> I'm going to make :r do a rebuild, and switch if there are changes, I think.
<eraserhd> Also, I think I finally have a coherent layout (in theory) for my dotfiles, post nix and nix-darwin. It's a nice feeling.
<__monty__> Do tell, still having doubts about how to handle dotfiles.
<eraserhd> I think the breakthrough was pushing everything package-related into overlays, and keeping all the config stuff in modules.
<eraserhd> I have top-level directories for my basic things: git, bash, kakoune, and so forth.
<eraserhd> So I'm converting each one of those into a config module as I touch it, and (for now) importing the modules in /common.nix.
<eraserhd> I'm removing my dotfile symlinks gradually, also, so everything is installed via nix.
<eraserhd> Also, I'm trying to make the modules work for nix-darwin and nixos, but I haven't invested enough time in that yet.
<__monty__> Hmm, I'm just dreading having to translate them *back* into dotfiles if I want to use the configs elsewhere or share them.
<eraserhd> __monty__: I've been eyeing this, but haven't needed it yet: https://github.com/rycee/home-manager
<LnL> tmux inherits the environment from your first shell, so the conditions to skip stuff for subshells gets triggered
<__monty__> eraserhd: Oh, I'm already using home-manager. Just still in doubt whether translating everything into nix gives me any advantages.
<eraserhd> Hmm, I'd like to figure out whether `darwin-rebuild switch` would have an effect, so I can avoid the `sudo` if nothing's changed. How can I do that?
<eraserhd> Ah, I can darwin-rebuild build, and see if $(readlink ./result) = $(readlink /run/current-system).
__monty__ has quit [Ping timeout: 258 seconds]
veske has joined #nix-darwin
__monty__ has joined #nix-darwin
veske has quit [Quit: This computer has gone to sleep]
bdesham_afk has quit [Quit: bdesham_afk]
abathur has joined #nix-darwin
__monty__ has quit [Ping timeout: 245 seconds]
__monty__ has joined #nix-darwin
__monty__ has quit [Quit: leaving]
hmpffff has quit [Quit: nchrrrr…]