jiebi/CodeConvo huggingface dataset:
Change:
preConfigure = '' mkdir dist <del> cp {misc,dist}/DisplayCAL.appdata.xml </del> <ins> cp {misc,dist}/net.displaycal.DisplayCAL.appdata.xml touch dist/copyright </ins> mkdir -p $out ln -s $out/share/DisplayCAL $out/Resources '';

Discussion:
Describe the bug DisplayCal, an application for calibrating one's monitor, is not functional in 20.03, though it builds. To Reproduce Steps to reproduce the behavior: displaycal in a calibration device the "Profile and Calibrate" button near the bottom of the GUI can not find the package and refuses to continue. Expected behavior DisplayCal should move to the next screen and start the calibration process. Additional context The package builds, but does not function. The 3.5 version that is packaged is pretty far out of date, so I've started to try and update the package , but the compilation fails. I have a calibration device and am looking for help to get this working. Notify maintainers
sampson in IRC suggested the following patch, but the build still fails at the same point for me: The error when building the package is:
I can get the package to build now, but it doesn't run:
It says , i guess you have to add to the , like you have done with .
you are correct. Now DisplayCal builds, launches, and finds my calibraiton devices. I'll have to test this on my full NixOS install, instead of my Ubuntu machine with nixpkg. Thank you for your help!
Change:
offpunk = callPackage ../applications/networking/browsers/offpunk { }; <ins> owl-compositor = callPackage ../applications/window-managers/owl { }; </ins> p2pool = callPackage ../applications/misc/p2pool { }; pass2csv = python3Packages.callPackage ../tools/security/pass2csv { };

Discussion:
Project description Owl is a portable Wayland compositor written in Objective-C, using Cocoa as its backend. Owl makes it possible to run Wayland clients inside OS X's native Quartz graphics environment. Metadata homepage URL: source URL: license: gpl3Plus platforms: unix
Change:
$out/etc/NetworkManager/dispatcher.d/* $out/lib/udev/tlp-* $out/sbin/* <ins> $out/share/tlp/bat.d/* </ins> $out/share/tlp/func.d/* $out/share/tlp/tlp-func-base ) for f in "''${fixup_bash[@]}"; do sed -i '2iexport PATH=${paths}:$PATH' "$f" done <ins> rm -rf $out/var rm -rf $out/share/metainfo </ins> ''; meta = with lib; {

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: <!-- 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: 1.3.1 desired version: 1.4.0 <!-- 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.
Change:
<ins> Tests are kind of broken in ZODB-5.3.0. Fix setup code and disable one especially problematic test. diff -u ZODB-5.3.0/setup.py ZODB-5.3.0/setup.py --- ZODB-5.3.0/setup.py	2017-08-30 14:55:10.000000000 +0200 +++ ZODB-5.3.0/setup.py	2017-10-29 11:34:17.277953730 +0100 @@ -85,7 +85,10 @@ mod = __import__( _modname(dirpath, base, os.path.splitext(filename)[0]), {}, {}, ['*']) -                    _unittests_only(suite, mod.test_suite()) +                    try: +                        _unittests_only(suite, mod.test_suite()) +                    except AttributeError: +                        pass elif 'tests.py' in filenames: mod = __import__(_modname(dirpath, base, 'tests'), {}, {}, ['*']) _unittests_only(suite, mod.test_suite()) diff -u ZODB-5.3.0/src/ZODB/scripts/tests/test_repozo.py ZODB-5.3.0/src/ZODB/scripts/tests/test_repozo.py --- ZODB-5.3.0/src/ZODB/scripts/tests/test_repozo.py	2017-08-30 14:55:10.000000000 +0200 +++ ZODB-5.3.0/src/ZODB/scripts/tests/test_repozo.py	2017-10-29 11:35:10.348240386 +0100 @@ -1184,7 +1184,4 @@ #unittest.makeSuite(Test_do_backup),  #TODO unittest.makeSuite(Test_do_recover), unittest.makeSuite(Test_do_verify), -        # N.B.:  this test take forever to run (~40sec on a fast laptop), -        # *and* it is non-deterministic. -        unittest.makeSuite(MonteCarloTests), ]) </ins>

Discussion:
I tried to build and but without success. Relevant part of the error message: Tried to do it on current master. nix-build -I nixpkgs=. -A System: Local nixpkgs checkout on Gentoo Nix version: 1.11.15 Nixpkgs version: 17.09.1880. Sandboxing enabled: true
Same problem on a native NixOS machine.
Change:
}, "Python-for-Lazarus": { "owner": "Alexey-T", <del> "rev": "2020.10.23", "sha256": "1lljldqnixlh0j05fh594gccwzkgcxa50byq8wr9ld5ik5sf8khn" </del> <ins> "rev": "2021.01.16", "sha256": "07qv3x1cm3r12gxfnqzxly6nff39bghwwgxzl2lxi1qbpqhcs2l5" </ins> }, "Emmet-Pascal": { "owner": "Alexey-T",

Discussion:
For this patch I to CudaText the global variable which you can change to False. to disable "Help / Check for updates".
OK, I will use it with next release.
Change:
<ins> { lib, stdenv, fetchFromGitHub, cacert, meson, ninja, pkg-config, freetype, libgit2, libuchardet, libzip, lua5_4, luajit, mbedtls_2, pcre2, SDL2, zlib, }: stdenv.mkDerivation (finalAttrs: { pname = "pragtical"; version = "3.3.1"; pluginManagerVersion = "1.2.9"; src = fetchFromGitHub { owner = "pragtical"; repo = "pragtical"; rev = "v${finalAttrs.version}"; fetchSubmodules = true; # also fetch required git submodules postFetch = '' cd "$out" export NIX_SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt substituteInPlace subprojects/ppm.wrap  --replace-fail 'revision = head' 'revision = v${finalAttrs.pluginManagerVersion}' ${lib.getExe meson} subprojects download  colors plugins ppm find subprojects -type d -name .git -prune -execdir rm -r {} + ''; hash = "sha256-T0IHpfMfx4P84RyBLtaYNead6a7cID2cUYwkyNnYMgc="; }; nativeBuildInputs = [ meson ninja pkg-config ]; buildInputs = [ freetype libgit2 libuchardet libzip lua5_4 luajit mbedtls_2 pcre2 SDL2 zlib ]; # workaround for `libmbedx509.so.1, libmbedcrypto.so.7: error adding symbols: DSO missing from command line` env.NIX_LDFLAGS = "-lmbedx509 -lmbedcrypto"; mesonFlags = [ "-Duse_system_lua=true" ]; meta = { changelog = "https://github.com/pragtical/pragtical/blob/${finalAttrs.src.rev}/changelog.md"; description = "A practical and pragmatic code editor"; homepage = "https://pragtical.dev"; license = lib.licenses.mit; mainProgram = "pragtical"; maintainers = with lib.maintainers; [ suhr tomasajt ]; platforms = lib.platforms.linux; }; }) </ins>

Discussion:
Project description A practical and pragmatic code editor (a fork of Lite XL). Metadata homepage URL: source URL: license: mit platforms: unix Additional information Here's the package stub: Build script can't find Lua even though it is provided. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I have managed to build it, now I just need to clean it up and open a PR.
Change:
<ins> { lib , fetchFromGitHub , buildDotnetModule , dotnetCorePackages }: buildDotnetModule rec { pname = "dotnet-outdated"; version = "4.6.0"; src = fetchFromGitHub { owner = "dotnet-outdated"; repo = pname; rev = "v${version}"; hash = "sha256-U5qCM+Um8bRafrDpbI5TnSN1nQ8mQpZ5W8Jao2hdAPw="; }; dotnet-sdk = dotnetCorePackages.dotnet_8.sdk; dotnet-runtime = dotnetCorePackages.dotnet_8.runtime; useDotnetFromEnv = true; nugetDeps = ./deps.nix; projectFile = "src/DotNetOutdated/DotNetOutdated.csproj"; executables = "dotnet-outdated"; dotnetInstallFlags = [ "--framework" "net8.0" ]; meta = with lib; { description = "A .NET Core global tool to display and update outdated NuGet packages in a project"; homepage = "https://github.com/dotnet-outdated/dotnet-outdated"; sourceProvenance = with sourceTypes; [ fromSource # deps binaryBytecode binaryNativeCode ]; license = licenses.mit; maintainers = with maintainers; [ emilioziniades ]; mainProgram = "dotnet-outdated"; }; } </ins>

Discussion:
Project description A .NET Core global tool to display and update outdated NuGet packages in a project Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, ... Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
<ins> diff --git a/src/hatch/env/virtual.py b/src/hatch/env/virtual.py index 285edb32..90bd94e6 100644 --- a/src/hatch/env/virtual.py +++ b/src/hatch/env/virtual.py @@ -106,26 +106,7 @@ class VirtualEnvironment(EnvironmentInterface): if self.explicit_uv_path: return self.explicit_uv_path -        from hatch.env.internal import is_default_environment - -        env_name = 'hatch-uv' -        if not ( -            # Prevent recursive loop -            self.name == env_name -            # Only if dependencies have been set by the user -            or is_default_environment(env_name, self.app.project.config.internal_envs[env_name]) -        ): -            uv_env = self.app.get_environment(env_name) -            self.app.prepare_environment(uv_env) -            with uv_env: -                return self.platform.modules.shutil.which('uv') - -        import sysconfig - -        scripts_dir = sysconfig.get_path('scripts') -        old_path = os.environ.get('PATH', os.defpath) -        new_path = f'{scripts_dir}{os.pathsep}{old_path}' -        return self.platform.modules.shutil.which('uv', path=new_path) +        return '@uv@' @staticmethod def get_option_types() -> dict: diff --git a/src/hatch/venv/core.py b/src/hatch/venv/core.py index d1303f03..e1e60871 100644 --- a/src/hatch/venv/core.py +++ b/src/hatch/venv/core.py @@ -131,7 +131,7 @@ class TempVirtualEnv(VirtualEnv): class UVVirtualEnv(VirtualEnv): def create(self, python, *, allow_system_packages=False): -        command = [os.environ.get('HATCH_UV', 'uv'), 'venv', str(self.directory), '--python', python] +        command = [os.environ.get('HATCH_UV', '@uv@'), 'venv', str(self.directory), '--python', python] if allow_system_packages: command.append('--system-site-packages') diff --git a/tests/conftest.py b/tests/conftest.py index e8fe663a..6066316d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -203,7 +203,7 @@ def python_on_path(): @pytest.fixture(scope='session', autouse=True) def uv_on_path(): -    return shutil.which('uv') +    return '@uv@' @pytest.fixture(scope='session') </ins>

Discussion:
The nixpkgs version of fails to build a project created with . Steps to reproduce the behavior: The following expected behavior was seen on Ubuntu 24.04. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --- system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
No need to create an empty project. Running anywhere gives
Change:
steam-run = steam.run; <ins> steam-run-free = steamPackages.steam-fhsenv-without-steam.run; </ins> steam-tui = callPackage ../games/steam-tui { }; steamcmd = steamPackages.steamcmd;

Discussion:
Currently, Steam-Run depends on Steam itself. This results in the annoyance of having to allow Steam as an unfree package, besides being a needless installation in itself. Note that used to be decoupled and considered fully free. This unwanted dependency has appeared sometime during 2021 or 2022. Try to install without having unfree packages allowed, from 22.11 channel. Try again, adding to your Now it refuses to evaluate because you haven't enables in your . should preferably not be or depend on unfree packages at all. Even if it does, it should definitely not depend on Steam application itself. It's supposed to be a general-purpose tool to run Linux binaries, not just Steam games (right?).
Since we have a free steam-run again, but it's not well exposed yet (it's available as ).
Something else that bothers me is that steam-cmd requires steam-run and so steam-cmd pulls in an entire X desktop environment, steam-cmd is designed for hosting dedicated servers mostly so this is a waste of time, and precious disk space on a VPS. IMHO steam-run should be spun out in to a separate non-steam thing and then extended to include the stuff needed for these different environments, I've seen it recommended for running FHS binaries in situations that have nothing to do with gaming, so it makes sense here to generalize it.
I think it's time for a fhs-run attribute. Everything appimages need + anything that doesn't add significant cost would be a good starting point. A headless variant for command line tools would also be interesting, but it's harder to define a solid base here IMO. We currently have multiple of such lists of packages and we ought to deduplicate that. steam-run would become a specific fhs-run that adds steam and a few game-specific deps in it. Similarly, we could have a lutris-run that might have the same game-specific deps plus some extra for lutris runners.
The steam-run license issue came up again in a discussion in social media. I support creating a general purpose tool and use it as base for specialized ones! It's also important to document the tool in a way new users find it when needed and don't have the experience that NixOS is broken (binaries don't work).
Is this relevant to the issue?
No.

Another great option is to use flatpak, for example: I'm pretty sure they both use the same container tech (bubblewrap) anyway.
Today, I had a problem where a Ruby Bundler package wouldn't work because it expected a FHS environment, breaking the build of my Jekyll site. Then I remembered the comment here. I'm happy to report solved it just like the package would in the old times. Therefore, this issue is solved. I still do agree that one or more separate "fhs-run" programs that would not have as many dependencies as would be good to have, like suggested, but it's not what this issue is about.
Change:
, rustPlatform , fetchFromGitHub , Cocoa <del> , CoreServices </del> , Foundation <del> , libiconv </del> }: rustPlatform.buildRustPackage rec {

Discussion:
Steps to reproduce the behavior: cargo-watch on x86-64-darwin Sounds similar to this issue: Though I have a hard time seeing any dependency that would be built with a different version of the framework in its closure. <!-- 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. My system is showing as "aarch64-darwin", but I'm building with Rosetta. Hydra reports the same issue: Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Change:
glib libtermkey libuv <del> # For some reason, `luajit` has to be listed after `lua`. See # https://github.com/NixOS/nixpkgs/issues/14442 lua luajit </del> libmsgpack ncurses neovimLibvterm unibilium <del> luaPackages.lpeg luaPackages.mpack luaPackages.luabitop ] ++ optional withJemalloc jemalloc; </del> <ins> luajit luaPackages.lua ] ++ optional withJemalloc jemalloc ++ lualibs; </ins> nativeBuildInputs = [ cmake

Discussion:
does not build as the dependency is not supported on . With set to true the dependency fails to build. System: OS X Darwin 15.5.0 x8664 Nix version: 1.11.2 Nixpkgs version: 16.09pre-git /cc
Change:
stdenv.mkDerivation rec { pname = "gnome-shell-extension-gsconnect"; <del> version = "55"; </del> <ins> version = "56"; </ins> outputs = [ "out" "installedTests" ];

Discussion:
Package name: gnomeExtensions.gsconnect Latest released version: 56 <!-- Search your package here: --- Current version on the unstable channel: 55 Current version on the stable/release channel: 55 <!-- 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]:
This is important, as gsconnect doesn't work on 23.11 with Gnome 45.
Change:
- The Nextcloud module now supports to create a Mysql database automatically with `services.nextcloud.database.createLocally` enabled. <ins> - The Nextcloud module now allows setting the value of the `max-age` directive of the `Strict-Transport-Security` HTTP header, which is now controlled by the `services.nextcloud.https` option, rather than `services.nginx.recommendedHttpHeaders`. </ins> - The `spark3` package has been updated from 3.1.2 to 3.2.1 ([#160075](https://github.com/NixOS/nixpkgs/pull/160075)): - Testing has been enabled for `aarch64-linux` in addition to `x86_64-linux`.

Discussion:
The header should only be if is enabled, right?
I don't think so. The description for that option says "Use https for generated links." The commit you linked is from last Feburary (which may be the version in NixOS 21.11 – I'm not sure), and on , that header is controlled by the boolean option . The upstream project recommendes this header, as far as I can tell, and the Nextcloud admin panel warns you if this is not set, so I think it is semantically correct for this header to be if the "recommended HTTP headers" flag is set, but it does get in the way if you are trying to serve Nextcloud as a Tor .onion service, where you don't want to be using SSL/TLS.
Good to hear that it is different in master, but it is not just onion services, many internal services lack tls because the vpn or tls termination is done downstream and nextcloud only speaks http. I would expect we want a single boolean to turn on/off tls, no?
I had not thought of that use case. I would say that is a good reason to have this controlled by the same flag.
Change:
qjoypad = callPackage ../tools/misc/qjoypad { }; <ins> qmk = callPackage ../tools/misc/qmk { }; </ins> qosmic = libsForQt5.callPackage ../applications/graphics/qosmic { }; qownnotes = libsForQt514.callPackage ../applications/office/qownnotes { };

Discussion:
Project description A program to help users work with QMK Firmware. Metadata homepage URL: source URL: license: mit platforms: anywhere where python runs
Change:
<ins> { stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, libchewing, qtbase , qttools }: mkDerivation rec { pname = "chewing-editor"; version = "0.1.1"; src = fetchFromGitHub { owner = "chewing"; repo = "${pname}"; rev = "${version}"; sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w"; }; doCheck = true; nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ libchewing qtbase qttools ]; meta = with stdenv.lib; { description = "Cross platform chewing user phrase editor"; longDescription = '' chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance. ''; homepage = "https://github.com/chewing/chewing-editor"; license = licenses.gpl2Plus; maintainers = [ maintainers.ShamrockLee ]; platforms = platforms.all; }; } </ins>

Discussion:
Project description Cross platform chewing user phrase editor Chewing editor is a widely-used bopomofo input method for traditional Chinese, and chewing-editor is the tool to edit the database of user phrases stored by the input method. Users of chewing will need chewing-editor sooner or later. NixOS have chewing include as a fcitx engine () that can be used in the module, but not chewing-editor. Metadata homepage URL: source URL: license: gpl2 platforms: unix
The corresponding pull request is merged. Closing.
Change:
substituteInPlace source/glad/src/$f  --replace libGL.so ${libGL}/lib/libGL.so done <ins> substituteInPlace source/imgui/src/imgui_impl_sdl.cpp  --replace '#include <SDL.h>' '#include <SDL2/SDL.h>'  --replace '#include <SDL_syswm.h>' '#include <SDL2/SDL_syswm.h>'  --replace '#include <SDL_vulkan.h>' '#include <SDL2/SDL_vulkan.h>' </ins> ''; NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2 -I${lib.getDev SDL2_mixer}/include/SDL2";

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 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: <!-- The current version can be found easily with the same process as 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: desired version: (hope you are the correct maintainer, sorry if not) <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: mikroskeem sander Please tag this issue in your PR.
Change:
source $stdenv/setup <del> mkdir -p ./$name $out/bin $out/share/$name $out/share/doc/$name/images </del> <ins> unpackPhase cd $sourceRoot </ins> <del> cd $name tar xf $src </del> make 8086tiny if [ $bios ]; then cd bios_source nasm -f bin bios.asm -o bios cd .. fi <ins> mkdir -p $out/bin $out/share/$name $out/share/doc/$name/images </ins> install -m 755 8086tiny $out/bin install -m 644 fd.img $out/share/$name/8086tiny-floppy.img install -m 644 bios_source/bios.asm  $out/share/$name/8086tiny-bios-src.asm

Discussion:
Describe the bug Homepage is down, current src link is dead. Project moved to the author's GitHub. I have no clue how to even use this package. It's one of the first you see on the "Search NixOS Packages" webpage though, and the dead links & abandoned expression has been a thorn in my eye for awhile now. I'll prolly step up and fix it myself in afew months if noone else wants to do it. To Reproduce Steps to reproduce the behavior: package expression / search on NixOS packages page. any of the links. Installation itself still works. Expected behavior A maintained package. :slightlyfrowningface: Screenshots Not really applicable. Additional context See above. Notify maintainers Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(bt1cn): nixpkgs: Maintainer information:
Change:
postInstall = '' substituteInPlace $out/lib/pkgconfig/s-dftd3.pc  <del> --replace "''${prefix}" "" </del> <ins> --replace "''${prefix}/" "" </ins> ''; doCheck = true;

Discussion:
tblite is unusable in python at the moment, failing with I think this is due to incorrect pkgconfig setups - look at which is correct and outputs vs which is missing the trailing Which results in a pkgconfig of Steps to reproduce the behavior: a nix environment with the python interpreter, run failure A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. Add any other context about the problem here. Please run and paste the result.
i'm having the exact same issue as well :'(