Skip to content

Commit cc2406e

Browse files
committed
updated dump_installed_pkgs.sh to include cargo packages
1 parent 6f8d721 commit cc2406e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dump_installed_pkgs.sh

+6
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ if [ -x "$(command -v nix-env)" ]; then
5353
echo "writing: $dstfile"
5454
sudo nix-env -qa --installed "*" > $dstfile
5555
fi
56+
57+
if [ -x "$(command -v cargo)" ]; then
58+
dstfile="$dstdir/cargo.txt"
59+
echo "writing: $dstfile"
60+
cargo install --list > $dstfile
61+
fi

0 commit comments

Comments
 (0)