Merge pull request #247013 from wegank/guile-default-bump

guile: default to guile_3_0

authored by Weijia Wang and committed by GitHub d00dec7d 8fa16970

+41 -36
+7 -5
pkgs/development/guile-modules/guile-commonmark/default.nix
··· 4 4 , autoreconfHook 5 5 , guile 6 6 , pkg-config 7 + , texinfo 7 8 }: 8 9 9 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation { 10 11 pname = "guile-commonmark"; 11 - version = "0.1.2"; 12 + version = "unstable-2020-04-30"; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "OrangeShark"; 15 - repo = pname; 16 - rev = "v${version}"; 17 - hash = "sha256-qYDcIiObKOU8lmcfk327LMPx/2Px9ecI3QLrSWWLxMo="; 16 + repo = "guile-commonmark"; 17 + rev = "538ffea25ca69d9f3ee17033534ba03cc27ba468"; 18 + hash = "sha256-9cA7iQ/GGEx+HwsdAxKC3IssqkT/Yg8ZxaiIprS5VuI="; 18 19 }; 19 20 20 21 nativeBuildInputs = [ 21 22 autoreconfHook 22 23 pkg-config 24 + texinfo # for makeinfo 23 25 ]; 24 26 buildInputs = [ 25 27 guile
+1 -1
pkgs/development/guile-modules/guile-git/default.nix
··· 29 29 propagatedBuildInputs = [ 30 30 libgit2 scheme-bytestructures 31 31 ]; 32 - doCheck = true; 32 + doCheck = !stdenv.isDarwin; 33 33 makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; 34 34 35 35 enableParallelBuilding = true;
+1 -1
pkgs/development/guile-modules/guile-lib/default.nix
··· 25 25 26 26 makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; 27 27 28 - doCheck = true; 28 + doCheck = !stdenv.isDarwin; 29 29 30 30 preCheck = '' 31 31 # Make `libgcc_s.so' visible for `pthread_cancel'.
+15 -14
pkgs/development/guile-modules/guile-ncurses/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "guile-ncurses"; 12 - version = "1.7"; 12 + version = "3.1"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; 16 - hash = "sha256-JZPNoQuIl5XayUpm0RdWNg8TT2LZGDOuFoae9crZe5Q="; 16 + hash = "sha256-7onozq/Kud0O8/wazJsQ9NIbpLJW0ynYQtYYPmP41zM="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ ··· 25 25 ncurses 26 26 ]; 27 27 28 - preConfigure = '' 29 - configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site" 30 - ''; 28 + configureFlags = [ 29 + "--with-gnu-filesystem-hierarchy" 30 + ]; 31 31 32 - postFixup = '' 33 - for f in $out/share/guile/site/ncurses/**.scm; do \ 34 - substituteInPlace $f \ 35 - --replace "libguile-ncurses" "$out/lib/libguile-ncurses"; \ 36 - done 37 - ''; 38 - 39 - # Undefined symbols for architecture arm64: "_u32_conv_from_encoding" 40 - env.NIX_LDFLAGS = "-lunistring"; 32 + postFixup = 33 + let 34 + guileVersion = lib.versions.majorMinor guile.version; 35 + in 36 + '' 37 + for f in $out/share/guile/site/ncurses/**.scm; do \ 38 + substituteInPlace $f \ 39 + --replace "libguile-ncurses" "$out/lib/guile/${guileVersion}/libguile-ncurses"; \ 40 + done 41 + ''; 41 42 42 43 # XXX: 1 of 65 tests failed. 43 44 doCheck = false;
+2 -2
pkgs/development/tools/misc/autogen/default.nix
··· 1 - { lib, stdenv, buildPackages, fetchurl, fetchpatch, autoreconfHook, which, pkg-config, perl, guile, libxml2 }: 1 + { lib, stdenv, buildPackages, fetchurl, fetchpatch, autoreconfHook, which, pkg-config, perl, guile_2_2, libxml2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "autogen"; ··· 46 46 buildPackages.buildPackages.autogen buildPackages.texinfo 47 47 ]; 48 48 buildInputs = [ 49 - guile libxml2 49 + guile_2_2 libxml2 50 50 ]; 51 51 52 52 preConfigure = ''
+2 -2
pkgs/misc/lilypond/default.nix
··· 1 - { stdenv, lib, fetchurl, ghostscript, gyre-fonts, texinfo, imagemagick, texi2html, guile 1 + { stdenv, lib, fetchurl, ghostscript, gyre-fonts, texinfo, imagemagick, texi2html, guile_2_2 2 2 , python3, gettext, flex, perl, bison, pkg-config, autoreconfHook, dblatex 3 3 , fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff 4 4 , freefont_ttf, makeFontsConf ··· 42 42 nativeBuildInputs = [ autoreconfHook bison flex makeWrapper pkg-config ]; 43 43 44 44 buildInputs = 45 - [ ghostscript texinfo imagemagick texi2html guile dblatex tex zip netpbm 45 + [ ghostscript texinfo imagemagick texi2html guile_2_2 dblatex tex zip netpbm 46 46 python3 gettext perl fontconfig freetype pango 47 47 fontforge help2man groff t1utils boehmgc rsync 48 48 ];
+2 -2
pkgs/tools/X11/xbindkeys/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, libX11, guile }: 1 + { lib, stdenv, fetchurl, pkg-config, libX11, guile_2_2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "xbindkeys"; ··· 9 9 }; 10 10 11 11 nativeBuildInputs = [ pkg-config ]; 12 - buildInputs = [ libX11 guile ]; 12 + buildInputs = [ libX11 guile_2_2 ]; 13 13 14 14 meta = { 15 15 homepage = "https://www.nongnu.org/xbindkeys/xbindkeys.html";
+2 -2
pkgs/tools/networking/junkie/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libpcap, guile, openssl }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libpcap, guile_2_2, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "junkie"; ··· 25 25 sed -i '10i#undef IP_DONTFRAG' include/junkie/proto/ip.h 26 26 ''; 27 27 28 - buildInputs = [ libpcap guile openssl ]; 28 + buildInputs = [ libpcap guile_2_2 openssl ]; 29 29 nativeBuildInputs = [ autoreconfHook pkg-config ]; 30 30 configureFlags = [ 31 31 "GUILELIBDIR=\${out}/share/guile/site"
+2 -2
pkgs/tools/networking/mailutils/default.nix
··· 12 12 , gdbm 13 13 , gnutls 14 14 , gss 15 - , guile 15 + , guile_2_2 16 16 , libmysqlclient 17 17 , mailcap 18 18 , nettools ··· 69 69 libxcrypt 70 70 ] ++ lib.optionals stdenv.isLinux [ nettools ] 71 71 ++ lib.optionals pythonSupport [ python3 ] 72 - ++ lib.optionals guileSupport [ guile ]; 72 + ++ lib.optionals guileSupport [ guile_2_2 ]; 73 73 74 74 patches = [ 75 75 ./fix-build-mb-len-max.patch
+3 -3
pkgs/tools/typesetting/skribilo/default.nix
··· 10 10 , imagemagick 11 11 , makeWrapper 12 12 , pkg-config 13 - , ploticus 14 13 , enableEmacs ? false, emacs 15 - , enableLout ? true, lout 14 + , enableLout ? stdenv.isLinux, lout 15 + , enablePloticus ? stdenv.isLinux, ploticus 16 16 , enableTex ? true, tex 17 17 }: 18 18 ··· 40 40 guile-lib 41 41 guile-reader 42 42 imagemagick 43 - ploticus 44 43 ] 45 44 ++ optional enableEmacs emacs 46 45 ++ optional enableLout lout 46 + ++ optional enablePloticus ploticus 47 47 ++ optional enableTex tex; 48 48 49 49 postInstall =
+4 -2
pkgs/top-level/all-packages.nix
··· 18034 18034 18035 18035 guile_3_0 = callPackage ../development/interpreters/guile/3.0.nix { }; 18036 18036 18037 - guile = guile_2_2; 18037 + guile = guile_3_0; 18038 18038 18039 18039 guile-cairo = callPackage ../development/guile-modules/guile-cairo { }; 18040 18040 ··· 18060 18060 18061 18061 guile-reader = callPackage ../development/guile-modules/guile-reader { }; 18062 18062 18063 - guile-sdl = callPackage ../development/guile-modules/guile-sdl { }; 18063 + guile-sdl = callPackage ../development/guile-modules/guile-sdl { 18064 + guile = guile_2_2; 18065 + }; 18064 18066 18065 18067 guile-sdl2 = callPackage ../development/guile-modules/guile-sdl2 { }; 18066 18068