feat(tools): nix quirks

main
sudo pacman -Syu 2023-09-29 10:40:11 +07:00
parent 9fc6846bed
commit 285fcb1bb8
2 changed files with 18 additions and 0 deletions

View File

@ -787,6 +787,14 @@
></a>
</h2>
<p>nix/go/rust/pipx &gt; 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>

View File

@ -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