jiebi/CodeConvo huggingface dataset:
Change:
Attempting to install (3DS Emulator) and (Switch Emulator) at the same time is not currently possible without changing the priority of one of the packages. Correct me if I'm wrong, but shouldn't the cmake files not be included in the final output, for either package? Steps to reproduce the behavior: to install both packages side by side They install and work side by side. (They did previously, I'm not sure exactly when that stopped being the case) I'm installing both via Home Manager, but afaik that shouldn't cause any huge issues. Both packages seem to be maintained by the same four people: ashley / ivar / joshuafern / sbruder / <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result.
I take it this is an upstream issue?
No idea. I just know they're not there anymore. Maybe this? Comparing:

Discussion:
{ branch <del> , libsForQt5 </del> <ins> , qt6Packages </ins> , fetchFromGitHub , fetchurl }: let <del> # Fetched from https://api.citra-emu.org/gamedb, last updated 2022-05-02 </del> <ins> # Fetched from https://api.citra-emu.org/gamedb </ins> # Please make sure to update this when updating citra! compat-list = fetchurl { name = "citra-compat-list"; <del> url = "https://web.archive.org/web/20220502114622/https://api.citra-emu.org/gamedb/"; sha256 = "sha256-blIlaYaUQjw7Azgg+Dd7ZPEQf+ddZMO++Yxinwe+VG0="; </del> <ins> url = "https://web.archive.org/web/20230512234055/https://api.citra-emu.org/gamedb/"; hash = "sha256-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU="; </ins> }; in { <del> nightly = libsForQt5.callPackage ./generic.nix rec { </del> <ins> nightly = qt6Packages.callPackage ./generic.nix rec { </ins> pname = "citra-nightly"; <del> version = "1873"; </del> <ins> version = "1907"; </ins> src = fetchFromGitHub { owner = "citra-emu"; repo = "citra-nightly"; rev = "nightly-${version}"; <del> sha256 = "1csn9n1s2mvxwk2mahwm8mc4zgn40im374hcsqgz8gaxjkmnx288"; </del> <ins> sha256 = "l4pqok42/ybnRX90Qwhcgm2JR4/9C5bbCTk3j4QuWtw="; </ins> fetchSubmodules = true; }; inherit branch compat-list; }; <del> canary = libsForQt5.callPackage ./generic.nix rec { </del> <ins> canary = qt6Packages.callPackage ./generic.nix rec { </ins> pname = "citra-canary"; <del> version = "2440"; </del> <ins> version = "2484"; </ins> src = fetchFromGitHub { owner = "citra-emu"; repo = "citra-canary"; rev = "canary-${version}"; <del> sha256 = "06f2qnvywyaf8jc43jrzjhfshj3k21ggk8wdrvd9wjsmrryvqgbz"; </del> <ins> sha256 = "IgCpqt3rKV9IqNstF4QwnJlE3hPH+BkIhaOvEmshh0U="; </ins> fetchSubmodules = true; };

"-DCITRA_USE_BUNDLED_FFMPEG=OFF" "-DCITRA_USE_BUNDLED_QT=OFF" "-DUSE_SYSTEM_SDL2=ON" <ins> "-DCMAKE_INSTALL_INCLUDEDIR=include" "-DCMAKE_INSTALL_LIBDIR=lib" </ins> # We dont want to bother upstream with potentially outdated compat reports "-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON"
Change:
The OpenRGB module () puts an configuration file and directory in the root of the filesystem. Steps to reproduce the behavior: the service I would expect the configuration to go into or something, and logs into . The current behaviour is surprising and works poorly with root-as-tmpfs configurations. This is the code responsible for working out where to put the OpenRGB config: (see also ) I suspect setting XDGCONFIGHOME or even just putting $PWD as would go some way towards fixing this.
looks like setting to something reasonable should do the trick. Kind of surprised this isn't the default behavior. ... after some searching... I guess it is the default behavior for user unit files, but currently we only have this packaged as a system unit file. I see two paths: Configure openrgb service as a user service (will require some work to get devices to be writable by user service) Just set to something reasonable like . Should probably set to be something similar incase they are following other XDG paths.
attempted to make a pr for this, githubs made it a nightmare so ill leave the relavent change here an unrelated to this issue change from that PR attempt is amd i2c module name is not

Discussion:
services.udev.packages = [ cfg.package ]; boot.kernelModules = [ "i2c-dev" ] <del> ++ lib.optionals (cfg.motherboard == "amd") [ "i2c-piix" ] </del> <ins> ++ lib.optionals (cfg.motherboard == "amd") [ "i2c-piix4" ] </ins> ++ lib.optionals (cfg.motherboard == "intel") [ "i2c-i801" ]; systemd.services.openrgb = { description = "OpenRGB server daemon"; wantedBy = [ "multi-user.target" ]; serviceConfig = { <ins> StateDirectory = "OpenRGB"; WorkingDirectory = "/var/lib/OpenRGB"; </ins> ExecStart = "${cfg.package}/bin/openrgb --server --server-port ${toString cfg.server.port}"; Restart = "always"; };
Change:
Project description This package creates a quaternion type in python, and further enables numpy to create and manipulate arrays of quaternions. The usual algebraic operations (addition and multiplication) are available, along with numerous properties like norm and various types of distance measures between two quaternions. There are also additional functions like “squad” and “slerp” interpolation, and conversions to and from axis-angle, matrix, and Euler-angle representations of rotations. The core of the code is written in C for speed. Metadata homepage URL: source URL: license: mit, platforms: unix, linux, darwin, python

Discussion:
<ins> { lib , buildPythonPackage , fetchFromGitHub , oldest-supported-numpy , scipy , numba }: buildPythonPackage rec { pname = "quaternion"; version = "2022.4.3"; format = "pyproject"; src = fetchFromGitHub { owner = "moble"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-iLjVQ6eGwpLQXi8Sr5ShJdXMqYNclGEuq/oxR4ExDLA="; }; propagatedBuildInputs = [ oldest-supported-numpy numba scipy ]; meta = with lib; { description = "A package add built-in support for quaternions to numpy"; homepage = "https://github.com/moble/quaternion"; license = licenses.mit; maintainers = [ maintainers.ocfox ]; }; } </ins>

quart-cors = callPackage ../development/python-modules/quart-cors { }; <ins> quaternion = callPackage ../development/python-modules/quaternion { }; </ins> qudida = callPackage ../development/python-modules/qudida { }; querystring_parser = callPackage ../development/python-modules/querystring-parser { };
Change:
Steps to reproduce the behavior: `nix-build '<nixpkgs' -A Fails since /cc

Discussion:
{ lib <ins> , atom </ins> , buildPythonPackage <ins> , bytecode , cppy </ins> , fetchFromGitHub <del> , setuptools-scm , atom , ply </del> , kiwisolver <ins> , pegen , ply </ins> , qtpy <ins> , setuptools , setuptools-scm , pythonOlder </ins> , sip_4 <del> , cppy , bytecode </del> }: buildPythonPackage rec { pname = "enaml"; version = "0.16.0"; <ins> format = "pyproject"; disabled = pythonOlder "3.8"; </ins> src = fetchFromGitHub { owner = "nucleic";

hash = "sha256-0W5FWGS4vu5+O6/C4El60QDsRNj+P4xGQ62NdkfJd5I="; }; <ins> SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ setuptools setuptools-scm ]; propagatedBuildInputs = [ atom bytecode cppy kiwisolver pegen ply qtpy sip_4 ]; </ins> # qt bindings cannot be found during tests doCheck = false;

"enaml.workbench" ]; <del> nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ atom ply kiwisolver qtpy sip_4 cppy bytecode ]; SETUPTOOLS_SCM_PRETEND_VERSION = version; </del> meta = with lib; { <del> homepage = "https://github.com/nucleic/enaml"; </del> description = "Declarative User Interfaces for Python"; <ins> homepage = "https://github.com/nucleic/enaml"; changelog = "https://github.com/nucleic/enaml/releases/tag/${version}"; </ins> license = licenses.bsd3; maintainers = with maintainers; [ raboof ]; };

<ins> { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , pythonOlder , setuptools , setuptools-scm }: buildPythonPackage rec { pname = "pegen"; version = "0.2.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "we-like-parsers"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-5nxOMgkDAkHtVFSNXf0SPoag6/E7b97eVnFoAqyJE3g="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ setuptools setuptools-scm ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pegen" ]; meta = with lib; { description = "Library to generate PEG parsers"; homepage = "https://github.com/we-like-parsers/pegen"; changelog = "https://github.com/we-like-parsers/pegen/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } </ins>

peaqevcore = callPackage ../development/python-modules/peaqevcore { }; <ins> pegen = callPackage ../development/python-modules/pegen { }; </ins> pebble = callPackage ../development/python-modules/pebble { }; pecan = callPackage ../development/python-modules/pecan { };
Change:
Steps to reproduce the behavior: Depends on: [x]
ping, i think this can be closed as it builds on latest master
Thanks, indeed!

Discussion:
, enaml , pyqtgraph , pythonocc-core <ins> , typing-extensions </ins> }: buildPythonPackage rec {

# Until https://github.com/inkcut/inkcut/issues/105 perhaps pyqtgraph pythonocc-core <ins> typing-extensions </ins> ]; # qt_occ_viewer test requires enaml.qt.QtOpenGL which got dropped somewhere

stdenv.mkDerivation rec { pname = "pythonocc-core"; <del> version = "7.7.0"; </del> <ins> version = "7.6.2"; </ins> src = fetchFromGitHub { owner = "tpaviot"; repo = "pythonocc-core"; rev = "refs/tags/${version}"; <del> hash = "sha256-YybpwiCeBnwZfYS6ZxUbycHFn2DlqYxcNMylRN5ihFM="; </del> <ins> hash = "sha256-45pqPQ07KYlpFwJSAYVHbzuqDQTbAvPpxReal52DCzU="; </ins> }; postPatch = ''
Change:
Package name: Latest released version: 1.1.0 <!-- Search your package here: --- Current version on the unstable channel: 1.0.0 Current version on the stable/release channel: 1.0.0 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers Note for maintainers: Please tag this issue in your PR.

Discussion:
{ lib , buildPythonPackage , fetchPypi <del> , mock , nose </del> <ins> , pytestCheckHook , pythonOlder </ins> , requests <del> , yanc </del> }: buildPythonPackage rec { pname = "ovh"; <del> version = "1.0.0"; </del> <ins> version = "1.1.0"; </ins> format = "setuptools"; <ins> disabled = pythonOlder "3.7"; </ins> src = fetchPypi { inherit pname version; <del> hash = "sha256-IQzwu0gwfPNPOLQLCO99KL5Hu2094Y+acQBFXVGzHhU="; </del> <ins> hash = "sha256-EI+bWjtHEZPOSkWJx3gvS8y//gugMWl3TrBHKsKO9nk="; </ins> }; propagatedBuildInputs = [ requests ]; <del> preCheck = '' export HOME=$(mktemp -d) ''; </del> nativeCheckInputs = [ <del> mock nose yanc </del> <ins> pytestCheckHook </ins> ]; <del> # requires network checkPhase = '' nosetests .  -e test_config_get_conf  -e test_config_get_custom_conf  -e test_endpoints  -e test_init_from_custom_config ''; </del> <ins> pythonImportsCheck = [ "ovh" ]; disabledTests = [ # Tests require network access "test_config_from_files" "test_config_from_given_config_file" "test_config_from_invalid_ini_file" "test_config_from_only_one_file" "test_endpoints" ]; </ins> <del> meta = { </del> <ins> meta = with lib; { </ins> description = "Thin wrapper around OVH's APIs"; homepage = "https://github.com/ovh/python-ovh"; <del> license = lib.licenses.bsd2; maintainers = [ lib.maintainers.makefu ]; </del> <ins> changelog = "https://github.com/ovh/python-ovh/blob/v${version}/CHANGELOG.md"; license = licenses.bsd2; maintainers = with maintainers; [ makefu ]; </ins> }; }
Change:
Project description as a substitute of librime, librime-lua add lua engine to librime, so we can extend rime by lua. Many schemas of rime use librime-lua but not rime. So please add librime-lua. Metadata homepage URL: source URL: license: bsd3 platforms: linux
I do not think we have in Nixpkgs. Let's reopen this.

Discussion:
<ins> { lib, stdenvNoCC, fetchFromGitHub, unstableGitUpdater, lua, }: stdenvNoCC.mkDerivation { pname = "librime-lua"; version = "0-unstable-2024-05-19"; src = fetchFromGitHub { owner = "hchunhui"; repo = "librime-lua"; rev = "7be6974b6d81c116bba39f6707dc640f6636fa4e"; hash = "sha256-jsrnAFE99d0U0LdddTL7G1p416qJfSNR935TZFH3Swk="; }; propagatedBuildInputs = [ lua ]; installPhase = '' runHook preInstall mkdir $out cp --archive --verbose src/ $out install --mode=644 --verbose --target-directory=$out CMakeLists.txt  LICENSE  README.md runHook postInstall ''; passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; meta = { description = "Extending RIME with Lua scripts"; homepage = "https://github.com/hchunhui/librime-lua"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ linj xddxdd ]; }; } </ins>

{ lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc, <del> yaml-cpp, gtest, capnproto, pkg-config, plugins ? [ ] }: </del> <ins> yaml-cpp, gtest, capnproto, pkg-config, librime-lua, plugins ? [ librime-lua ] }: </ins> let copySinglePlugin = plug: "cp -r ${plug} plugins/${plug.name}";
Change:
Manually generating for services like nginx is error-prone and undermines the beautify of declarative configuration. It would be very helpful if services like nginx could generate their own on first initialization. This is especially helpful in the context of large deployments (with nixops, for example) where generating separate params for each server is very tedious. cc

Discussion:
./security/audit.nix ./security/ca.nix ./security/chromium-suid-sandbox.nix <ins> ./security/dhparams.nix </ins> ./security/duosec.nix ./security/grsecurity.nix ./security/hidepid.nix

<ins> { config, lib, pkgs, ... }: with lib; let cfg = config.security.dhparams; in { options = { security.dhparams = { params = mkOption { description = '' Diffie-Hellman parameters to generate. The value is the size (in bits) of the DH params to generate. The generated DH params path can be found in <filename><replaceable>security.dhparams.path</replaceable>/<replaceable>name</replaceable>.pem</filename>. Note: The name of the DH params is taken as being the name of the service it serves: the params will be generated before the said service is started. ''; type = with types; attrsOf int; default = {}; example = { nginx = 3072; }; }; path = mkOption { description = '' Path to the directory in which Diffie-Hellman parameters will be stored. ''; type = types.str; default = "/var/lib/dhparams"; }; }; }; config.systemd.services = { dhparams-init = { description = "Cleanup old Diffie-Hellman parameters"; wantedBy = [ "multi-user.target" ]; # Clean up even when no DH params is set serviceConfig.Type = "oneshot"; script = # Create directory '' if [ ! -d ${cfg.path} ]; then mkdir -p ${cfg.path} fi '' + # Remove old dhparams '' for file in ${cfg.path}/*; do if [ ! -f "$file" ]; then continue fi '' + concatStrings (mapAttrsToList (name: value: '' if [ "$file" == "${cfg.path}/${name}.pem" ] &&  ${pkgs.openssl}/bin/openssl dhparam -in "$file" -text | head -n 1 | grep "(${toString value} bit)" > /dev/null; then continue fi '' ) cfg.params) + '' rm $file done # TODO: Ideally this would be removing the *former* cfg.path, though this # does not seem really important rmdir -p --ignore-fail-on-non-empty ${cfg.path} ''; }; } // mapAttrs' (name: value: nameValuePair "dhparams-gen-${name}" { description = "Generate Diffie-Hellman parameters for ${name} if they don't exist yet"; after = [ "dhparams-init.service" ]; before = [ "${name}.service" ]; wantedBy = [ "multi-user.target" ]; serviceConfig.Type = "oneshot"; script = '' mkdir -p ${cfg.path} if [ ! -f ${cfg.path}/${name}.pem ]; then ${pkgs.openssl}/bin/openssl dhparam -out ${cfg.path}/${name}.pem ${toString value} fi ''; }) cfg.params; } </ins>
Change:
Project description Tmuxifier allows you to easily create, edit, and load "layout" (template) files, which are simple shell scripts where you use the tmux command and helper commands provided by tmuxifier to manage Tmux sessions and windows. Cool demo video: <!-- Describe the project a little: --Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin,
Maybe the maintainers can add this? Maybe as a tmux option? ?

Discussion:
githubId = 7121530; name = "Wolf Honoré"; }; <ins> wigust = { name = "Oleg Pykhalov"; email = "go.wigust@gmail.com"; github = "wigust"; githubId = 7709598; keys = [{ # primary: "C955 CC5D C048 7FB1 7966  40A9 199A F6A3 67E9 4ABB" fingerprint = "7238 7123 8EAC EB63 4548  5857 167F 8EA5 001A FA9C"; }]; }; </ins> wildsebastian = { name = "Sebastian Wild"; email = "sebastian@wild-siena.com";

<ins> { lib, stdenv, fetchFromGitHub, installShellFiles }: stdenv.mkDerivation rec { pname = "tmuxifier"; version = "0.13.0"; src = fetchFromGitHub { owner = "jimeh"; repo = "tmuxifier"; rev = "v${version}"; hash = "sha256-7TvJnvtZEo5h45PcSy3tJN09UblswV0mQbTaKjgLyqw="; }; nativeBuildInputs = [ installShellFiles ]; dontBuild = true; installPhase = '' runHook preInstall sed -i "s@set -e@TMUXIFIER=$outnTMUXIFIER_LAYOUT_PATH="''${TMUXIFIER_LAYOUT_PATH:-$HOME/.tmux-layouts}"nset -e@"  bin/tmuxifier sed -i "s@$TMUXIFIER/lib/@$TMUXIFIER/lib/tmuxifier/@g"  bin/tmuxifier libexec/* lib/* sed -i "s@$TMUXIFIER/templates/@$TMUXIFIER/share/tmuxifier/templates/@g; s@$TMUXIFIER/init.@$TMUXIFIER/share/tmuxifier/init/init.@g"  libexec/* sed -i "s@$TMUXIFIER/completion/tmuxifier.bash@$TMUXIFIER/share/bash-completion/completions/tmuxifier.bash@g; s@$TMUXIFIER/completion/tmuxifier.zsh@$TMUXIFIER/share/zsh/site-functions/_tmuxifier@g"  init.sh sed -i "s@$TMUXIFIER/completion/tmuxifier.tcsh@$TMUXIFIER/share/tmuxifier/completion/tmuxifier.tcsh@g"  init.tcsh sed -i "s@$TMUXIFIER/completion/tmuxifier.fish@$TMUXIFIER/share/fish/vendor_completions.d/tmuxifier.fish@g"  init.fish install -t $out/bin -Dm555 bin/tmuxifier install -t $out/share/tmuxifier/init -Dm444 init.fish init.sh init.tcsh install -t $out/share/tmuxifier/templates -Dm444 templates/* install -t $out/lib/tmuxifier -Dm444 lib/* cp -r libexec $out installShellCompletion --cmd tmuxifier  --bash completion/tmuxifier.bash  --fish completion/tmuxifier.fish  --zsh completion/tmuxifier.zsh install -t $out/share/tmuxifier/completion -Dm444 completion/tmuxifier.tcsh runHook postInstall ''; meta = with lib; { description = "Powerful session, window & pane management for Tmux"; homepage = "https://github.com/jimeh/tmuxifier"; license = licenses.mit; mainProgram = "tmuxifier"; maintainers = with maintainers; [ wigust ]; platforms = platforms.unix; }; } </ins>
Change:
My guess is that following commit , some rules/paths have changed and during Cloudfare warp installation, auto-patchelf does not find the file. I've not found a similar report. Sorry if it is a duplicate. Steps to reproduce the behavior: -shell -p cloudfare-warp Cloudfare warp should install. N/A since you're listed as the cloudfare-warp maintainer :)

Discussion:
copyDesktopItems ]; <del> buildInputs = [ dbus ]; </del> <ins> buildInputs = [ dbus stdenv.cc.cc.lib ]; </ins> desktopItems = [ (makeDesktopItem {
Change:
Tutanota fail to start, i'm pretty sure I started tutanota a few days ago without an error but I can not guarantee, it would be strange as the derivation did not change since then (i update every day). Looks like it complains about a missing FileChooser interface. I'll look into it in the following days. Run in terminal. Tutanota is starting without errors. Here is my output when running in the shell The process hang there, whithout closing. If it's relevant, i'm on Wayland (sway), and i'm on channel unstable.
Can confirm I'm seeing the same issue when building from nixpkgs-unstable.
Luckily it was just adding to the LDLIBRARYPATH. From there I get a working window. Posting PR soon.
Great ! Thank you for the quick response and for maintaining the tutanota derivation !!

Discussion:
$out/bin/tutanota-desktop  --add-flags $out/share/tutanota-desktop/resources/app.asar  --run "mkdir -p /tmp/tutanota"  <del> --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]} </del> <ins> --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret stdenv.cc.cc.lib ]} </ins> runHook postInstall '';
Change:
Using the file manager in chirp (specifically the version used in nixpkgs-unstable) causes the program to crash Console errors: Similar issues seem to have been fixed with wrapGAppsHook, but I can't seem to figure it out. Steps to reproduce the behavior: from nixpkgs-unstable to open a file via the file-open dialogue, or try to save a file. The program does not crash, allows file saving and loading. None listed so pinging last few contributors: Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
I can't reproduce the issue on both GNOME 44 and Xfce 4.18, so I'm not sure what the solution is. But maybe adding both and to would help?
Using i3wm myself. Adding to the package (with the appropriate argument lines at the top) results in the same error
Oh! Adding wrapGAppshook to nativebuildInputs as well as the above change seems to fix it.

Discussion:
{ lib , fetchFromGitHub <ins> , glib , gsettings-desktop-schemas </ins> , python3 , unstableGitUpdater <ins> , wrapGAppsHook </ins> }: python3.pkgs.buildPythonApplication rec {

rev = "33402b7c545c5a92b7042369867e7eb75ef32a59"; hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU="; }; <ins> buildInputs = [ glib gsettings-desktop-schemas ]; nativeBuildInputs = [ wrapGAppsHook ]; </ins> propagatedBuildInputs = with python3.pkgs; [ future pyserial
Change:
Steps to reproduce the behavior: isl-0.20 on riscv64-linux isl 0.20 is ancient, and needs a update I guess <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result.
Broken since . Maybe knows what is wrong.
Try adding to nativeBuildInputs
What said -- probably needs to have run. This worked for me: Is there a way to reproduce this without hardware?
I'm testing on riscv64 hardware with the following diff:
Or with qemu It got past the first isl-0.20.0, where it failed previously. Got a build error in coreutils now ().
It looks like you didn't provision enough ram:

Discussion:
, patches ? [] }: <del> { lib, stdenv, fetchurl, gmp </del> <ins> { lib, stdenv, fetchurl, gmp, autoreconfHook </ins> }: stdenv.mkDerivation {

inherit patches; strictDeps = true; <ins> nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ]; </ins> buildInputs = [ gmp ]; inherit configureFlags;