Skip to content

Commit

Permalink
wayland: don't propagate bin output
Browse files Browse the repository at this point in the history
This fixes the host platform wayland-scanner binary
leaking into cross builds.
  • Loading branch information
flokli committed Jul 21, 2024
1 parent 3c247e4 commit 3f15de5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/wayland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ stdenv.mkDerivation (finalAttrs: {

outputs = [ "out" "bin" "dev" ] ++ lib.optionals withDocumentation [ "doc" "man" ];
separateDebugInfo = true;
# We don't want `bin` to be propagated, as it'd propagate wayland-scanner, which breaks cross.
# See https://github.com/NixOS/nixpkgs/pull/328804
propagatedBuildOutputs = [ "out" "dev" ];

mesonFlags = [
"-Ddocumentation=${lib.boolToString withDocumentation}"
Expand Down

0 comments on commit 3f15de5

Please sign in to comment.