__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
<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]