feat(tools): nix quirks
parent
9fc6846bed
commit
285fcb1bb8
|
@ -787,6 +787,14 @@
|
|||
></a>
|
||||
</h2>
|
||||
<p>nix/go/rust/pipx > 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>Postman</li>
|
||||
|
|
|
@ -195,6 +195,16 @@ Memory
|
|||
|
||||
nix/go/rust/pipx > 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
|
||||
```
|
||||
|
||||
Don't install:
|
||||
|
||||
- Postman
|
||||
|
|
Loading…
Reference in New Issue