···1365 <literal>gnat11</literal> instead of <literal>gnat9</literal>.
1366 </para>
1367 </listitem>
000000000001368 </itemizedlist>
1369 </section>
1370 <section xml:id="sec-release-21.11-notable-changes">
···1964 <literal>julia-lts</literal>. In practice this means it has
1965 been upgraded from <literal>1.0.4</literal> to
1966 <literal>1.5.4</literal>.
00000000001967 </para>
1968 </listitem>
1969 </itemizedlist>
···1365 <literal>gnat11</literal> instead of <literal>gnat9</literal>.
1366 </para>
1367 </listitem>
1368+ <listitem>
1369+ <para>
1370+ <literal>retroArchCores</literal> has been removed. This means
1371+ that using <literal>nixpkgs.config.retroarch</literal> to
1372+ customize RetroArch cores is not supported anymore. Instead,
1373+ use package overrides, for example:
1374+ <literal>retroarch.override { cores = with libretro; [ citra snes9x ]; };</literal>.
1375+ Also, <literal>retroarchFull</literal> derivation is available
1376+ for those who want to have all RetroArch cores available.
1377+ </para>
1378+ </listitem>
1379 </itemizedlist>
1380 </section>
1381 <section xml:id="sec-release-21.11-notable-changes">
···1975 <literal>julia-lts</literal>. In practice this means it has
1976 been upgraded from <literal>1.0.4</literal> to
1977 <literal>1.5.4</literal>.
1978+ </para>
1979+ </listitem>
1980+ <listitem>
1981+ <para>
1982+ RetroArch has been upgraded from version
1983+ <literal>1.8.5</literal> to <literal>1.9.13.2</literal>. Since
1984+ the previous release was quite old, if you’re having issues
1985+ after the upgrade, please delete your
1986+ <literal>$XDG_CONFIG_HOME/retroarch/retroarch.cfg</literal>
1987+ file.
1988 </para>
1989 </listitem>
1990 </itemizedlist>
+4
nixos/doc/manual/release-notes/rl-2111.section.md
···407- The default GNAT version has been changed: The `gnat` attribute now points to `gnat11`
408 instead of `gnat9`.
40900410## Other Notable Changes {#sec-release-21.11-notable-changes}
411412···539- 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).
540541- `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`.
00
···407- The default GNAT version has been changed: The `gnat` attribute now points to `gnat11`
408 instead of `gnat9`.
409410+- `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.
411+412## Other Notable Changes {#sec-release-21.11-notable-changes}
413414···541- 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).
542543- `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`.
544+545+- 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
···417 network node hostname (uname --nodename) the option
418 boot.kernel.sysctl."kernel.hostname" can be used as a workaround (but
419 the 64 character limit still applies).
00420 '';
00421 };
422423 networking.fqdn = mkOption {
···417 network node hostname (uname --nodename) the option
418 boot.kernel.sysctl."kernel.hostname" can be used as a workaround (but
419 the 64 character limit still applies).
420+421+ WARNING: Do not use underscores (_) or you may run into unexpected issues.
422 '';
423+ # warning until the issues in https://github.com/NixOS/nixpkgs/pull/138978
424+ # are resolved
425 };
426427 networking.fqdn = mkOption {
+1-1
nixos/tests/installer.nix
···288 # builds stuff in the VM, needs more juice
289 virtualisation.diskSize = 8 * 1024;
290 virtualisation.cores = 8;
291- virtualisation.memorySize = 1536;
292293 # Use a small /dev/vdb as the root disk for the
294 # installer. This ensures the target disk (/dev/vda) is
···288 # builds stuff in the VM, needs more juice
289 virtualisation.diskSize = 8 * 1024;
290 virtualisation.cores = 8;
291+ virtualisation.memorySize = 2048;
292293 # Use a small /dev/vdb as the root disk for the
294 # installer. This ensures the target disk (/dev/vda) is
+13-17
pkgs/applications/science/math/pari/default.nix
···1-{ lib, stdenv
02, fetchurl
3, gmp
4-, readline
5, libX11
006, tex
7-, perl
8, withThread ? true, libpthreadstubs
9}:
10···1213stdenv.mkDerivation rec {
14 pname = "pari";
15- version = "2.13.1";
1617 src = fetchurl {
18 urls = [
···20 # old versions are at the url below
21 "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"
22 ];
23- sha256 = "sha256-gez31wzNquIwFlz/Ynyc4uwpe48i+fQHQiedhfht/LE=";
24 };
2526- patches = [
27- # rebased version of 3edb98db78, see
28- # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2284
29- ./rnfdisc.patch
30- ];
31-32 buildInputs = [
33 gmp
34- readline
35 libX11
36- tex
37 perl
0038 ] ++ lib.optionals withThread [
39 libpthreadstubs
40 ];
4142 configureScript = "./Configure";
43 configureFlags = [
44- "--with-gmp=${gmp.dev}"
45- "--with-readline=${readline.dev}"
46- ] ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin"
047 ++ lib.optional withThread "--mt=pthread";
4849 preConfigure = ''
···57 makeFlags = [ "all" ];
5859 meta = with lib; {
060 description = "Computer algebra system for high-performance number theory computations";
61 longDescription = ''
62 PARI/GP is a widely used computer algebra system designed for fast
···81 3 or 4 times faster.) gp2c currently only understands a subset of the
82 GP language.
83 '';
84- homepage = "http://pari.math.u-bordeaux.fr";
85 downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
86 license = licenses.gpl2Plus;
87 maintainers = with maintainers; [ ertes AndersonTorres ] ++ teams.sage.members;
···1+{ lib
2+, stdenv
3, fetchurl
4, gmp
05, libX11
6+, perl
7+, readline
8, tex
09, withThread ? true, libpthreadstubs
10}:
11···1314stdenv.mkDerivation rec {
15 pname = "pari";
16+ version = "2.13.3";
1718 src = fetchurl {
19 urls = [
···21 # old versions are at the url below
22 "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"
23 ];
24+ hash = "sha256-zLp/FgbGhU8UQ2N7tXrQlY1Bx/R1P4roRZ8dZMJnoco=";
25 };
2600000027 buildInputs = [
28 gmp
029 libX11
030 perl
31+ readline
32+ tex
33 ] ++ lib.optionals withThread [
34 libpthreadstubs
35 ];
3637 configureScript = "./Configure";
38 configureFlags = [
39+ "--with-gmp=${lib.getDev gmp}"
40+ "--with-readline=${lib.getDev readline}"
41+ ]
42+ ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin"
43 ++ lib.optional withThread "--mt=pthread";
4445 preConfigure = ''
···53 makeFlags = [ "all" ];
5455 meta = with lib; {
56+ homepage = "http://pari.math.u-bordeaux.fr";
57 description = "Computer algebra system for high-performance number theory computations";
58 longDescription = ''
59 PARI/GP is a widely used computer algebra system designed for fast
···78 3 or 4 times faster.) gp2c currently only understands a subset of the
79 GP language.
80 '';
081 downloadPage = "http://pari.math.u-bordeaux.fr/download.html";
82 license = licenses.gpl2Plus;
83 maintainers = with maintainers; [ ertes AndersonTorres ] ++ teams.sage.members;
+11-5
pkgs/applications/science/math/pari/gp2c.nix
···1-{ lib, stdenv
2-, pari
3, fetchurl
4-, perl }:
0056stdenv.mkDerivation rec {
7 pname = "gp2c";
···12 sha256 = "039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf";
13 };
1415- buildInputs = [ pari perl ];
0001617 configureFlags = [
18 "--with-paricfg=${pari}/lib/pari/pari.cfg"
19- "--with-perl=${perl}/bin/perl" ];
02021 meta = with lib; {
22 description = "A compiler to translate GP scripts to PARI programs";
···1+{ lib
2+, stdenv
3, fetchurl
4+, pari
5+, perl
6+}:
78stdenv.mkDerivation rec {
9 pname = "gp2c";
···14 sha256 = "039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf";
15 };
1617+ buildInputs = [
18+ pari
19+ perl
20+ ];
2122 configureFlags = [
23 "--with-paricfg=${pari}/lib/pari/pari.cfg"
24+ "--with-perl=${perl}/bin/perl"
25+ ];
2627 meta = with lib; {
28 description = "A compiler to translate GP scripts to PARI programs";
···23 # branches (wip patches from tickets), but exports each commit as a separate
24 # patch, so merge commits can lead to conflicts. Used if squashed == false.
25 #
00000026 # 2) From GitHub's sagemath/sage repo. This lets us use a GH feature that allows
27 # us to choose between a .patch file, with one patch per commit, or a .diff file,
28 # which squashes all commits into a single diff. This is used if squashed ==
···117 name = "sympy-1.9-update.patch";
118 rev = "beed4e16aff32e47d0c3b1c58cb1e2f4c38590f8";
119 sha256 = "sha256-3eJPfWfCrCAQ5filIn7FbzjRQeO9QyTIVl/HyRuqFtE=";
00000000120 })
121 ];
122
···23 # branches (wip patches from tickets), but exports each commit as a separate
24 # patch, so merge commits can lead to conflicts. Used if squashed == false.
25 #
26+ # The above is the preferred option. To use it, find a Trac ticket and pass the
27+ # "Commit" field from the ticket as "rev", choosing "base" as an appropriate
28+ # release tag, i.e. a tag that doesn't cause the patch to include a lot of
29+ # unrelated changes. If there is no such tag (due to nonlinear history, for
30+ # example), there are two other options, listed below.
31+ #
32 # 2) From GitHub's sagemath/sage repo. This lets us use a GH feature that allows
33 # us to choose between a .patch file, with one patch per commit, or a .diff file,
34 # which squashes all commits into a single diff. This is used if squashed ==
···123 name = "sympy-1.9-update.patch";
124 rev = "beed4e16aff32e47d0c3b1c58cb1e2f4c38590f8";
125 sha256 = "sha256-3eJPfWfCrCAQ5filIn7FbzjRQeO9QyTIVl/HyRuqFtE=";
126+ })
127+128+ # https://trac.sagemath.org/ticket/32797
129+ (fetchSageDiff {
130+ base = "9.5.beta7";
131+ name = "pari-2.13.3-update.patch";
132+ rev = "f5f7a86908daf60b25e66e6a189c51ada7e0a732";
133+ sha256 = "sha256-H/caGx3q4KcdsyGe+ojV9bUTQ5y0siqM+QHgDbeEnbw=";
134 })
135 ];
136
···1{ lib
02, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
···19 };
2021 format = "pyproject";
22- checkInputs = [ pytestCheckHook numpy exdown gnuplot ];
00023 pythonImportsCheck = [ "termplotlib" ];
2425- # there seems to be a newline in the very front of the output
26- # which causes the test to fail, since it apparently doesn't
27- # strip whitespace. might be a gnuplot choice? sigh...
28- disabledTests = [ "test_plot_lim" ];
0000000000002930 meta = with lib; {
31 description = "matplotlib for your terminal";
···1{ lib
2+, substituteAll
3, buildPythonPackage
4, fetchFromGitHub
5, pytestCheckHook
···20 };
2122 format = "pyproject";
23+ checkInputs = [
24+ pytestCheckHook
25+ exdown
26+ ];
27 pythonImportsCheck = [ "termplotlib" ];
2829+ propagatedBuildInputs = [ numpy ];
30+31+ patches = [
32+ (substituteAll {
33+ src = ./gnuplot-subprocess.patch;
34+ gnuplot = "${gnuplot.out}/bin/gnuplot";
35+ })
36+ ];
37+38+ # The current gnuplot version renders slightly different test
39+ # graphs, with emphasis on slightly. The plots are still correct.
40+ # Tests pass on gnuplot 5.4.1, but fail on 5.4.2.
41+ disabledTests = [
42+ "test_plot"
43+ "test_nolabel"
44+ ];
4546 meta = with lib; {
47 description = "matplotlib for your terminal";
···1+diff --git a/retroarch.cfg b/retroarch.cfg
2+index cdcb199c9f..ab72f3920f 100644
3+--- a/retroarch.cfg
4++++ b/retroarch.cfg
5+@@ -681,7 +681,7 @@
6+ # menu_show_online_updater = true
7+8+ # If disabled, will hide the ability to update cores (and core info files) inside the menu.
9+-# menu_show_core_updater = true
10++menu_show_core_updater = false
11+12+ # If disabled, the libretro core will keep running in the background when we
13+ # are in the menu.
···4445 unstable = fetchurl rec {
46 # NOTE: Don't forget to change the SHA256 for staging as well.
47- version = "6.20";
48 url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz";
49- sha256 = "0wc4a8slb3k859sdw9wwy92zc4pq7xw1kbq4frnxbzbvkiz26a20";
50 inherit (stable) gecko32 gecko64;
5152 ## see http://wiki.winehq.org/Mono
···5859 patches = [
60 # Also look for root certificates at $NIX_SSL_CERT_FILE
61- ./cert-path.patch
62 ];
63 };
6465 staging = fetchFromGitHub rec {
66 # https://github.com/wine-staging/wine-staging/releases
67 inherit (unstable) version;
68- sha256 = "12fvfn77rsqwdprkxiylq09jc81lq34bm8p1zhhn85q6yawpjlbn";
69 owner = "wine-staging";
70 repo = "wine-staging";
71 rev = "v${version}";
···4445 unstable = fetchurl rec {
46 # NOTE: Don't forget to change the SHA256 for staging as well.
47+ version = "6.22";
48 url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz";
49+ sha256 = "sha256-gmBCoYGph5cyo9rLv4FnYF8wUpG/z6r16qDslSXXZO8=";
50 inherit (stable) gecko32 gecko64;
5152 ## see http://wiki.winehq.org/Mono
···5859 patches = [
60 # Also look for root certificates at $NIX_SSL_CERT_FILE
61+ ./cert-path-6.21.patch
62 ];
63 };
6465 staging = fetchFromGitHub rec {
66 # https://github.com/wine-staging/wine-staging/releases
67 inherit (unstable) version;
68+ sha256 = "sha256-dGyaos6xITiAQdU65/PJQKRl5Rr5xBpgQhXii9iwb+E=";
69 owner = "wine-staging";
70 repo = "wine-staging";
71 rev = "v${version}";
+7
pkgs/servers/http/trafficserver/default.nix
···63 url = "https://github.com/apache/trafficserver/commit/19d3af481cf74c91fbf713fc9d2f8b138ed5fbaf.diff";
64 sha256 = "0z1ikgpp00rzrrcqh97931586yn9wbksgai9xlkcjd5cg8gq0150";
65 })
000000066 ];
6768 # NOTE: The upstream README indicates that flex is needed for some features,
···63 url = "https://github.com/apache/trafficserver/commit/19d3af481cf74c91fbf713fc9d2f8b138ed5fbaf.diff";
64 sha256 = "0z1ikgpp00rzrrcqh97931586yn9wbksgai9xlkcjd5cg8gq0150";
65 })
66+67+ # Fix build against ncurses-6.3:
68+ # https://github.com/apache/trafficserver/pull/8437
69+ (fetchpatch {
70+ url = "https://github.com/apache/trafficserver/commit/66c86c6b082903a92b9db33c60e3ed947e77d540.patch";
71+ sha256 = "1hgpp80xnnjr4k5i6gcllrb7dw4q4xcdrkwxpc1xk2np5cbyxd16";
72+ })
73 ];
7475 # NOTE: The upstream README indicates that flex is needed for some features,
+8-1
pkgs/tools/filesystems/nilfs-utils/default.nix
···1-{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libuuid, libselinux }:
023stdenv.mkDerivation rec {
4 pname = "nilfs-utils";
···14 nativeBuildInputs = [ autoreconfHook ];
1516 buildInputs = [ libuuid libselinux ];
0000001718 # According to upstream, libmount should be detected automatically but the
19 # build system fails to do this. This is likely a bug with their build system
···1+{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libuuid, libselinux
2+, e2fsprogs }:
34stdenv.mkDerivation rec {
5 pname = "nilfs-utils";
···15 nativeBuildInputs = [ autoreconfHook ];
1617 buildInputs = [ libuuid libselinux ];
18+19+ postPatch = ''
20+ # Fix up hardcoded paths.
21+ substituteInPlace lib/cleaner_exec.c --replace /sbin/ $out/bin/
22+ substituteInPlace sbin/mkfs/mkfs.c --replace /sbin/ ${lib.getBin e2fsprogs}/bin/
23+ '';
2425 # According to upstream, libmount should be detected automatically but the
26 # build system fails to do this. This is likely a bug with their build system
+12-5
pkgs/tools/misc/czkawka/default.nix
···8, gdk-pixbuf
9, atk
10, gtk3
0011}:
1213rustPlatform.buildRustPackage rec {
14 pname = "czkawka";
15- version = "3.2.0";
1617 src = fetchFromGitHub {
18 owner = "qarmin";
19- repo = pname;
20 rev = version;
21- sha256 = "sha256-OBe6nk5C3kO5Lkas9+G+VY3xAzY7SWx8W5CkSbaYJ9Y=";
22 };
2324- cargoSha256 = "sha256-Jghkf1mX5ic7zB2KmtOZbSxgF8C6KjRdGG1Yt+dzylI=";
2526 nativeBuildInputs = [
27 pkg-config
···36 gtk3
37 ];
380000039 meta = with lib; {
40 description = "A simple, fast and easy to use app to remove unnecessary files from your computer";
41 homepage = "https://github.com/qarmin/czkawka";
42 license = with licenses; [ mit ];
43- maintainers = with maintainers; [ yanganto ];
44 };
45}
···8, gdk-pixbuf
9, atk
10, gtk3
11+, testVersion
12+, czkawka
13}:
1415rustPlatform.buildRustPackage rec {
16 pname = "czkawka";
17+ version = "3.3.0";
1819 src = fetchFromGitHub {
20 owner = "qarmin";
21+ repo = "czkawka";
22 rev = version;
23+ sha256 = "0mikgnsqxj8dgapr2k7i9i8mmsza15kp4nasyd6l1vp2cqy8aki6";
24 };
2526+ cargoSha256 = "009zfy4lk8y51h1wi71mrjp6kc7xnk3r8jlbxvhyqslhqd9w10fv";
2728 nativeBuildInputs = [
29 pkg-config
···38 gtk3
39 ];
4041+ passthru.tests.version = testVersion {
42+ package = czkawka;
43+ command = "czkawka_cli --version";
44+ };
45+46 meta = with lib; {
47 description = "A simple, fast and easy to use app to remove unnecessary files from your computer";
48 homepage = "https://github.com/qarmin/czkawka";
49 license = with licenses; [ mit ];
50+ maintainers = with maintainers; [ yanganto _0x4A6F ];
51 };
52}