hedgie_lappy__ has joined #nix-darwin
hedgie_lappy_ has joined #nix-darwin
hedgie_lappy has quit [Ping timeout: 245 seconds]
hedgie_lappy__ has quit [Ping timeout: 272 seconds]
hedgie_lappy_ has quit [Ping timeout: 248 seconds]
abathur has joined #nix-darwin
virus_dave has joined #nix-darwin
virus_dave has quit [Client Quit]
hedgie has quit [Ping timeout: 248 seconds]
hedgie has joined #nix-darwin
hedgie has quit [Ping timeout: 248 seconds]
abathur has quit [Ping timeout: 272 seconds]
veske has joined #nix-darwin
veske has quit [Client Quit]
hamishmack has joined #nix-darwin
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
Chiliparrot has joined #nix-darwin
__monty__ has joined #nix-darwin
Chiliparrot has quit [Quit: Textual IRC Client: www.textualapp.com]
Chiliparrot has joined #nix-darwin
hmpffff has joined #nix-darwin
hamishmack has joined #nix-darwin
hamishmack has quit [Client Quit]
hamishmack has joined #nix-darwin
__Sander__ has joined #nix-darwin
__monty__ has quit [Ping timeout: 245 seconds]
__monty__ has joined #nix-darwin
virus_dave has joined #nix-darwin
virus_dave has quit [Client Quit]
hamishmack has quit [Ping timeout: 248 seconds]
virus_dave has joined #nix-darwin
veske has joined #nix-darwin
__monty__ has quit [Ping timeout: 272 seconds]
veske has quit [Quit: Leaving]
__monty__ has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
hmpffff has quit [Quit: nchrrrr…]
<teehemkay> Hi. I just updated both nixpkgs and nix-darwin. Now every time I'm trying to do a `darwin-rebuild switch`, I get a `cannot link '/nix/store/...' to '/nix/store/.links/...': File exists.
<teehemkay> Any idea what's happening and how I can correct this issue? TIA
hmpffff has joined #nix-darwin
<LnL> what's the output of nix-info?
<teehemkay> LnL: system: "x86_64-darwin",
<teehemkay> multi-user?: yes, version: nix-env (Nix) 2.2.2, channels(root): "nixpkgs-19.09pre186460.c4fec1c6314", channels(tmk): "darwin", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<LnL> if it's multi-user you can't really have permission issues
<LnL> .links is for the optimize option, do you have a _very_ large store?
<LnL> you can run into inode issues if there are a lot of store paths
<teehemkay> I don't think I have a large store I've only installed a dozen packages (but I do have lots of generations (+40)
<LnL> check the ifree column of df -h
<teehemkay> ```sh
<teehemkay> ```
<teehemkay> /dev/disk1s1 234Gi 142Gi 89Gi 62% 1739370 9223372036853036437 0% /
<teehemkay> Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
<teehemkay> > df -h /nix/store/
<{^_^}> error: path '/nix/store/' has a trailing slash
<teehemkay> There are almost 77 000 files in `/nix/store/.links/`
<teehemkay> is it safe to erase /nix/store/.links
<LnL> don't remember, but I think so
<LnL> doesn't seem to be the problem however
<teehemkay> I've just upgraded to Mojave 10.14.6, and followed the instructions in the wiki re: macoOS upgrades and now running `nix-darwin rebuild switch` worked...
<teehemkay> how can I check which packages are installed (other then looking at `configuration.nix`) equivalent to `nix-env -q`?
<teehemkay> Doesn't show anything `sudo nix-env -q -p /nix/var/nix/profiles/system`
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
veske has joined #nix-darwin
hmpffff has quit [Quit: Bye…]
<LnL> oh neat, I threw that together after my last upgrade
<LnL> nothing missing from the instructions?
* eraserhd makes a module that works under NixOS and nix-darwin that configures NIX_PATH to use submodules of my dotfiles repo for nixpkgs & nix-darwin.
<LnL> as for listing packages, you can't use nix-env since the system more then just a set of packages this kind of works
<LnL> nix-instantiate '<darwin>' -A config.environment.systemPackages
veske has quit [Quit: This computer has gone to sleep]
__monty__ has quit [Quit: leaving]
hmpffff has joined #nix-darwin
virus_dave has quit [Quit: virus_dave]
hmpffff has quit [Quit: nchrrrr…]
abathur has joined #nix-darwin