Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created May 10, 2020 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/a5a38cfcc6a14442ef2ab8b2f0bfafff to your computer and use it in GitHub Desktop.
Save cleverca22/a5a38cfcc6a14442ef2ab8b2f0bfafff to your computer and use it in GitHub Desktop.
[clever@amd-nixos:/tmp/cache]$ nix copy --to file:///tmp/cache /nix/store/n214akq42as1ckzj605c3s6y42cxby02-hello-2.10
[2 copied (27.0 MiB)]
[clever@amd-nixos:/tmp/cache]$ ls
n214akq42as1ckzj605c3s6y42cxby02.narinfo nar nix-cache-info qb6k4hp7gk331x9fydw0w7qj4dv09bwz.narinfo
[clever@amd-nixos:/tmp/cache]$ cat n214akq42as1ckzj605c3s6y42cxby02.narinfo
StorePath: /nix/store/n214akq42as1ckzj605c3s6y42cxby02-hello-2.10
URL: nar/1h8ar1ihllhyzx4cff5cnpf8nphzdppxg7nkd5psb2ijzfcvainh.nar.xz
Compression: xz
FileHash: sha256:1h8ar1ihllhyzx4cff5cnpf8nphzdppxg7nkd5psb2ijzfcvainh
FileSize: 41156
NarHash: sha256:0mzz0wbn344khgdp3k9xnx3rry28s17liac9c0y2fd08gjpchmgl
NarSize: 205920
References: n214akq42as1ckzj605c3s6y42cxby02-hello-2.10 qb6k4hp7gk331x9fydw0w7qj4dv09bwz-glibc-2.27
Deriver: 3fandgaydm62k2yxf636swpmb9b5k1q0-hello-2.10.drv
Sig: cache.nixos.org-1:Bx9VW0w9KPkZEgqg1pMMp257ylBVRl3d7UR1yicaPFBY6Zrw28w4uWdG16fn42bZfqfeYpMVh6j9vz6T+pnBCA==
[clever@amd-nixos:/tmp/cache]$ cat qb6k4hp7gk331x9fydw0w7qj4dv09bwz.narinfo
StorePath: /nix/store/qb6k4hp7gk331x9fydw0w7qj4dv09bwz-glibc-2.27
URL: nar/022fdbnawagzk96s79hzjlya6r8iqvlk4h0kgam7gk7ch3crqcn1.nar.xz
Compression: xz
FileHash: sha256:022fdbnawagzk96s79hzjlya6r8iqvlk4h0kgam7gk7ch3crqcn1
FileSize: 6339076
NarHash: sha256:1d32bagq2p8wy1x43cd5ri9acjyy177q41mjidmgbr3q7f077zgq
NarSize: 28147008
References: qb6k4hp7gk331x9fydw0w7qj4dv09bwz-glibc-2.27
Deriver: zh35i8j5k3qzr4zmrbpq6x644zyg0s73-glibc-2.27.drv
Sig: cache.nixos.org-1:VIx9ZKEpxcfKTubaN5f6Yg+5pwMV84jgK7DtUaWiv2jYnKbLT6uKW+WsT9e1RXLCW09UZTmamjgS2ifO0+eiDw==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment