hamishmack has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz_ has joined #nix-darwin
johnw has quit [Ping timeout: 258 seconds]
aminechikhaoui has quit [Read error: Connection reset by peer]
johnw has joined #nix-darwin
hamishmack has joined #nix-darwin
nbardiuk has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
matthewbauer has quit [Write error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
ejpcmac has quit [Remote host closed the connection]
thefloweringash has joined #nix-darwin
ejpcmac has joined #nix-darwin
hamishmack has quit [Ping timeout: 245 seconds]
hamishmack has joined #nix-darwin
aminechikhaoui has joined #nix-darwin
nD5Xjz_ has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nix-darwin
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
qyliss has joined #nix-darwin
qyliss^work has joined #nix-darwin
qyliss^work has quit [Quit: bye]
qyliss has quit [Quit: bye]
qyliss has joined #nix-darwin
qyliss^work has joined #nix-darwin
<ProofTechnique> Anyone having issues with lz4 building when tracking nixos-unstable? I'm getting `ld: unknown option: -soname=liblz4.so.1` and I'm not sure where to go looking to fix it
<ProofTechnique> Oh, maybe found it: https://github.com/lz4/lz4/pull/696
<{^_^}> lz4/lz4#696 (by Cyan4973, 2 weeks ago, merged): Fix dynamic library compilation on Mac OS-X
<ProofTechnique> Fingers crossed this overlay fixes it :)
<LnL> yeah, the fix is going through staging
<LnL> you don't want to track nixos-unstable on darwin, unlike nixpkgs-unstable it only blocks on linux failures
softinio has joined #nix-darwin
<softinio> everytime I run any nix command I get this error, any thoughts on fixing this: warning: name collision in input Nix expressions, skipping '/Users/salar/.nix-defexpr/channels_root/darwin'
<LnL> you probably have a nixpkgs channel for both root and your user
<softinio> LnL: how do I get rid of root then to stop this message appearing?
<LnL> what's the output of nix-instantiate --find-file nixpkgs
<softinio> just: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<LnL> then you are currently using the root one
<softinio> so how do I switch to using my user one and remove root one?
<LnL> ah, depends a bit on your NIX_PATH
<softinio> darwin-config=/Users/salar/.nixpkgs/darwin-configuration.nix:/nix/var/nix/profiles/per-user/root/channels:/Users/salar/.nix-defexpr/channels
<LnL> already setup in that case
<LnL> sudo -i nix-channel --remove nixpkgs && sudo -i nix-channel --update
<softinio> Do i need to do anything after running that as i didi and still get error
<softinio> i had to drop the -i to run your commands
<LnL> the -i is important on older nix versions
<LnL> what did --find-file change?
<softinio> when i include the -i i get sudo: shell: command not found
<softinio> "/nix/var/nix/profiles/per-user/root/channels/nixpkgs"
<LnL> yeah, it did the wrong thing
<LnL> not sure what's up with sudo -i but that's specific to your system
<softinio> I am on an old mac
<softinio> elcapitan
<LnL> that shouldn't matter
<LnL> pretty sure I used that back when my build machine was still on 10.11
<LnL> but try running those commands in a sudo su - shell
<softinio> what do u mean by sudo su - shell
<softinio> sudo su - zsh I type at prompt?
<LnL> just sudo su -
<softinio> su: /usr/local/bin/zsh: No such file or directory
<softinio> hmmm wonder if this an issue related to me moving from homebrew -> nix and removing homebrew
<softinio> maybe some path left over pointing to where homebrew had stuff will investigate
<softinio> once I result this that sudo -i should fix my issue? Anything I need to do after it?
<LnL> I think so, looks like your root login shell is setup to be a zsh that doesn't exist anymore
<softinio> brb rebooting
softinio has quit []
softinio has joined #nix-darwin
<softinio> LnL: fix that issue with sudo and ran it successfully
<softinio> but still get same warning
<LnL> oh, it's not nixpkgs
<LnL> sudo -i nix-channel --remove darwin
<LnL> followed by --update again
<softinio> LnL: That did it awesome thanks so much for your help
<LnL> I think your attempt without -i might have removed your user nixpkgs tho, might need to add that back
<softinio> oh
<softinio> best way to check and add back >
<softinio> ?
<softinio> relatively new to nix sorry if silly q
<LnL> --find-file was the check and that failed
<softinio> yup
<LnL> as for adding it back, depends on what channel you where using before eg. nix-channel --add https://nixos.org/channels/nixpkgs-unstable
<softinio> ok to use unstable so i get latest updates fast?
<LnL> that's the default but you can also use stable (nixpkgs-19.03-darwin) which rotates every 6 months and doesn't get updates except for fixes / security patches
<softinio> thx I'll got with unstable
<softinio> ty so much for help fixed my issue and learnt a lot from you
<LnL> no problem