jiebi/CodeConvo huggingface dataset:
Change:
]; nativeBuildInputs = [ <del> makeBinaryWrapper </del> <ins> gobject-introspection </ins> wrapGAppsHook3 copyDesktopItems imagemagick ]; <del> installPhase = let libpath = lib.makeLibraryPath ([ libGL glfw openal libglvnd ] ++ lib.optionals stdenv.isLinux [ xorg.libX11 xorg.libXxf86vm xorg.libXext xorg.libXcursor xorg.libXrandr xorg.libXtst libpulseaudio wayland alsa-lib ]); in '' runHook preInstall mkdir -p $out/{bin,lib/hmcl} cp $src $out/lib/hmcl/hmcl.jar magick ${icon} hmcl.png install -Dm644 hmcl-1.png $out/share/icons/hicolor/32x32/apps/hmcl.png makeBinaryWrapper ${jre}/bin/java $out/bin/hmcl  --add-flags "-jar $out/lib/hmcl/hmcl.jar"  --set LD_LIBRARY_PATH ${libpath} runHook postInstall ''; </del> <ins> installPhase = '' runHook preInstall mkdir -p $out/{bin,lib/hmcl} cp $src $out/lib/hmcl/hmcl.jar magick ${icon} hmcl.png install -Dm644 hmcl-1.png $out/share/icons/hicolor/32x32/apps/hmcl.png runHook postInstall ''; fixupPhase = let libpath = lib.makeLibraryPath ([ libGL glfw openal libglvnd ] ++ lib.optionals stdenv.isLinux [ xorg.libX11 xorg.libXxf86vm xorg.libXext xorg.libXcursor xorg.libXrandr xorg.libXtst libpulseaudio wayland alsa-lib ]); in '' runHook preFixup makeBinaryWrapper ${jre}/bin/java $out/bin/hmcl  --add-flags "-jar $out/lib/hmcl/hmcl.jar"  --set LD_LIBRARY_PATH ${libpath}  ''${gappsWrapperArgs[@]} runHook postFixup ''; </ins> meta = with lib; { homepage = "https://hmcl.huangyuhui.net";

Discussion:
can not able to install mod and modpack from local file Steps to reproduce the behavior: Instances a modpack from local file error message: my desktop environment is plasma5(X11) <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
patches = [ ./xfce4-settings-default-icon-theme.patch ]; <del> nativeBuildInputs = [ pkgconfig intltool ]; </del> <ins> postPatch = '' for f in $(find . -name *.c); do substituteInPlace $f --replace "libinput-properties.h" '<xorg/libinput-properties.h>' done ''; nativeBuildInputs = [ pkgconfig intltool ]; </ins> <del> buildInputs = [ exo gtk libxfce4util libxfce4ui libglade upower xfconf xorg.libXi xorg.libXcursor libwnck libnotify libxklavier garcon ]; #TODO: optional packages </del> <ins> buildInputs = [ exo gtk garcon libxfce4util libxfce4ui xfconf libXi upower libnotify libXcursor xf86inputlibinput libxklavier ]; </ins> configureFlags = [ "--enable-pluggable-dialogs" "--enable-sound-settings" ]; <ins> enableParallelBuilding = true; </ins> meta = with stdenv.lib; { homepage = http://www.xfce.org/projects/xfce4-settings; description = "Settings manager for Xfce";

Discussion:
XFCE Touchpad configuration UI not compatible with set to . Specifically, the 'Touchpad' tab in the UI is missing even when the touchpad device is selected via the combo box. Problem is resolved by replacing by . (1) Have your include the lines and (2) Run . (3) Reboot to insure the new settings took effect. (4) Login into an XFCE session. (5) Go to 'Applications' -'Settings' -'Mouse and Touchpad'. This will cause the 'Mouse and Touchpad' configuration window to appear. (6) Select the touchpad device ('AlpsPS/2 ALPS DualPoint TouchPad' in my particular case) from the combo box. Observe that the 'Buttons and Feedback' tab will be present, but the 'Touchpad' tab that allows configuring touchpad-specific settings, such as 'Tap touchpad to click' will be absent. (7) Replace the line in by (8) Run . (9) Reboot your system to insure that the new settings will take effect. (10) Login into an XFCE session. (11) Go back to 'Applications' -'Settings' -'Mouse and Touchpad'. (6) Select that same touchpad device from the combo box as in step (6). Observe that this time the 'Touchpad' tab with the touchpad-specific settings will be present in the UI. System: Nix version: Nixpkgs version: Sandboxing enabled:
Yeah, derivation is compiled w/o . See upstream: This has been pestering me for a while, thanks.
OK, thanks for looking into this. Even though this is not presently supported in the official build, would it be possible to do a custom build locally? If so, could you point to some reference material or an example? So far I could not figure out how to force a local build...
I'm sorry for missing this. Next time when you want to grab something from master, try:
Thanks That did get the with the addition you made installed on my system, and the 'Touchpad' tab is now available in the UI. Very much appreciate your help!
Change:
}; }; <ins> Gtk3ImageView = buildPerlPackage { pname = "Gtk3-ImageView"; version = "6"; src = fetchurl { url = "mirror://cpan/authors/id/R/RA/RATCLIFFE/Gtk3-ImageView-6.tar.gz"; sha256 = "0krkif9i3hrgjdskw05pcks40fmb43d21lxf4h8aclv0g8z647f0"; }; buildInputs = [ pkgs.gtk3 ]; propagatedBuildInputs = [ Readonly Gtk3 ]; checkInputs = [ TestDifferences PerlMagick TryTiny TestMockObject CarpAlways pkgs.librsvg ]; checkPhase = '' ${pkgs.xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24'  make test ''; meta = { description = "Image viewer widget for Gtk3"; license = with lib.licenses; [ artistic1 gpl1Plus ]; }; }; </ins> Gtk3SimpleList = buildPerlPackage { pname = "Gtk3-SimpleList"; version = "0.21";

Discussion:
Describe the bug in seems to be broken, in a way (I think) related to how other things have broken in the past, e.g. . From looking at examples of fixes, e.g. , it looks like it might be necessary to patch the Perl source in , but I don't really understand what's going on so I don't know how. To Reproduce Steps to reproduce the behavior: to for this package so that the tests actually run, as in my PR tests fail Expected behavior I tried making a package that depends on , and got the following error at runtime: Maintainer information:
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 .
Change:
# makes libmongocrypt bindings not look for static libraries in completely wrong places BUILD_TYPE = "dynamic"; <ins> # Disable NAPI_EXPERIMENTAL to allow to build with Node.js≥18.20.0. NIX_CFLAGS_COMPILE = "-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT"; </ins> dontNpmInstall = true; passthru = {

Discussion:
Steps to reproduce the behavior: n8n (from ) Bisected to . Would be fixed by , but that's now closed due to marsam's departure from the community; filing this issue to avoid the breakage getting lost. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
[metadata] lock-version = "1.1" <del> python-versions = "^3.8" content-hash = "57d7c155ae4259912291b1315f9c2fd6c918fad9ef54d1e8011f800b649f9647" </del> <ins> python-versions = "^3.9" content-hash = "781bb4378f4491b427372322c3ec71131ed7a28e0a166e0bc43969b016b5d926" </ins> [metadata.files] apache-libcloud = [

Discussion:
Steps to reproduce the behavior: Please run and paste the result.
Looks like there is already a PR to address this at And fwiw I had to bisect this to fix my config, first bad commit is
Closing since the linked PR was merged. (Not sure why merge of the linked PR didn't close this...)
Change:
<ins> { lib , buildPythonPackage , fetchFromGitHub , ndg-httpsclient , netifaces , pyasn1 , pyopenssl , requests , six , urllib3 }: buildPythonPackage rec { pname = "advocate"; version = "1.0.0"; src = fetchFromGitHub { owner = "JordanMilne"; repo = pname; rev = "v${version}"; sha256 = "sha256-opObkjkad+yrLE2b7DULHjGuNeVhu4fEmSavgA39YPw="; }; propagatedBuildInputs = [ ndg-httpsclient netifaces pyasn1 pyopenssl requests six urllib3 ]; # The tests do network requests, so disabled doCheck = false; pythonImportsCheck = [ "advocate" ]; meta = with lib; { homepage = "https://github.com/JordanMilne/Advocate"; description = "An SSRF-preventing wrapper around Python's requests library"; license = licenses.asl20; maintainers = with maintainers; [ pborzenkov ]; }; } </ins>

Discussion:
, CVSSv3=9.8 (nixos-21.11) CVSSv3=9.8 (nixos-21.11) CVSSv3=8.8 (nixos-21.11) CVSSv3=6.5 (nixos-21.11) CVSSv3=6.1 (nixos-21.11) CVSSv3=5.4 (nixos-21.11) calibre-web is vulnerable to Business Logic Errors Server-Side Request Forgery (SSRF) in Pypi calibreweb prior to 0.6.16. calibre-web is vulnerable to Cross-Site Request Forgery (CSRF) Improper Access Control in Pypi calibreweb prior to 0.6.16. Cross-site Scripting (XSS) - Reflected in Pypi calibreweb prior to 0.6.16. calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Scanned versions: nixos-21.11: . Cc
Fixed in
Change:
, pefile , pyelftools , python-registry <ins> , pyyaml </ins> , unicorn }:

Discussion:
seems to be missing a dependency which was introduced in 1.4.1 (the current version in nixpkgs, 1.4.2 has already been released, so probably should be updated). The build fails: I am puzzled how this slipped past the checks. Steps to reproduce the behavior: A clear and concise description of what you expected to happen. I am building on Fedora. system: multi-user?: sandbox: version: channels(): nixpkgs:
Change:
]; prePatch = '' <del> substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10' </del> <ins> substituteInPlace configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}" </ins> ''; }

Discussion:
Describe the bug The current version of fails to build on macOS. From the error message it sounds like it believes the current macOS version is 10.10. The error message in question, from the configure phase: I suspect this was caused by which bumped our to 10.12. I have no idea why Erlang thinks the current macOS version is 10.10 (I'm running macOS 10.14). To Reproduce Steps to reproduce the behavior: macOS, run , or from a nixpkgs checkout run Expected behavior It should build. Additional context Add any other context about the problem here. Metadata system: host os: multi-user?: sandbox: version: channels(lily): nixpkgs: Maintainer information:
This is explicitly a problem with . I found the following in , , , and So at least it isn't a larger issue with Darwin. We should probably fix this to use . I'll work on a patch.
Change:
}; linux = { <del> buildInputs = [ gtk3 ]; </del> <ins> buildInputs = [ glib gtk3 ]; </ins> nativeBuildInputs = [ unzip

Discussion:
Describe the bug The electron package tries to wrap in . Because of this the wrapper is completely void of any entries in . It needs to be rewritten in whatever fashion that the call happens in . This is why has needed to be wrapped recently , it's because isn't wrapped correctly itself. A change should be made to stable to revert this to riot-desktop, and to backport this fix instead. Expression: buildInputs should also have for it's setup-hook
I created a PR here:
Change:
} ).python; <del> in interpreter.pkgs.nixops.withPlugins(ps: [ ps.nixops-encrypted-links ps.nixops-virtd ps.nixops-aws ps.nixops-gcp ps.nixopsvbox ]) </del> <ins> pkg = interpreter.pkgs.nixops.withPlugins(ps: [ ps.nixops-encrypted-links ps.nixops-virtd ps.nixops-aws ps.nixops-gcp ps.nixopsvbox ]) // rec { # Workaround for https://github.com/NixOS/nixpkgs/issues/119407 # TODO after #1199407: Use .overrideAttrs(pkg: old: { passthru.tests = .....; }) tests = nixosTests.nixops.unstable.override { nixopsPkg = pkg; }; # Not strictly necessary, but probably expected somewhere; part of the workaround: passthru.tests = tests; }; in pkg </ins>

Discussion:
Describe the bug introduced a change that breaks NixOps. When we have a test, something like this will be detected faster and not depend on users running into an issue. That would increase the quality. To Reproduce Steps to reproduce the behavior: nixops complain :grimacing:
I marked this as stale due to inactivity. &rarr;
Tests would still be nice. has been more broken than I expected...
I marked this as stale due to inactivity. &rarr;
Change:
rustPlatform.buildRustPackage rec { pname = "wasm-pack"; <del> version = "0.9.1"; </del> <ins> version = "0.10.1"; </ins> src = fetchFromGitHub { owner = "rustwasm"; repo = "wasm-pack"; rev = "v${version}"; <del> sha256 = "1rqyfg6ajxxyfx87ar25nf5ck9hd0p12qgv98dicniqag8l4rvsr"; </del> <ins> sha256 = "sha256-I5TxpJTSus3fXMV0We9SCVMEERS0wIdYvC8SHo8zEHY="; </ins> }; <del> cargoPatches = [ ./update-deps.patch ]; cargoSha256 = "130gqvzpyr055xkqcy1r0y7l5k2dcv7n9zgr4ja7dm7iayzbwwi1"; </del> <ins> cargoSha256 = "sha256-MmbQb2JYaDpLijKRAxzD9pR4gh+Eoem0MtfdiuRC7Tg="; </ins> nativeBuildInputs = [ pkg-config ];

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: wasm-pack <!-- 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: 0.9.1 desired version: 0.10.1 <!-- 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.
I've just updated this to request 0.10.1 instead 0f 0.10.0. Is there any chance this will be looked at soon? I've tried packaging 0.10 but ran into trouble, so right now I'm stuck on an old version as a result.
tagging you as well because you've been active on recent wasm-pack pull requests (sorry to bother you, but from looking at PRs it seems like hasn't been active on this kind of thing for a while).
Change:
yojimbo = callPackage ../development/libraries/yojimbo { }; <del> yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { }; </del> yubico-pam = callPackage ../development/libraries/yubico-pam { }; yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool {

Discussion:
yubioath-desktop is unable to talk to YubiKey devices, seemingly because it is unable to import the python module. Steps to reproduce the behavior: from a terminal No Python errors, and the TOTP tokens to show up in the UI. This is what the UI displays, indefinitely. ! The behaviour is the same regardless of whether a YubiKey device is present. is installed via , using a flake-based config.
It's not clear to me, which python package they want here.
It looks like upstream has deprecated this package in favor of:
See
Hi! The error is caused by a dependency on yubikey-manager5, while yubioath-desktop still needs yubikey-manager4, because the python libs had breaking changes (see ). By dropping the dependency to , this can be fixed. A workaround: A suggested fix: Change and I know that this package is dropped in master () but this could be a relatively simple fix for 22.11, before changing to the new flutter-based gui. Thanks!
Thanks for the suggested fix, Submitted a PR: it gets picked up.
Change:
{ fetchFromGitHub, }: rec { versions = { <del> opentoonz = "1.4.0"; libtiff = "4.0.3"; </del> <ins> opentoonz = "1.5.0"; libtiff = "4.0.3";  # The version in thirdparty/tiff-* </ins> }; src = fetchFromGitHub { owner = "opentoonz"; repo = "opentoonz"; rev = "v${versions.opentoonz}"; <del> sha256 = "0vgclx2yydsm5i2smff3fj8m750nhf35wfhva37kywgws01s189b"; </del> <ins> sha256 = "1rw30ksw3zjph1cwxkfvqj0330v8wd4333gn0fdf3cln1w0549lk"; </ins> }; }

Discussion:
Thought I'd try out Opentoonz because it looks cool, however I can't get the derivation for libtiff-4.0.3-opentoonz (patched version of libtiff for opentoonz) to build. Steps to reproduce the behavior: on NixOS 21.05 -4.0.3-opentoonz derivation fails to build to successfully evaluate and drop me to a shell prompt from whence I can run and try out Opentoonz. This is the relevant output from :
the build of opentoonz is also failing on master but for a different reason
Change:
<ins> { lib , buildPythonPackage , python , fetchFromGitHub , poetry-core , fastapi , injector , llama-index-core , llama-index-readers-file , huggingface-hub , python-multipart , pyyaml , transformers , uvicorn , watchdog , gradio , fetchurl , fetchpatch }: buildPythonPackage rec { pname = "private-gpt"; version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "zylon-ai"; repo = "private-gpt"; rev = "v${version}"; hash = "sha256-bjydzJhOJjmbflcJbuMyNsmby7HtNPFW3MY2Tw12cHw="; }; patches = [ # Fix a vulnerability, to be removed in the next bump version # See https://github.com/zylon-ai/private-gpt/pull/1890 (fetchpatch { url = "https://github.com/zylon-ai/private-gpt/commit/86368c61760c9cee5d977131d23ad2a3e063cbe9.patch"; hash = "sha256-4ysRUuNaHW4bmNzg4fn++89b430LP6AzYDoX2HplVH0="; }) ]; build-system = [ poetry-core ]; dependencies = [ fastapi injector llama-index-core llama-index-readers-file python-multipart pyyaml transformers uvicorn watchdog ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); # This is needed for running the tests and the service in offline mode, # See related issue at https://github.com/zylon-ai/private-gpt/issues/1870 passthru.cl100k_base.tiktoken = fetchurl { url = "https://openaipublic.blob.core.windows.net/encodings/cl100k_base.tiktoken"; hash = "sha256-Ijkht27pm96ZW3/3OFE+7xAPtR0YyTWXoRO8/+hlsqc="; }; passthru.optional-dependencies = with python.pkgs; { embeddings-huggingface = [ huggingface-hub llama-index-embeddings-huggingface ]; embeddings-ollama = [ llama-index-embeddings-ollama ]; embeddings-openai = [ llama-index-embeddings-openai ]; embeddings-sagemaker = [ boto3 ]; llms-ollama = [ llama-index-llms-ollama ]; llms-openai = [ llama-index-llms-openai ]; llms-openai-like = [ llama-index-llms-openai-like ]; llms-sagemaker = [ boto3 ]; ui = [ gradio ]; vector-stores-chroma = [ llama-index-vector-stores-chroma ]; vector-stores-postgres = [ llama-index-vector-stores-postgres ]; vector-stores-qdrant = [ llama-index-vector-stores-qdrant ]; }; postInstall = '' cp settings*.yaml $out/${python.sitePackages}/private_gpt/ ''; pythonImportsCheck = [ "private_gpt" ]; meta = { changelog = "https://github.com/zylon-ai/private-gpt/blob/${src.rev}/CHANGELOG.md"; description = "Interact with your documents using the power of GPT, 100% privately, no data leaks"; homepage = "https://github.com/zylon-ai/private-gpt"; license = lib.licenses.asl20; mainProgram = "private-gpt"; maintainers = with lib.maintainers; [ drupol ]; }; } </ins>

Discussion:
Project description Interact privately with your documents using the power of GPT, 100% privately, no data leaks Metadata homepage source license: asl-2 platforms: all?
i am really new to nix, and i made this by adding dependency until it worked.. but hopefully a good starting point now just need to do is, which will download the models and to run it.
Change:
<ins> { lib, appimageTools, fetchurl, }: let pname = "heptabase"; version = "1.35.3"; src = fetchurl { url = "https://github.com/heptameta/project-meta/releases/download/v${version}/Heptabase-${version}.AppImage"; hash = "sha256-2HEBQI+C/LKrIUb+6qNmm+xjvTOxS+vk5WTsOZKz3+s="; }; appimageContents = appimageTools.extractType2 { inherit pname version src; }; in appimageTools.wrapType2 { inherit pname version src; extraInstallCommands = '' install -Dm444 ${appimageContents}/project-meta.desktop -T $out/share/applications/heptabase.desktop install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/project-meta.png $out/share/icons/hicolor/512x512/apps/${pname}.png substituteInPlace $out/share/applications/heptabase.desktop  --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=heptabase %U'  --replace-fail 'Icon=project-meta' 'Icon=${pname}' ''; meta = { changelog = "https://github.com/heptameta/project-meta/releases/tag/v${version}"; description = "A visual note-taking tool for learning complex topics"; homepage = "https://heptabase.com/"; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; mainProgram = "heptabase"; platforms = [ "x86_64-linux" ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; } </ins>

Discussion:
Project description <!-- Describe the project a little: --Metadata homepage URL: source URL: none license: unfree platforms: unix, linux, darwin Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
# Record the contents of the tarball with ls_tar. ls_tar temp/layer.tar >> baseFiles <ins> # Append nix/store directory to the layer so that when the layer is loaded in the # image /nix/store has read permissions for non-root users. # nix/store is added only if the layer has /nix/store paths in it. if [ $(wc -l < $layerClosure) -gt 1 ] && [ $(grep -c -e "^/nix/store$" baseFiles) -eq 0 ]; then mkdir -p nix/store chmod -R 555 nix echo "./nix" >> layerFiles echo "./nix/store" >> layerFiles fi </ins> # Get the files in the new layer which were *not* present in # the old layer, and record them as newFiles. comm <(sort -n baseFiles|uniq) 

Discussion:
in the result image has permissions . However the files inside have correct permissions. This makes impossible to use the store as a normal user. This is probably related to
Change:
# Manually sha256sum the extensionPack file, must be hex! # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`. # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS <del> let value = "3b73798d776ff223ea8025b1a45001762f8d4e5bcd1ea61449773c1249935800"; </del> <ins> let value = "80b96b4b51a502141f6a8981f1493ade08a00762622c39e48319e5b122119bf3"; </ins> in assert (builtins.stringLength value) == 64; value; meta = {

Discussion:
Describe the bug Virtualbox kernel drivers don't build with latest kernel. To Reproduce Steps to reproduce the behavior: on latest master, channel hasn't updated yet d=(import /home/maciej/Projekte/nix { configuration = {pkgs, ...}: { boot.kernelPackages = pkgs.linuxPackageslatest; = true; }; }).vm Expected behavior Builds Metadata system: host os: multi-user?: sandbox: version: channels(root): channels(maciej): nixpkgs: Maintainer information:
Hi sorry for the duplicate bug report. You may find some useful information in this other issue trackers: Upstream tracker: Related to this issue: [Patch available]
Virtualbox 6.1.6 was released last week, which fixes the Linux 5.6 issues. I opened a PR with a fix for , which needs to be merged into to