NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.29k stars 13.54k forks source link

Packaging Request: Sandstorm.io #79204

Open deliciouslytyped opened 4 years ago

deliciouslytyped commented 4 years ago
Sandstorm is an open source
platform for self-hosting web apps

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)

zimbatm commented 4 years ago

previous attempt: https://github.com/Evils-Devils/nixpkgs/commit/243d3415b3ce4a272e85bd7e909adb23fd19ab1c

deliciouslytyped commented 4 years ago

Great commit message 😂

MostAwesomeDude commented 4 years ago

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.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

ppom0 commented 3 years ago

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?

zenhack commented 3 years ago

@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.

ppom0 commented 3 years ago

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.

zenhack commented 3 years ago

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.

garrison commented 2 years ago

@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.

garrison commented 2 years ago

I've opened a pull request to add ekam to nixpkgs: #141064.

garrison commented 2 years ago

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.

I'll update that branch as I make more progress.

zenhack commented 2 years ago
garrison commented 2 years ago

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.

stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info