Skip to content

Commit

Permalink
add pathing for asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Romel Benavides committed Aug 4, 2024
1 parent 1a74cdd commit 4daa224
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ let

buildTools = with pkgs; [
cmake
asdf-vm
];

databaseTools = with pkgs; [
Expand Down
4 changes: 4 additions & 0 deletions home-manager/scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi

# asdf setup PATHing
. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"

# Run the env.sh script (if it exists). That script is meant to contain secrets, tokens, and
# other things you don't want to put in your Nix config. This is quite "impure" but a
# reasonable workaround.
Expand Down

0 comments on commit 4daa224

Please sign in to comment.