levdub has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
levdub has joined #nix-darwin
<levdub>
I have been reinstalling nix on my mac trying to fix some issues. Now my ~/.nix-profile is a dangling symlink. /nix/var/nix/profiles/per-user/lev/profile does not exist. this seems pretty bad.. how would this happen?
levdub has quit [Remote host closed the connection]
levdub has joined #nix-darwin
<gchristensen>
levdub: that happens if you haven't installed anything yet
eraserhd has quit [Ping timeout: 246 seconds]
patrol02 has joined #nix-darwin
<patrol02>
Hello!
<patrol02>
My `cc --version` shows `Apple LLVM version 10.0.1 (clang-1001.0.46.4)`, but when build with GHC (installed with Nix) it seems to be using `clang version 7.1.0 (tags/RELEASE_710/final)`. And then it errors out. What would be a way to tell it to use `clang` that is available and not the older version that pops up somehow?
eraserhd has joined #nix-darwin
<patrol02>
When I use `binutils` it tries to build, but produces tons of warnings like `was built for newer OSX version (10.14) than being linked (10.10)`. But I am using `10.14`, not `10.10`.
<LnL>
nix doesn't use what's installed on your system, that's kind of the point
<LnL>
but we have multiple versions of llvm/clang in nixpkgs which you could use instead of the default
<levdub>
gchristensen: my (poor) understanding is that ~/.nix-profile should contain some SSL certs that are needed in order to curl and install things
<levdub>
LnL: do you mean that the certs are stored there for single-user install but elsewhere for multi-user?
<LnL>
indeed, it separates per-user software from the system profile (where nix is installed)
<levdub>
yeah that makes sense. where would the certs be in multi-user mode? I am having a fair bit of trouble getting started with nix-darwin
<levdub>
during install, theres a step that prints "generating SSL certs" or something similar, but it doesnt show where they are
<patrol02>
I see the point in not using defaults, however the compiler that is on Nix seems to be way behind from the default Mac OS which causes some problems :(
patrol02 has quit [Ping timeout: 260 seconds]
<LnL>
it's one version behind the last llvm release which is pretty normal and you can configure your build to use clang8 if you want