Skip to content

Instantly share code, notes, and snippets.

@hakujin
Last active November 2, 2018 21:56
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 hakujin/9a0763e0d23f8dc1f649787eb074b2d0 to your computer and use it in GitHub Desktop.
Save hakujin/9a0763e0d23f8dc1f649787eb074b2d0 to your computer and use it in GitHub Desktop.
nix-prefetch-git
macOS
---------------------------------------------------------------------------
> nix-prefetch-git https://github.com/brendanhay/amazonka.git
git revision is b9ebf7f99dde4196117f44e1bf9bedf3fa468358
path is /nix/store/vc18l7ap4fs8q1rs1jx8qr02lj65n84g-amazonka
git human-readable version is -- none --
Commit date is 2018-10-09 19:12:40 +0200
hash is 1c2xgs94fk6d429cgkch8m42qqrzvqws5y1h34jzfpd079cjv0yq
{
"url": "https://github.com/brendanhay/amazonka.git",
"rev": "b9ebf7f99dde4196117f44e1bf9bedf3fa468358",
"date": "2018-10-09T19:12:40+02:00",
"sha256": "1c2xgs94fk6d429cgkch8m42qqrzvqws5y1h34jzfpd079cjv0yq",
"fetchSubmodules": false
}
nixOS
---------------------------------------------------------------------------
> nix-prefetch-git https://github.com/brendanhay/amazonka.git
git revision is b9ebf7f99dde4196117f44e1bf9bedf3fa468358
path is /nix/store/yms21p3ng2q7xcpacrikjp7l7ld4x335-amazonka
git human-readable version is -- none --
Commit date is 2018-10-09 19:12:40 +0200
hash is 17r92dfak6jpbd56w7j94xnn622ydif7b38vgb6xj6s7qv2a00w9
{
"url": "https://github.com/brendanhay/amazonka.git",
"rev": "b9ebf7f99dde4196117f44e1bf9bedf3fa468358",
"date": "2018-10-09T19:12:40+02:00",
"sha256": "17r92dfak6jpbd56w7j94xnn622ydif7b38vgb6xj6s7qv2a00w9",
"fetchSubmodules": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment