jiebi/CodeConvo huggingface dataset:
Change:
src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "hadess"; <del> repo = pname; </del> <ins> repo = "switcheroo-control"; </ins> rev = version; hash = "sha256-F+5HhMxM8pcnAGmVBARKWNCL0rIEzHW/jsGHHqYZJug="; };

Discussion:
Steps to reproduce the behavior: update nixpkgs-unstable - -rebuild switch Package switcheroo-control-2.6 cannot find dependencies: cmake & glib-2.0 = 2.56.0 on nixos-unstable channel. <!-- 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:
<ins> diff --git a/scripts/embedlibrnnoise.go b/scripts/embedlibrnnoise.go index 43daf80..0b3004b 100644 --- a/scripts/embedlibrnnoise.go +++ b/scripts/embedlibrnnoise.go @@ -8,7 +8,7 @@ import ( ) func main() { -	b, err := ioutil.ReadFile("librnnoise_ladspa/bin/ladspa/librnnoise_ladspa.so") +	b, err := ioutil.ReadFile(os.Getenv("RNNOISE_LADSPA_PLUGIN")) if err != nil { fmt.Printf("Couldn't read librnnoise_ladspa.so: %vn", err) os.Exit(1) </ins>

Discussion:
Project description NoiseTorch is an easy to use open source application for Linux with PulseAudio. It creates a virtual microphone that suppresses noise, in any application. Metadata homepage URL: source URL: license: gpl3 platforms: linux language: go
I'll try to package it myself soon.
For those who want to try now before the package is merged go build works ok:
Change:
<ins> { lib, runCommand, xonsh, # configurable options extraPackages ? (ps: [ ]), }: let inherit (xonsh.passthru) python; pythonEnv = python.withPackages (ps: [ (ps.toPythonModule xonsh) ] ++ extraPackages ps); in runCommand "xonsh-wrapped-${xonsh.version}" { inherit (xonsh) pname version meta passthru; } '' mkdir -p $out/bin for bin in ${lib.getBin xonsh}/bin/*; do ln -s ${pythonEnv}/bin/$(basename "$bin") $out/bin/ done '' </ins>

Discussion:
Xonsh because of However, in unstable the is using
cc as maintainer
I am waiting for someone hit the button here: P.S.: I am not waiting anymore.
Upstream has unpinned prompt-toolkit after

Upstream issue: Since the issue seems to be specific to NixOS, let's track it here. The two commands above should only print "True". If applicable, add screenshots to help explain your problem. Tested on xonsh 0.13.3 and 0.13.4 system: host os: multi-user?: sandbox: version: nixpkgs:
Upstream fix:
Change:
diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py <del> index 031a41f9e..6232ba830 100755 </del> <ins> index 58c8bf6464..36f4b3cd3d 100755 </ins> --- a/xpra/scripts/main.py +++ b/xpra/scripts/main.py <del> @@ -377,11 +377,7 @@ def run_mode(script_file, cmdline, error_cb, options, args, mode, defaults): "seamless", "desktop", "shadow", "expand", </del> <ins> @@ -389,11 +389,7 @@ def run_mode(script_file:str, cmdline, error_cb, options, args, mode:str, defaul "seamless", "desktop", "shadow", "shadow-screen", "expand", </ins> "upgrade", "upgrade-seamless", "upgrade-desktop", ) and not display_is_remote and use_systemd_run(options.systemd_run): -        #make sure we run via the same interpreter,

Discussion:
Package name: Latest released version: <!-- Search your package here: --- Current version on the unstable channel: Current version on the stable/release channel: <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. -- Note for maintainers: Please tag this issue in your PR. Priorities Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I've got a branch that would close this issue and update xpra to 5.0.3, the UI currently works as expected and a connection over SSH is possible however I've encountered an issue running and . The error output is similar to what can be found in some other python applications. I'll look into patching this and see if I can push this further.
Change:
cmake asciidoctor ] <del> ++ optionals stdenv.isDarwin [ pync libobjc ] </del> <ins> ++ optionals stdenv.isDarwin [ pync libobjc libresolv ] </ins> ++ optional  guileSupport    guile ++ optional  luaSupport      lua5 ++ optional  perlSupport     perl

Discussion:
WeeChat fails to build on OS X with the below error System: macOS Sierra Nix version: 1.11.4 Nixpkgs version: 17.03pre93141.
I've see the missing symbol thing before, but haven't had a chance to track down where it should be and why it isn't there. If anyone wants to poke around and answer those questions, I'd appreciate it!
I didn't know how to read the message, I was searching for . Searching for I think it comes from on Darwin searching around. I can see listed in , and . Only just started using nixpkgs so not sure how to pull it in to the Weechat derivation and test etc.
Got it building. Here's the changes . I'll raise a PR at the weekend after I've read
^ This change works for me!
once you submit the PR, I think we can simultaneously close this and and .
Change:
githubId = 117874; name = "Jeroen de Haas"; }; <ins> jdreaver = { email = "johndreaver@gmail.com"; github = "jdreaver"; githubId = 1253071; name = "David Reaver"; }; </ins> jduan = { name = "Jingjing Duan"; email = "duanjingjing@gmail.com";

Discussion:
Project description Prowlarr is an indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports management of both Torrent Trackers and Usenet Indexers. Metadata homepage URL: source URL: license: GPL 3 platforms: Unix
I would like to package this software but I am still trying to learn how to properly create derivations as I have never done one. Help / guidance appreciated!
I have a WIP PR for this against my fork The package builds fine, but I am still trying to figure out how to test the NixOS module in my dotfiles repo using flakes and overlays :sweat_smile:
I actually got this working much quicker than expected. Here is my PR to this repo
Thank you very much
Change:
mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc { python = python2; inherit (python2Packages) gyp; <del> protobuf = pkgs.protobuf.overrideDerivation (oldAttrs: { stdenv = clangStdenv; }); </del> <ins> protobuf = pkgs.protobuf3_8.overrideDerivation (oldAttrs: { stdenv = clangStdenv; }); </ins> }; table-extra = callPackage ../tools/inputmethods/fcitx-engines/fcitx-table-extra { };

Discussion:
Describe the bug I was trying to upgrade my system to latest unstable when I encountered this error: error: --- Error
--------------------- nix-build builder for '/nix/store/4akxpw50h059071m68rm96qi3jmdv7zi-ibus-mozc-' failed with exit code 1; last 10 log lines: File "", line 854, in BuildMain BuildWithNinja(options, targets) File "", line 828, in BuildWithNinja RunOrDie([ninja, '-C', buildarg] + ninjatargets) File "", line 99, in RunOrDie '=========='])) ERROR: ninja -C outlinux/Release ibusmozc mozcemacshelper mozcserver mozctool mozc_renderer
cc: because of .
likewsie fcitx-mozc stopped working. Seems like there is this fork of google-mozc with more recent commits but changing upstream would require more changes:
Change:
https://github.com/tremor-rs/tremor-vim/,, https://github.com/cappyzawa/trim.nvim/,, https://github.com/folke/trouble.nvim/,, <ins> https://github.com/Pocco81/true-zen.nvim/,, </ins> https://github.com/jgdavey/tslime.vim/,, https://github.com/Quramy/tsuquyomi/,, https://github.com/folke/twilight.nvim/,,

Discussion:
Building the TrueZen-nvim plugin on nixpkgs master leads to the evaluation error: Steps to reproduce the behavior: TrueZen-nvim builds. It seems that the attribute is deprecated, but the new attribute () does not exist in . I'm not sure what's going on here. The change originates from , but TrueZen-nvim was updated automatically. since it seems like an update script issue?
I've got my hands full at the moment so feel free to take a stab at it.
Change:
stdenv.mkDerivation rec { pname = "limesurvey"; <del> version = "6.1.2+230606"; </del> <ins> version = "6.4.1+240108"; </ins> src = fetchFromGitHub { owner = "LimeSurvey"; repo = "LimeSurvey"; rev = version; <del> hash = "sha256-a89Kdr9XV1TSCoWxYrU0j8ec7rAcIlU/bgLtRjdzqbg="; </del> <ins> hash = "sha256-Cpf8X6igF7LdRbFihGudFmx/8aY0Kf0BE7jHnEF1DYA="; </ins> }; phpConfig = writeText "config.php" ''

Discussion:
Package name: limesurvey Latest released version: 6.4.1+ Current version on the unstable channel: 6.1.2+ Current version on the stable/release channel: 6.1.2+ Notify maintainers Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Change:
python3Packages.buildPythonApplication rec { pname = "sshuttle"; <del> version = "1.0.2"; </del> <ins> version = "1.0.3"; </ins> src = python3Packages.fetchPypi { inherit pname version; <del> sha256 = "02c3r27alch7dfy39v40n9g7mccsrj5hwnb1s0gkw4iwxkx2lzg1"; </del> <ins> sha256 = "0fff1c88669a20bb6a4e7331960673a3a02a2e04ff163e4c9299496646edcf61"; </ins> }; patches = [ ./sudo.patch ];

Discussion:
Describe the bug Sshuttle since 1.0.2 on master does not work, it immediately crashes with the following traceback: To Reproduce Steps to reproduce the behavior: -r you 192.0.2.0/24 Expected behavior It shouldn't crash. 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:
Change:
<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-generators"> <title>Generators</title> <para> Generators are functions that create file formats from nix data structures, e. g. for configuration files. There are generators available for: <literal>INI</literal>, <literal>JSON</literal> and <literal>YAML</literal> </para> <para> All generators follow a similar call interface: <code>generatorName configFunctions data</code>, where <literal>configFunctions</literal> is an attrset of user-defined functions that format nested parts of the content. They each have common defaults, so often they do not need to be set manually. An example is <code>mkSectionName ? (name: libStr.escape [ "[" "]" ] name)</code> from the <literal>INI</literal> generator. It receives the name of a section and sanitizes it. The default <literal>mkSectionName</literal> escapes <literal>[</literal> and <literal>]</literal> with a backslash. </para> <para> Generators can be fine-tuned to produce exactly the file format required by your application/service. One example is an INI-file format which uses <literal>: </literal> as separator, the strings <literal>"yes"</literal>/<literal>"no"</literal> as boolean values and requires all string values to be quoted: </para> <programlisting> with lib; let customToINI = generators.toINI { # specifies how to format a key/value pair mkKeyValue = generators.mkKeyValueDefault { # specifies the generated string for a subset of nix values mkValueString = v: if v == true then ''"yes"'' else if v == false then ''"no"'' else if isString v then ''"${v}"'' # and delegats all other values to the default generator else generators.mkValueStringDefault {} v; } ":"; }; # the INI file can now be given as plain old nix values in customToINI { main = { pushinfo = true; autopush = false; host = "localhost"; port = 42; }; mergetool = { merge = "diff3"; }; } </programlisting> <para> This will produce the following INI file as nix string: </para> <programlisting> [main] autopush:"no" host:"localhost" port:42 pushinfo:"yes" str:ange:"very::strange" [mergetool] merge:"diff3" </programlisting> <note> <para> Nix store paths can be converted to strings by enclosing a derivation attribute like so: <code>"${drv}"</code>. </para> </note> <para> Detailed documentation for each generator can be found in <literal>lib/generators.nix</literal>. </para> </section> </del>

Discussion:
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 do this one.
Change:
let version = "7.2"; <del> dbrev = "5164"; </del> <ins> dbrev = "5171"; </ins> drivedbBranch = "RELEASE_7_2_DRIVEDB"; driverdb = fetchurl { url    = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw"; <del> sha256 = "1vj0sv3bgcd0lwk5x450brfyxksa5fn1mjgvmj994ab8spmicc43"; </del> <ins> sha256 = "0vncr98xagbcfsxgfgxsip2qrl9q3y8va19qhv6yknlwbdfap4mn"; </ins> name   = "smartmontools-drivedb.h"; };

Discussion:
Describe the bug While building the minimal installation iso without using the cache, building smartmontools on fails with: Indeed looking at it looks like the URL should be and indeed produces 11n54ycsy512q4linczzj1x3dyj0q4zvh928rq3lqnkg9jh0kbiv This was in and seemed fine at that point.
the difference between the cached and the downloaded file is:
Change:
cd .. mkdir -p /var/singularity/mnt/{container,final,overlay,session,source} echo "root:x:0:0:System administrator:/root:/bin/sh" > /etc/passwd <ins> echo > /etc/resolv.conf </ins> TMPDIR=$(pwd -P) singularity build $out ./img '');

Discussion:
Describe the bug A clear and concise description of what the bug is. The current version singularity 3.2.1 may be out-dated, so that it work abnormally. Should be upgraded to 3.5.3 To Reproduce Steps to reproduce the behavior: Expected behavior A clear and concise description of what you expected to happen. Start a shell normally Screenshots If applicable, add screenshots to help explain your problem. Additional context According to This is because that the singularity 3.2.1 is out-dated, "This issue is due to a mount option passed, which is not ignored on newer kernels and leads to an error. Please use Singularity 3.5.3 to address this issue." 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 Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): channels(astrojhgu): nixpkgs: Maintainer information:
cc
Working on this jbedo/nixpkgs Haven't fully tested yet.
Change:
enableParallelBuilding = false; <del> postInstall = '' for p in $(ls $out/bin/) ; do wrapProgram $out/bin/$p  --prefix LD_LIBRARY_PATH ":" "${LD_LIBRARY_PATH}"  --prefix XDG_DATA_DIRS ":" "$GSETTINGS_SCHEMAS_PATH"; done ''; </del> meta = with stdenv.lib; { description = "A programmable programming language";

Discussion:
Operations like File -Open crashes DrRacket with the error EDIT: I installed from unstable Install Start Presssystem: host os: multi-user?: sandbox: version: channels(root): channels(simendsjo): nixpkgs:
I strongly suspect it needs . I can take a quick look.
Change:
python3.pkgs.wrapPython ]; <ins> patches = [ ./runtime-sharedir.patch ]; </ins> pythonPath = [ python3.pkgs.colorama ];

Discussion:
has custom filters, and the default behaviour on first launch is to put the data directory in the file, like so: These paths will break on an update to aerc. I'm the maintainer, but I'm not exactly sure what the best way to fix this with Nix is.
It's part of the build A level of function and structure would probably need to be changed to remove this. Probably a good bug to report at This wouldn't just be a problem for nix.
Currently, is put in for aerc so in the case for text/html you can simply do (in your ): But as for and the default config now uses respecively which will need a different solution. EDIT: I just saw you are the maintainer, so you probably already knew all this. The latter two filters can maybe be wrapped in bash scipts that can be executed from path, like in the case of .
Change:
<ins> # This older version only exists because `ceph` needs it, see `cryptography.nix`. { buildPythonPackage, fetchPypi, lib, cryptography, }: buildPythonPackage rec { pname = "cryptography-vectors"; # The test vectors must have the same version as the cryptography package inherit (cryptography) version; format = "setuptools"; src = fetchPypi { pname = "cryptography_vectors"; inherit version; hash = "sha256-hGBwa1tdDOSoVXHKM4nPiPcAu2oMYTPcn+D1ovW9oEE="; }; # No tests included doCheck = false; pythonImportsCheck = [ "cryptography_vectors" ]; meta = with lib; { description = "Test vectors for the cryptography package"; homepage = "https://cryptography.io/en/latest/development/test-vectors/"; # Source: https://github.com/pyca/cryptography/tree/master/vectors; license = with licenses; [ asl20 bsd3 ]; maintainers = with maintainers; [ nh2 ]; }; } </ins>

Discussion:
Steps to reproduce the behavior: ceph via Happening on current (currently at ), as well as on and . Do note that while this looks like a build failure for , is the one overriding the package version to something incompatible. The unaltered package builds fine. Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
See also , which I think should fix this.
Trying to build samba4Full and it errors on the same package. Just for any info for anyone.
I have addressed further review comments in Please somebody review.
Same error today with 'github:nixos/nixpkgs/' (2024-08-18)'
Change:
<del> {lib, stdenv, fetchurl, flex}: </del> <ins> { lib, stdenv, fetchFromGitHub, flex, autoreconfHook }: </ins> stdenv.mkDerivation rec { pname = "detox"; <del> version = "1.2.0"; </del> <ins> version = "1.4.5"; </ins> <del> src = fetchurl { url = "mirror://sourceforge/detox/${version}/detox-${version}.tar.gz"; sha256 = "02cfkf3yhw64xg8mksln8w24gdwgm2x9g3vps7gn6jbjbfd8mh45"; </del> <ins> src = fetchFromGitHub { owner = "dharple"; repo = pname; rev = "v${version}"; hash = "sha256-cTuK5EIimRVZ1nfuTa1ds6xrawYIAbwNNIkNONd9y4Q="; </ins> }; <del> buildInputs = [flex]; </del> <ins> nativeBuildInputs = [ flex autoreconfHook ]; </ins> hardeningDisable = [ "format" ]; <del> postInstall = '' install -m644 safe.tbl $out/share/detox/ ''; </del> meta = with lib; { <del> homepage = "https://detox.sourceforge.net/"; </del> <ins> homepage = "https://github.com/dharple/detox"; </ins> description = "Utility designed to clean up filenames"; <ins> changelog = "https://github.com/dharple/detox/blob/v${version}/CHANGELOG.md"; </ins> longDescription = '' Detox is a utility designed to clean up filenames. It replaces difficult to work with characters, such as spaces, with standard

Discussion:
Package name: detox Latest released version: 1.4.5 <!-- Search your package here: --- Current version on the unstable channel: 1.2.0 Current version on the stable/release channel: 1.2.0 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Detox has been on github for a few years now:
are you able to test
Change:
<del> { stdenv, fetchurl, pkgconfig, openconnect, file, gawk, </del> <ins> { stdenv, fetchurl, fetchpatch, pkgconfig, openconnect, file, gawk, </ins> openvpn, vpnc, glib, dbus, iptables, gnutls, polkit, wpa_supplicant, readline6, pptp, ppp }:

Discussion:
Complains of a struct being redefined in a header file. Failing hydra build:
This appears to be a known issue, addressed in I will see if that resolves the issue, and if so, I'll put together a PR.
Change:
<ins> { lib , buildPythonPackage , fetchPypi , setuptools }: buildPythonPackage rec { pname = "pyinstaller-hooks-contrib"; version = "2024.7"; pyproject = true; src = fetchPypi { pname = "pyinstaller_hooks_contrib"; inherit version; hash = "sha256-/V833Pmb7OGE5AZCr4i+Fqm4lhPsuViovRE2Y0/J+sU="; }; build-system = [ setuptools ]; # There are tests for every hook, which means that # new updates are going to require changes to test inputs # and building tests creates a very big closure. doCheck = false; meta = { description = "Community maintained hooks for PyInstaller"; longDescription = '' A "hook" file extends PyInstaller to adapt it to the special needs and methods used by a Python package. The word "hook" is used for two kinds of files. A runtime hook helps the bootloader to launch an app, setting up the environment. A package hook (there are several types of those) tells PyInstaller what to include in the final app - such as the data files and (hidden) imports mentioned above. This repository is a collection of hooks for many packages, and allows PyInstaller to work with these packages seamlessly. ''; homepage = "https://github.com/pyinstaller/pyinstaller-hooks-contrib"; # See https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/761 changelog = "https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst"; license = with lib.licenses; [ gpl2Plus asl20 ]; maintainers = with lib.maintainers; [ h7x4 ]; }; } </ins>

Discussion:
Project description Freeze (package) Python programs into stand-alone executables. Metadata homepage URL: source URL: license: gpl2 platforms: unix, linux, darwin
I would love to see it packaged too.
So, I did some digging on previous attempts at and found some abandoned PRs: packaged in itself but got abandoned due to complexity. was in partial effort of packaging by packaging one of its dependencies. also as a dependency for another package . Perhaps someone coming to this issue looking for the package can try it themselves using these attempts as a base.
I would also love to figure out how to build pyinstaller projects as a nix derivation
I believe you're looking for ? This issue is requesting to package itself and not packaging projects using .