Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Nullabillity
on May 28, 2019
|
parent
|
context
|
favorite
| on:
Simple Dockerfile examples are often broken by def...
It's not great at mix-and-match pinning, but if you pin a version of Nixpkgs then you will always build from the same environment (down to the libc). There's some boilerplate, sadly, but it's still fairly simple to understand.[0]
[0]:
https://github.com/Etimo/photo-garden/blob/f597b95c0c488abad...
asymmetric
on May 29, 2019
[–]
You don’t need pkgsBootstrap - you can use builtins.fetchGit instead of fetchFromGitHun
Nullabillity
on May 29, 2019
|
parent
[–]
True, but that will do a real git clone (which is generally much slower than just downloading a static zip).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0]: https://github.com/Etimo/photo-garden/blob/f597b95c0c488abad...