Skip to content
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

Merged
merged 2 commits into from Jan 27, 2017
Merged

frab: init at 2016-12-28 & module #22124

merged 2 commits into from Jan 27, 2017

Conversation

fpletz
Copy link
Member

@fpletz fpletz commented Jan 25, 2017

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
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@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"
'';
};
Copy link
Member

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?

Copy link
Member Author

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;
};
Copy link
Member

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.

@fpletz fpletz merged commit ae3fc70 into NixOS:master Jan 27, 2017
@fpletz fpletz deleted the feature/frab branch January 27, 2017 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants