Skip to content

How to release package for multiple architectures #990

Answered by phaer
chrichrichri asked this question in Q&A
Discussion options

You must be logged in to vote

my_package was an example, you need to use the actual packages attribute name here.

   packages = eachSystem (system: {
        ${system} = dream2nix.lib.importPackages {

nixpkgs.lib.genAttrs above those lines, already creates an attribute set where the keys are the system. You ${system} is where the packages attribute name should be, so your package is probably called x86_64-linux atm.

e.g.

   packages = eachSystem (system: {
        my_package = dream2nix.lib.importPackages {

would maybe make the lock command above work.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@chrichrichri
Comment options

@phaer
Comment options

Answer selected by chrichrichri
@chrichrichri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants