local/bin/package-lister: Track Guix version and report uncommitted files
parent
44d13db545
commit
9ae7d1b44a
|
@ -27,4 +27,10 @@ if command -v guix >/dev/null 2>&1; then
|
|||
EOF
|
||||
guix package -I | awk '{printf("\"%s", $1); if($3!="out") {printf("%s", ":" $3)}; print "\""}' | LC_ALL=C sort >>"$PKG_ROOT/guix"
|
||||
echo "))" >>"$PKG_ROOT/guix"
|
||||
|
||||
guix --version >"$PKG_ROOT/guix-version"
|
||||
fi
|
||||
|
||||
echo >&2 "* Uncommitted files:"
|
||||
git -C "$PKG_ROOT" diff --name-only .
|
||||
git -C "$PKG_ROOT" diff --cached --name-only .
|
||||
|
|
Loading…
Reference in New Issue