From 08fc59f09a457ce3fba5633236821a474bbad620 Mon Sep 17 00:00:00 2001 From: Lin Yinfeng Date: Thu, 1 Jun 2023 14:27:03 +0800 Subject: [PATCH] cwm: fix cross compilation, enable strictDeps --- pkgs/applications/window-managers/cwm/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/cwm/default.nix b/pkgs/applications/window-managers/cwm/default.nix index 37abe5c154ee..d46811290a2c 100644 --- a/pkgs/applications/window-managers/cwm/default.nix +++ b/pkgs/applications/window-managers/cwm/default.nix @@ -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'';