Skip to content

Commit

Permalink
pkgs/os-specific/{free,net}bsd: Set meta.platform to the relevant B…
Browse files Browse the repository at this point in the history
…SD variant

Otherwise, many derivations are marked with `platform = unix;`
yet fail to build on Linux.
  • Loading branch information
nbraud committed Dec 30, 2024
1 parent ab70a80 commit 6506622
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/os-specific/bsd/freebsd/pkgs/mkDerivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ lib.makeOverridable (
rhelmot
artemist
];
platforms = lib.platforms.unix;
platforms = lib.platforms.freebsd;
license = lib.licenses.bsd2;
} // attrs.meta or { };
}
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/bsd/netbsd/pkgs/mkDerivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ lib.makeOverridable (
matthewbauer
qyliss
];
platforms = platforms.unix;
platforms = platforms.netbsd;
license = licenses.bsd2;
};
}
Expand Down

0 comments on commit 6506622

Please sign in to comment.