mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
guile-config: fix the linking of Guile modules
This commit is contained in:
parent
a6a4b2b1e1
commit
9a5ba14208
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user