Log in New API Help About

show the "guix gc --derivers --references --requisites --referrers" all at once

3.1 KB of Plain text
Created 8 months ago — expires in 122 days
https://dpaste.com/3FZ6P8BUM
COPY TO CLIPBOARD SOFT WRAP RAW TEXT DUPLICATE DIFF
function gcq {
PKG=$1;
echo "Query:" $PKG &&
echo "Derivers:" && guix gc --derivers $PKG &&
echo "References:" && guix gc --references $PKG &&
echo "Requisites:" && guix gc --requisites $PKG &&
echo "Referrers:" && guix gc --referrers $PKG ;
}

SAMPLE OUTPUT: 
root@devuanVM:/gnu/store# gcq /gnu/store/2xssy2201d6310wvv1z75yl8z93b8w88-bootstrap-binaries-0.drv
Query: /gnu/store/2xssy2201d6310wvv1z75yl8z93b8w88-bootstrap-binaries-0.drv
Derivers:
References:
/gnu/store/0dn61y4n8ig333b23hmc80hvlcy8gdli-guile-bootstrap-2.0.drv
/gnu/store/0garjzl2nhmdc20x3zf3p2cyd50r1r2q-static-binaries.tar.xz.drv
/gnu/store/16j593l6np70abbj7rhpvzi4w5p020n4-bootstrap-binaries-0-guile-builder
/gnu/store/1xcmxwr3xhfql0xby951i08c5z76mb64-module-import-compiled.drv
/gnu/store/7na4kfq7g5v2gy0vb0vzzz1cgr0wm5r0-xz.drv
/gnu/store/r1fvw34ckyl5wgx2cikykhc1fdwrrv18-tar.drv
/gnu/store/xv5ylv9hxvs1wraw375b5g9jwy57vs8p-module-import
Requisites:
/gnu/store/1kf05mhh31wl89r3mlx52x5sxrjivi7i-module-import-compiled-guile-builder
/gnu/store/vwyxp1dq4lb97n6b20w5cqxasy2dai79-content-addressed-mirrors
/gnu/store/fvxfibb34dqvkc0z3yfxwd41r2s0j73w-mirrors
/gnu/store/zq9p2ksrzqgchsijmy8jx0xjzzkfi7ax-guile-2.0.9.tar.xz.drv
/gnu/store/pg21g4whqlz6gkfgds7yiaf0qsjdgfmi-bash.drv
/gnu/store/pa5xcsn029ijpxws871d454xivq02whl-mkdir.drv
/gnu/store/nmxl6qyj16bv4rx4irhg23r66gn752kd-build-bootstrap-guile.sh
/gnu/store/xv5ylv9hxvs1wraw375b5g9jwy57vs8p-module-import
/gnu/store/r1fvw34ckyl5wgx2cikykhc1fdwrrv18-tar.drv
/gnu/store/7na4kfq7g5v2gy0vb0vzzz1cgr0wm5r0-xz.drv
/gnu/store/1xcmxwr3xhfql0xby951i08c5z76mb64-module-import-compiled.drv
/gnu/store/16j593l6np70abbj7rhpvzi4w5p020n4-bootstrap-binaries-0-guile-builder
/gnu/store/0garjzl2nhmdc20x3zf3p2cyd50r1r2q-static-binaries.tar.xz.drv
/gnu/store/0dn61y4n8ig333b23hmc80hvlcy8gdli-guile-bootstrap-2.0.drv
/gnu/store/2xssy2201d6310wvv1z75yl8z93b8w88-bootstrap-binaries-0.drv
Referrers:
/gnu/store/0z84cman2wgqnxpyjdz76qrf55g4f3g7-bash-5.0.tar.xz.drv
/gnu/store/1jh36z5fr4lfdi42hjx4a7pgpdprdig5-gmp-6.2.0.tar.xz.drv
/gnu/store/32197mzcssdwrp3v4yn0ccdz77k8ix2i-binutils-2.20.1a.tar.xz.drv
/gnu/store/5nbzqz86bp54v3i0n41y97i8d9gbnrd8-Python-3.5.9.tar.xz.drv
/gnu/store/9vc920j62lm17k0yhbbg7qr21j9smpq5-make-4.3.tar.xz.drv
/gnu/store/abc4yq29c7ynazlkw19k2pgy9la3yxkj-grep-3.4.tar.xz.drv
/gnu/store/bjhkfxc5axkjl1jv94q0lwym4n6si6f8-gcc-4.9.4.tar.xz.drv
/gnu/store/cayq5m2xqhvmsdk6c5ixdvxfrqvcxh1r-m4-1.4.18.tar.xz.drv
/gnu/store/dhg6mzj4g9wa8rm8j4iik65scjmqm8lg-gmp-6.0.0a.tar.xz.drv
/gnu/store/g9jmlxps7xsggacyh4wzimwah3w2mr5k-coreutils-8.32.tar.xz.drv
/gnu/store/imx7vf2qg44yg9i4gsbn5bgpj3crcyr8-gcc-7.5.0.tar.xz.drv
/gnu/store/j5sp2zffv62qwjgsqh34sf83a42k8w0a-tar-1.32.tar.xz.drv
/gnu/store/jxyywzdwd0djwr43465iv59kb8y32q5m-glibc-2.16.0.tar.xz.drv
/gnu/store/n9sdvq6iw8afdmdbvswrifi7xm1hdbjz-perl-5.30.2.tar.xz.drv
/gnu/store/np0gv9ifk7pvqp51d8ry07qdy0hbr2x0-findutils-4.7.0.tar.xz.drv
/gnu/store/qy4siikjwmhhwxybpvmjbafwbdf053yp-patch-2.7.6.tar.xz.drv
/gnu/store/ssglgmljwywqqvrjm9qljx2zva1vngsm-guile-3.0.2.tar.xz.drv
/gnu/store/vkd38zx1g5krdz80b1ib2hysb6z18mqa-binutils-2.34.tar.xz.drv
/gnu/store/vn0ki7sxib55n1sf7glxan1wyiw2a8y9-glibc-2.31.tar.xz.drv

Share: