From 1313542b6b602f43fa6e1c2ee84400753fc9c97a Mon Sep 17 00:00:00 2001 From: Michael Fellinger Date: Tue, 20 Feb 2018 11:29:07 +0100 Subject: [PATCH] Support darwin --- pkgs/development/ruby-modules/gem-config/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 6ae3c824a4eb..8da6355e0016 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -92,7 +92,7 @@ in dontBuild = false; postPatch = '' substituteInPlace lib/ethon/curls/settings.rb \ - --replace "libcurl" "${curl.out}/lib/libcurl.so" + --replace "libcurl" "${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary}" ''; };