matthewbauer has joined #nix-darwin
jtojnar has quit [Ping timeout: 252 seconds]
<Enzime> LnL: any ideas why I'm getting: error: The option `services.synergy' defined in `/Users/enzime/.nixpkgs/darwin-configuration.nix' does not exist.
<Enzime> I ran nix-channel --update darwin
matthewbauer has quit [Ping timeout: 272 seconds]
matthewbauer has joined #nix-darwin
matthewbauer has quit [Ping timeout: 268 seconds]
matthewbauer has joined #nix-darwin
matthewbauer has quit [Ping timeout: 252 seconds]
pikajude has quit [Quit: ZNC 1.7.1 - https://znc.in]
pikajude has joined #nix-darwin
<LnL> hmm, weird
<LnL> can you find it in nix-instantiate --eval -E '<darwin>'
nD5Xjz has quit [Ping timeout: 244 seconds]
nD5Xjz_ has joined #nix-darwin
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
<Enzime> LnL: nope can't find it :\
<LnL> I don't think you're not on the latest version then
<Enzime> LnL: how do I get onto the latest version?
<LnL> but I'd expect a channel update to pull those in
<Enzime> LnL: what's odd to me though is
<Enzime> nix-channel --list as root
<Enzime> only lists nixpkgs
<Enzime> but nix-channel as enzime lists darwin
<Enzime> but:
<Enzime> > nix-instantiate --eval -E '<darwin>' ✘ 1
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):196:27
<Enzime> /nix/var/nix/profiles/per-user/root/channels/darwin
<Enzime> oh I didn't even notice {^_^} was in this channel
<Enzime> > darwin
<{^_^}> { CF = <CODE>; CarbonHeaders = <CODE>; CommonCrypto = <CODE>; CoreSymbolication = <CODE>; Csu = <CODE>; DarwinTools = <CODE>; ICU = <CODE>; IOKit = <CODE>; Libc = <CODE>; Libc_old = <CODE>; Libinfo = ...
<Enzime> > darwin.cf-private
<{^_^}> assertion failed at /var/lib/nixbot/state/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/CF/default.nix:4:1
trcc has quit [Remote host closed the connection]
<Enzime> > stdenv.cc.isClang
<{^_^}> false
<Enzime> > stdenv.cc.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):197:1
<Enzime> > stdenv.cc
trcc has joined #nix-darwin
<{^_^}> "<derivation /nix/store/cd63q3asbkwxi596pf2ymcn78wmf6qjb-gcc-wrapper-7.3.0.drv>"
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
<LnL> huh, what's all that?
<Enzime> LnL: oh I was just curious sorry
<Enzime> ignore that
<Enzime> but apparently the darwin channel is under /nix/var/nix/profiles/per-user/root/channels/darwin (root?)
<Enzime> but running nix-channel --list as root only has nixpkgs
<Enzime> if I check /nix/var/nix/profiles/per-user/enzime/channels/darwin it does have synergy (seems up to date with master)
<Enzime> wondering where this root channel comes from
<LnL> oh, there's a channel in both places?
<LnL> you'll want to remove one and update both root and local then
<LnL> nix-channel --remove doesn't actually change channels so you need to run an extra update afterwards
hamishmack has quit [Ping timeout: 252 seconds]
trcc_ has joined #nix-darwin
trcc has quit [Ping timeout: 268 seconds]
<Enzime> LnL: which one is preferable?
<LnL> whatever you prefer, but it's probably to put both channels in the same place
<LnL> best*
periklis has joined #nix-darwin
trcc has joined #nix-darwin
trcc_ has quit [Ping timeout: 252 seconds]
trcc has quit [Ping timeout: 250 seconds]
jtojnar has joined #nix-darwin
periklis has quit [Ping timeout: 268 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
trcc has joined #nix-darwin
trcc has quit [Client Quit]
periklis has joined #nix-darwin
periklis has quit [Ping timeout: 252 seconds]
<pasukon> I've been trying to wrap my head around the mental model of Nix, and not everything is super clear to me from the documentation as it relates to Darwin... I'd like to have a fairly declarative setup, but this seems like it's pretty much limited to NixOS. Am I wrong in thinking that the best way to get around that would be to just always work from nix-shell?
<gchristensen> I always work in nix-shell
<pasukon> cool, thanks. I feel like I'm headed in the right direction then
<cransom> i lean on direnv heavily, but that is also just nix-shell with some duct tape
Lisanna has joined #nix-darwin
<LnL> there are also a number of ways to make nix-env (mostly) declarative, like https://gist.github.com/LnL7/570349866bb69467d0caf5cb175faa74
<LnL> but making a global symlink tree introduces some of the problems that traditional package managers have, so nix-shell is the way to go for development and project specific dependencies