From 4bdb1450539bc8da526be187153b3c1fa8339e42 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 1 Nov 2021 00:11:51 +0200 Subject: [PATCH] rakudo: fix darwin sharedLibrary path --- pkgs/development/interpreters/rakudo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/rakudo/default.nix b/pkgs/development/interpreters/rakudo/default.nix index 0597c7585368..ede9fe0bed0b 100644 --- a/pkgs/development/interpreters/rakudo/default.nix +++ b/pkgs/development/interpreters/rakudo/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ stdenv.cc.cc ]; postFixup = '' - remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/share/perl6/runtime/dynext/libperl6_ops_moar.so)" + remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/share/perl6/runtime/dynext/libperl6_ops_moar${stdenv.hostPlatform.extensions.sharedLibrary})" ''; meta = with lib; {