Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active March 18, 2020 20:03
Show Gist options
  • Save LnL7/96bbc735a6239d0565e25df4c6035f23 to your computer and use it in GitHub Desktop.
Save LnL7/96bbc735a6239d0565e25df4c6035f23 to your computer and use it in GitHub Desktop.
$ nix-store -r /nix/store/4lwa7wm7xdps4vchqggzf2v2yl82j6vh-python-2.7.17.drv
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/rr7m09p8awygkznnrc4zf4md32jj1ykz-python-2.7.17
$ nix-store -qR /nix/store/4lwa7wm7xdps4vchqggzf2v2yl82j6vh-python-2.7.17.drv | grep openssl
/nix/store/0g93706i7g54hwilxkd9lhyfmmwy4jr6-openssl-1.1.1d.tar.gz.drv
/nix/store/3qshycwljd31s4rd1q1q3cay9lj7snri-openssl-1.1.1d.drv
/nix/store/i1glcrhr9r75yiv8jz5pf6nsrzi8qmcc-openssl-1.1.1d.tar.gz.drv
/nix/store/7dykk7sn9qmf8xc4x1fgqx2lpg2k0bjm-openssl-1.1.1d.drv
$ nix-store -r /nix/store/3qshycwljd31s4rd1q1q3cay9lj7snri-openssl-1.1.1d.drv
these derivations will be built:
/nix/store/2p1l8xryhlbv9jhfxq4wjq1s1lprwq0z-coreutils-8.31.drv
/nix/store/3qshycwljd31s4rd1q1q3cay9lj7snri-openssl-1.1.1d.drv
building '/nix/store/2p1l8xryhlbv9jhfxq4wjq1s1lprwq0z-coreutils-8.31.drv'...
unpacking sources
unpacking source archive /nix/store/l32pamj51f1v6b6vmqd3rgmcpg2bnnbg-coreutils-8.31.tar.xz
$ nix path-info --sigs --store https://cache.nixos.org /nix/store/rr7m09p8awygkznnrc4zf4md32jj1ykz-python-2.7.17
querying python-2.7.17 on https://cache.nixos.org/nix/store/rr7m09p8awygkznnrc4zf4md32jj1ykz-python-2.7.17 cache.nixos.org-1:pbW9cQX2CgyZ9tjNslZQ++ajbIgNVzZcqhfikAGVg2lNxrR/QETomd/NWSg0AF+qE41KUg+pcsl3lshk+6/ZAA==
$ nix path-info --sigs --store https://cache.nixos.org /nix/store/dx3zqljqp37wfh4ck1szlrf3334v4vhh-openssl-1.1.1d
error: path '/nix/store/dx3zqljqp37wfh4ck1szlrf3334v4vhh-openssl-1.1.1d' is not valid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment