···13651365 <literal>gnat11</literal> instead of <literal>gnat9</literal>.13661366 </para>13671367 </listitem>13681368+ <listitem>13691369+ <para>13701370+ <literal>retroArchCores</literal> has been removed. This means13711371+ that using <literal>nixpkgs.config.retroarch</literal> to13721372+ customize RetroArch cores is not supported anymore. Instead,13731373+ use package overrides, for example:13741374+ <literal>retroarch.override { cores = with libretro; [ citra snes9x ]; };</literal>.13751375+ Also, <literal>retroarchFull</literal> derivation is available13761376+ for those who want to have all RetroArch cores available.13771377+ </para>13781378+ </listitem>13681379 </itemizedlist>13691380 </section>13701381 <section xml:id="sec-release-21.11-notable-changes">···19751964 <literal>julia-lts</literal>. In practice this means it has19761965 been upgraded from <literal>1.0.4</literal> to19771966 <literal>1.5.4</literal>.19671967+ </para>19681968+ </listitem>19691969+ <listitem>19701970+ <para>19711971+ RetroArch has been upgraded from version19721972+ <literal>1.8.5</literal> to <literal>1.9.13.2</literal>. Since19731973+ the previous release was quite old, if you’re having issues19741974+ after the upgrade, please delete your19751975+ <literal>$XDG_CONFIG_HOME/retroarch/retroarch.cfg</literal>19761976+ file.19781977 </para>19791978 </listitem>19801979 </itemizedlist>
+4
nixos/doc/manual/release-notes/rl-2111.section.md
···407407- The default GNAT version has been changed: The `gnat` attribute now points to `gnat11`408408 instead of `gnat9`.409409410410+- `retroArchCores` has been removed. This means that using `nixpkgs.config.retroarch` to customize RetroArch cores is not supported anymore. Instead, use package overrides, for example: `retroarch.override { cores = with libretro; [ citra snes9x ]; };`. Also, `retroarchFull` derivation is available for those who want to have all RetroArch cores available.411411+410412## Other Notable Changes {#sec-release-21.11-notable-changes}411413412414···541539- Loki has had another release. Some default values have been changed for the configuration and some configuration options have been renamed. For more details, please check [the upgrade guide](https://grafana.com/docs/loki/latest/upgrading/#240).542540543541- `julia` now refers to `julia-stable` instead of `julia-lts`. In practice this means it has been upgraded from `1.0.4` to `1.5.4`.542542+543543+- RetroArch has been upgraded from version `1.8.5` to `1.9.13.2`. Since the previous release was quite old, if you're having issues after the upgrade, please delete your `$XDG_CONFIG_HOME/retroarch/retroarch.cfg` file.
+4
nixos/modules/tasks/network-interfaces.nix
···417417 network node hostname (uname --nodename) the option418418 boot.kernel.sysctl."kernel.hostname" can be used as a workaround (but419419 the 64 character limit still applies).420420+421421+ WARNING: Do not use underscores (_) or you may run into unexpected issues.420422 '';423423+ # warning until the issues in https://github.com/NixOS/nixpkgs/pull/138978424424+ # are resolved421425 };422426423427 networking.fqdn = mkOption {
+1-1
nixos/tests/installer.nix
···288288 # builds stuff in the VM, needs more juice289289 virtualisation.diskSize = 8 * 1024;290290 virtualisation.cores = 8;291291- virtualisation.memorySize = 1536;291291+ virtualisation.memorySize = 2048;292292293293 # Use a small /dev/vdb as the root disk for the294294 # installer. This ensures the target disk (/dev/vda) is
+13-17
pkgs/applications/science/math/pari/default.nix
···11-{ lib, stdenv11+{ lib22+, stdenv23, fetchurl34, gmp44-, readline55, libX1166-, tex76, perl77+, readline88+, tex89, withThread ? true, libpthreadstubs910}:1011···13121413stdenv.mkDerivation rec {1514 pname = "pari";1616- version = "2.13.1";1515+ version = "2.13.3";17161817 src = fetchurl {1918 urls = [···2120 # old versions are at the url below2221 "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"2322 ];2424- sha256 = "sha256-gez31wzNquIwFlz/Ynyc4uwpe48i+fQHQiedhfht/LE=";2323+ hash = "sha256-zLp/FgbGhU8UQ2N7tXrQlY1Bx/R1P4roRZ8dZMJnoco=";2524 };2626-2727- patches = [2828- # rebased version of 3edb98db78, see2929- # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=22843030- ./rnfdisc.patch3131- ];32253326 buildInputs = [3427 gmp3535- readline3628 libX113737- tex3829 perl3030+ readline3131+ tex3932 ] ++ lib.optionals withThread [4033 libpthreadstubs4134 ];42354336 configureScript = "./Configure";4437 configureFlags = [4545- "--with-gmp=${gmp.dev}"4646- "--with-readline=${readline.dev}"4747- ] ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin"3838+ "--with-gmp=${lib.getDev gmp}"3939+ "--with-readline=${lib.getDev readline}"4040+ ]4141+ ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin"4842 ++ lib.optional withThread "--mt=pthread";49435044 preConfigure = ''···5357 makeFlags = [ "all" ];54585559 meta = with lib; {6060+ homepage = "http://pari.math.u-bordeaux.fr";5661 description = "Computer algebra system for high-performance number theory computations";5762 longDescription = ''5863 PARI/GP is a widely used computer algebra system designed for fast···7881 3 or 4 times faster.) gp2c currently only understands a subset of the7982 GP language.8083 '';8181- homepage = "http://pari.math.u-bordeaux.fr";8284 downloadPage = "http://pari.math.u-bordeaux.fr/download.html";8385 license = licenses.gpl2Plus;8486 maintainers = with maintainers; [ ertes AndersonTorres ] ++ teams.sage.members;
+11-5
pkgs/applications/science/math/pari/gp2c.nix
···11-{ lib, stdenv22-, pari11+{ lib22+, stdenv33, fetchurl44-, perl }:44+, pari55+, perl66+}:5768stdenv.mkDerivation rec {79 pname = "gp2c";···1412 sha256 = "039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf";1513 };16141717- buildInputs = [ pari perl ];1515+ buildInputs = [1616+ pari1717+ perl1818+ ];18191920 configureFlags = [2021 "--with-paricfg=${pari}/lib/pari/pari.cfg"2121- "--with-perl=${perl}/bin/perl" ];2222+ "--with-perl=${perl}/bin/perl"2323+ ];22242325 meta = with lib; {2426 description = "A compiler to translate GP scripts to PARI programs";
-51
pkgs/applications/science/math/pari/rnfdisc.patch
···11-commit 0d8a3ac970291c62b56104172418b3f2ca30927c22-Author: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>33-Date: Sun Mar 28 13:27:24 2021 +020044-55- rnfdisc_factored: remove spurious Q_primpart [#2284]66-77-diff --git a/src/basemath/base2.c b/src/basemath/base2.c88-index 7e7d0db9d..c461826f4 10064499---- a/src/basemath/base2.c1010-+++ b/src/basemath/base2.c1111-@@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd)1212-1313- nf = checknf(nf);1414- pol = rnfdisc_get_T(nf, pol, &lim);1515-- disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol)));1616-+ disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol));1717- pol = nfX_to_monic(nf, pol, NULL);1818- fa = idealfactor_partial(nf, disc, lim);1919- P = gel(fa,1); l = lg(P);2020-diff --git a/src/test/32/rnf b/src/test/32/rnf2121-index 1e743f415..c016dce00 1006442222---- a/src/test/32/rnf2323-+++ b/src/test/32/rnf2424-@@ -853,9 +853,10 @@ error("inconsistent dimensions in idealtwoelt.")2525- 02626- 02727- 12828--[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0]2929--~]3030--[2, -1]3131-+[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [253232-+/17, -12/17, 12/17, 16/17]~]3333-+[1, -1]3434-+[[12, 0, 0, 0; 0, 12, 4, 0; 0, 0, 4, 0; 0, 0, 0, 4], [6, 5, -1, 2]~]3535- *** at top-level: rnfdedekind(nf,P,pr2,1)3636- *** ^-----------------------3737- *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented.3838-diff --git a/src/test/in/rnf b/src/test/in/rnf3939-index 7851ae291..318d5349e 1006444040---- a/src/test/in/rnf4141-+++ b/src/test/in/rnf4242-@@ -212,6 +212,9 @@ k = nfinit(y^4 + 10*y^2 + 17);4343- rnfdisc(k, x^2 - x + 1/Mod(y,k.pol))4444- rnfdisc(k, x^2 - x + 1/2)4545-4646-+k = nfinit(y^4 - 10*y^2 + 1);4747-+rnfdisc(k,x^2-(y^3/2+y^2-5*y/2+1))4848-+4949- \\ ERRORS, keep at end of file5050- rnfdedekind(nf, P, pr2, 1)5151- rnfdedekind(nf, P)
+14
pkgs/applications/science/math/sage/sage-src.nix
···2323 # branches (wip patches from tickets), but exports each commit as a separate2424 # patch, so merge commits can lead to conflicts. Used if squashed == false.2525 #2626+ # The above is the preferred option. To use it, find a Trac ticket and pass the2727+ # "Commit" field from the ticket as "rev", choosing "base" as an appropriate2828+ # release tag, i.e. a tag that doesn't cause the patch to include a lot of2929+ # unrelated changes. If there is no such tag (due to nonlinear history, for3030+ # example), there are two other options, listed below.3131+ #2632 # 2) From GitHub's sagemath/sage repo. This lets us use a GH feature that allows2733 # us to choose between a .patch file, with one patch per commit, or a .diff file,2834 # which squashes all commits into a single diff. This is used if squashed ==···123117 name = "sympy-1.9-update.patch";124118 rev = "beed4e16aff32e47d0c3b1c58cb1e2f4c38590f8";125119 sha256 = "sha256-3eJPfWfCrCAQ5filIn7FbzjRQeO9QyTIVl/HyRuqFtE=";120120+ })121121+122122+ # https://trac.sagemath.org/ticket/32797123123+ (fetchSageDiff {124124+ base = "9.5.beta7";125125+ name = "pari-2.13.3-update.patch";126126+ rev = "f5f7a86908daf60b25e66e6a189c51ada7e0a732";127127+ sha256 = "sha256-H/caGx3q4KcdsyGe+ojV9bUTQ5y0siqM+QHgDbeEnbw=";126128 })127129 ];128130
···11{ lib22+, substituteAll23, buildPythonPackage34, fetchFromGitHub45, pytestCheckHook···2019 };21202221 format = "pyproject";2323- checkInputs = [ pytestCheckHook numpy exdown gnuplot ];2222+ checkInputs = [2323+ pytestCheckHook2424+ exdown2525+ ];2426 pythonImportsCheck = [ "termplotlib" ];25272626- # there seems to be a newline in the very front of the output2727- # which causes the test to fail, since it apparently doesn't2828- # strip whitespace. might be a gnuplot choice? sigh...2929- disabledTests = [ "test_plot_lim" ];2828+ propagatedBuildInputs = [ numpy ];2929+3030+ patches = [3131+ (substituteAll {3232+ src = ./gnuplot-subprocess.patch;3333+ gnuplot = "${gnuplot.out}/bin/gnuplot";3434+ })3535+ ];3636+3737+ # The current gnuplot version renders slightly different test3838+ # graphs, with emphasis on slightly. The plots are still correct.3939+ # Tests pass on gnuplot 5.4.1, but fail on 5.4.2.4040+ disabledTests = [4141+ "test_plot"4242+ "test_nolabel"4343+ ];30443145 meta = with lib; {3246 description = "matplotlib for your terminal";
···11+diff --git a/retroarch.cfg b/retroarch.cfg22+index cdcb199c9f..ab72f3920f 10064433+--- a/retroarch.cfg44++++ b/retroarch.cfg55+@@ -681,7 +681,7 @@66+ # menu_show_online_updater = true77+88+ # If disabled, will hide the ability to update cores (and core info files) inside the menu.99+-# menu_show_core_updater = true1010++menu_show_core_updater = false1111+1212+ # If disabled, the libretro core will keep running in the background when we1313+ # are in the menu.