3 ms·
buildInputs = [ hostPkgs.pkg-config hostPkgs.patchelf targetPkgs.libGL.all targetPkgs.SDL2.all ]; should be nativeBuildInputs = [ host
by Ericson2314 7y ago
buildInputs = [
hostPkgs.pkg-config
hostPkgs.patchelf
targetPkgs.libGL.all
targetPkgs.SDL2.all
];
should be
nativeBuildInputs = [
hostPkgs.pkg-config
hostPkgs.patchelf
];
buildInputs = [
targetPkgs.libGL.all
targetPkgs.SDL2.all
];
Also just was doing some overdue cross cleanups with pkg-config https://github.com/NixOS/nixpkgs/pull/87705 https://github.com/NixOS/nixpkgs/pull/87705