Skip to content

Commit

Permalink
updated dump_installed_pkgs.sh to include cargo packages
Browse files Browse the repository at this point in the history
  • Loading branch information
br-cpvc committed Jan 3, 2025
1 parent 6f8d721 commit cc2406e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dump_installed_pkgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ if [ -x "$(command -v nix-env)" ]; then
echo "writing: $dstfile"
sudo nix-env -qa --installed "*" > $dstfile
fi

if [ -x "$(command -v cargo)" ]; then
dstfile="$dstdir/cargo.txt"
echo "writing: $dstfile"
cargo install --list > $dstfile
fi

0 comments on commit cc2406e

Please sign in to comment.