jiebi/CodeConvo huggingface dataset:
Change:
, (nixos-unstable) (nixos-unstable) Scanned versions: nixos-unstable: . May contain false positives.
opensc-0.19.0 already patched on 19.09 (see ) but not on master yet.

Discussion:
url = "https://github.com/OpenSC/OpenSC/commit/0d7967549751b7032f22b437106b41444aff0ba9.patch"; sha256 = "1y42lmz8i9w99hgpakdncnv8f94cqjfabz0v4xg6wfz9akl3ff7d"; }) <ins> (fetchpatch { name = "CVE-2019-15945.patch"; url = "https://github.com/OpenSC/OpenSC/commit/412a6142c27a5973c61ba540e33cdc22d5608e68.patch"; sha256 = "088i2i1fkvdxnywmb54bn4283vhbxx6i2632b34ss5dh7k080hp7"; }) (fetchpatch { name = "CVE-2019-15946.patch"; url = "https://github.com/OpenSC/OpenSC/commit/a3fc7693f3a035a8a7921cffb98432944bb42740.patch"; sha256 = "1qr9n8cbarrdn4kr5z0ys7flq50hfmcbm8584mhw7r39p08qwmvq"; }) </ins> ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
Change:
In the pinned pyyaml3 was removed since the package works now with the current version. It is still used in other packages. Check if it is still needed. When no package needs it anymore, wen can deprecate pyyaml_3. cc maintainers
Relevant issue:
seems that only 3 packages use it, we should be able to push that into the application expressions themselves.
Please do that. PyYAML 3.x is known for numerous security problems and won't get fixed upstream.

Discussion:
<del> { lib, python3, git }: </del> <ins> { lib, python3, git, pkgconfig }: </ins> let newPython = python3.override { packageOverrides = self: super: {

sha256 = "c0abe3218b86533cca287e7057a37481883c07acef7814b70583406938214cc8"; }; }); <del> pyyaml = super.pyyaml_3; </del> }; }; in newPython.pkgs.buildPythonApplication rec { <del> version = "1.12.0"; </del> <ins> version = "1.12.3"; </ins> pname = "conan"; src = newPython.pkgs.fetchPypi { inherit pname version; <del> sha256 = "0hgy3wfy96likdchz42h9mawfjw4dxx7k2iinrrlhph7128kji1j"; </del> <ins> sha256 = "1cnfy9b57apps4bfai6r67g0mrvgnqa154z9idv0kf93k1nvx53g"; </ins> }; <ins> propagatedBuildInputs = with newPython.pkgs; [ colorama deprecation distro fasteners bottle future node-semver patch pygments pluginbase pyjwt pylint pyyaml requests six tqdm ]; </ins> checkInputs = [ <ins> pkgconfig </ins> git ] ++ (with newPython.pkgs; [ codecov mock <ins> pytest </ins> node-semver nose parameterized webtest ]); <del> propagatedBuildInputs = with newPython.pkgs; [ colorama deprecation distro fasteners bottle future node-semver patch pygments pluginbase pyjwt pylint pyyaml requests six tqdm ]; </del> checkPhase = '' <del> export HOME="$TMP/conan-home" mkdir -p "$HOME" </del> <ins> export HOME=$TMPDIR pytest conans/test/{utils,unittests}  -k 'not SVN and not ToolsNetTest' </ins> ''; postPatch = '' substituteInPlace conans/requirements_server.txt  --replace "pluginbase>=0.5, < 1.0" "pluginbase>=0.5" <ins> substituteInPlace conans/requirements.txt  --replace "PyYAML>=3.11, <3.14.0" "PyYAML" </ins> ''; meta = with lib; {
Change:
Describe the bug I'm a little bit unsure if this is a bug or an expected behavior. At least is stumbled over it during my NixOS evaluation. At least it's a little bit disturbing when evaluating logs. To Reproduce Default installation of NixOS 19.03. Expected behavior Option 1) should disable caching Option 2) If no file exist an empty one should be created
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 . 3. Ask on the on .

Discussion:
The GNOME desktop manager once again installs <package>gnome3.epiphany</package> by default. </para> </listitem> <ins> <listitem> <para> NixOS now generates empty <literal>/etc/netgroup</literal>. <literal>/etc/netgroup</literal> defines network-wide groups and may affect to setups using NIS. </para> </listitem> </ins> </itemizedlist> </section> </section>

cat ${escapeShellArgs cfg.hostFiles} > $out ''; <ins> # /etc/netgroup: Network-wide groups. netgroup.text = mkDefault '' ''; </ins> # /etc/host.conf: resolver configuration file "host.conf".text = '' multi on
Change:
Describe the bug /dev/fuse isn't user read/writable To Reproduce Expected behavior Additional context I've been testing with and : Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Maintainer information:
After further testing, I found that reverting fixes the issue. I'm guessing that this new file needs to be installed somewhere. CCing maintainers of systemd:
There are even more tmpfiles configs that we're not using. I'll check what applies to us and prepare a PR.
It would be cool if there was a test for the permissions.
I have the same issue with /dev/fuse for can't mount remote sshfs as user only as root la /dev/fuse 10.6s crw------- 1 root root 10, 229 Sep 23 14:36 /dev/fuse ~sshfs user ~/sshfs/ fuse: failed to open /dev/fuse: Permission denied Any fix we can expect soon?
Seems permissions is associated with systemd /etc/static/systemd/system/kmod-static-nodes.service
apparently that broke permissions for me, which are needed for
Strangely, on my 19.09 system does have 666 permission, despite containing a line .
I think the permission is automatically set to 666 by udev rules when the fuse module is loaded.
In my system on 19.09pre channel I have this issue manifesting in kbfsmount failing with a permission error. crw------- 1 root root 10, 229 Sep 23 21:48 /dev/fuse

Discussion:
environment.etc = mapAttrsToList (n: v: makePAMService v) config.security.pam.services; <del> systemd.tmpfiles.rules = optionals (any (s: s.updateWtmp) (attrValues config.security.pam.services)) [ "f /var/log/wtmp" "f /var/log/lastlog" ]; </del> security.pam.services = { other.text = ''

"sysctl.d/50-coredump.conf".source = "${systemd}/example/sysctl.d/50-coredump.conf"; "sysctl.d/50-default.conf".source = "${systemd}/example/sysctl.d/50-default.conf"; <ins> "tmpfiles.d/journal-nocow.conf".source = "${systemd}/example/tmpfiles.d/journal-nocow.conf"; "tmpfiles.d/static-nodes-permissions.conf".source = "${systemd}/example/tmpfiles.d/static-nodes-permissions.conf"; </ins> "tmpfiles.d/systemd.conf".source = "${systemd}/example/tmpfiles.d/systemd.conf"; <ins> "tmpfiles.d/systemd-nspawn.conf".source = "${systemd}/example/tmpfiles.d/system-nspawn.conf"; "tmpfiles.d/systemd-tmp.conf".source = "${systemd}/example/tmpfiles.d/system-tmp.conf"; "tmpfiles.d/var.conf".source = "${systemd}/example/tmpfiles.d/var.conf"; </ins> "tmpfiles.d/x11.conf".source = "${systemd}/example/tmpfiles.d/x11.conf"; "tmpfiles.d/nixos.conf".text = ''
Change:
Project description turbostat — Report processor frequency and idle statistics Metadata homepage URL: source URL: license: gpl2+ platforms: linux
Happened to put together a turbostat expression just a day or so ago, see the PR! :)

Discussion:
<ins> { stdenv, kernel }: stdenv.mkDerivation { pname = "turbostat"; inherit (kernel) src version; makeFlags = [ "PREFIX=${placeholder "out"}" ]; postPatch = '' cd tools/power/x86/turbostat ''; meta = with stdenv.lib; { description = "Report processor frequency and idle statistics"; homepage = https://www.kernel.org/; license = licenses.gpl2; platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific }; } </ins>

tp_smapi = callPackage ../os-specific/linux/tp_smapi { }; <ins> turbostat = callPackage ../os-specific/linux/turbostat { }; </ins> usbip = callPackage ../os-specific/linux/usbip { }; v86d = callPackage ../os-specific/linux/v86d { };
Change:
Ocaml programs depending on cryptokit crash at runtime, because the linker can't find the shared object file (ie it's not in ). To Reproduce and run an ocaml project that depends on cryptokit (with ) Additional context I tried refactoring the package to use , but it didn't fix the issue. Metadata system: host os: multi-user?: sandbox: version: channels(endorphin): channels(root): nixpkgs: Maintainer information:
Could you please test ? Thanks.
Yep, fixes it. Thanks

Discussion:
buildFlags = "setup.data build"; <del> preBuild = "mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/cryptokit"; </del> <ins> preBuild = "mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs"; </ins> meta = { homepage = http://pauillac.inria.fr/~xleroy/software.html;

'' rm -rf $out/var/run wrapProgram $out/bin/ocsigenserver  <del> --prefix CAML_LD_LIBRARY_PATH : "${mkpath ssl "ssl"}:${mkpath ocamlnet "netsys"}:${mkpath ocamlnet "netstring"}:${mkpath ocaml_pcre "pcre"}:${mkpath cryptokit "cryptokit"}:${mkpath ocaml_sqlite3 "sqlite3"}" </del> <ins> --prefix CAML_LD_LIBRARY_PATH : "$CAML_LD_LIBRARY_PATH:${mkpath ssl "ssl"}:${mkpath ocamlnet "netsys"}:${mkpath ocamlnet "netstring"}:${mkpath ocaml_pcre "pcre"}:${mkpath ocaml_sqlite3 "sqlite3"}" </ins> ''; dontPatchShebangs = true;
Change:
Describe the bug Cannot configure systemd sleep settings. After my last upgrade my laptop started poweroff at nights.. where I only wanted it to suspend. I suspect this is because of the default systemd settings... but I cannot change them? To Reproduce Steps to reproduce the behavior: Expected behavior I should be able to set config values Maintainer information:
actually.. I tried with it gets two [Sleep] sections now.. but maybe it'll help :)
to add. the actual issue of the laptop powering down was apparently related to the firmware.. it was working perfectly for more than a year.. and one day, suddenly, some bit flipped. I've updated bios, firmwares etc and it helped. laptop is back from the suspend mode as earlier having said that, I think the issue here is still relevant - having a way to nicely override values is a good thing (my workaround is also seemingly working, so probably a low priority thing?)
I think a very low-effort change here would be to add an option that simply appends lines to the config. Would you want to make a PR for that?

Discussion:
''; }; <ins> systemd.sleep.extraConfig = mkOption { default = ""; type = types.lines; example = "HibernateDelaySec=1h"; description = '' Extra config options for systemd sleep state logic. See sleep.conf.d(5) man page for available options. ''; }; </ins> systemd.user.extraConfig = mkOption { default = ""; type = types.lines;

"systemd/sleep.conf".text = '' [Sleep] <ins> ${config.systemd.sleep.extraConfig} </ins> ''; # install provided sysctl snippets
Change:
Mosquitto 1.6.6 is available and addresses a security vulnerability (that is already publicly disclosed unfortunately, otherwise I would be using the proper channels) - sorry for the short amount of time from the last version.

Discussion:
stdenv.mkDerivation rec { pname = "mosquitto"; <del> version = "1.6.5"; </del> <ins> version = "1.6.6"; </ins> src = fetchFromGitHub { owner  = "eclipse"; repo   = "mosquitto"; rev    = "v${version}"; <del> sha256 = "0scgsi3rvs9s8vxv4r7d5d9ixbsfg4dwnjcy6zxwdz9dfn8qnngj"; </del> <ins> sha256 = "01a1vf0rgncmhk7v9vnj4gdx0j8jfiy95f2hr4iwqdch7jy5q367"; </ins> }; postPatch = ''
Change:
The package appears to be quite out of date. I could use some help in updating it. Here is the version in nixpkgs: Here is my attempt at updating it: And here is the error message I get when I try to build: Any advice?
Relaying what I said on IRC: If you want to update it in nixpkgs you should edit the expression in nixpkgs directly And it seems that the package didn't have any dependencies before, so updating just the source won't work, you also need to make its dependencies available If the package has a file, check out kalbasit's blog on how to use buildGoModule for this: Otherwise check
Thank you so much,

Discussion:
<del> { stdenv, fetchFromGitHub, buildGoPackage }: </del> <ins> { stdenv, fetchFromGitHub, buildGoModule }: </ins> <del> let owner = "CircleCI-Public"; </del> <ins> buildGoModule rec { </ins> pname = "circleci-cli"; <del> version = "0.1.2569"; in buildGoPackage { name = "${pname}-${version}"; inherit version; </del> <ins> version = "0.1.5879"; </ins> <del> src =  fetchFromGitHub { inherit owner; </del> <ins> src = fetchFromGitHub { owner = "CircleCI-Public"; </ins> repo = pname; rev = "v${version}"; <del> sha256 = "0ixiqx8rmia02r44zbhw149p5x9r9cv1fsnlhl8p2x5zd2bdr18x"; </del> <ins> sha256 = "1471g56apaw0c5dpa0jrr7hvzh3kbwfr3yr0m4mz2dlf27d481ac"; </ins> }; <del> goPackagePath = "github.com/${owner}/${pname}"; </del> <ins> modSha256 = "0cvmcsl00jfikpkw3f7k5zw65156z5g5l2b6s5803a2i9d613268"; preBuild = '' substituteInPlace data/data.go  --replace 'packr.New("circleci-cli-box", "../_data")' 'packr.New("circleci-cli-box", "${placeholder "out"}/share/circleci-cli")' ''; postInstall = '' install -Dm644 -t $out/share/circleci-cli _data/data.yml ''; </ins> meta = with stdenv.lib; { # Box blurb edited from the AUR package circleci-cli

run jobs as if they were running on the hosted CirleCI application. ''; maintainers = with maintainers; [ synthetica ]; <del> platforms = platforms.unix; </del> license = licenses.mit; homepage = https://circleci.com/; };
Change:
It's been a while since we've had an update of the channel. According to , there have been plenty of problems with Hydra, but the failure of seems legit. Does anyone know why that test is broken?
I have bisected this and very confusingly it seems to be caused by If I revert this commit on master the test passes

Discussion:
let cfg = config.services.xserver.desktopManager.xterm; <ins> xSessionEnabled = config.services.xserver.enable; </ins> in

services.xserver.desktopManager.xterm.enable = mkOption { type = types.bool; <del> default = (versionOlder config.system.stateVersion "19.09"); </del> <ins> default = (versionOlder config.system.stateVersion "19.09") && xSessionEnabled; defaultText = if versionOlder config.system.stateVersion "19.09" then "config.services.xserver.enable" else "false"; </ins> description = "Enable a xterm terminal as a desktop manager."; };
Change:
is an executable of the a2jmidid project. The exact error message is I suggest changing to and add to the . can you please comment on my suggestion? Best, Sven
I don't think you can use buildPythonPackage for this one since it actually uses waf for building and installing (rather than the ). How about just wrapping a2j_control with the relevant python modules?
Whatever works.
Have a look at the nix package for , they use :
Exactly, can you test that out and open a PR?
Thanks for the discussion, the PR is , Best, Sven

Discussion:
<del> { stdenv, fetchurl, alsaLib, dbus, jack2, pkgconfig, python }: </del> <ins> { stdenv, fetchurl, makeWrapper, pkgconfig, alsaLib, dbus, jack2 , python, pythonDBus }: </ins> stdenv.mkDerivation rec { name = "a2jmidid-${version}";

sha256 = "0pzm0qk5ilqhwz74pydg1jwrds27vm47185dakdrxidb5bv3b5ia"; }; <del> buildInputs = [ alsaLib dbus jack2 pkgconfig python ]; </del> <ins> buildInputs = [ makeWrapper pkgconfig alsaLib dbus jack2 python pythonDBus ]; </ins> configurePhase = "python waf configure --prefix=$out"; buildPhase = "python waf"; <del> installPhase = "python waf install"; </del> <ins> installPhase = '' python waf install wrapProgram $out/bin/a2j_control --set PYTHONPATH $PYTHONPATH ''; </ins> meta = with stdenv.lib; { homepage = http://home.gna.org/a2jmidid;
Change:
Describe the bug See title. To Reproduce Steps to reproduce the behavior: /bin/ioquake3* Expected behavior ioquake3 runs/
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 . 3. Ask on the on .
Still an issue.

Discussion:
stdenv.mkDerivation { pname = "ioquake3"; <del> version = "unstable-2021-07-20"; </del> <ins> version = "unstable-2022-11-24"; </ins> src = fetchFromGitHub { owner = "ioquake"; repo = "ioq3"; <del> rev = "bc8737d707595aebd7cc11d6d5a5d65ede750f59"; sha256 = "1icrkaw6c5c5ndy886bn65lycwnxzxwvz0ndz4p9i6r716k11add"; </del> <ins> rev = "70d07d91d62dcdd2f2268d1ac401bfb697b4c991"; sha256 = "sha256-WDjR0ik+xAs6OA1DNbUGIF1MXSuEoy8nNkPiHaegfF0="; </ins> }; nativeBuildInputs = [ which pkg-config ];

installTargets = [ "copyfiles" ]; <del> installFlags = [ "COPYDIR=$(out)" ]; </del> <ins> installFlags = [ "COPYDIR=$(out)" "COPYBINDIR=$(out)/bin" ]; </ins> preInstall = '' <del> mkdir -p $out/baseq3 </del> <ins> mkdir -p $out/baseq3 $out/bin </ins> ''; meta = with lib; {
Change:
Describe the bug To Reproduce Steps to reproduce the behavior: release-19.09 branch lsof to systemPackages Metadata system: host os: multi-user?: sandbox: version: nixpkgs: Maintainer information: cc

Discussion:
''; installPhase = '' <ins> # Fix references from man page https://github.com/lsof-org/lsof/issues/66 substituteInPlace Lsof.8  --replace ".so ./00DIALECTS" ""  --replace ".so ./version" ".ds VN ${version}" </ins> mkdir -p $out/bin $out/man/man8 cp Lsof.8 $out/man/man8/lsof.8 cp lsof $out/bin
Change:
Describe the bug When I did we assumed that variables like and would be replaced with or . This is not true and in the pam configuration we have variables. cc

Discussion:
cfg = config.environment; <del> pamProfiles = map (replaceStrings ["$HOME" "$USER"] ["@{HOME}" "@{PAM_USER}"]) cfg.profiles; </del> in {

let suffixedVariables = flip mapAttrs cfg.profileRelativeSessionVariables (envVar: suffixes: <del> flip concatMap pamProfiles (profile: </del> <ins> flip concatMap cfg.profiles (profile: </ins> map (suffix: "${profile}${suffix}") suffixes ) ); <ins> # We're trying to use the same syntax for PAM variables and env variables. # That means we need to map the env variables that people might use to their # equivalent PAM variable. # Note: PAM_USER is a PAM_ITEM, HOME is an environment variable, they have # different syntax. replaceEnvVars = replaceStrings ["$HOME" "$USER"] ["${HOME}" "@{PAM_USER}"]; </ins> pamVariable = n: v: <del> ''${n}   DEFAULT="${concatStringsSep ":" (toList v)}"''; </del> <ins> ''${n}   DEFAULT="${concatStringsSep ":" (map replaceEnvVars (toList v))}"''; </ins> pamVariables = concatStringsSep "n"
Change:
Project description A cross platform front-end GUI of the popular youtube-dl written in wxPython. This makes the awesome commandline tool usable for more people! Most repositories use the package name youtube-dl-gui, so i recommend to use it tool. Schould be quiet easy to package. Metadata homepage URL: source URL: license: The Unlicense platforms: unix, linux, darwin, ... (Python)
Sadly the project is not maintained anymore and has issues. We shouldn't add it.
There is an active fork:

Discussion:
<ins> { lib, python3, fetchFromGitHub, fetchPypi }: let python3Packages = (python3.override { packageOverrides = final: prev: { wxpython = prev.wxpython.overrideAttrs rec { version = "4.2.0"; src = fetchPypi { pname = "wxPython"; inherit version; hash = "sha256-ZjzrxFCdfl0RNRiGX+J093+VQ0xdV7w4btWNZc7thsc="; }; }; }; }).pkgs; in python3Packages.buildPythonApplication rec { pname = "yt-dlg"; version = "1.8.5"; src = fetchFromGitHub { owner = "oleksis"; repo = "youtube-dl-gui"; rev = "v${version}"; hash = "sha256-W1ZlArmM+Ro5MF/rB88me/PD79dJA4v188mPbMd8Kow="; }; pyproject = true; build-system = with python3Packages; [ setuptools wheel ]; dependencies = with python3Packages; [ pypubsub wxpython ]; meta = { description = "A cross platform front-end GUI of the popular youtube-dl written in wxPython."; homepage = "https://oleksis.github.io/youtube-dl-gui"; license = lib.licenses.unlicense; mainProgram = "yt-dlg"; maintainers = with lib.maintainers; [ quantenzitrone ]; }; } </ins>
Change:
Describe the bug When adding to and then running , at some point the license agreement of teamspeak shows up in the console and I couldn't find a way to accept it. Because of this, the installation is stuck forever at this point with no instructions how to continue. To Reproduce add to run Expected behavior The last command should complete and teamspeak should be installed on my system. Screenshots ! Additional context I've tried both stable and unstable, but got the same result for both. Metadata Maintainer information:
I can reproduce this. Seem like the sandbox changed lately and the command doesn't get the from . I will submit a PR with a fix.

Discussion:
{ stdenv, fetchurl, makeWrapper, makeDesktopItem, zlib, glib, libpng, freetype, openssl , xorg, fontconfig, qtbase, qtwebengine, qtwebchannel, qtsvg, xkeyboard_config, alsaLib <del> , libpulseaudio ? null, libredirect, quazip, less, which, unzip, llvmPackages </del> <ins> , libpulseaudio ? null, libredirect, quazip, which, unzip, llvmPackages, writeShellScriptBin </ins> }: let

categories = "Network"; }; <ins> fakeLess = writeShellScriptBin "less" "cat"; </ins> in stdenv.mkDerivation rec {

sha256 = "1bywmdj54glzd0kffvr27r84n4dsd0pskkbmh59mllbxvj0qwy7f"; }; <del> buildInputs = [ makeWrapper less which unzip ]; </del> <ins> nativeBuildInputs = [ makeWrapper fakeLess which unzip ]; </ins> unpackPhase = '' <del> echo -e 'qny' | sh -xe $src </del> <ins> echo -e 'ny' | sh -xe $src </ins> cd TeamSpeak* '';
Change:
Describe the bug scikit-learn has a runtime dependency of setuptools. The current nix package doesn't specify that and importing it fails. Adding to fixes the issue. To Reproduce Expected behavior Importing sklearn should work without specifying setuptools as an additional package. Additional context This is a known issue in some python packages that have not been built properly, e.g: Metadata Maintainer information:
Please show the full trace so we can see exactly in which package the import fails.
No, we no longer include setuptools/pkg_resources by default, thus requiring individual packages to declare it as runtime dependancy.
I updated the description, on a closer look it seems like it's an issue in ?
correct, its joblib that needs to be fixed

Discussion:
, fetchPypi , fetchpatch , stdenv <del> , sphinx </del> , numpydoc , pytest , python-lz4 <ins> , setuptools , sphinx </ins> }:

]; checkInputs = [ sphinx numpydoc pytest ]; <del> propagatedBuildInputs = [ python-lz4 ]; </del> <ins> propagatedBuildInputs = [ python-lz4 setuptools ]; </ins> # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 # test_dispatch_multiprocessing is broken only on Darwin.