From 647258aa7c3aacdb4759ab82358d45ced88d363e Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 11 Nov 2021 21:01:52 +0300 Subject: [PATCH] sfm: fix cross-compilation --- pkgs/applications/misc/sfm/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/misc/sfm/default.nix b/pkgs/applications/misc/sfm/default.nix index 808e64cdcce5..800ea9419cbe 100644 --- a/pkgs/applications/misc/sfm/default.nix +++ b/pkgs/applications/misc/sfm/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { postPatch = lib.optionalString (conf!=null) "cp ${configFile} config.def.h"; + makeFlags = [ "CC:=$(CC)" ]; + installFlags = [ "PREFIX=$(out)" ]; meta = with lib; {