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

Bundler for creating one nix file that can be checked in #52

Open
Profpatsch opened this issue Jan 9, 2021 · 1 comment
Open

Bundler for creating one nix file that can be checked in #52

Profpatsch opened this issue Jan 9, 2021 · 1 comment

Comments

@Profpatsch
Copy link
Owner

Ideally, the workflow for packaging a medium-complex application is just

yarn2nix bundle ./path/to/checkout

or even just

yarn2nix bundle github:owner/repo

and one nix file is created that contains everything for building & vendoring it into your repository (or into nixpkgs).

@sternenseemann
Copy link
Collaborator

sternenseemann commented Jan 9, 2021

Also I think it'd be a good requirement for the bundled nix expression that overrideAttrs works for most purposes without much hassle to change name, version, meta set, ….

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants