From 9a5ba14208634f76fb39d63763f2f1a5d361ce02 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 25 Jan 2022 16:37:22 +0800 Subject: [PATCH] guile-config: fix the linking of Guile modules --- pkgs/guile-config.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/guile-config.nix b/pkgs/guile-config.nix index b6f69733..cd336862 100644 --- a/pkgs/guile-config.nix +++ b/pkgs/guile-config.nix @@ -15,9 +15,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config autoreconfHook texinfo ]; propagatedBuildInputs = [ guile_3_0 ]; - preConfigure = '' - sed -i '/guilemoduledir\s*=/s%=.*%=''${out}/share/guile/site%' configure.ac - sed -i '/guileobjectdir\s*=/s%=.*%=''${out}/share/guile/ccache%' configure.ac + postConfigure = '' + sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile + sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile + sed -i '/ccachedir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile ''; meta = with lib; {