Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub daffc694 19713590

Changed files
+387 -210
nixos
doc
manual
from_md
release-notes
release-notes
modules
tests
pkgs
applications
development
libraries
adns
libasyncns
python-modules
envisage
libasyncns
python-crontab
termplotlib
misc
servers
http
trafficserver
tools
filesystems
nilfs-utils
misc
czkawka
networking
top-level
+21
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 1365 1365 <literal>gnat11</literal> instead of <literal>gnat9</literal>. 1366 1366 </para> 1367 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> 1368 1379 </itemizedlist> 1369 1380 </section> 1370 1381 <section xml:id="sec-release-21.11-notable-changes"> ··· 1964 1975 <literal>julia-lts</literal>. In practice this means it has 1965 1976 been upgraded from <literal>1.0.4</literal> to 1966 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. 1967 1988 </para> 1968 1989 </listitem> 1969 1990 </itemizedlist>
+4
nixos/doc/manual/release-notes/rl-2111.section.md
··· 407 407 - The default GNAT version has been changed: The `gnat` attribute now points to `gnat11` 408 408 instead of `gnat9`. 409 409 410 + - `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 + 410 412 ## Other Notable Changes {#sec-release-21.11-notable-changes} 411 413 412 414 ··· 539 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). 540 542 541 543 - `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 417 network node hostname (uname --nodename) the option 418 418 boot.kernel.sysctl."kernel.hostname" can be used as a workaround (but 419 419 the 64 character limit still applies). 420 + 421 + WARNING: Do not use underscores (_) or you may run into unexpected issues. 420 422 ''; 423 + # warning until the issues in https://github.com/NixOS/nixpkgs/pull/138978 424 + # are resolved 421 425 }; 422 426 423 427 networking.fqdn = mkOption {
+1 -1
nixos/tests/installer.nix
··· 288 288 # builds stuff in the VM, needs more juice 289 289 virtualisation.diskSize = 8 * 1024; 290 290 virtualisation.cores = 8; 291 - virtualisation.memorySize = 1536; 291 + virtualisation.memorySize = 2048; 292 292 293 293 # Use a small /dev/vdb as the root disk for the 294 294 # installer. This ensures the target disk (/dev/vda) is
+13 -17
pkgs/applications/science/math/pari/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchurl 3 4 , gmp 4 - , readline 5 5 , libX11 6 + , perl 7 + , readline 6 8 , tex 7 - , perl 8 9 , withThread ? true, libpthreadstubs 9 10 }: 10 11 ··· 12 13 13 14 stdenv.mkDerivation rec { 14 15 pname = "pari"; 15 - version = "2.13.1"; 16 + version = "2.13.3"; 16 17 17 18 src = fetchurl { 18 19 urls = [ ··· 20 21 # old versions are at the url below 21 22 "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz" 22 23 ]; 23 - sha256 = "sha256-gez31wzNquIwFlz/Ynyc4uwpe48i+fQHQiedhfht/LE="; 24 + hash = "sha256-zLp/FgbGhU8UQ2N7tXrQlY1Bx/R1P4roRZ8dZMJnoco="; 24 25 }; 25 26 26 - 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 27 buildInputs = [ 33 28 gmp 34 - readline 35 29 libX11 36 - tex 37 30 perl 31 + readline 32 + tex 38 33 ] ++ lib.optionals withThread [ 39 34 libpthreadstubs 40 35 ]; 41 36 42 37 configureScript = "./Configure"; 43 38 configureFlags = [ 44 - "--with-gmp=${gmp.dev}" 45 - "--with-readline=${readline.dev}" 46 - ] ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin" 39 + "--with-gmp=${lib.getDev gmp}" 40 + "--with-readline=${lib.getDev readline}" 41 + ] 42 + ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin" 47 43 ++ lib.optional withThread "--mt=pthread"; 48 44 49 45 preConfigure = '' ··· 57 53 makeFlags = [ "all" ]; 58 54 59 55 meta = with lib; { 56 + homepage = "http://pari.math.u-bordeaux.fr"; 60 57 description = "Computer algebra system for high-performance number theory computations"; 61 58 longDescription = '' 62 59 PARI/GP is a widely used computer algebra system designed for fast ··· 81 78 3 or 4 times faster.) gp2c currently only understands a subset of the 82 79 GP language. 83 80 ''; 84 - homepage = "http://pari.math.u-bordeaux.fr"; 85 81 downloadPage = "http://pari.math.u-bordeaux.fr/download.html"; 86 82 license = licenses.gpl2Plus; 87 83 maintainers = with maintainers; [ ertes AndersonTorres ] ++ teams.sage.members;
+11 -5
pkgs/applications/science/math/pari/gp2c.nix
··· 1 - { lib, stdenv 2 - , pari 1 + { lib 2 + , stdenv 3 3 , fetchurl 4 - , perl }: 4 + , pari 5 + , perl 6 + }: 5 7 6 8 stdenv.mkDerivation rec { 7 9 pname = "gp2c"; ··· 12 14 sha256 = "039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf"; 13 15 }; 14 16 15 - buildInputs = [ pari perl ]; 17 + buildInputs = [ 18 + pari 19 + perl 20 + ]; 16 21 17 22 configureFlags = [ 18 23 "--with-paricfg=${pari}/lib/pari/pari.cfg" 19 - "--with-perl=${perl}/bin/perl" ]; 24 + "--with-perl=${perl}/bin/perl" 25 + ]; 20 26 21 27 meta = with lib; { 22 28 description = "A compiler to translate GP scripts to PARI programs";
-51
pkgs/applications/science/math/pari/rnfdisc.patch
··· 1 - commit 0d8a3ac970291c62b56104172418b3f2ca30927c 2 - Author: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> 3 - Date: Sun Mar 28 13:27:24 2021 +0200 4 - 5 - rnfdisc_factored: remove spurious Q_primpart [#2284] 6 - 7 - diff --git a/src/basemath/base2.c b/src/basemath/base2.c 8 - index 7e7d0db9d..c461826f4 100644 9 - --- a/src/basemath/base2.c 10 - +++ b/src/basemath/base2.c 11 - @@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd) 12 - 13 - nf = checknf(nf); 14 - pol = rnfdisc_get_T(nf, pol, &lim); 15 - - disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol))); 16 - + disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol)); 17 - pol = nfX_to_monic(nf, pol, NULL); 18 - fa = idealfactor_partial(nf, disc, lim); 19 - P = gel(fa,1); l = lg(P); 20 - diff --git a/src/test/32/rnf b/src/test/32/rnf 21 - index 1e743f415..c016dce00 100644 22 - --- a/src/test/32/rnf 23 - +++ b/src/test/32/rnf 24 - @@ -853,9 +853,10 @@ error("inconsistent dimensions in idealtwoelt.") 25 - 0 26 - 0 27 - 1 28 - -[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0] 29 - -~] 30 - -[2, -1] 31 - +[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25 32 - +/17, -12/17, 12/17, 16/17]~] 33 - +[1, -1] 34 - +[[12, 0, 0, 0; 0, 12, 4, 0; 0, 0, 4, 0; 0, 0, 0, 4], [6, 5, -1, 2]~] 35 - *** at top-level: rnfdedekind(nf,P,pr2,1) 36 - *** ^----------------------- 37 - *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented. 38 - diff --git a/src/test/in/rnf b/src/test/in/rnf 39 - index 7851ae291..318d5349e 100644 40 - --- a/src/test/in/rnf 41 - +++ b/src/test/in/rnf 42 - @@ -212,6 +212,9 @@ k = nfinit(y^4 + 10*y^2 + 17); 43 - rnfdisc(k, x^2 - x + 1/Mod(y,k.pol)) 44 - rnfdisc(k, x^2 - x + 1/2) 45 - 46 - +k = nfinit(y^4 - 10*y^2 + 1); 47 - +rnfdisc(k,x^2-(y^3/2+y^2-5*y/2+1)) 48 - + 49 - \\ ERRORS, keep at end of file 50 - rnfdedekind(nf, P, pr2, 1) 51 - rnfdedekind(nf, P)
+14
pkgs/applications/science/math/sage/sage-src.nix
··· 23 23 # branches (wip patches from tickets), but exports each commit as a separate 24 24 # patch, so merge commits can lead to conflicts. Used if squashed == false. 25 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 + # 26 32 # 2) From GitHub's sagemath/sage repo. This lets us use a GH feature that allows 27 33 # us to choose between a .patch file, with one patch per commit, or a .diff file, 28 34 # which squashes all commits into a single diff. This is used if squashed == ··· 117 123 name = "sympy-1.9-update.patch"; 118 124 rev = "beed4e16aff32e47d0c3b1c58cb1e2f4c38590f8"; 119 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="; 120 134 }) 121 135 ]; 122 136
+2
pkgs/development/libraries/adns/default.nix
··· 15 15 16 16 nativeBuildInputs = [ gnum4 ]; 17 17 18 + configureFlags = lib.optional stdenv.hostPlatform.isStatic "--disable-dynamic"; 19 + 18 20 preConfigure = 19 21 lib.optionalString stdenv.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure"; 20 22
+5
pkgs/development/libraries/libasyncns/default.nix
··· 9 9 sha256 = "0x5b6lcic4cd7q0bx00x93kvpyzl7n2abbgvqbrlzrfb8vknc6jg"; 10 10 }; 11 11 12 + postPatch = lib.optionalString stdenv.isDarwin '' 13 + substituteInPlace libasyncns/asyncns.c \ 14 + --replace '<arpa/nameser.h>' '<arpa/nameser_compat.h>' 15 + ''; 16 + 12 17 configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 13 18 "ac_cv_func_malloc_0_nonnull=yes" 14 19 "ac_cv_func_realloc_0_nonnull=yes"
+12 -4
pkgs/development/python-modules/envisage/default.nix
··· 1 - { lib, fetchPypi, isPy27 1 + { lib 2 + , fetchPypi 3 + , isPy27 2 4 , buildPythonPackage 3 - , traits, apptools, pytestCheckHook 4 - , ipykernel, ipython, setuptools 5 + , traits 6 + , apptools 7 + , pytestCheckHook 8 + , ipython 9 + , setuptools 5 10 }: 6 11 7 12 buildPythonPackage rec { ··· 15 20 sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c"; 16 21 }; 17 22 23 + # for the optional dependency ipykernel, only versions < 6 are 24 + # supported, so it's not included in the tests, and not propagated 18 25 propagatedBuildInputs = [ traits apptools setuptools ]; 19 26 20 27 preCheck = '' ··· 22 29 ''; 23 30 24 31 checkInputs = [ 25 - ipykernel ipython pytestCheckHook 32 + ipython 33 + pytestCheckHook 26 34 ]; 27 35 28 36 meta = with lib; {
+14 -2
pkgs/development/python-modules/libasyncns/default.nix
··· 1 - { lib, buildPythonPackage, fetchurl 2 - , libasyncns, pkg-config }: 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchurl 5 + , libasyncns 6 + , pkg-config 7 + }: 3 8 4 9 buildPythonPackage rec { 5 10 pname = "libasyncns-python"; ··· 12 17 13 18 patches = [ ./libasyncns-fix-res-consts.patch ]; 14 19 20 + postPatch = lib.optionalString stdenv.isDarwin '' 21 + substituteInPlace resquery.c \ 22 + --replace '<arpa/nameser.h>' '<arpa/nameser_compat.h>' 23 + ''; 24 + 15 25 buildInputs = [ libasyncns ]; 16 26 nativeBuildInputs = [ pkg-config ]; 17 27 doCheck = false; # requires network access 28 + 29 + pythonImportsCheck = [ "libasyncns" ]; 18 30 19 31 meta = with lib; { 20 32 description = "libasyncns-python is a python binding for the asynchronous name service query library";
+5 -1
pkgs/development/python-modules/python-crontab/default.nix
··· 10 10 }; 11 11 12 12 checkInputs = [ pytestCheckHook ]; 13 - disabledTests = [ "test_07_non_posix_shell"]; 13 + disabledTests = [ 14 + "test_07_non_posix_shell" 15 + # doctest that assumes /tmp is writeable, awkward to patch 16 + "test_03_usage" 17 + ]; 14 18 15 19 propagatedBuildInputs = [ python-dateutil ]; 16 20
+21 -5
pkgs/development/python-modules/termplotlib/default.nix
··· 1 1 { lib 2 + , substituteAll 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 5 , pytestCheckHook ··· 19 20 }; 20 21 21 22 format = "pyproject"; 22 - checkInputs = [ pytestCheckHook numpy exdown gnuplot ]; 23 + checkInputs = [ 24 + pytestCheckHook 25 + exdown 26 + ]; 23 27 pythonImportsCheck = [ "termplotlib" ]; 24 28 25 - # 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" ]; 29 + 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 + ]; 29 45 30 46 meta = with lib; { 31 47 description = "matplotlib for your terminal";
+26
pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
··· 1 + diff --git a/src/termplotlib/helpers.py b/src/termplotlib/helpers.py 2 + index 4b67fd0..38a2242 100644 3 + --- a/src/termplotlib/helpers.py 4 + +++ b/src/termplotlib/helpers.py 5 + @@ -32,7 +32,7 @@ def is_unicode_standard_output(): 6 + 7 + 8 + def get_gnuplot_version(): 9 + - out = subprocess.check_output(["gnuplot", "--version"]).decode() 10 + + out = subprocess.check_output(["@gnuplot@", "--version"]).decode() 11 + m = re.match("gnuplot (\\d).(\\d) patchlevel (\\d)\n", out) 12 + if m is None: 13 + raise RuntimeError("Couldn't get gnuplot version") 14 + diff --git a/src/termplotlib/plot.py b/src/termplotlib/plot.py 15 + index 0f46b87..1418fd1 100644 16 + --- a/src/termplotlib/plot.py 17 + +++ b/src/termplotlib/plot.py 18 + @@ -17,7 +17,7 @@ def plot( 19 + ticks_scale: int = 0, 20 + ): 21 + p = subprocess.Popen( 22 + - ["gnuplot"], 23 + + ["@gnuplot@"], 24 + stdout=subprocess.PIPE, 25 + stdin=subprocess.PIPE, 26 + stderr=subprocess.PIPE,
+25
pkgs/misc/emulators/retroarch/0001-Disable-menu_show_core_updater.patch
··· 1 + From 546b343294209abbb193883ab76b679b7f99c6d3 Mon Sep 17 00:00:00 2001 2 + From: Thiago Kenji Okada <thiagokokada@gmail.com> 3 + Date: Sat, 20 Nov 2021 16:03:50 -0300 4 + Subject: [PATCH 1/2] Disable "menu_show_core_updater" 5 + 6 + --- 7 + retroarch.cfg | 2 +- 8 + 1 file changed, 1 insertion(+), 1 deletion(-) 9 + 10 + diff --git a/retroarch.cfg b/retroarch.cfg 11 + index cdcb199c9f..ab72f3920f 100644 12 + --- a/retroarch.cfg 13 + +++ b/retroarch.cfg 14 + @@ -681,7 +681,7 @@ 15 + # menu_show_online_updater = true 16 + 17 + # If disabled, will hide the ability to update cores (and core info files) inside the menu. 18 + -# menu_show_core_updater = true 19 + +menu_show_core_updater = false 20 + 21 + # If disabled, the libretro core will keep running in the background when we 22 + # are in the menu. 23 + -- 24 + 2.31.1 25 +
+80
pkgs/misc/emulators/retroarch/0002-Use-fixed-paths-on-libretro_info_path.patch
··· 1 + From 6788718299e1aba3ff8b31cd6ef012e8d3643bd3 Mon Sep 17 00:00:00 2001 2 + From: Thiago Kenji Okada <thiagokokada@gmail.com> 3 + Date: Sat, 20 Nov 2021 15:59:23 -0300 4 + Subject: [PATCH 2/2] Use fixed paths on "libretro_info_path" 5 + 6 + This patch sets "libretro_info_path" to `handle = false`, so instead of 7 + using the values from `retroarch.cfg`, it will always use the default. 8 + 9 + Also, it patches the default "libretro_info_path" to the 10 + `@libretro_info_path` string, so we can substitute it with the full path 11 + to it during build. 12 + --- 13 + configuration.c | 2 +- 14 + frontend/drivers/platform_darwin.m | 9 ++------- 15 + frontend/drivers/platform_unix.c | 8 ++++---- 16 + 3 files changed, 7 insertions(+), 12 deletions(-) 17 + 18 + diff --git a/configuration.c b/configuration.c 19 + index e6a3841324..afb1d6e2ce 100644 20 + --- a/configuration.c 21 + +++ b/configuration.c 22 + @@ -1456,7 +1456,7 @@ static struct config_path_setting *populate_settings_path( 23 + SETTING_PATH("core_options_path", 24 + settings->paths.path_core_options, false, NULL, true); 25 + SETTING_PATH("libretro_info_path", 26 + - settings->paths.path_libretro_info, false, NULL, true); 27 + + settings->paths.path_libretro_info, false, NULL, false); 28 + SETTING_PATH("content_database_path", 29 + settings->paths.path_content_database, false, NULL, true); 30 + SETTING_PATH("cheat_database_path", 31 + diff --git a/frontend/drivers/platform_darwin.m b/frontend/drivers/platform_darwin.m 32 + index f922e50c55..52732f65ae 100644 33 + --- a/frontend/drivers/platform_darwin.m 34 + +++ b/frontend/drivers/platform_darwin.m 35 + @@ -383,14 +383,9 @@ static void frontend_darwin_get_env(int *argc, char *argv[], 36 + home_dir_buf, "shaders_glsl", 37 + sizeof(g_defaults.dirs[DEFAULT_DIR_SHADER])); 38 + #endif 39 + -#ifdef HAVE_UPDATE_CORES 40 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE], 41 + - home_dir_buf, "cores", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE])); 42 + -#else 43 + - fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE], 44 + - bundle_path_buf, "modules", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE])); 45 + -#endif 46 + - fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], home_dir_buf, "info", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 47 + + "@libretro_directory@", "", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE])); 48 + + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], "@libretro_info_path@", "", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 49 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_OVERLAY], home_dir_buf, "overlays", sizeof(g_defaults.dirs[DEFAULT_DIR_OVERLAY])); 50 + #ifdef HAVE_VIDEO_LAYOUT 51 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_VIDEO_LAYOUT], home_dir_buf, "layouts", sizeof(g_defaults.dirs[DEFAULT_DIR_VIDEO_LAYOUT])); 52 + diff --git a/frontend/drivers/platform_unix.c b/frontend/drivers/platform_unix.c 53 + index 722e1c595c..d87e01cf12 100644 54 + --- a/frontend/drivers/platform_unix.c 55 + +++ b/frontend/drivers/platform_unix.c 56 + @@ -1815,8 +1815,8 @@ static void frontend_unix_get_env(int *argc, 57 + strcpy_literal(base_path, "retroarch"); 58 + #endif 59 + 60 + - fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE], base_path, 61 + - "cores", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE])); 62 + + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE], "@libretro_directory@", 63 + + "", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE])); 64 + #if defined(DINGUX) 65 + /* On platforms that require manual core installation/ 66 + * removal, placing core info files in the same directory 67 + @@ -1825,8 +1825,8 @@ static void frontend_unix_get_env(int *argc, 68 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], base_path, 69 + "core_info", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 70 + #else 71 + - fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], base_path, 72 + - "cores", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 73 + + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], "@libretro_info_path@", 74 + + "", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 75 + #endif 76 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_AUTOCONFIG], base_path, 77 + "autoconfig", sizeof(g_defaults.dirs[DEFAULT_DIR_AUTOCONFIG])); 78 + -- 79 + 2.31.1 80 +
+8 -2
pkgs/misc/emulators/retroarch/cores.nix
··· 91 91 --add-flags "-L $COREDIR/${d2u core}_libretro${stdenv.hostPlatform.extensions.sharedLibrary} $@" 92 92 ''; 93 93 94 + enableParallelBuilding = true; 95 + 94 96 passthru = { 95 97 inherit core; 96 98 libretroCore = "/lib/retroarch/cores"; ··· 427 429 core = "mame"; 428 430 description = "Port of MAME to libretro"; 429 431 license = with lib.licenses; [ bsd3 gpl2Plus ]; 430 - 431 432 extraBuildInputs = [ alsa-lib libGLU libGL portaudio python3 xorg.libX11 ]; 432 433 postPatch = '' 433 434 # Prevent the failure during the parallel building of: ··· 443 444 license = "MAME"; 444 445 makefile = "Makefile"; 445 446 makeFlags = lib.optional (!stdenv.hostPlatform.isx86) "IS_X86=0"; 447 + enableParallelBuilding = false; 446 448 }; 447 449 448 450 mame2003 = mkLibRetroCore { ··· 450 452 description = "Port of MAME ~2003 to libretro"; 451 453 license = "MAME"; 452 454 makefile = "Makefile"; 455 + enableParallelBuilding = false; 453 456 }; 454 457 455 458 mame2003-plus = mkLibRetroCore { ··· 457 460 description = "Port of MAME ~2003+ to libretro"; 458 461 license = "MAME"; 459 462 makefile = "Makefile"; 463 + enableParallelBuilding = false; 460 464 }; 461 465 462 466 mame2010 = mkLibRetroCore { ··· 465 469 license = "MAME"; 466 470 makefile = "Makefile"; 467 471 makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "PTR64=1" "ARM_ENABLED=1" "X86_SH2DRC=0" "FORCE_DRC_C_BACKEND=1" ]; 472 + enableParallelBuilding = false; 468 473 }; 469 474 470 475 mame2015 = mkLibRetroCore { ··· 474 479 extraNativeBuildInputs = [ python27 ]; 475 480 extraBuildInputs = [ alsa-lib ]; 476 481 makefile = "Makefile"; 482 + enableParallelBuilding = false; 477 483 }; 478 484 479 485 mame2016 = mkLibRetroCore { ··· 494 500 # make -C 3rdparty/genie/build/gmake.linux -f genie.make obj/Release/src/host/lua-5.3.0/src/lgc.o 495 501 mkdir -p 3rdparty/genie/build/gmake.linux/obj/Release/src/host/lua-5.3.0/src 496 502 ''; 503 + enableParallelBuilding = false; 497 504 }; 498 505 499 506 mesen = mkLibRetroCore { ··· 523 530 src = getCoreSrc "mupen64plus"; 524 531 description = "Libretro port of Mupen64 Plus, GL only"; 525 532 license = lib.licenses.gpl3Only; 526 - 527 533 extraBuildInputs = [ libGLU libGL libpng nasm xorg.libX11 ]; 528 534 makefile = "Makefile"; 529 535 };
+12 -9
pkgs/misc/emulators/retroarch/default.nix
··· 55 55 }; 56 56 57 57 patches = [ 58 - # FIXME: The `retroarch.cfg` file is created once in the first run and only 59 - # updated when needed. However, the file may have out-of-date paths 60 - # In case of issues (e.g.: cores are not loading), please delete the 61 - # `$XDG_CONFIG_HOME/retroarch/retroarch.cfg` file 62 - # See: https://github.com/libretro/RetroArch/issues/13251 63 - ./fix-config.patch 58 + ./0001-Disable-menu_show_core_updater.patch 59 + ./0002-Use-fixed-paths-on-libretro_info_path.patch 64 60 ]; 65 61 66 62 postPatch = '' 67 - substituteInPlace retroarch.cfg \ 63 + substituteInPlace "frontend/drivers/platform_unix.c" \ 68 64 --replace "@libretro_directory@" "$out/lib" \ 69 - --replace "@libretro_info_path@" "$out/share/libretro/info" \ 65 + --replace "@libretro_info_path@" "$out/share/libretro/info" 66 + substituteInPlace "frontend/drivers/platform_darwin.m" \ 67 + --replace "@libretro_directory@" "$out/lib" \ 68 + --replace "@libretro_info_path@" "$out/share/libretro/info" 70 69 ''; 71 70 72 - nativeBuildInputs = [ pkg-config wayland ] ++ 71 + nativeBuildInputs = [ pkg-config ] ++ 72 + optional stdenv.isLinux wayland ++ 73 73 optional withVulkan makeWrapper; 74 74 75 75 buildInputs = [ ffmpeg freetype libxml2 libGLU libGL python3 SDL2 which ] ++ ··· 110 110 license = licenses.gpl3Plus; 111 111 platforms = platforms.all; 112 112 maintainers = with maintainers; [ MP2E edwtjo matthewbauer kolbycrouch thiagokokada ]; 113 + # FIXME: exits with error on macOS: 114 + # No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting 115 + broken = stdenv.isDarwin; 113 116 }; 114 117 }
+13
pkgs/misc/emulators/retroarch/disable-menu-show-core-updater.patch
··· 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.
+28
pkgs/misc/emulators/retroarch/fix-libretro-paths.patch
··· 1 + diff --git a/configuration.c b/configuration.c 2 + index e6a3841324..afb1d6e2ce 100644 3 + --- a/configuration.c 4 + +++ b/configuration.c 5 + @@ -1456,7 +1456,7 @@ static struct config_path_setting *populate_settings_path( 6 + SETTING_PATH("core_options_path", 7 + settings->paths.path_core_options, false, NULL, true); 8 + SETTING_PATH("libretro_info_path", 9 + - settings->paths.path_libretro_info, false, NULL, true); 10 + + settings->paths.path_libretro_info, false, NULL, false); 11 + SETTING_PATH("content_database_path", 12 + settings->paths.path_content_database, false, NULL, true); 13 + SETTING_PATH("cheat_database_path", 14 + diff --git a/frontend/drivers/platform_unix.c b/frontend/drivers/platform_unix.c 15 + index 722e1c595c..e7313ee038 100644 16 + --- a/frontend/drivers/platform_unix.c 17 + +++ b/frontend/drivers/platform_unix.c 18 + @@ -1825,8 +1825,8 @@ static void frontend_unix_get_env(int *argc, 19 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], base_path, 20 + "core_info", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 21 + #else 22 + - fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], base_path, 23 + - "cores", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 24 + + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CORE_INFO], "@libretro_info_path@", 25 + + "", sizeof(g_defaults.dirs[DEFAULT_DIR_CORE_INFO])); 26 + #endif 27 + fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_AUTOCONFIG], base_path, 28 + "autoconfig", sizeof(g_defaults.dirs[DEFAULT_DIR_AUTOCONFIG]));
+1 -3
pkgs/misc/emulators/retroarch/kodi-advanced-launchers.nix
··· 1 - { stdenv, pkgs, lib, cores, runtimeShell }: 2 - 3 - assert cores != []; 1 + { stdenv, pkgs, lib, runtimeShell, cores ? [ ] }: 4 2 5 3 let 6 4
+15
pkgs/misc/emulators/wine/cert-path-6.21.patch
··· 1 + diff --git a/dlls/crypt32/unixlib.c b/dlls/crypt32/unixlib.c 2 + index 7cb521eb98b..5804b88be84 100644 3 + --- a/dlls/crypt32/unixlib.c 4 + +++ b/dlls/crypt32/unixlib.c 5 + @@ -654,6 +654,10 @@ static void load_root_certs(void) 6 + 7 + for (i = 0; i < ARRAY_SIZE(CRYPT_knownLocations) && list_empty(&root_cert_list); i++) 8 + import_certs_from_path( CRYPT_knownLocations[i], TRUE ); 9 + + 10 + + char *nix_cert_file = getenv("NIX_SSL_CERT_FILE"); 11 + + if (nix_cert_file != NULL) 12 + + import_certs_from_path(nix_cert_file, TRUE); 13 + } 14 + 15 + static NTSTATUS enum_root_certs( void *args )
+4 -4
pkgs/misc/emulators/wine/sources.nix
··· 44 44 45 45 unstable = fetchurl rec { 46 46 # NOTE: Don't forget to change the SHA256 for staging as well. 47 - version = "6.20"; 47 + version = "6.22"; 48 48 url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; 49 - sha256 = "0wc4a8slb3k859sdw9wwy92zc4pq7xw1kbq4frnxbzbvkiz26a20"; 49 + sha256 = "sha256-gmBCoYGph5cyo9rLv4FnYF8wUpG/z6r16qDslSXXZO8="; 50 50 inherit (stable) gecko32 gecko64; 51 51 52 52 ## see http://wiki.winehq.org/Mono ··· 58 58 59 59 patches = [ 60 60 # Also look for root certificates at $NIX_SSL_CERT_FILE 61 - ./cert-path.patch 61 + ./cert-path-6.21.patch 62 62 ]; 63 63 }; 64 64 65 65 staging = fetchFromGitHub rec { 66 66 # https://github.com/wine-staging/wine-staging/releases 67 67 inherit (unstable) version; 68 - sha256 = "12fvfn77rsqwdprkxiylq09jc81lq34bm8p1zhhn85q6yawpjlbn"; 68 + sha256 = "sha256-dGyaos6xITiAQdU65/PJQKRl5Rr5xBpgQhXii9iwb+E="; 69 69 owner = "wine-staging"; 70 70 repo = "wine-staging"; 71 71 rev = "v${version}";
+7
pkgs/servers/http/trafficserver/default.nix
··· 63 63 url = "https://github.com/apache/trafficserver/commit/19d3af481cf74c91fbf713fc9d2f8b138ed5fbaf.diff"; 64 64 sha256 = "0z1ikgpp00rzrrcqh97931586yn9wbksgai9xlkcjd5cg8gq0150"; 65 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 + }) 66 73 ]; 67 74 68 75 # 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 }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libuuid, libselinux 2 + , e2fsprogs }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 pname = "nilfs-utils"; ··· 14 15 nativeBuildInputs = [ autoreconfHook ]; 15 16 16 17 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 + ''; 17 24 18 25 # According to upstream, libmount should be detected automatically but the 19 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 8 , gdk-pixbuf 9 9 , atk 10 10 , gtk3 11 + , testVersion 12 + , czkawka 11 13 }: 12 14 13 15 rustPlatform.buildRustPackage rec { 14 16 pname = "czkawka"; 15 - version = "3.2.0"; 17 + version = "3.3.0"; 16 18 17 19 src = fetchFromGitHub { 18 20 owner = "qarmin"; 19 - repo = pname; 21 + repo = "czkawka"; 20 22 rev = version; 21 - sha256 = "sha256-OBe6nk5C3kO5Lkas9+G+VY3xAzY7SWx8W5CkSbaYJ9Y="; 23 + sha256 = "0mikgnsqxj8dgapr2k7i9i8mmsza15kp4nasyd6l1vp2cqy8aki6"; 22 24 }; 23 25 24 - cargoSha256 = "sha256-Jghkf1mX5ic7zB2KmtOZbSxgF8C6KjRdGG1Yt+dzylI="; 26 + cargoSha256 = "009zfy4lk8y51h1wi71mrjp6kc7xnk3r8jlbxvhyqslhqd9w10fv"; 25 27 26 28 nativeBuildInputs = [ 27 29 pkg-config ··· 36 38 gtk3 37 39 ]; 38 40 41 + passthru.tests.version = testVersion { 42 + package = czkawka; 43 + command = "czkawka_cli --version"; 44 + }; 45 + 39 46 meta = with lib; { 40 47 description = "A simple, fast and easy to use app to remove unnecessary files from your computer"; 41 48 homepage = "https://github.com/qarmin/czkawka"; 42 49 license = with licenses; [ mit ]; 43 - maintainers = with maintainers; [ yanganto ]; 50 + maintainers = with maintainers; [ yanganto _0x4A6F ]; 44 51 }; 45 52 }
+4
pkgs/tools/networking/cdpr/default.nix
··· 9 9 sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj"; 10 10 }; 11 11 12 + postPatch = '' 13 + substituteInPlace Makefile --replace 'gcc' '"$$CC"' 14 + ''; 15 + 12 16 buildInputs = [ libpcap ]; 13 17 14 18 installPhase = ''
+3 -1
pkgs/top-level/aliases.nix
··· 788 788 qt-3 = throw "qt-3 has been removed from nixpkgs, as it's unmaintained and insecure"; # added 2021-02-15 789 789 rfkill = throw "rfkill has been removed, as it's included in util-linux"; # added 2020-08-23 790 790 riak-cs = throw "riak-cs is not maintained anymore"; # added 2020-10-14 791 - ring-daemon = jami-daemon; #added 2021-10-26 791 + ring-daemon = jami-daemon; # added 2021-10-26 792 792 radare2-cutter = cutter; # added 2021-03-30 793 793 redkite = throw "redkite was archived by upstream"; # added 2021-04-12 794 + retroArchCores = throw "retroArchCores has been removed. Please use overrides instead, e.g.: `retroarch.override { cores = with libretro; [ ... ]; }`"; # added 2021-11-19 794 795 rkt = throw "rkt was archived by upstream"; # added 2020-05-16 795 796 rpiboot-unstable = rpiboot; # added 2021-07-30 796 797 rtv = throw "rtv was archived by upstream. Consider using tuir, an actively maintained fork"; # added 2021-08-08 ··· 993 994 wireshark-gtk = throw "wireshark-gtk is not supported anymore. Use wireshark-qt or wireshark-cli instead."; # added 2019-11-18 994 995 wireguard = wireguard-tools; # added 2018-05-19 995 996 morituri = whipper; # added 2018-09-13 997 + xbmc-retroarch-advanced-launchers = kodi-retroarch-advanced-launchers; # added 2021-11-19 996 998 xp-pen-g430 = pentablet-driver; # added 2020-05-03 997 999 xdg_utils = xdg-utils; # added 2021-02-01 998 1000 xfceUnstable = xfce4-14; # added 2019-09-17
+14 -99
pkgs/top-level/all-packages.nix
··· 3266 3266 3267 3267 marlin-calc = callPackage ../tools/misc/marlin-calc {}; 3268 3268 3269 - masscan = callPackage ../tools/security/masscan { 3270 - stdenv = gccStdenv; 3271 - }; 3269 + masscan = callPackage ../tools/security/masscan { }; 3272 3270 3273 3271 massren = callPackage ../tools/misc/massren { }; 3274 3272 ··· 8834 8832 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit; 8835 8833 }; 8836 8834 8837 - rig = callPackage ../tools/misc/rig { 8838 - stdenv = gccStdenv; 8839 - }; 8835 + rig = callPackage ../tools/misc/rig { }; 8840 8836 8841 8837 riseup-vpn = libsForQt5.callPackage ../tools/networking/bitmask-vpn { 8842 8838 provider = "riseup"; ··· 9627 9623 9628 9624 synapse-admin = callPackage ../tools/admin/synapse-admin {}; 9629 9625 9630 - sl = callPackage ../tools/misc/sl { stdenv = gccStdenv; }; 9626 + sl = callPackage ../tools/misc/sl { }; 9631 9627 9632 9628 socat = callPackage ../tools/networking/socat { }; 9633 9629 ··· 12061 12057 psc-package = callPackage ../development/compilers/purescript/psc-package { }; 12062 12058 12063 12059 purescript-psa = nodePackages.purescript-psa; 12060 + 12061 + purenix = haskell.lib.compose.justStaticExecutables haskellPackages.purenix; 12064 12062 12065 12063 spago = callPackage ../development/tools/purescript/spago { }; 12066 12064 ··· 29124 29122 29125 29123 wp-cli = callPackage ../development/tools/wp-cli { }; 29126 29124 29127 - retroArchCores = 29128 - let 29129 - cfg = config.retroarch or {}; 29130 - inherit (lib) optional; 29131 - in with libretro; 29132 - ([ ] 29133 - ++ optional (cfg.enableAtari800 or false) atari800 29134 - ++ optional (cfg.enableBeetleGBA or false) beetle-gba 29135 - ++ optional (cfg.enableBeetleLynx or false) beetle-lynx 29136 - ++ optional (cfg.enableBeetleNGP or false) beetle-ngp 29137 - ++ optional (cfg.enableBeetlePCEFast or false) beetle-pce-fast 29138 - ++ optional (cfg.enableBeetlePCFX or false) beetle-pcfx 29139 - ++ optional (cfg.enableBeetlePSX or false) beetle-psx 29140 - ++ optional (cfg.enableBeetlePSXHW or false) beetle-psx-hw 29141 - ++ optional (cfg.enableBeetleSaturn or false) beetle-saturn 29142 - ++ optional (cfg.enableBeetleSaturnHW or false) beetle-saturn-hw 29143 - ++ optional (cfg.enableBeetleSNES or false) beetle-snes 29144 - ++ optional (cfg.enableBeetleSuperGrafx or false) beetle-supergrafx 29145 - ++ optional (cfg.enableBeetleWswan or false) beetle-wswan 29146 - ++ optional (cfg.enableBeetleVB or false) beetle-vb 29147 - ++ optional (cfg.enableBlueMSX or false) bluemsx 29148 - ++ optional (cfg.enableBsnesMercury or false) bsnes-mercury 29149 - ++ optional (cfg.enableCitra or false) citra 29150 - ++ optional (cfg.enableDesmume or false) desmume 29151 - ++ optional (cfg.enableDesmume2015 or false) desmume2015 29152 - ++ optional (cfg.enableDolphin or false) dolphin 29153 - ++ optional (cfg.enableDOSBox or false) dosbox 29154 - ++ optional (cfg.enableEightyOne or false) eightyone 29155 - ++ optional (cfg.enableFBAlpha2012 or false) fbalpha2012 29156 - ++ optional (cfg.enableFBNeo or false) fbneo 29157 - ++ optional (cfg.enableFceumm or false) fceumm 29158 - ++ optional (cfg.enableFlycast or false) flycast 29159 - ++ optional (cfg.enableFMSX or false) fmsx 29160 - ++ optional (cfg.enableFreeIntv or false) freeintv 29161 - ++ optional (cfg.enableGambatte or false) gambatte 29162 - ++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx 29163 - ++ optional (cfg.enableGpsp or false) gpsp 29164 - ++ optional (cfg.enableGW or false) gw 29165 - ++ optional (cfg.enableHandy or false) handy 29166 - ++ optional (cfg.enableHatari or false) hatari 29167 - ++ optional (cfg.enableMAME or false) mame 29168 - ++ optional (cfg.enableMAME2000 or false) mame2000 29169 - ++ optional (cfg.enableMAME2003 or false) mame2003 29170 - ++ optional (cfg.enableMAME2003Plus or false) mame2003-plus 29171 - ++ optional (cfg.enableMAME2010 or false) mame2010 29172 - ++ optional (cfg.enableMAME2015 or false) mame2015 29173 - ++ optional (cfg.enableMAME2016 or false) mame2016 29174 - ++ optional (cfg.enableMesen or false) mesen 29175 - ++ optional (cfg.enableMeteor or false) meteor 29176 - ++ optional (cfg.enableMGBA or false) mgba 29177 - ++ optional (cfg.enableMupen64Plus or false) mupen64plus 29178 - ++ optional (cfg.enableNeoCD or false) neocd 29179 - ++ optional (cfg.enableNestopia or false) nestopia 29180 - ++ optional (cfg.enableNP2kai or false) np2kai 29181 - ++ optional (cfg.enableO2EM or false) o2em 29182 - ++ optional (cfg.enableOpera or false) opera 29183 - ++ optional (cfg.enableParallelN64 or false) parallel-n64 29184 - ++ optional (cfg.enablePCSXRearmed or false) pcsx_rearmed 29185 - ++ optional (cfg.enablePicodrive or false) picodrive 29186 - ++ optional (cfg.enablePlay or false) play 29187 - ++ optional (cfg.enablePPSSPP or false) ppsspp 29188 - ++ optional (cfg.enablePrboom or false) prboom 29189 - ++ optional (cfg.enableProSystem or false) prosystem 29190 - ++ optional (cfg.enableQuickNES or false) quicknes 29191 - ++ optional (cfg.enableSameBoy or false) sameboy 29192 - ++ optional (cfg.enableScummVM or false) scummvm 29193 - ++ optional (cfg.enableSMSPlusGX or false) smsplus-gx 29194 - ++ optional (cfg.enableSnes9x or false) snes9x 29195 - ++ optional (cfg.enableSnes9x2002 or false) snes9x2002 29196 - ++ optional (cfg.enableSnes9x2005 or false) snes9x2005 29197 - ++ optional (cfg.enableSnes9x2010 or false) snes9x2010 29198 - ++ optional (cfg.enableStella or false) stella 29199 - ++ optional (cfg.enableStella2014 or false) stella2014 29200 - ++ optional (cfg.enableTGBDual or false) tgbdual 29201 - ++ optional (cfg.enableThePowderToy or false) the-powder-toy 29202 - ++ optional (cfg.enableTIC80 or false) tic80 29203 - ++ optional (cfg.enableVbaNext or false) vba-next 29204 - ++ optional (cfg.enableVbaM or false) vba-m 29205 - ++ optional (cfg.enableVecx or false) vecx 29206 - ++ optional (cfg.enableVirtualJaguar or false) virtualjaguar 29207 - ++ optional (cfg.enableYabause or false) yabause 29208 - ); 29209 - 29210 - wrapRetroArch = { retroarch }: callPackage ../misc/emulators/retroarch/wrapper.nix { 29211 - inherit retroarch; 29212 - cores = retroArchCores; 29213 - }; 29214 - 29215 29125 wsjtx = qt5.callPackage ../applications/radio/wsjtx { }; 29216 29126 29217 29127 wxhexeditor = callPackage ../applications/editors/wxhexeditor { ··· 29291 29201 kodi-cli = callPackage ../tools/misc/kodi-cli { }; 29292 29202 29293 29203 kodi-retroarch-advanced-launchers = 29294 - callPackage ../misc/emulators/retroarch/kodi-advanced-launchers.nix { 29295 - cores = retroArchCores; 29296 - }; 29297 - xbmc-retroarch-advanced-launchers = kodi-retroarch-advanced-launchers; 29204 + callPackage ../misc/emulators/retroarch/kodi-advanced-launchers.nix { }; 29298 29205 29299 29206 xca = libsForQt5.callPackage ../applications/misc/xca { }; 29300 29207 ··· 32867 32774 inherit (darwin.apple_sdk.frameworks) AppKit Foundation; 32868 32775 }; 32869 32776 32777 + wrapRetroArch = { retroarch }: callPackage ../misc/emulators/retroarch/wrapper.nix { 32778 + inherit retroarch; 32779 + }; 32780 + 32870 32781 retroarch = wrapRetroArch { retroarch = retroarchBare; }; 32782 + 32783 + retroarchFull = retroarch.override { 32784 + cores = builtins.filter (c: c ? libretroCore) (builtins.attrValues libretro); 32785 + }; 32871 32786 32872 32787 libretro = recurseIntoAttrs (callPackage ../misc/emulators/retroarch/cores.nix { 32873 32788 retroarch = retroarchBare;