Open deliciouslytyped opened 4 years ago
Great commit message 😂
Upstream is working on ekam at capnproto/ekam#29. I suspect that they may have to learn the hard lesson about giving up their own build system and embracing Nix; OTOH, they would love to see a properly-built Meteor, rather than a prepackaged tarball.
I marked this as stale due to inactivity. → More info
Hey, would be great to see Sandstorm.io on Nix! Seems to be a good match. I see that the upstream ekam issue is closed. Is it possible to package it now?
@aopom, ekam still doesn't build, but that particular issue is fixed. My most recent attempt is here:
https://github.com/zenhack/ekam-nix
...If you or anyone else wants to take another whack.
It's strange, because I can get ekam to build on my NixOS host but still can't in its nix sandbox with nix-build
.
Quoting aopom (2021-05-16 20:18:50)
It's strange, because I can get ekam to build on my NixOS host but still can't in its nix sandbox with nix-build.
Yeah, I assume the nix sandbox is messing with the compiler's search path somehow, but haven't pinned down the issue.
I updated the revision used in the WIP, but (unsurprisingly) same error.
@zenhack and I have achieved a working build of ekam at https://github.com/zenhack/ekam-nix. There's still a bit of work to do before adding it to nixpkgs, but at least it builds now.
I've opened a pull request to add ekam to nixpkgs: #141064.
I have a work-in-progress at https://github.com/garrison/nixpkgs/tree/sandstorm/pkgs/servers/sandstorm, building on the previous attempt by @evils. It doesn't compile yet.
-ldl -lrt -lm -lpthread -lc
.bpf_asm_compile
#include <sandstorm/seccomp-bpf/filter.h>
errors with "file not found"node-capnp/capnp.cc
errors with 'node.h' file not found
I'll update that branch as I make more progress.
filter.h
is supposed to be generated by the the build system; I suspect that error is cascading from the bpf_asm_compile
one; we build the bpf assembler in-tree, so likely the error is related to linking the assembler.node.h
is the same thing that's been plaguing our CI, per:
I've moved my work-in-progress to https://github.com/garrison/sandstorm-nix. There I am focusing only on building Sandstorm under nixpkgs, not on integrating into NixOS.
I marked this as stale due to inactivity. → More info
Metadata
Issues: https://github.com/sandstorm-io/sandstorm/issues/245
See also: the discussion at https://freenode.irclog.whitequark.org/sandstorm/2016-03-25#15920336 (I didn't read it yet) https://github.com/maurer/nixlocal/search?q=language%3Anix+sandstorm&unscoped_q=language%3Anix+sandstorm (the only results are what's present in the IRC log)