<LnL>
just didn't notice it yet because something is blocking my updates
<johnw>
ah
<johnw>
I do a full system update to the latest nixpkgs-unstable pretty much daily, and update nix-darwin and home-manager at the same time
{`-`} has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmpffff has joined #nix-darwin
hmpffff_ has quit [Ping timeout: 272 seconds]
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maxfire has joined #nix-darwin
<Maxfire>
I just installed nix-darwin on catalina. I have few questions. After running `nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer` there is a symlinked `result` subdir. It is not rremoved, I guess I should remove that after the install, right?
philr has joined #nix-darwin
<LnL>
yeah sure, you can remove that
<Maxfire>
Also in the readme it is mentioned that I can run some basic tests with `nix-build release.nix -A tests.environment-path`. It doesn't work (maybe for good reasons?). It says
<Maxfire>
error: getting status of '/Users/maxfire/Projects/dotfiles/release.nix': No such file or directory
<clever>
Maxfire: you have to first cd into the directory where release.nix is
<Maxfire>
The only problem is I don't know where release.nix is
<clever>
Maxfire: you may need to git clone the repo your trying to test
<Maxfire>
I am totally new to nix/nix-darwin
<LnL>
hm, sounds unexpected tho
<Maxfire>
I have just installed nix/nix-darwin. Maybe `nix-build release.nix -A tests.environment-path` is not relevant at the moment, because I haven't installed anything yet using nix-env or darwin-rebuild. Is it for for people making packages (derivations). I basically don't understand what `nix-build release.nix -A tests.environment-path` is for, I guess?
butterthebuddha has joined #nix-darwin
<LnL>
the tests are mostly for if you want to contribute changes
<Maxfire>
Yeah makes sense. Why did you write 'sounds unespected'? Is it expected that I cannot run the command, in any directory, after just haven't installed nix-darwin?
<Maxfire>
I mean 'have installed...'
<LnL>
those are unit tests so the location or whether it's installed shouldn't matter
<Maxfire>
I am confused. It it a problem that typing `nix-build release.nix -A tests.environment-path` in any given directory cannot find the `release.nix` file?
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]