xprompt: fix cross-compilation

This commit is contained in:
Nikolay Korotkiy 2022-09-04 20:46:00 +03:00
parent e6a9583fb1
commit 8b95a9d560
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
in
optionalString (conf != null) "cp ${configFile} config.h";
makeFlags = [ "PREFIX=$(out)" ];
makeFlags = [ "CC:=$(CC)" "PREFIX=$(out)" ];
passthru.updateScript = nix-update-script {
attrPath = pname;