3
0
Fork 0
forked from mirrors/nixpkgs

cwm: fix cross compilation, enable strictDeps

This commit is contained in:
Lin Yinfeng 2023-06-01 14:27:03 +08:00
parent b3584080db
commit 08fc59f09a
No known key found for this signature in database
GPG key ID: 46947CB61521FC42

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'';