jiebi/CodeConvo huggingface dataset:
Change:
I have packaged just for testing and it builds and the tests work. But currently I don't see any benefits for myself, using this program. I don't think it is a good idea to be the maintainer of a program that I am not using. So if you want to have this in nixpkgs, you can use my code here: It worked with x86_64 NixOS.

Discussion:
<ins> { lib , rustPlatform , fetchFromGitHub , gpgme , libgpgerror , libxcb , python3 }: rustPlatform.buildRustPackage rec { pname = "gpg-tui"; version = "0.1.5"; src = fetchFromGitHub { owner = "orhun"; repo = "gpg-tui"; rev = "v${version}"; sha256 = "1hg8a1vxrkl2737dhb46ikzhnfz87zf9pvs370l9j8h7zz1mcq66"; }; cargoSha256 = "00azv55r4ldpr6gfn77ny9rzm3yqlpimvgzx2cwkwnhgmfcq2l1j"; nativeBuildInputs = [ gpgme # for gpgme-config libgpgerror # for gpg-error-config python3 ]; buildInputs = [ gpgme libgpgerror libxcb ]; meta = with lib; { description = "Terminal user interface for GnuPG"; homepage = "https://github.com/orhun/gpg-tui"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; } </ins>

Accelerate CoreGraphics CoreVideo; }; <ins> gpg-tui = callPackage ../tools/security/gpg-tui { }; </ins> goa = callPackage ../development/tools/goa { }; gohai = callPackage ../tools/system/gohai { };
Change:
I am installing KDE5 from a newly downloaded 15.05 ISO. It is attempting to download plasma files from: The target files were moved on January 11 to:
All I tried I was getting successfully from , but it's still good to fix this. Pushed.

Discussion:
{stdenv, fetchurl}: stdenv.mkDerivation rec { <del> name = "ncompress-4.2.4.3"; </del> <ins> name = "ncompress-4.2.4.4"; </ins> builder = ./builder.sh;

src = fetchurl { url = "mirror://sourceforge/project/ncompress/${name}.tar.gz"; <del> sha256 = "1y44ixc1w2vfvj1lm4dkcljlwv882ynrvm5i6l0lg1gf883j246l"; </del> <ins> sha256 = "0yjiwv1hwb253x3m6r1dq2k7m5c9nz0ib2j7fnm3hark7y6s42xh"; </ins> }; meta = {
Change:
Describe the bug The "ddterm" extension does not work, because it lacks some NixOS-specific packaging magic having to do with , typelibs etc (I don't understand anything about it, just keyword-googled ) To Reproduce Steps to reproduce the behavior: to into Gnome F12 visible happens. "/run/current-system/sw/share/gnome- line 5: exec: gjs: not found" appears in the user journal Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(cmm): channels(root): nixpkgs: Maintainer information:
Would need patching to hardcode the GJS path.
note that adding to does not serve as a workaround, because then it fails due to not finding typelibs. so I'm not sure just patching in the path to will solve this.
Yeah, will need at least in and , , and in .
You can try
still cannot find the Vte typelib, whatever that is. I'll have to let the experts sort it out :)
If vte is used by the extension itself, not just by the program it executes, it will need something like
still broken on 21.11
As far as I can tell, VTE is not used by the extension itself. They do the required modules at runtime. My patch currently looks like this:
that's an improvement, but with it I still get (in a nice Zenity window this time):
only applies to stuff in and by default so will not actually get wrapped.
if I'm reading the of correctly, "by default" actually means "hard-coded, nothing you can do short of changing itself", right?
You can still use in .
After processing, the script looks like this: does not appear anywhere in this (although I think it should), and consequentially the error does not go away.
thanks for the hints folks! this overlay finally results in working ddterm here:
That's great to hear. Is the still needed though? Also, would you like to open a pull request fixing this? (Start in )
I thought you need to have in the build inputs so that the shell function is available?
You probably also need in the so that is picked up into automatically.
yup, that also works, pull amended

Discussion:
{ lib , ddcutil , gjs <ins> , gnome , gobject-introspection </ins> , xprop , touchegg <ins> , vte , wrapGAppsHook </ins> }: let # Helper method to reduce redundancy

meta.maintainers = with lib.maintainers; [ eperuffo jtojnar rhoriguchi ]; })) <ins> (patchExtension "ddterm@amezin.github.com" (old: { # Requires gjs, zenity & vte via the typelib nativeBuildInputs = [ gobject-introspection wrapGAppsHook ]; buildInputs = [ vte ]; postPatch = '' for file in *.js com.github.amezin.ddterm; do substituteInPlace $file --replace "gjs" "${gjs}/bin/gjs" substituteInPlace $file --replace "zenity" "${gnome.zenity}/bin/zenity" done ''; postFixup = '' wrapGApp "$out/share/gnome-shell/extensions/ddterm@amezin.github.com/com.github.amezin.ddterm" ''; })) </ins> (patchExtension "display-brightness-ddcutil@themightydeity.github.com" (old: { # Has a hard-coded path to a run-time dependency # https://github.com/NixOS/nixpkgs/issues/136111
Change:
Describe the bug prints some information that misses the actual version can't do anything as it doesn't know what buildkit image to use Expected behavior version is properly printed knows the default image Additional context earthly/earthly Notify maintainers Metadata Maintainer information:
trying to add them now
Do you mind mentioning me in the PR? Sadly GitHub doesn't notify me about mentions of my tickets :(
okay i will when i make it

Discussion:
vendorSha256 = "sha256-q3dDV0eop2NxXHFrlppWsZrO2Hz1q5xhs1DnB6PvG9g="; <ins> buildFlagsArray = '' -ldflags= -s -w -X main.Version=v${version} -X main.DefaultBuildkitdImage=earthly/buildkitd:v${version} -extldflags -static ''; BUILDTAGS = "dfrunmount dfrunsecurity dfsecrets dfssh dfrunnetwork"; preBuild = '' makeFlagsArray+=(BUILD_TAGS="${BUILDTAGS}") ''; </ins> postInstall = '' mv $out/bin/debugger $out/bin/earthly-debugger mv $out/bin/shellrepeater $out/bin/earthly-shellrepeater
Change:
After upgrading to 21.05, when running , I get the following warning: Everything else seems to work fine, but it's unclear what has gone wrong here, or if I should be worried. Metadata Maintainer information:
discussed here a bit you can safely ignore it to hide it we could add to the or to
Not sure if my case is related, but I had the same error after : The overall install didn't error. Attempting to reboot, it would be unable to boot:
My boot got fixed after converting my MBR to GPT and creating an ESP partition and setting it to use systemd-boot instead of GRUB. If GRUB continues to work with people that see this warning, it's unlikely that my boot problems are related. (But, still, a different bug; if MBR got deprecated, there should have been an announcement.)
But the issue is quite severe (I just lost hours on it because it happened on a remote server which boots very slowly on a web-mounted rescue iso), and I could only get my system running again by reverting to . I'd propose to throw out the new version () for now. I can't do GPT, because the system only has a legacy BIOS (no UEFI), it appears that this is the reason this issue has flown under the radar? Same error referenced , it appears to be an issue with the grub package itself. EDIT: since OP defined a "parallel" but much less severe bug, I made a new report here:

Discussion:
<del> { lib, stdenv, fetchgit, flex, bison, python3, autoconf, automake, gnulib, libtool </del> <ins> { lib, stdenv, fetchurl, flex, bison, python3, autoreconfHook, gnulib, libtool, bash </ins> , gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkg-config , buildPackages , fetchpatch

pname = "grub"; inherit version; <del> src = fetchgit { url = "git://git.savannah.gnu.org/grub.git"; rev = "${pname}-${version}"; sha256 = "1vkxr6b4p7h259vayjw8bfgqj57x68byy939y4bmyaz6g7fgrv0f"; </del> <ins> src = fetchurl { url = "mirror://gnu/grub/grub-${version}.tar.xz"; sha256 = "sha256-t56kSvkbk9F80/6Ava5u1DdwZ4qaWuGSzOqAPrtlfuE="; </ins> }; patches = [

''; depsBuildBuild = [ buildPackages.stdenv.cc ]; <del> nativeBuildInputs = [ bison flex python3 pkg-config autoconf automake gettext freetype ]; buildInputs = [ ncurses libusb-compat-0_1 freetype lvm2 fuse libtool ] </del> <ins> nativeBuildInputs = [ bison flex python3 pkg-config gettext freetype autoreconfHook ]; buildInputs = [ ncurses libusb-compat-0_1 freetype lvm2 fuse libtool bash ] </ins> ++ optional doCheck qemu ++ optional zfsSupport zfs;

patchShebangs . <del> ./bootstrap --no-git --gnulib-srcdir=${gnulib} </del> substituteInPlace ./configure --replace '/usr/share/fonts/unifont' '${unifont}/share/fonts' '';

postInstall = '' # Avoid a runtime reference to gcc sed -i $out/lib/grub/*/modinfo.sh -e "/grub_target_cppflags=/ s|'.*'|' '|" <ins> # just adding bash to buildInputs wasn't enough to fix the shebang substituteInPlace $out/lib/grub/*/modinfo.sh  --replace ${buildPackages.bash} "/usr/bin/bash" </ins> ''; passthru.tests = {
Change:
Right now the IntelliJ derivation hardcodes oraclejdk8, and AFAICT the only way to override this choice is by overriding oraclejdk8 itself: (I have tried and with no effect.) Can we make this overridable somehow? (FWIW, I've had no problems with 15 and 15 EAP under openjdk8, although I'm getting redraw artifacts with 16 EAP.) cc
It was just recently changed away from that due to Idea having some bug with and not seeming very open to dealing with it. I can't find the ticket right now...
Oh
Okay, found the root cause of this bug. The crucial line is the following in (in openjdk): This checks that is indeed in , and guess what this returns with our symlink maze... As a temporary workaround you can set as an extra environment variable. This manages to hit the only special case in which doesn't have this check, and then intellij works fine with openjdk. Maybe I can draft a PR to fix this tomorrow.
Since the PR is merged, I assume this issue was just forgotten.

Discussion:
{ stdenv, fetchurl, makeDesktopItem, makeWrapper, patchelf, p7zip <del> , coreutils, gnugrep, which, git, python, unzip, androidsdk }: </del> <ins> , coreutils, gnugrep, which, git, python, unzip, jdk }: </ins> <del> { name, product, version, build, src, meta, jdk } @ attrs: </del> <ins> { name, product, version, build, src, meta } @ attrs: </ins> with stdenv.lib;

{ stdenv, callPackage, fetchurl, makeDesktopItem, makeWrapper, patchelf , coreutils, gnugrep, which, git, python, unzip, p7zip <del> , androidsdk, jdk, oraclejdk8 </del> <ins> , androidsdk, jdk </ins> }: assert stdenv.isLinux;

let bnumber = with stdenv.lib; build: last (splitString "-" build); <del> mkIdeaProduct' = callPackage ./common.nix { }; mkIdeaProduct = attrs: mkIdeaProduct' ({ # After IDEA 15 we can no longer use OpenJDK. # https://youtrack.jetbrains.com/issue/IDEA-147272 jdk = if (bnumber attrs.build) < "143" then jdk else oraclejdk8; } // attrs); </del> <ins> mkIdeaProduct = callPackage ./common.nix { }; </ins> buildAndroidStudio = { name, version, build, src, license, description }: let drv = (mkIdeaProduct rec {

rm -rf $out/lib/openjdk/jre/bina ln -s $out/lib/openjdk/bin $out/lib/openjdk/jre/bin <ins> # Make sure cmm/*.pf are not symlinks: # https://youtrack.jetbrains.com/issue/IDEA-147272 rm -rf $out/lib/openjdk/jre/lib/cmm ln -s {$jre,$out}/lib/openjdk/jre/lib/cmm </ins> # Set PaX markings exes=$(file $out/lib/openjdk/bin/* $jre/lib/openjdk/jre/bin/* 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//') echo "to mark: *$exes*"
Change:
After switching to 21.05, nixos-rebuild switch --upgrade fails: unpacking channels... building Nix... building the system configuration... error: anonymous function at /nix/store/nkr5k3g0ki69d7c2yn19lxd0fyfpnpsa-nixos-21.05.650./nixos/pkgs/applications/window- called with unexpected argument 'gestures', at /nix/store/nkr5k3g0ki69d7c2yn19lxd0fyfpnpsa-nixos- (use '--show-trace' to show detailed location information) The error seems to be triggered by fvwm in my Here is a stripped down version that still triggers the error on a virtual machine: { config, pkgs, lib, ... }: { imports = [ # Include the results of the hardware scan. ./hardware- ]; # Boot and Kernel # =============== # Use the GRUB 2 boot loader. = true; = 2; = true; = "/dev/disk/by-id/ata-VBOXHARDDISKVB576b20e2-"; # or "nodev" for efi only boot.supportedFilesystems = [ "zfs" ]; boot.extraModprobeConfig = '' options zfs zfsarcmax= ''; networking.hostId = ""; # Localization # ============ # Select internationalisation properties. = "Lat2-Termnus16"; console.keyMap = "de"; i18n = { defaultLocale = "enUS.UTF-8"; }; # Set your time zone. time.timeZone = "Europe/Berlin"; # Enable the X11 windowing system. services.xserver = { enable = true; layout = "de"; xkbModel = "pc105"; xkbVariant = "nodeadkeys"; = true; }; # Packages # ======== environment.systemPackages = with pkgs; [ # should be present when init scripts for users run zsh screen home-manager ]; # User management # =============== users.mutableUsers = true; # Version # ======= # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database # servers. You should change this only after NixOS release notes say you # should. system.stateVersion = "20.03"; # Did you read the comment? } To Reproduce Steps to reproduce the behavior: to the channel nixos-21.05 nixos-rebuild switch --upgrade Expected behavior A clear and concise description of what you expected to happen. The system should upgrade. Metadata Please run and paste the result. these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked): /nix/store/lp90qhw19dcp79cnlicjg09llgh7dzsz-bash-interactive-4.4-p23-dev copying path '/nix/store/lp90qhw19dcp79cnlicjg09llgh7dzsz-bash-interactive-4.4-p23-dev' from ''... system: host os: multi-user?: sandbox: version: channels(root): channels(bux): nixpkgs:
changed the argument name but forgot to update the nixos module at cc
I have exactly the same problem, is there any workaround? Is it safe to change this manually?

Discussion:
let cfg = config.services.xserver.windowManager.fvwm; <del> fvwm = pkgs.fvwm.override { gestures = cfg.gestures; }; </del> <ins> fvwm = pkgs.fvwm.override { enableGestures = cfg.gestures; }; </ins> in {
Change:
This issue tracks the conversion of from Docbook to CommonMark per . If you intend to work on this conversion, please comment below! here that you intend to work on it. (Please also post if you stop working on it.) a new branch of nixpkgs master. : change to . to . the contents from Docbook to . Follow . Use existing sections for inspiration. from the folder to build the manual. the manual on your computer at after running from folder: it looks good, submit a PR and reference this issue.
I'll work on this.

Discussion:
<xi:include href="functions/library.xml" /> <xi:include href="functions/generators.xml" /> <xi:include href="functions/debug.section.xml" /> <del> <xi:include href="functions/prefer-remote-fetch.xml" /> </del> <ins> <xi:include href="functions/prefer-remote-fetch.section.xml" /> </ins> <xi:include href="functions/nix-gitignore.section.xml" /> </chapter>

<ins> # prefer-remote-fetch overlay {#sec-prefer-remote-fetch} `prefer-remote-fetch` is an overlay that download sources on remote builder. This is useful when the evaluating machine has a slow upload while the builder can fetch faster directly from the source. To use it, put the following snippet as a new overlay: ```nix self: super: (super.prefer-remote-fetch self super) ``` A full configuration example for that sets the overlay up for your own account, could look like this ```ShellSession $ mkdir ~/.config/nixpkgs/overlays/ $ cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF self: super: super.prefer-remote-fetch self super EOF ``` </ins>

<del> <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/xinclude" xml:id="sec-prefer-remote-fetch"> <title>prefer-remote-fetch overlay</title> <para> <function>prefer-remote-fetch</function> is an overlay that download sources on remote builder. This is useful when the evaluating machine has a slow upload while the builder can fetch faster directly from the source. To use it, put the following snippet as a new overlay: <programlisting> self: super: (super.prefer-remote-fetch self super) </programlisting> A full configuration example for that sets the overlay up for your own account, could look like this <screen> <prompt>$ </prompt>mkdir ~/.config/nixpkgs/overlays/ <prompt>$ </prompt>cat &gt; ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix &lt;&lt;EOF self: super: super.prefer-remote-fetch self super EOF </screen> </para> </section> </del>
Change:
This issue tracks the conversion of from Docbook to CommonMark per . If you intend to work on this conversion, please comment below! here that you intend to work on it. (Please also post if you stop working on it.) a new branch of nixpkgs master. : change to . to . the contents from Docbook to . Follow . Use existing sections for inspiration. from the folder to build the manual. the manual on your computer at after running from folder: it looks good, submit a PR and reference this issue.
I'm working on this one.

Discussion:
</para> <xi:include href="functions/library.xml" /> <xi:include href="functions/generators.xml" /> <del> <xi:include href="functions/debug.xml" /> </del> <ins> <xi:include href="functions/debug.section.xml" /> </ins> <xi:include href="functions/prefer-remote-fetch.xml" /> <xi:include href="functions/nix-gitignore.section.xml" /> </chapter>

<ins> # Debugging Nix Expressions {#sec-debug} Nix is a unityped, dynamic language, this means every value can potentially appear anywhere. Since it is also non-strict, evaluation order and what ultimately is evaluated might surprise you. Therefore it is important to be able to debug nix expressions. In the `lib/debug.nix` file you will find a number of functions that help (pretty-)printing values while evaluation is running. You can even specify how deep these values should be printed recursively, and transform them on the fly. Please consult the docstrings in `lib/debug.nix` for usage information. </ins>

<del> <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="sec-debug"> <title>Debugging Nix Expressions</title> <para> Nix is a unityped, dynamic language, this means every value can potentially appear anywhere. Since it is also non-strict, evaluation order and what ultimately is evaluated might surprise you. Therefore it is important to be able to debug nix expressions. </para> <para> In the <literal>lib/debug.nix</literal> file you will find a number of functions that help (pretty-)printing values while evaluation is runnnig. You can even specify how deep these values should be printed recursively, and transform them on the fly. Please consult the docstrings in <literal>lib/debug.nix</literal> for usage information. </para> </section> </del>
Change:
Describe the bug Roundcube just responds with the following message: Same thing in the systemd logs: 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 Maintainer information:
was just updated to in . That might be the issue. Override the package with maybe?
That was the problem, thank you! PR here:

Discussion:
fpm = config.services.phpfpm.pools.roundcube; localDB = cfg.database.host == "localhost"; user = cfg.database.username; <del> phpWithPspell = pkgs.php.withExtensions ({ enabled, all }: [ all.pspell ] ++ enabled); </del> <ins> phpWithPspell = pkgs.php74.withExtensions ({ enabled, all }: [ all.pspell ] ++ enabled); </ins> in { options.services.roundcube = {
Change:
All builds of fail. When I try to build nixpkgs/master locally, I get the same failure as Any ideas what might cause this?
I think the issue is that it's reaching out to the host Xcode and needs to be patched not to do that. I don't have time to look and although I know about darwin impurities a fair amount, know nothing about nodejs. Someone who actually uses it needs to step up and fix it properly. The fix will likely look like a patch that tells it not to reach out to Xcode and instead teaches it where to find the things it needs. Also relevant is a project is working on to present a fake Xcode to our , but I don't think that's ready yet.
For what it is worth. I have Xcode installed and if I add this line back in it builds for me:
That's weird. I took it out because I couldn't even find that line in the source, but I might have missed it somehow. Feel free to push it back in!

Discussion:
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py <del> index c002b11..eeb0400 100644 </del> <ins> index 407ead0..8bf64e7 100644 </ins> --- a/tools/gyp/pylib/gyp/xcode_emulation.py +++ b/tools/gyp/pylib/gyp/xcode_emulation.py @@ -446,10 +446,16 @@ class XcodeSettings(object):

is_extension = self._IsIosAppExtension() or self._IsIosWatchKitExtension() if sdk_root and is_extension: <del> @@ -1032,7 +1040,10 @@ class XcodeSettings(object): sdk_root = self._SdkPath(config_name) if not sdk_root: sdk_root = '' -    return l.replace('$(SDKROOT)', sdk_root) +    if self._SdkPath(): +      return l.replace('$(SDKROOT)', sdk_root) +    else: +      return l def AdjustLibraries(self, libraries, config_name=None): """Transforms entries like 'Cocoa.framework' in libraries into entries like </del>

<del> diff --git a/configure b/configure index d199975..66d903b 100755 --- a/configure +++ b/configure @@ -734,7 +734,7 @@ def configure_library(lib, output): # libpath needs to be provided ahead libraries if pkg_libpath: output['libraries'] += ( -          filter(None, map(str.strip, pkg_cflags.split('-L')))) +          pkg_libpath.split()) default_libs = getattr(options, shared_lib + '_libname') default_libs = map('-l{0}'.format, default_libs.split(',')) </del>

sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py ''; <del> patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ./pkg-libpath.patch ]; </del> <ins> patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ]; </ins> postFixup = '' sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' $out/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py

dontDisableStatic = true; prePatch = '' patchShebangs . <ins> sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py </ins> ''; <ins> patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ]; </ins> buildInputs = [ python which zlib libuv openssl python ] ++ optionals stdenv.isLinux [ utillinux http-parser ] ++ optionals stdenv.isDarwin [ pkgconfig openssl libtool ];