Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libcanberra: support cross-compilation

content-addressed outputs for native are the same, so should be good like this

+3 -1
+3 -1
pkgs/development/libraries/libcanberra/default.nix
··· 13 13 sha256 = "0wps39h8rx2b00vyvkia5j40fkak3dpipp1kzilqla0cgvk73dn2"; 14 14 }; 15 15 16 - nativeBuildInputs = [ pkg-config libtool ]; 16 + strictDeps = true; 17 + nativeBuildInputs = [ pkg-config ]; 17 18 buildInputs = [ 18 19 libpulseaudio libvorbis 20 + libtool # in buildInputs rather than nativeBuildInputs since libltdl is used (not libtool itself) 19 21 ] ++ (with gst_all_1; [ gstreamer gst-plugins-base ]) 20 22 ++ lib.optional (gtkSupport == "gtk2") gtk2-x11 21 23 ++ lib.optional (gtkSupport == "gtk3") gtk3-x11