jiebi/CodeConvo huggingface dataset:
Change:
cfg = config.services.gnunet; <del> homeDir = "/var/lib/gnunet"; </del> <ins> stateDir = "/var/lib/gnunet"; </ins> <del> configFile = with cfg; pkgs.writeText "gnunetd.conf" </del> <ins> configFile = with cfg; </ins> '' [PATHS] <del> SERVICEHOME = ${homeDir} </del> <ins> GNUNET_HOME = ${stateDir} GNUNET_RUNTIME_DIR = /run/gnunet GNUNET_USER_RUNTIME_DIR = /run/gnunet GNUNET_DATA_HOME = ${stateDir}/data </ins> [ats] WAN_QUOTA_IN = ${toString load.maxNetDownBandwidth} b

Discussion:
After enabling the GNUnet service with , it prints a lot of errors at startup: Additionally, attempting to stop the deamon with reveals that it is apparently not even running: Please run and paste the result.
Change:
pysocks = callPackage ../development/python-modules/pysocks { }; <ins> pysol-cards = callPackage ../development/python-modules/pysol-cards { }; </ins> pysolr = callPackage ../development/python-modules/pysolr { }; pysoma = callPackage ../development/python-modules/pysoma { };

Discussion:
The package PySolFC is broken: It does not even start but throws an exception. Looks like noone has ever tested this. :( -shell -p pysolfc .py Traceback (most recent call last): File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-", line 37, in <modulefrom import main # noqa: E402,I202 File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 30, in <modulefrom import Application File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 31, in <modulefrom import GAMEDB, GI, loadGame File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 28, in <modulefrom pysollib.mfxutil import Struct, printerr File "/nix/store/y3xs17qmzs898jyjcbp9vbcj2kkjqhgz-PySolFC-2.6.4/lib/python3.9/site-", line 146, in <moduleuclock = AttributeError: module 'time' has no attribute 'clock'
Just ran into this as well. Looks like was removed in Python 3.8, but also the version of PySolFC in is three and a half years (and ten minor versions) old so decent chance bumping the package version takes care of it
Change:
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ] }: let <del> pname = "rhythmbox"; version = "3.4.4"; </del> # The API version of libdmapsharing required by rhythmbox 3.4.4 is 3.0.

Discussion:
The default set of gstreamer modules in there (apparently) doesn't allow decoding AAC, which I consider a problem. Therefore I propose to extend the set, but there are two options: () and (a little weird to use ffmpeg there). I briefly tested both. /cc maintainer
If I look right, / lean their recommendations to and not .

rhythmbox can't import some file types in my music directory and lists those under import-error. the according error message is always where: file type | plugin name ------- | ----------- mp4 | MPEG-4 AAC decoder opus | Opus decoder wma | Windows Media Audio 8 wav | Microsoft ADPCM i understand why the wma and aac decoder aren't installed by default, but kinda expected opus and wav to be playable. at the bottom right there is a button saying 'Install Additional Software'. when I press that, it crashes. the backtrace is below. installing gstreamer plugins doesn't change anything. how am I supposed to add more plugins? System: 17.09.1965. (Hummingbird) Nix version: nix-env (Nix) 1.11.15 Nixpkgs version: "17.09.1965." Sandboxing enabled: build-use-sandbox = false
I've just run into the issue (on NixOS 18.03) where Rhythmbox couldn't import a bunch of files due to missing codecs and installing additional GStreamer plugins didn't seem to help. Adding the following to and restarting the X11 session seems to be a workaround until this is properly fixed: This assumes required GStreamer plugins are installed.
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
Still an issue. To play WMA files in Rhythmbox I had to install , and set . (Actually I use instead.) Should this environment variable be set when the package is installed? How do other distributions do this? (Without that Rhythmbox outputs It didn't cause a crash for me though; that was probably a separate issue that was since fixed.)
Change:
<del> { stdenv, fetchFromGitHub, python2Packages, fontforge }: </del> <ins> { stdenv, fetchFromGitHub, python3Packages}: </ins> stdenv.mkDerivation rec { pname = "xits-math";

Discussion:
Describe the bug Trying to rebuild from git master and it complains about fonttools and python version mismatch. To Reproduce Metadata Please run and paste the result. root nix run -c nix-info -m system: host os: multi-user?: sandbox: version: nixpkgs: channels(root): Maintainer information:
Looks like an issue with trying to build it with Python 2.7.x. The code isn't entirely compatible with Python 3.x nevertheless.
The issue seems to be with nototools which we currently have disabled for python3. The last nototools release is apparently fully compatible with python3. I'm working on a fix for this, however, the build now has a strange relationship with noto-fonts that I haven't quite figured out yet.
In the latest release nototools seems to still fail, or at least does on mine. The only relationship I found is that nototools is a dependency on noto-fonts.
you mean when running , or something similar? That's expected since nototools has been disabled for python3 (python3 support has only recently been upstream). I believe the relationship is actually that nototools is a dep of noto-fonts-emoji. The current nototools seems to require noto-fonts as a dep. I've gotten most of the way to a fix I think (changed nototools version and enabled py3 and what we fetch with the fetchZip in noto-fonts). However, the way that nototools expects noto-fonts is pretty strange (as an example look at the top level makefile where it looks for the noto-fonts repo in nototools' parent directory). I'm having a bit of trouble getting noto-fonts in the form nototools expects. I'm trying not to just copy the entire noto-fonts source into nototools source which seems like it should be unnecessary. Once nototools is fixed for python3 the rest should be easy bc we can just change noto-fonts etc to use python3. If you have any thoughts on how to fix nototools I'd love to hear them, or if you think I'm missing something here pls do let me know.
should be a dependency of the derivation. I'm not sure where you're seeing the fact that needs as a dependency.

The farthest I've gotten is removing all the errors from the configuration but the build still fails with .
You mean that it should be a dependency of or it is currently? In regard to "is currently" I don't see it as currently being a dependency. The only place appears in noto- is in the following lines as part of derivation. If you mean it should be, then how you get to build on its own? If you change the nototools version to 0.2.0 which adds python3 support I get errors about missing font directories (these directories come from noto-fonts). What am I missing here?
Proposed fix Still building though...
, and have the same error.
Change:
"test_convert_setup_py_project" # pythonfinder isn't aware of nix's python infrastructure "test_use_wrapper_python" <del> "test_use_invalid_wrapper_python" </del> <ins> # touches the network "test_find_candidates_from_find_links" </ins> ]; __darwinAllowLocalNetworking = true;

Discussion:
Package name: Latest released version: <!-- Search your package here: --- Current version on the unstable channel: Current version on the stable/release channel: <!-- 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 It would be great to get this updated as introduces the ability to manage python versions. Will require: to be updated to to be to dependencies to be packaged and to dependencies <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Also pinging since it seems you have provided the most recent updates.
Change:
description = "TeX Live environment for ${pname}"; platforms = lib.platforms.all; hydraPlatforms = lib.optionals <del> (lib.elem pname ["scheme-small" "scheme-basic"]) platforms; </del> <ins> (!lib.elem pname ["scheme-infraonly"]) platforms; </ins> maintainers = with lib.maintainers;  [ veprbl ]; } (combine {

Discussion:
Describe the bug A clear and concise description of what the bug is. Since I've to my system's , it's compiling some tex related packages manually whenever I'm updating my system. Why is it not cached on hydra? Biber is broken for me with anything other than . Notify maintainers Metadata Please run and paste the result. Maintainer information:
Not fixed. edit: nevermind, there was an unrelated regression for
I can't tell personally because I use the stable 20.03 branch of nix and the fixes went into master. looking forward to nix 20.09 fixing it!
I marked this as stale due to inactivity. &rarr;
For some reason the issue still persists, I see tons of tex related packages being rebuilt at updates. From a feeling though, the issue has lessened.
Just had another idea...
Change:
suffix = "min"; }; <del> poppler_utils = poppler.override { suffix = "utils"; utils = true; }; </del> <ins> poppler_utils = poppler.override { suffix = "utils"; utils = true; }; </ins> popt = callPackage ../development/libraries/popt { };

Discussion:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on github to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the the current version of the package --- <!-- 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! --- name: nixos.poppler <!-- The current version can be found easily with the same process than above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 21.05.0 desired version: 21.06.01 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR. The current version of is causing evince to crash frequently:
Change:
<ins> From 742d57ecf15e24f6a5f2133a81b6c70acc8ff03c Mon Sep 17 00:00:00 2001 From: Jelle van der Waa <jelle@vdwaa.nl> Date: Sat, 13 Feb 2016 22:25:19 +0100 Subject: [PATCH] add function for setting the text selections --- src/vte/vteterminal.h |  4 ++++ src/vtegtk.cc         | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h index 9701320d..a11b4cb7 100644 --- a/src/vte/vteterminal.h +++ b/src/vte/vteterminal.h @@ -196,6 +196,10 @@ _VTE_PUBLIC void vte_terminal_select_all(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); _VTE_PUBLIC void vte_terminal_unselect_all(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); +_VTE_PUBLIC +void vte_terminal_select_text(VteTerminal *terminal, long start_col, long start_row, +			      long end_col, long end_row) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); + /* By-word selection */ _VTE_PUBLIC diff --git a/src/vtegtk.cc b/src/vtegtk.cc index bdf36eac..d9e9f2ed 100644 --- a/src/vtegtk.cc +++ b/src/vtegtk.cc @@ -2390,6 +2390,26 @@ vte_terminal_unselect_all(VteTerminal *terminal) IMPL(terminal)->deselect_all(); } +/** + * vte_terminal_select_text: + * @terminal: a #VteTerminal + * @start_col: the starting column for the selection + * @start_row: the starting row for the selection + * @end_col: the end column for the selection + * @end_row: the end row for the selection + * + * Sets the current selection region. + */ +void +vte_terminal_select_text(VteTerminal *terminal, +		         long start_col, long start_row, +			 long end_col, long end_row) noexcept +{ +	g_return_if_fail (VTE_IS_TERMINAL (terminal)); + +        IMPL(terminal)->select_text(start_col, start_row, end_col, end_row); +} + /** * vte_terminal_get_cursor_position: * @terminal: a #VteTerminal </ins>

Discussion:
Describe the bug When building termite, one of the patches fails to apply. To Reproduce Steps to reproduce the behavior: Screenshots Notify maintainers Metadata system: host os: multi-user?: sandbox: version: nixpkgs: Maintainer information:
Upstream hasn't updated the vte-ng patchset past 0.56 (I guess the same patches happened to work up until 0.62?), looks like it's ~unmaintained -- perhaps we should just keep vte 0.60 around for vte-ng?
Nevermind, it was actually pretty easy to update - PRing
Change:
--replace "text-unidecode==1.2" "text-unidecode"  --replace "tzlocal>=1.4,<2.0.0" "tzlocal"  --replace "sqlalchemy~=1.3" "sqlalchemy"  <ins> --replace "gunicorn>=19.5.0, <20.0" "gunicorn"  </ins> --replace "werkzeug>=0.14.1, <0.15.0" "werkzeug" # dumb-init is only needed for CI and Docker, not relevant for NixOS.

Discussion:
Describe the bug apache-airflow requires gunicorn at or above 19.5 and below 20.0, therefore the upgrade of gunicorn broke apache-airflow build: To Reproduce Attempt to use apache-airflow package. E.g.: This triggers a re-build of apache-airflow which will finally fail because of unsatisfied version requirement. Expected behavior apache-airflow package is usable (in the particular example, shell opens and apache airflow can be imported in python). Screenshots If applicable, add screenshots to help explain your problem. Additional context The same issue can be observed in hydra builds, e.g.: Metadata Please run and paste the result. Maintainer information:
Change:
homepage = "https://gitlab.gnome.org/GNOME/fractal"; license = licenses.gpl3; maintainers = teams.gnome.members ++ (with maintainers; [ dtzWill ]); <ins> platforms = platforms.unix; </ins> }; }

Discussion:
Project description Fractal is a Matrix messaging app for GNOME written in Rust. Its interface is optimized for collaboration in large groups, such as free software projects. It's currently pacakged for linux, but was recently marked broken in I've implemented some quick hacks on libhandy and gspell to address the build failures here , but the package still fails. To reproduce develop --impure ".#fractal" source build To continue (to a very long error message): and move to nixpkgs/fractal-4.4.0- build cc (if you're still interested in this) Metadata source URL: platforms: unix
Hi, I'm not using my Darwin machine much anymore, so I don't think I will invest the time in fixing fractal for Darwin.
I marked this as stale due to inactivity. &rarr;
It actually suffices to put for fractal to build on Darwin: ~However, it's still kind of broken: the interface won't show up.~
Change:
<ins> { pkgs, ... }: let certs = pkgs.runCommand "cryptpadSelfSignedCerts" { buildInputs = [ pkgs.openssl ]; } '' mkdir -p $out cd $out openssl req -x509 -newkey rsa:4096  -keyout key.pem -out cert.pem -nodes -days 3650  -subj '/CN=cryptpad.localhost'  -addext 'subjectAltName = DNS.1:cryptpad.localhost, DNS.2:cryptpad-sandbox.localhost' ''; # data sniffed from cryptpad's /checkup network trace, seems to be re-usable test_write_data = pkgs.writeText "cryptpadTestData" '' {"command":"WRITE_BLOCK","content":{"publicKey":"O2onvM62pC1io6jQKm8Nc2UyFXcd4kOmOsBIoYtZ2ik=","signature":"aXcM9SMO59lwA7q7HbYB+AnzymmxSyy/KhkG/cXIBVzl8v+kkPWXmFuWhcuKfRF8yt3Zc3ktIsHoFyuyDSAwAA==","ciphertext":"AFwCIfBHKdFzDKjMg4cu66qlJLpP+6Yxogbl3o9neiQou5P8h8yJB8qgnQ=="},"publicKey":"O2onvM62pC1io6jQKm8Nc2UyFXcd4kOmOsBIoYtZ2ik=","nonce":"bitSbJMNSzOsg98nEzN80a231PCkBQeH"} ''; in { name = "cryptpad"; meta = with pkgs.lib.maintainers; { maintainers = [ martinetd ]; }; nodes.machine = { services.cryptpad = { enable = true; configureNginx = true; settings = { httpUnsafeOrigin = "https://cryptpad.localhost"; httpSafeOrigin = "https://cryptpad-sandbox.localhost"; }; }; services.nginx = { virtualHosts."cryptpad.localhost" = { enableACME = false; sslCertificate = "${certs}/cert.pem"; sslCertificateKey = "${certs}/key.pem"; }; }; security = { pki.certificateFiles = [ "${certs}/cert.pem" ]; }; }; testScript = '' machine.wait_for_unit("cryptpad.service") machine.wait_for_unit("nginx.service") machine.wait_for_open_port(3000) # test home page machine.succeed("curl --fail https://cryptpad.localhost -o /tmp/cryptpad_home.html") machine.succeed("grep -F 'CryptPad: Collaboration suite' /tmp/cryptpad_home.html") # test scripts/build.js actually generated customize content from config machine.succeed("grep -F 'meta property="og:url" content="https://cryptpad.localhost/index.html' /tmp/cryptpad_home.html") # make sure child pages are accessible (e.g. check nginx try_files paths) machine.succeed( "grep -oE '/(customize|components)[^"]*' /tmp/cryptpad_home.html" "  | while read -r page; do" "        curl -O --fail https://cryptpad.localhost$page || exit;" "    done") # test some API (e.g. check cryptpad main process) machine.succeed("curl --fail -d @${test_write_data} -H 'Content-Type: application/json' https://cryptpad.localhost/api/auth") # test telemetry has been disabled machine.fail("journalctl -u cryptpad | grep TELEMETRY"); # for future improvements machine.log(machine.execute("systemd-analyze security cryptpad.service")[1]) ''; } </ins>

Discussion:
Project description CryptPad is a collaborative office suite that is end-to-end encrypted and open-source. Enable this a service for NixOS. Metadata homepage URL: source URL: license: agpl2 platforms: unix, linux, darwin, ...
CryptPad used to be included in nixpkgs, but it was removed because there weren't enough maintainers. The removal occurred with the commits and .
Not quite true: it was removed because they had a strong dependency on out-of-date software. . Now, there is an ongoing effort to re-introduce it in : .
Change:
{ lib , fetchFromGitHub , rustPlatform <ins> , stdenv , darwin </ins> }: with rustPlatform; buildRustPackage rec { <del> version = "unstable-2018-02-24"; </del> <ins> version = "0.22.0"; </ins> name = "geckodriver-${version}"; src = fetchFromGitHub { owner = "mozilla"; <del> repo = "gecko-dev"; rev = "ecb86060b4c5a9808798b81a57e79e821bb47082"; sha256 = "1am84a60adw0bb12rlhdqbiwyywhza4qp5sf4f4fmssjl2qcr6nl"; </del> <ins> repo = "geckodriver"; rev = "v${version}"; sha256 = "12m95lfqwdxs2m5kjh3yrpm9w2li5m8n3fw46a2nkxyfw6c94l4b"; </ins> }; <del> sourceRoot = "${src.name}/testing/geckodriver"; </del> <ins> buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; </ins> <del> cargoSha256 = "0dvcvdb623jla29i93glx20nf8pbpfw6jj548ii6brzkcpafxxm8"; </del> <ins> cargoSha256 = "1a8idl6falz0n9irh1p8hv5w2pmiknzsfnxl70k1psnznrpk2y8n"; </ins> meta = with lib; { description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";

Discussion:
nixos-18.09 (and nixpgks master and everything in-between) currently ships Firefox 63.0 and geckodriver "unstable-2018-02-24" (which claims to be 0.19.1 when called with ). According to https://firefox-source- geckodriver &ge; 0.21 is needed to be compatible with Firefox 62. last command runs with exit code and without any terminal output opens an empty firefox window: ! last command runs with exit code and the following terminal output no Firefox window is being opened system: host os: multi-user?: sandbox: version: channels(root): channels(das-g): nixpkgs:
I'm looking into updating the geckodriver derivation, but am unsure what source repo / revision to refer to. (See mozilla/geckodriver.)
We also have no newer version in master. If you update the package on master, I would backport it to 18.09 as well.
We also should switch to a stable release so would automatically upgrade to newer releases.
Hey I'm also running into this issue. Have you made any progress?
I can't reproduce that, For me your series of commands "works" it opens an empty Firefox window it runs with exit code and without any output except that caused by nix building/fetching
Yeah, right after my (deleted) post I noticed I forgot to setup the variable . Sorry about that, it's indeed working great now! :smiley_cat:
Change:
); }; in <del> with py.pkgs; toPythonApplication octoprint </del> <ins> with py.pkgs; toPythonApplication octoprint </ins>

Discussion:
The recent nixos-unstable update () breaks octoprint. Last known good commit is . Steps to reproduce the behavior: result: This is probably because the derivation of octoprint has an override for . Werkzeug changed its API in version 2, which lead to a similar . When v1.0.1 , it fails with the old Werkzeug version due to an incorrect redirect. This is also why builds without issues, but fails to build, when its needed for octoprint. I'm not a 100% sure its the werkzeug override. Octoprint has a lot of Python overrides.. build sucessfully. Please run and paste the result.
Feel free to open a PR overriding the pytest-httpbin version for octoprint.
it seems it wasn't just (at least not in aarch64). Anyway, I submitted a PR which should fix the build issues introduced by recent Python upgrades.
Change:
# Last one supporting x86 legacy_390 = generic { <del> version = "390.138"; sha256_32bit = "0y3qjygl0kfz9qs0rp9scn1k3l8ym9dib7wpkyh5gs4klcip7xkv"; sha256_64bit = "0rnnb5l4i8s76vlg6yvlrxhm2x9wdqw7k5hgf4fyaa3cr3k1kysz"; settingsSha256 = "0ad6hwl56nvbdv9g85lw7ywadqvc2gaq9x6d2vjcia9kg4vrmfqx"; persistencedSha256 = "15jciyq6i3pz1g67xzqlwmc62v3xswzhjcqmfcdndvlvhcibsimr"; </del> <ins> version = "390.143"; sha256_32bit = "AelrdTTeo/3+ZdXK0iniZDB8gJUkeZQtNoRm25z+bQY="; sha256_64bit = "tyKqcPM71ErK8ZZHLPtxmgrWzv6tfEmxBRveCSwTlO8="; settingsSha256 = "EJPXZbxZS1CMENAYk9dCAIsHsRTXJpj473+JLuhGkWI="; persistencedSha256 = "FtlPF3jCNr18NnImTmr8zJsaK9wbj/aWZ9LwoLr5SeE="; </ins> }; legacy_340 = generic {

Discussion:
Describe the bug Build fails with To Reproduce Steps to reproduce the behavior: Expected behavior build should succeed. Screenshots Additional context updating the nvidia package should fix this as state: Fixed a driver installation failure on Linux kernel 5.11 release candidates, where the NVIDIA kernel module failed to build with error "fatal error: asm/kmaptypes.h: No such file or directory". PR on the way Notify maintainers Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): channels(louis): nixpkgs: Maintainer information:
Change:
branch = "3.4.8"; sha256 = "1d0r4yja2dkkyhdwx1migq46gsrcbajiv66263a5sq5bfr9dqkch"; darwinFrameworks = [ Cocoa CoreMedia ]; <ins> knownVulnerabilities = [ "CVE-2021-30123" ]; </ins> } // args)

Discussion:
, CVSSv3=8.8 (nixos-20.09, nixos-unstable) Scanned versions: nixos-20.09: ; nixos-unstable: . Cc
See also:
Change:
<ins> diff --git a/crates/pyxel-platform/Cargo.toml b/crates/pyxel-platform/Cargo.toml index 01a87b68..088ffbdd 100644 --- a/crates/pyxel-platform/Cargo.toml +++ b/crates/pyxel-platform/Cargo.toml @@ -22,7 +22,7 @@ parking_lot = "0.12" paste = "1.0" [build-dependencies] -bindgen = "0.69" +bindgen = { git = "https://github.com/rust-lang/rust-bindgen.git", rev = "d77e53ed8398743bf68831d25063719fa0f4f136" } cmake = "0.1" flate2 = "1.0" tar = "0.4" </ins>

Discussion:
Project description Pyxel is a retro game engine for Python. Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin Priorities Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
oops!