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

How to do compile-install only for _some_ packages? #2846

Closed
matthiasbeyer opened this issue Jun 6, 2014 · 1 comment
Closed

How to do compile-install only for _some_ packages? #2846

matthiasbeyer opened this issue Jun 6, 2014 · 1 comment

Comments

@matthiasbeyer
Copy link
Contributor

Is there a way to tell the package manager to build package A, B and C from source, but all others not?

Bonus points: How to do this if the source is locally available, say, for the linux kernel? (related to #2845 ).

@vcunat
Copy link
Member

vcunat commented Jun 17, 2014

Nix gets binaries from the channel, if available for exactly same thing you're attempting to build. Otherwise it builds from source (all applied on package-level granularity).

You can prefetch tarballs into nix store by nix-prefetch-url file://.... If they're the same hash nix needs, it will pick them up automatically.

(Reopen if needed.)

@vcunat vcunat closed this as completed Jun 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants