jiebi/CodeConvo huggingface dataset:
Change:
<ins> { lib , fetchFromGitHub , python3Packages , gnome-menus , gtk3 , intltool , gobject-introspection , wrapGAppsHook , testers , menulibre }: python3Packages.buildPythonApplication rec { name = "menulibre"; version = "2.2.3"; src = fetchFromGitHub { owner = "bluesabre"; repo = "menulibre"; rev = "menulibre-${version}"; hash = "sha256-E0ukq3q4YaakOI2mDs3dh0ncZX/dqspCA+97r3JwWyA="; }; propagatedBuildInputs = with python3Packages; [ pygobject3 gnome-menus psutil distutils-extra ]; nativeBuildInputs = [ gtk3 intltool gobject-introspection wrapGAppsHook ]; postPatch = '' substituteInPlace setup.py  --replace-fail 'data_dir =' "data_dir = '$out/share/menulibre' #"  --replace-fail 'update_desktop_file(desktop_file, script_path)' "" ''; preBuild = '' export HOME=$TMPDIR ''; passthru.tests.version = testers.testVersion { package = menulibre; command = "HOME=$TMPDIR menulibre --version | cut -d' ' -f2"; }; meta = with lib; { description = "An advanced menu editor with an easy-to-use interface"; homepage = "https://bluesabre.org/projects/menulibre"; license = licenses.gpl3Plus; maintainers = with maintainers; [ lelgenio ]; mainProgram = "menulibre"; platforms = platforms.linux; }; } </ins>

Discussion:
Project description An advanced menu editor that provides modern features in a clean, easy-to-use interface. MenuLibre is developed for users who want to manage their menus without ever needing to read the spec or use a text editor. Budgie, Cinnamon, GNOME, KDE (Plasma), LXDE, LXQt, MATE, Pantheon, Unity, and Xfce are all supported. Metadata homepage URL: source URL: license: gpl3 platforms: linux
This project now managed on GitHub: Code: Bugs: Translations: Wiki: Homepage:
There's a module helper function that can generate files. Not as easy to use as menulibre of course, but reproducible.
Thank you. I edited the description for it to be accurate
I marked this as stale due to inactivity. &rarr;
Well, it would be good to have a formula for this.
I marked this as stale due to inactivity. &rarr;
This would be really useful. I would write a derivation but I'm not confident in my Nix skills to do so.
Change:
xorg.libXfixes xorg.libXdamage wavpack <ins> ] ++ optionals raspiCameraSupport [ libraspberrypi </ins> ] ++ optionals gtkSupport [ # for gtksink gtk3

Discussion:
In found that the upgrade from gstreamer 0.16 to 0.18 broke : I think is a RaspberryPi specific file and pulled in via . I don't know though whether this could be build on general , and if yes, how to get , so some help is needed.
can be found in and , which appear to be identical packages.
And can/should that be as a general gstreamer dependency on aarch64?
I feel like it should be an optional dependency. I'll file a PR real quick
Change:
patchelf --add-needed ${libsndfile.out}/lib/libsndfile.so $out/lib/libecore_audio.so ''; <del> meta = { </del> <ins> meta = with stdenv.lib; { </ins> description = "Enlightenment foundation libraries"; homepage = "https://enlightenment.org/"; <del> license = stdenv.lib.licenses.lgpl3; platforms = stdenv.lib.platforms.linux; maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; </del> <ins> license = with licenses; [ bsd2 lgpl2Only licenses.zlib ]; platforms = platforms.linux; maintainers = with maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; </ins> }; }

Discussion:
Describe the bug Setting the variable to , as suggested , does nothing. Unsetting results in this error: Expected behavior There are two issues. First, the Enlightenment Foundation Libraries are not complied with Wayland support. Secondly, the variable needs to be set correctly a Wayland environment. Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Maintainer information:
PR fixes this issue. Tested terminology with sway. The environment variable should not be set. In my test it was not needed to set . !
Change:
<del> { stdenv, lib, fetchFromGitHub , python3Packages , fehSupport ? false, feh , imagemagickSupport ? true, imagemagick , intltool , gtk3 </del> <ins> { lib , stdenv , fetchFromGitHub </ins> , gexiv2 <del> , libnotify </del> , gobject-introspection <ins> , gtk3 </ins> , hicolor-icon-theme <ins> , intltool , libnotify </ins> , librsvg <ins> , python3 , runtimeShell </ins> , wrapGAppsHook <del> , makeWrapper </del> <ins> , fehSupport ? false, feh , imagemagickSupport ? true, imagemagick </ins> }: <del> with python3Packages; buildPythonApplication rec { </del> <ins> python3.pkgs.buildPythonApplication rec { </ins> pname = "variety"; version = "0.8.5";

Discussion:
Recently variety stops working on NixOS. Pictures are downloaded well but the wallpaper can't be changed and can only be set in system setting. That's because of the hardcoded shebang which is taken from on the first installation. So when the bash is updated the script can't find it. It should be set as something like . Not sure if this is a nixos bug. Steps to reproduce the behavior: variety bash It works after the bash update. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --
IIRC now we use . I am patching it now.
Change:
sockets.sshd = { description = "SSH Socket"; wantedBy = [ "sockets.target" ]; <del> socketConfig.ListenStream = cfg.ports; </del> <ins> socketConfig.ListenStream = if cfg.listenAddresses != [] then map (l: "${l.addr}:${toString (if l.port != null then l.port else 22)}") cfg.listenAddresses else cfg.ports; </ins> socketConfig.Accept = true; };

Discussion:
I just noticed that my laptop was listening on port 22 on all interfaces even though I configured it to listen only on the loopback interface. When parameter from is set to true, parameter is ignored when configuring systemd socket. Check listening sockets: Instead, the socket should be listening only on .
Thanks you for reporting and fixing this bug.
Change:
boolstuff = callPackage ../development/libraries/boolstuff { }; inherit (callPackage ../development/libraries/boost { inherit (buildPackages) boost-build; }) <del> boost159 boost160 </del> boost165 boost166 boost168

Discussion:
Steps to reproduce the behavior: Fails on aarch64 `
Is there a use case for boost160? IMHO this will not be fixed as boost 1.60 was released 5 years before M1 existed.
It's currently a dependency of mongodb-34 and mongodb-36. I tried just change that dependency to boost-16x (which currently maps to 1.69), however that breaks the mongodb build. Nothing in nixpkgs seems to depend on those mongodb versions, so maybe remove those as well?
Change:
hardinfo = callPackage ../tools/system/hardinfo { }; <ins> harmonia = callPackage ../tools/package-management/harmonia { }; </ins> hcl2json = callPackage ../applications/misc/hcl2json { }; hcxtools = callPackage ../tools/security/hcxtools { };

Discussion:
Project description Metadata homepage URL: source URL: license: mit platforms: linux
I no longer request this package because I figured out that my nix-serve-ng issue was not caused by nix-serve-ng but rather nix-serve's in combination with instead of the correct
Change:
{ fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms <del> , xcbutil, xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl , xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon </del> <ins> , xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev , yajl, xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon </ins> , xorgserver, xvfb_run, dmenu, i3status }: stdenv.mkDerivation rec { name = "i3-${version}"; <del> version = "4.12"; </del> <ins> version = "4.13"; </ins> src = fetchurl { url = "http://i3wm.org/downloads/${name}.tar.bz2"; <del> sha256 = "1d3q3lgpjbkmcwzjhp0dfr0jq847silcfg087slcnj95ikh1r7p1"; </del> <ins> sha256 = "12ngz32swh9n85xy0cz1lq16aqi9ys5hq19v589q9a97wn1k3hcl"; </ins> }; <ins> nativeBuildInputs = [ which pkgconfig makeWrapper ]; </ins> buildInputs = [ <del> which pkgconfig makeWrapper libxcb xcbutilkeysyms xcbutil xcbutilwm libxkbcommon </del> <ins> libxcb xcbutilkeysyms xcbutil xcbutilwm xcbutilxrm libxkbcommon </ins> libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC xorgserver xvfb_run ]; <ins> configureFlags = [ "--disable-builddir" ]; enableParallelBuilding = true; </ins> postPatch = '' patchShebangs . '';

Discussion:
i3 has been updated to 4.13. I attempted to update our derivation but they switched to and I don't know how that works :) If somebody could update i3, I would really appreciate that. /cc maintainers
FYI, for to work it is sufficient to add to the (see ).
Thanks :) I think with the main i3 the issue was that the needed to change and I did not know what to set them to.
Yes, and indeed the and are already included with the source distribution for , but I had to add the for .
Change:
<ins> diff --git a/src/nautilus-python.c b/src/nautilus-python.c index 843e3c6..466a513 100644 --- a/src/nautilus-python.c +++ b/src/nautilus-python.c @@ -184,6 +184,9 @@ nautilus_python_init_python (void) { return FALSE; } +    debug("Add PyGObject to path"); +    PyRun_SimpleString("import site;import functools; functools.reduce(lambda k, p: site.addsitedir(p, k), [@pythonPaths@], site._init_pathinfo())"); + /* import gobject */ debug("init_pygobject"); if (!np_init_pygobject()) { </ins>

Discussion:
Describe the bug Trying to run a nautilus-python extension (syncstate-) fails with ImportError: could not import gobject (error was: ModuleNotFoundError("No module named 'gi'")) To Reproduce gnome3 and install nextcloud-client nautilus from terminal with something like Expected behavior python should find gi. Additional context I think it is part of pygobject3 which is in buildInputs therefore I think it is a problem of a wrong NIXPYTHONPATH Notify maintainers Metadata system: host os: multi-user?: sandbox: version: nixpkgs: Maintainer information:
I am not sure if it ever worked. The shared module links against pygobject but that still does not have to mean the gi module will be available on Python side. Maybe we need something like the following: At least until we have .
Yes this works, thank you!
hmmm I just tried with the new nautilus-python, but the nautilus python extensions still fail due to missing gi. Is there a reason that you tried to load gi in nautilus-python and not add the prefix arg as in your comment?
Did you make sure is updated? It worked for me with gsconnect extension. I chose that method because pygobject is really nautilus-python dependency, not nautilus one.
nevermind it works now (also with nextcloud), I forgot the in the overlay where I overwrote the package from master. Thanks for fixing it!
Change:
<del> { lib, buildPythonPackage, fetchFromGitHub, keyutils, pytest-runner, pytest }: </del> <ins> { lib , buildPythonPackage , cython , fetchFromGitHub , keyutils , pytestCheckHook }: </ins> buildPythonPackage rec { pname = "keyutils";

Discussion:
Steps to reproduce the behavior: , or anything depending on it (my failure specifically was triggered by udiskie). Looks like the exact same issue that is being reported in Hydra, on the same hash: Seems similar to reports that it was generated with cython 0.29.3. Unfortunately also seems to be archived and a cursory check does not seem to show a fork floating around.
Related:
Update: I was able to rebuild udiskie successfully by changing its build input (and all respective downstream references) to , so I'm guessing this might have only surfaced now with the recent cut to python 3.11 (maybe ?)
Another comment looks like . I'm guessing we could do the same here.
Change:
]; postPatch = '' <ins> # Use our Cargo.lock cp ${./Cargo.lock} Cargo.lock </ins> # Force vek to build in unstable mode cat <<'EOF' | tee "$cargoDepsCopy"/vek-*/build.rs fn main() {

Discussion:
Steps to reproduce the behavior: on any after the Rust toolchain was updated to failure with the crate See . Tracked upstream: Broader issue tracked locally: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- and myself See . Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
It seems the only problem is the package thing, besides a bunch of new warnings. I'm still building, though...
Change:
<ins> { stdenv, fetchurl, mkfontscale }: let version = "1.5.1"; releaseUrl = "https://github.com/slavfox/Cozette/releases/download/v.${version}"; in stdenv.mkDerivation rec { pname = "Cozette"; inherit version; srcs = map fetchurl [ { url = "${releaseUrl}/cozette.otb"; sha256 = "05k45n7jar11gnng2awpmc7zk9jdlzd6wz87xx49cp75jm4z9xm8"; } { url = "${releaseUrl}/CozetteVector.otf"; sha256 = "1sqhnjpizn1wi26lc7z2zml7yr7zkcpa72mh1drvd74rlcs1ip30"; } { url = "${releaseUrl}/CozetteVector.ttf"; sha256 = "1q4ml8shv9lmyc6bwhffwvbvl92s73j7xkb0rkqvci4f0zbz7mcy"; } ]; nativeBuildInputs = [ mkfontscale ]; sourceRoot = "./"; unpackCmd = '' otName=$(stripHash "$curSrc") cp $curSrc ./$otName ''; installPhase = '' install -D -m 644 *.otf -t "$out/share/fonts/opentype" install -D -m 644 *.ttf -t "$out/share/fonts/truetype" install -D -m 644 *.otb -t "$out/share/fonts/misc" mkfontdir "$out/share/fonts/misc" mkfontscale "$out/share/fonts/truetype" mkfontscale "$out/share/fonts/opentype" ''; outputs = [ "out" ]; meta = with stdenv.lib; { description = "A bitmap programming font optimized for coziness."; homepage = "https://github.com/slavfox/cozette"; license = licenses.mit; platforms = platforms.all; maintainers = with maintainers; [ brettlyons ]; }; } </ins>

Discussion:
Project description A bitmap font optimized for coziness. Metadata homepage URL: source URL: license: MIT platforms: Linux
If you have never contributed to nixpkgs, a font package would be a good start. This one specifically provides all the formats you may ever need, so no conversion/build is needed at all: just copying files. If you want to try I can help you, otherwise you'll probably have to wait until I'm done with issue .
Change:
cfg = config.programs.bash; <del> bashCompletion = optionalString cfg.enableCompletion '' # Check whether we're running a version of Bash that has support for # programmable completion. If we do, enable all modules installed in # the system and user profile in obsolete /etc/bash_completion.d/ # directories. Bash loads completions in all # $XDG_DATA_DIRS/bash-completion/completions/ # on demand, so they do not need to be sourced here. if shopt -q progcomp &>/dev/null; then . "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh" nullglobStatus=$(shopt -p nullglob) shopt -s nullglob for p in $NIX_PROFILES; do for m in "$p/etc/bash_completion.d/"*; do . $m done done eval "$nullglobStatus" unset nullglobStatus p m fi ''; lsColors = optionalString cfg.enableLsColors '' eval "$(${pkgs.coreutils}/bin/dircolors -b)" ''; </del> bashAliases = concatStringsSep "n" ( mapAttrsFlatten (k: v: "alias ${k}=${escapeShellArg v}") (filterAttrs (k: v: v != null) cfg.shellAliases)

Discussion:
Project description A bash utility; "Notifies you when long-running terminal commands complete." Metadata homepage URL: license: "All of undistract-me, including this file, is made available with the Expat license. See LICENSE for details."
Change:
"--prefix" "XDG_DATA_DIRS" ":" "${hicolor-icon-theme}/share" "--prefix" "GST_PLUGIN_SYSTEM_PATH_1_0" ":" "${lib.makeSearchPath "lib/girepository-1.0" unwrapped.gst_packages}" <ins> "--suffix" "PATH" ":" "${lib.makeBinPath [ coreutils gnugrep ]}" </ins> ] ++ lib.optionals unwrapped.kdeIntegration [ "--prefix" "QT_PLUGIN_PATH" ":" "${ lib.makeSearchPath

Discussion:
Copied from After running libreoffice in terminal, this is some error output: I think this is path issue in the soffice script but I do not know how to solve it. Something similar has been solved for in (pinging because of recent activity in regard to ) <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I can make a PR, but I don't have the patience to build locally, so someone have to test it.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Ok. Built successfully. Sending PR
Change:
bepasty = 215; # pumpio = 216; # unused, removed 2018-02-24 nm-openvpn = 217; <del> mathics = 218; </del> <ins> # mathics = 218; # unused, removed 2020-08-15 </ins> ejabberd = 219; postsrsd = 220; opendkim = 221;

Discussion:
The mathics test does not work because: /cc (commit history)
I see the same error with on the 20.03 beta channel. I think it also happens on Master. It used to work (maybe a few weeks ago? if I have time I'll bisect).
I removing mathics.
Change:
to match upstream. </para> </listitem> <ins> <listitem> <para> The new option <literal>services.tailscale.useRoutingFeatures</literal> controls various settings for using Tailscale features like exit nodes and subnet routers. If you wish to use your machine as an exit node, you can set this setting to <literal>server</literal>, otherwise if you wish to use an exit node you can set this setting to <literal>client</literal>. The strict RPF warning has been removed as the RPF will be loosened automatically based on the value of this setting. </para> </listitem> </ins> </itemizedlist> </section> </section>

Discussion:
I really appreciate this message, but also would like to be able to disable it. Most of my Tailscale machines are not exit nodes, nor do they act as subnet routers, hence I would prefer to leave strict filtering enabled and also not have these warnings. It seems like a small thing, but these warnings tend to make me blind to other new, more relevant warnings. I'm hacking on something here:
Thanks for raising this, have been ignoring this issue for ages and meaning to try to do something about it but never got around to it :sweat_smile:
Hah now I'm going to ask you for feedback - how does sound for the option name? It's wordy but I can't think of anything much better. ? but then that hits the issue where it removes the chance for users to see / opt-out of future warnings.
sounds fine, not aware of any existing convention for options to silence warnings.
Change:
<ins> Replace call to "revolver" with call to internal function. Useful when "revolver" is not defined in PATH. --- a/revolver +++ b/revolver @@ -255,9 +255,9 @@ ### function _revolver_demo() { for style in "${(@k)_revolver_spinners[@]}"; do -    revolver --style $style start $style +    _revolver --style $style start $style sleep 2 -    revolver stop +    _revolver stop done } </ins>

Discussion:
Project description A progress spinner for ZSH scripts <!-- Describe the project a little: --Metadata homepage URL: source URL: license: mit platforms: unix
Change:
- [kanata](https://github.com/jtroo/kanata), a tool to improve keyboard comfort and usability with advanced customization. Available as [services.kanata](options.html#opt-services.kanata.enable). <ins> - [Outline](https://www.getoutline.com/), a wiki and knowledge base similar to Notion. Available as [services.outline](#opt-services.outline.enable). </ins> - [persistent-evdev](https://github.com/aiberia/persistent-evdev), a daemon to add virtual proxy devices that mirror a physical input device but persist even if the underlying hardware is hot-plugged. Available as [services.persistent-evdev](#opt-services.persistent-evdev.enable). - [schleuder](https://schleuder.org/), a mailing list manager with PGP support. Enable using [services.schleuder](#opt-services.schleuder.enable).

Discussion:
Project description Outline is a modern web application for creating documentation, kind of a Wiki. Metadata homepage URL: source URL: license: Custom platforms: linux
I marked this as stale due to inactivity. &rarr;
Closing in favor of

Project description Team wiki, documentation, meeting notes, playbooks, onboarding, work logs, brainstorming, & more… Metadata homepage URL: source URL: license: Business Source License 1.1 platforms: unix
I marked this as stale due to inactivity. &rarr;
Change:
substituteInPlace MediaElch.pro --replace "/usr" "$out" ''; <ins> qtWrapperArgs = [ # libmediainfo.so.0 is loaded dynamically "--prefix LD_LIBRARY_PATH : ${libmediainfo}/lib" ]; </ins> meta = with lib; { homepage = "https://mediaelch.de/mediaelch/"; description = "Media Manager for Kodi";

Discussion:
MediaElch works correctly, except it cannot load StreamDetails. In About/Developer, it complains about not finding Steps to reproduce the behavior: or add it in MediaElch and scan some files to «Stream details» tab and try to «load from files» (3bis) You can also open About/Developer modal to see the message about the missing module. MediaElch should find libmediainfo and be able to use it to get info from media. ! NixOS 21.11 with Gnome/Wayland Thanks in advance !
As found by in it works perfectly with
Change:
basic = import ./basic.nix { inherit system pkgs; }; with-postgresql-and-redis = import ./with-postgresql-and-redis.nix { inherit system pkgs; }; with-mysql-and-memcached = import ./with-mysql-and-memcached.nix { inherit system pkgs; }; <ins> with-declarative-redis = import ./with-declarative-redis.nix {inherit system pkgs; }; with-secrets = import ./with-secrets.nix {inherit system pkgs; }; </ins> }

Discussion:
Currently, the nextcloud modules has a set list of config options (in ), and no -style hook for freeform text which should be appended to nextcloud's configuration file. In particular, I am unable to figure out how to set up redis caching with the nextcloud module — the description for states that "you still need to enable Redis in your ", but there is no description of how to do that, and no corresponding option in the module. I think the module should offer something like , particular since this is probably also an issue for other possible configurations of nextcloud (given that its is prohibitively long) — or am I just missing something obvious?
I started a pull request with this here:
I marked this as stale due to inactivity. &rarr;
Same problem ;(
Change:
Slice = "machine.slice"; Delegate = true; <del> # Hack: we don't want to kill systemd-nspawn, since we call # "machinectl poweroff" in preStop to shut down the # container cleanly. But systemd requires sending a signal # (at least if we want remaining processes to be killed # after the timeout). So send an ignored signal. </del> <ins> # We rely on systemd-nspawn turning a SIGTERM to itself into a shutdown # signal (SIGRTMIN+3) for the inner container. </ins> KillMode = "mixed"; <del> KillSignal = "WINCH"; </del> <ins> KillSignal = "TERM"; </ins> DevicePolicy = "closed"; DeviceAllow = map (d: "${d.node} ${d.modifier}") cfg.allowedDevices;

Discussion:
Describe the bug So, I seem to be seeing an issue that more or less exactly matches the description of on nixos today. I have a number of containers hosting websites, and none of them are shut down gracefully when I shut the host down. I must wait for the 90-second systemd timeout, and see them forcibly shut down. The mysql database in one container doesn't seem to enjoy this. If I shut down a container manually, via , it works flawlessly. But somehow this is not triggered when I shut down the host. To Reproduce There are details, but the meat and potatoes is that I have some containers defined in my , and then try to reboot my host with . Additional context My containers reside on ZFS filesystems? That's all I can think of. Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Metadata
I have the same issue. Note that I am very new to NixOS, so I might have missed something This is a workaround that works for me: