parent
c58fc0288b
commit
4b7e1d978e
|
@ -1056,19 +1056,9 @@
|
|||
></a>
|
||||
</div>
|
||||
<p>
|
||||
Prefer <code>nix</code>/<code>go</code>/<code>cargo</code>/<code
|
||||
>pipx</code
|
||||
>
|
||||
to MacPorts, HomeBrew
|
||||
Prefer <code>go</code>/<code>cargo</code>/<code>pipx</code> to MacPorts,
|
||||
HomeBrew
|
||||
</p>
|
||||
<p>Quirks:</p>
|
||||
<div class="highlight highlight-source-shell">
|
||||
<pre><span class="pl-c"><span class="pl-c">#</span> Add to ~/.zshrc</span>
|
||||
<span class="pl-c"><span class="pl-c">#</span> https://github.com/NixOS/nix/issues/3616</span>
|
||||
<span class="pl-k">if</span> [ <span class="pl-k">-e</span> <span class="pl-s"><span class="pl-pds">'</span>/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh<span class="pl-pds">'</span></span> ]<span class="pl-k">;</span> <span class="pl-k">then</span>
|
||||
<span class="pl-c1">source</span> <span class="pl-s"><span class="pl-pds">'</span>/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh<span class="pl-pds">'</span></span>
|
||||
<span class="pl-k">fi</span></pre>
|
||||
</div>
|
||||
<p>Don't install:</p>
|
||||
<ul>
|
||||
<li>Google Chrome</li>
|
||||
|
|
|
@ -230,17 +230,7 @@ Memory
|
|||
|
||||
## Notes
|
||||
|
||||
Prefer `nix`/`go`/`cargo`/`pipx` to MacPorts, HomeBrew
|
||||
|
||||
Quirks:
|
||||
|
||||
```sh
|
||||
# Add to ~/.zshrc
|
||||
# https://github.com/NixOS/nix/issues/3616
|
||||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||
source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||
fi
|
||||
```
|
||||
Prefer `go`/`cargo`/`pipx` to MacPorts, HomeBrew
|
||||
|
||||
Don't install:
|
||||
|
||||
|
|
Loading…
Reference in New Issue