bundix | Nix expression for your Bundler-managed application | Build Tool library
kandi X-RAY | bundix Summary
kandi X-RAY | bundix Summary
Bundix makes it easy to package your Bundler-enabled applications with the Nix package manager.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns the name of this dependency .
- Run the application .
bundix Key Features
bundix Examples and Code Snippets
Community Discussions
Trending Discussions on bundix
QUESTION
I'm on NixOS and I want to build locally some GitHub pages.
GitHub seems to indicate that I should create a Gemfile
containing:
ANSWER
Answered 2017-Dec-22 at 21:17Short path
If all you really need is to build a github page you just need to enter a shell with nix-shell -p jekyll
and then jekyll build
because now jekyll is packaged as an application
Long path to use when you wish to have jekyll and other gems in the same Gemfile
You can find detailed instructions here: Building a Jekyll Environment with NixOS (even though there is nothing specific to NixOS really)
I think that is an issue with the --magic
flag (or that I didn't get the true usage of it) and that it doesn't use the special configuration some gems have in nixpkgs.
So to avoid that flag you can (full instructions in the post above):
- create a bare Gemfile like you did, without the 'group' directive
- in a shell with bundler call
bundler lock
to obtain theGemfile.lock
- call
bundix
with no arguments to obtain thegemset.nix
create a derivation that has in the
buildInputs
thebundlerEnv
like explained in the manual.Bonus points for the
default.nix
of the blog because it starts jekyll local server as you typenix-shell
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bundix
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page