The birds have vanished down the sky.
Now the last cloud drains away.
We sit together, the mountain and me,
until only the mountain remains.
Zazen on Ching-t’ing Mountain
Serve your /nix/store directory over the internet :sparkles:
License: GNU General Public License v3.0
The birds have vanished down the sky.
Now the last cloud drains away.
We sit together, the mountain and me,
until only the mountain remains.
Zazen on Ching-t’ing Mountain
I'm trying to generate a docker image to run Eris from a container, but docker fails with invalid reference format
when running docker load
$ nix-build -Q release.nix -A docker
$ docker load < result
..
fb4f86d9d4c0: Loading layer [==================================================>] 921.6kB/921.6kB
invalid reference format
$ printf ' - eris revision: ' && echo $(git rev-parse HEAD) && nix run nixpkgs.nix-info -c nix-info -m
- eris revision: 0e321f3d2d44f96712768d54e89088b46ad1693a
error: unrecognised flag '-c'
Try 'nix --help' for more information.
$ docker --version
Docker version 20.10.18, build b40c2f6
Looks it is not yet available in nixpkgs
When configuring an upstream, e.g. upstream => 'https://cache.nixos.org',
the narinfo files fetched from there and returned b y eris are missing a trailing newline, which means nix is unable to parse them.
The following patch seems to fix the issue, but I'm not sure if it's a good idea to fix it like that or if this breaks something else:
--- a/eris.pl
+++ b/eris.pl
@@ -539,6 +539,8 @@ helper fetch_upstream => sub ($c, $ctype, $info=undef) {
} else {
$body .= "\nSig: $signature\n"
if defined($signature);
+ $body .= "\n"
+ if not defined($signature);
$c->res->headers->content_length(length($body));
return $c->render(format => 'narinfo', text => $body);
The documentation needs a rework and update; in particular several of the features implemented since the initial draft are completely undocumented (like JSON .narinfo
results or re-signing mode.)
Furthermore, I've come to determine that while I like org mode as an Emacs user, I dislike it as an actual format for project documentation (or at least GitHub frontmatter), so the README and CHANGELOG need to be rewritten as well.
I think it would be nice to use something like Sphinx and GitHub Actions to synchronize things appropriately so e.g. https://thoughtpolice.github.io/eris worked.
None: this must be implemented.
None.
When running nix log
with a path in a binary cache served by eris that has the logs under /nix/var/log/[…]
,
Leave as is, I can get the logs some other way, this is really just a "nice to have".
The upstream nixos cache provides an .ls endpoint which contain directory indexes for the nar files.
Tools like nix-index use that. It would be convenient to have the same funcitonality in eris so nix-index can be extended to fetch multiple caches.
Example URL: http://cache.nixos.org/wi96xcbm63zccfxi5f648b9pkak9d62k.ls is a listing of http://cache.nixos.org/wi96xcbm63zccfxi5f648b9pkak9d62k.narinfo
Don't implement it I guess
Looking at the nix-index source code, the file is either uncompressed, brotli-compressed, or xz-compressed: https://github.com/bennofs/nix-index/blob/master/src/hydra.rs#L201
The example above is just a JSON with the file structure: curl -L -o - http://cache.nixos.org/wi96xcbm63zccfxi5f648b9pkak9d62k.ls | brotli -d
btw, Eris is amazing! thank you.
The tests use the old perl test runner, which is deprecated in/removed from recent nixpkgs:
trace: warning: Perl VM tests are deprecated and will be removed for 20.09.
Please update your tests to use the python test driver.
See https://github.com/NixOS/nixpkgs/pull/71684 for details.
Leave as is.
Despite claims in the README, I never got around to finishing the man page. We should think about that, but I do like having it around.
Perhaps in the course of fixing #5 we could think about generating one from a canonical source...
man 8 eris
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.