nix show-derivation
sample output
1: $ nix show-derivation /nix/store/zzz9cl2ly0mb2njr7vwa5528fxmn29m8-combofont-0.2.drv
2: {
3: "/nix/store/zzz9cl2ly0mb2njr7vwa5528fxmn29m8-combofont-0.2.drv": {
4: "outputs": {
5: "out": {
6: "path": "/nix/store/dc897j29s5pl5mcw064n5b07bydacfm5-combofont-0.2",
7: "hashAlgo": "r:sha1",
8: "hash": "06be9cab7176fe6d99dd773315d9ec5c62f6a71b"
9: }
10: },
11: "inputSrcs": [
12: "/nix/store/b6ill8amfg0gki49zapm4asrrw9zzgz9-builder.sh"
13: ],
14: "inputDrvs": {
15: "/nix/store/3s0crp8826gwvfap6kjjyh9a7wq92awk-stdenv.drv": [
16: "out"
17: ],
18: "/nix/store/fafsh2hx1xxqgm8gwkj3bw3czz6dcvvw-mirrors-list.drv": [
19: "out"
20: ],
21: "/nix/store/qqla9sd8p8qwgl2a1wpn75bwp2vw70mm-bash-4.4-p12.drv": [
22: "out"
23: ],
24: "/nix/store/v8fxvb0wlsa5pmrfawa3dg501mglw43c-curl-7.59.0.drv": [
25: "dev"
26: ]
27: },
28: "platform": "x86_64-linux",
29: "builder": "/nix/store/lw7xaqhakk0i1c631m3cvac3x4lc5gr5-bash-4.4-p12/bin/bash",
30: "args": [
31: "-e",
32: "/nix/store/b6ill8amfg0gki49zapm4asrrw9zzgz9-builder.sh"
33: ],
34: "env": {
35: "buildInputs": "",
36: "builder": "/nix/store/lw7xaqhakk0i1c631m3cvac3x4lc5gr5-bash-4.4-p12/bin/bash",
37: "configureFlags": "",
38: "curlOpts": "",
39: "depsBuildBuild": "",
40: "depsBuildBuildPropagated": "",
41: "depsBuildTarget": "",
42: "depsBuildTargetPropagated": "",
43: "depsHostBuild": "",
44: "depsHostBuildPropagated": "",
45: "depsTargetTarget": "",
46: "depsTargetTargetPropagated": "",
47: "downloadToTemp": "1",
48: "executable": "",
49: "impureEnvVars": "http_proxy https_proxy ftp_proxy all_proxy no_proxy NIX_CURL_FLAGS NIX_HASHED_MIRRORS NIX_CONNECT_TIMEOUT NIX_MIRRORS_apache NIX_MIRRORS_bioc NIX_MIRRORS_bitlbee NIX_MIRRORS_cpan NIX_MIRRORS_debian NIX_MIRRORS_fedora NIX_MIRRORS_gcc NIX_MIRRORS_gentoo NIX_MIRRORS_gnome NIX_MIRRORS_gnu NIX_MIRRORS_gnupg NIX_MIRRORS_hackage NIX_MIRRORS_hashedMirrors NIX_MIRRORS_imagemagick NIX_MIRRORS_kde NIX_MIRRORS_kernel NIX_MIRRORS_maven NIX_MIRRORS_metalab NIX_MIRRORS_mozilla NIX_MIRRORS_mysql NIX_MIRRORS_oldsuse NIX_MIRRORS_openbsd NIX_MIRRORS_opensuse NIX_MIRRORS_postgresql NIX_MIRRORS_pypi NIX_MIRRORS_roy NIX_MIRRORS_sagemath NIX_MIRRORS_samba NIX_MIRRORS_savannah NIX_MIRRORS_sourceforge NIX_MIRRORS_sourceforgejp NIX_MIRRORS_steamrt NIX_MIRRORS_ubuntu NIX_MIRRORS_xfce NIX_MIRRORS_xorg",
50: "mirrorsFile": "/nix/store/36pk3fz566c2zj6bj8qy7gxl1z14xc4f-mirrors-list",
51: "name": "combofont-0.2",
52: "nativeBuildInputs": "/nix/store/hgv54iw72sgpqmzgv30s6gsfc4rd4wzp-curl-7.59.0-dev",
53: "out": "/nix/store/dc897j29s5pl5mcw064n5b07bydacfm5-combofont-0.2",
54: "outputHash": "3fkzcqjwxkciacvpvncnvzknf6mrrgh6",
55: "outputHashAlgo": "sha1",
56: "outputHashMode": "recursive",
57: "postFetch": "mkdir \"$out\";tar -xf $downloadedFile \\\n '--strip-components=0' \\\n -C \"$out\" --anchored --exclude=tlpkg --keep-old-files\n",
58: "preferHashedMirrors": "1",
59: "preferLocalBuild": "1",
60: "propagatedBuildInputs": "",
61: "propagatedNativeBuildInputs": "",
62: "showURLs": "",
63: "stdenv": "/nix/store/i3kgk0nibrbpgmzdwdfi2ym50i8m3lww-stdenv",
64: "system": "x86_64-linux",
65: "urls": "http://146.185.144.154/texlive-2017/combofont.tar.xz http://gateway.ipfs.io/ipfs/QmRLK45EC828vGXv5YDaBsJBj2LjMjjA2ReLVrXsasRzy7/texlive-2017/combofont.tar.xz"
66: }
67: }
68: }