nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit ec9ee280cdfc97709dfd965e5b4355f9df47864e
parent 5698cb14d9a724ca3278ad93498ac788773a51f6
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sat, 13 Nov 2021 22:34:04 +0300

Fix cross-compilation

Diffstat:
Mpkgs/garmin/gimgtools/default.nix | 2+-
Mpkgs/gemini/geminid/default.nix | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgs/garmin/gimgtools/default.nix b/pkgs/garmin/gimgtools/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { buildInputs = lib.optional stdenv.isDarwin libiconv; - postPatch = lib.optionalString stdenv.isDarwin '' + postPatch = '' substituteInPlace Makefile \ --replace "CC = gcc" "" ''; diff --git a/pkgs/gemini/geminid/default.nix b/pkgs/gemini/geminid/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { buildInputs = [ libconfig file openssl.dev ]; - makeFlags = [ "geminid" "CC=cc" "LEX=flex" ]; + makeFlags = [ "geminid" "CC:=$(CC)" "LEX=flex" ]; installPhase = "install -Dm755 geminid -t $out/bin";