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

Usage from a flake? #20

Open
akiross opened this issue Oct 9, 2023 · 2 comments
Open

Usage from a flake? #20

akiross opened this issue Oct 9, 2023 · 2 comments

Comments

@akiross
Copy link

akiross commented Oct 9, 2023

Hello,
I'm interested in trying to use nixcrpkgs in a (Qt) project to build from linux to windows; given I'm already using nixos, do you have some recommendations on how to use nixcrpkgs from a flake?

Thank you!

@DavidEGrayson
Copy link
Owner

I don't know much about flakes but we did have a pull request about it on the mirror repository:

pololu/nixcrpkgs#7

@axman6
Copy link

axman6 commented Dec 12, 2024

@mkg20001 Any chance you could make a PR updating the readme to show how to use nixcrpkgs from a flake? I'm pretty inexperienced with flakes and ended up with something that... did something, but built the wrong thing (it build a binary for the native linux host), and I'm sure there's a proper way to do this:

 (inputs.nixcrpkgs.outputs.lib.nixcrpkgs {nixpkgs;}).win64.nixpkgs.callPackage ./foo.nix

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

3 participants