Compare commits
2 Commits
5bbabb0419
...
9c083eb0d4
Author | SHA1 | Date |
---|---|---|
earnest ma | 9c083eb0d4 | |
earnest ma | 982c2fd6e9 |
14
.sd/nix/sync
14
.sd/nix/sync
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# make user environment match ~/.dotfiles/user.nix
|
|
||||||
#
|
|
||||||
# This will remove any packages you've installed with nix-env
|
|
||||||
# but have not added to user.nix. To see exactly what this
|
|
||||||
# will do, run:
|
|
||||||
#
|
|
||||||
# sd nix diff
|
|
||||||
# https://github.com/ianthehenry/sd-nix/blob/master/sync
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
nix-env -irf ~/.dotfiles/user.nix
|
|
|
@ -135,7 +135,7 @@
|
||||||
;;fsharp ; ML stands for Microsoft's Language
|
;;fsharp ; ML stands for Microsoft's Language
|
||||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||||
;;gdscript ; the language you waited for
|
;;gdscript ; the language you waited for
|
||||||
;;(go +lsp) ; the hipster dialect
|
(go +lsp) ; the hipster dialect
|
||||||
;;(graphql +lsp) ; Give queries a REST
|
;;(graphql +lsp) ; Give queries a REST
|
||||||
;;(haskell +lsp) ; a language that's lazier than I am
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
|
|
8
user.nix
8
user.nix
|
@ -1,8 +0,0 @@
|
||||||
with import <nixpkgs> {}; [
|
|
||||||
ghq
|
|
||||||
hugo
|
|
||||||
lychee
|
|
||||||
onefetch
|
|
||||||
nodejs
|
|
||||||
nix
|
|
||||||
]
|
|
|
@ -30,6 +30,9 @@ if [[ $HOST == "tycho" ]]; then
|
||||||
pathadd_tail "$HOME/.wakatime"
|
pathadd_tail "$HOME/.wakatime"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# go
|
||||||
|
pathadd_tail "$HOME/go/bin"
|
||||||
|
|
||||||
# rust
|
# rust
|
||||||
[ -f $HOME/.cargo/env ] && source $HOME/.cargo/env
|
[ -f $HOME/.cargo/env ] && source $HOME/.cargo/env
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,9 @@ if [[ $HOST == "blahaj.local" ]]; then
|
||||||
export PATH="/usr/local/opt/llvm/bin:$PATH"
|
export PATH="/usr/local/opt/llvm/bin:$PATH"
|
||||||
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
|
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
|
||||||
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
|
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
|
||||||
|
# -I tells GCC where to look for header files to include
|
||||||
|
export C_INCLUDE_PATH="${C_INCLUDE_PATH}:/opt/homebrew/include"
|
||||||
|
export LIBRARY_PATH="${LIBRARY_PATH}:/opt/homebrew/lib"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PATH="/Users/earne/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
PATH="/Users/earne/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||||
|
|
Loading…
Reference in New Issue