dwm: support cross-compilation by setting proper CC

This commit is contained in:
Rick van Schijndel 2021-07-07 22:35:28 +02:00
parent 5e8bfbb4c7
commit 83e44f67b1

View file

@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
in
lib.optionalString (conf != null) "cp ${configFile} config.def.h";
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
meta = with lib; {
homepage = "https://dwm.suckless.org/";
description = "An extremely fast, small, and dynamic window manager for X";