From 32eaa25238c8467d71ea4b0f56ace2ac148a0c05 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 14 Oct 2022 14:36:47 +0800 Subject: [PATCH] tinywm: fix cross compilation --- pkgs/applications/window-managers/tinywm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/tinywm/default.nix b/pkgs/applications/window-managers/tinywm/default.nix index 8fa6a84b721d..50fbae605da2 100644 --- a/pkgs/applications/window-managers/tinywm/default.nix +++ b/pkgs/applications/window-managers/tinywm/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { dontConfigure = true; buildPhase = '' - ${stdenv.cc}/bin/cc -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm + $CC -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm ''; installPhase = ''