Merge pull request #235335 from linyinfeng/cwm-cross

cwm: fix cross compilation, enable strictDeps
This commit is contained in:
Nick Cao 2023-06-01 03:23:53 -06:00 committed by GitHub
commit 1e8d000c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-lkjsxGMXOrnu4cUiV/TO7yzd9FzM297MhaFKauqmiHo=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libX11 libXinerama libXrandr libXft bison ];
strictDeps = true;
nativeBuildInputs = [ pkg-config bison ];
buildInputs = [ libX11 libXinerama libXrandr libXft ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';