New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frab: init at 2016-12-28 & module #22124
Conversation
@fpletz, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @offlinehacker and @bjornfor to be potential reviewers. |
makeWrapper $out/bin/frab-bundle $out/bin/frab-rake \ | ||
--add-flags "exec rake" | ||
''; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this frab-rake would be very helpful to expose outside of the module. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. 😄 The problem is that the frab package is probably not usable outside of NixOS because I had to introduce some symlinks to /run
for hardcoded paths in Rails itself pointing into the nix store. That's why this wrapper will probably never work without the module.
password = "supersecret"; | ||
encoding = "utf8"; | ||
pool = 5; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I love giving this useful example.
Motivation for this change
frab is a cool conference planning tool (with cfp, session submissions, scheduling, voting, etc.) used and developed for chaos events like the C3 (successor of pentabarf). It might come in handy soon.
It's a pretty standard rails application (with all its nicely hardcoded paths). I've used some ideas from the gitlab module.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)