From 4623d107eb0b340ecbf93c73737d00ed0403c0ee Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 6 Apr 2022 22:01:40 +0800 Subject: [PATCH] tinyemu: set CC and STRIP in makeFlags --- pkgs/applications/emulators/tinyemu/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/emulators/tinyemu/default.nix b/pkgs/applications/emulators/tinyemu/default.nix index c32fd24fe477..ca3f8acd88ca 100644 --- a/pkgs/applications/emulators/tinyemu/default.nix +++ b/pkgs/applications/emulators/tinyemu/default.nix @@ -21,7 +21,12 @@ stdenv.mkDerivation rec { openssl ]; - makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ]; + makeFlags = [ + "CC:=$(CC)" + "STRIP:=$(STRIP)" + "DESTDIR=$(out)" + "bindir=/bin" + ]; preInstall = '' mkdir -p "$out/bin"