jiebi/CodeConvo huggingface dataset:
Change:
Project description A lightweight cross-platform build utility based on Lua Metadata homepage URL: source URL: license: asl20 platforms: unix

Discussion:
<ins> { lib , stdenv , fetchFromGitHub }: stdenv.mkDerivation rec { pname = "tbox"; version = "1.7.3"; src = fetchFromGitHub { owner = "tboox"; repo = pname; rev = "v${version}"; hash = "sha256-6SqMvwxKSiJO7Z33xx7cJoECu5AJ1gWF8ZsiERWx8DU="; }; configureFlags = [ "--hash=y" "--charset=y" "--float=y" "--demo=n" ]; postInstall = '' mkdir -p $out/lib/pkgconfig substituteAll ${./libtbox.pc.in} $out/lib/pkgconfig/libtbox.pc ''; meta = with lib; { description = "A glib-like multi-platform c library"; homepage = "https://docs.tboox.org"; license = licenses.asl20; platforms = platforms.linux; maintainers = with maintainers; [ rewine ]; }; } </ins>

<ins> prefix=@out@ exec_prefix=${prefix} libdir=@out@/lib includedir=@out@/include Name: tbox Description: A glib-like multi-platform c library Version: @version@ Libs: -L${libdir} -ltbox Cflags: -I${includedir} </ins>

<ins> { lib , stdenv , fetchFromGitHub , autoreconfHook }: stdenv.mkDerivation rec { pname = "xmake-core-sv"; version = "1.1"; src = fetchFromGitHub { owner = "xmake-io"; repo = pname; rev = "v${version}"; hash = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY="; }; nativeBuildInputs = [ autoreconfHook ]; meta = with lib; { description = "Public domain cross-platform semantic versioning in c99"; homepage = "https://github.com/xmake-io/xmake-core-sv"; license = licenses.unlicense; platforms = platforms.linux; maintainers = with maintainers; [ rewine ]; }; } </ins>

<ins> { lib , stdenv , fetchurl , pkg-config , lua , readline , ncurses , lz4 , tbox , xmake-core-sv }: stdenv.mkDerivation rec { pname = "xmake"; version = "2.7.9"; src = fetchurl { url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz"; hash = "sha256-m0LYY0gz9IhbBbiUKd1gBE3KmSMvYJYyC42Ff7M9Ku8="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ lua lua.pkgs.cjson readline ncurses lz4 tbox xmake-core-sv ]; configureFlags = [ "--external=y" ]; meta = with lib; { description = "A cross-platform build utility based on Lua"; homepage = "https://xmake.io"; license = licenses.asl20; platforms = lua.meta.platforms; maintainers = with maintainers; [ rewine ]; }; } </ins>

tinyscheme = callPackage ../development/interpreters/tinyscheme { }; <ins> tbox = callPackage ../development/libraries/tbox { }; </ins> inherit (nodePackages) typescript; bupc = callPackage ../development/compilers/bupc { };

webdis = callPackage ../development/tools/database/webdis { }; <ins> xmake = callPackage ../development/tools/build-managers/xmake { lua = lua5_4; }; </ins> xc3sprog = callPackage ../development/embedded/xc3sprog { stdenv = gcc10StdenvCompat; }; xcb-imdkit = callPackage ../development/libraries/xcb-imdkit { };

xgeometry-select = callPackage ../tools/X11/xgeometry-select { }; <ins> xmake-core-sv = callPackage ../development/libraries/xmake-core-sv { }; </ins> xmlada = callPackage ../development/libraries/ada/xmlada { }; xmlrpc_c = callPackage ../development/libraries/xmlrpc-c { };
Change:
MythTV was not compiled with HDHOMERUN support. To reproduce, start the server configured for an hdhomerun tuner. See this error in the systemd journal: This issue just requires adding to the . I have recompiled and tested with the libhdhomerun library, and it fixes the issue. I'll create a PR with the change, hopefully someone can pull it, is listed as the maintainer.
fyi... You'll most likely need to add the workaround from to actually get your tuner to detect:

Discussion:
{ lib, mkDerivation, fetchFromGitHub, fetchpatch, which, qtbase, qtwebkit, qtscript , libpulseaudio, fftwSinglePrec , lame, zlib, libGLU, libGL, alsa-lib, freetype , perl, pkg-config , libsamplerate, libbluray, lzo, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm <del> , libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders, soundtouch, libzip </del> <ins> , libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders , soundtouch, libzip, libhdhomerun </ins> , withWebKit ? false }:

freetype qtbase qtscript lame zlib libGLU libGL perl libsamplerate libbluray lzo alsa-lib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu libuuid taglib exiv2 soundtouch libzip <ins> libhdhomerun </ins> ] ++ lib.optional withWebKit qtwebkit; nativeBuildInputs = [ pkg-config which yasm libtool autoconf automake file ];
Change:
<!-- 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: panamax <!-- 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: 1.0.3 desired version: 1.0.6 <!-- 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.

Discussion:
<del> { lib, rustPlatform, fetchCrate, pkg-config, openssl, stdenv, Security }: </del> <ins> { lib , rustPlatform , fetchCrate , pkg-config , libgit2 , openssl , zlib , stdenv , darwin }: </ins> rustPlatform.buildRustPackage rec { pname = "panamax"; <del> version = "1.0.3"; </del> <ins> version = "1.0.6"; </ins> src = fetchCrate { inherit pname version; <del> sha256 = "sha256-w4waFdzd/Ps0whOp39QLBE/YF2eyc4t2Ili7FskUt1M="; </del> <ins> sha256 = "sha256-/JW2QB5PtwKo0TLU/QmkgsE6/ne+51EVmWyGn7Lljdw="; </ins> }; <del> cargoSha256 = "sha256-52snmkTFHI26xJo9qJkmqh1M5lLzhDxw8WT6uFd57aw="; </del> <ins> cargoSha256 = "sha256-aKdDismdPcExqznS6S2LvAij6gv9/Hw2FBvkhr9rJGo="; </ins> nativeBuildInputs = [ pkg-config ]; <del> buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; </del> <ins> buildInputs = [ libgit2 openssl zlib ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; </ins> meta = with lib; { description = "Mirror rustup and crates.io repositories for offline Rust and cargo usage";

maturin = callPackage ../development/tools/rust/maturin { inherit (darwin.apple_sdk.frameworks) Security; }; <del> panamax = callPackage ../development/tools/rust/panamax { inherit (darwin.apple_sdk.frameworks) Security; }; </del> <ins> panamax = callPackage ../development/tools/rust/panamax { }; </ins> ograc = callPackage ../development/tools/rust/ograc { };
Change:
Steps to reproduce the behavior: -shell -p flexoptix-app Add any other context about the problem here. <!-- 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.

Discussion:
{ lib, appimageTools, fetchurl, nodePackages }: let pname = "flexoptix-app"; <del> version = "5.13.1"; </del> <ins> version = "5.13.3"; </ins> src = fetchurl { name = "${pname}-${version}.AppImage"; url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage"; <del> hash = "sha256-+rHktjZd6P4JGYRhEXdZYVI64XMYc7cBGojAQNd8Mq8="; </del> <ins> hash = "sha256-kDw9+Llqvq4NgN89Cw/HwEqYlv42wLbho1eHjI6wVSQ="; </ins> }; udevRules = fetchurl {
Change:
Steps to reproduce the behavior: sublime-music Just the error: Full log: Add any other context about the problem here. Built OK as of rev . I tried bisecting but too many commits required me to build multiple versions of LLVM/GHC/god knows what else. I also tried applying patch from but that didn't change the error. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --

Discussion:
<del> { fetchFromGitLab , lib </del> <ins> { lib , fetchFromGitLab </ins> , python3Packages , gobject-introspection , gtk3

, chromecastSupport ? false , serverSupport ? false , keyringSupport ? true <del> , notifySupport ? true, libnotify , networkSupport ? true, networkmanager </del> <ins> , notifySupport ? true , libnotify , networkSupport ? true , networkmanager </ins> }: python3Packages.buildPythonApplication rec {

src = fetchFromGitLab { owner = "sublime-music"; repo = pname; <del> rev = "v${version}"; sha256 = "sha256-n77mTgElwwFaX3WQL8tZzbkPwnsyQ08OW9imSOjpBlg="; </del> <ins> rev = "refs/tags/v${version}"; hash = "sha256-n77mTgElwwFaX3WQL8tZzbkPwnsyQ08OW9imSOjpBlg="; </ins> }; nativeBuildInputs = [

"python-mpv" ]; <ins> postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg # https://github.com/sublime-music/sublime-music/pull/370 # Can be removed in later versions (probably > 0.11.16) substituteInPlace pyproject.toml  --replace 'python-Levenshtein = "^0.12.0"' 'Levenshtein = ">0.12.0"' ''; </ins> buildInputs = [ gtk3 pango ] <del> ++ lib.optional notifySupport libnotify ++ lib.optional networkSupport networkmanager </del> <ins> ++ lib.optional notifySupport libnotify ++ lib.optional networkSupport networkmanager </ins> ; propagatedBuildInputs = with python3Packages; [

requests semver ] <del> ++ lib.optional chromecastSupport PyChromecast ++ lib.optional keyringSupport keyring ++ lib.optional serverSupport bottle </del> <ins> ++ lib.optional chromecastSupport PyChromecast ++ lib.optional keyringSupport keyring ++ lib.optional serverSupport bottle </ins> ; <del> postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg ''; </del> # hook for gobject-introspection doesn't like strictDeps # https://github.com/NixOS/nixpkgs/issues/56943 strictDeps = false;

meta = with lib; { description = "GTK3 Subsonic/Airsonic client"; homepage = "https://sublimemusic.app/"; <ins> changelog = "https://github.com/sublime-music/sublime-music/blob/v${version}/CHANGELOG.rst"; </ins> license = licenses.gpl3Plus; maintainers = with maintainers; [ albakham sumnerevans ]; };
Change:
We broke gmic-qt during the bump. After contacting upstream, it seems like the cmake build is not maintained anymore: They migrated to . We should align with them and rewrite a qmake derivation for gmic-qt. Edit: jtojnar advise not to migrate to qmake but instead fix the cmake issue.
Any idea what I can do so I can build my system while this is a WIP?
Install the build from an older version of nixpkgs where the package you want still builds properly. The version in branch should be building properly. For Flakes: For Non-Flake:
Thank you so much!! That section of the wiki described exactly what I was trying to do!
I just posted an upstream PR to fix this:
I've opened with a proper fix if anyone here would like to do some testing (it works for me now)

Discussion:
{ lib , mkDerivation , variant ? "standalone" <del> , fetchFromGitHub </del> <ins> , fetchzip , fetchpatch </ins> , cmake , pkg-config , ninja

, curl , gimp ? null , gmic <del> , cimg </del> , qtbase , qttools , writeShellScript

pname = "gmic-qt${lib.optionalString (variant != "standalone") "-${variant}"}"; version = "3.2.1"; <del> src = fetchFromGitHub { owner = "c-koi"; repo = "gmic-qt"; rev = "v.${version}"; sha256 = "sha256-z+GtYLBcHVufXwdeSd8WKmPmU1+/EKMv26kNaEgyt5w="; </del> <ins> src = fetchzip { url = "https://gmic.eu/files/source/gmic_${version}.tar.gz"; hash = "sha256-2lMnn19FcFKnfIjSxOObqxIjqLMUoWgi0ADZBCBePY4="; </ins> }; <ins> patches = [ (fetchpatch { name = "gmic-qt-3.2.1-fix-system-gmic.patch"; url = "https://github.com/c-koi/gmic-qt/commit/e8d7a3523753ff592da63b1d54edf0921c54fe53.patch"; hash = "sha256-kBFZo2qvod4pH3oK8gvnmw39x6eMH9zjr4mMcY74mFo="; }) ]; sourceRoot = "source/gmic-qt"; </ins> nativeBuildInputs = [ cmake pkg-config

buildInputs = [ gmic <del> cimg </del> qtbase qttools fftw

cmakeFlags = [ "-DGMIC_QT_HOST=${if variant == "standalone" then "none" else variant}" <del> "-DENABLE_SYSTEM_GMIC:BOOL=ON" </del> <ins> "-DENABLE_SYSTEM_GMIC=ON" "-DENABLE_DYNAMIC_LINKING=ON" </ins> ]; postPatch = ''

}; meta = with lib; { <del> # Broken since 3.2.0 update, cannot handle system gmic and cimg. broken = true; </del> description = variants.${variant}.description; homepage = "http://gmic.eu/"; license = licenses.gpl3Plus;

{ stdenv , lib , fetchFromGitHub <ins> , fetchpatch </ins> , fetchurl , cmake , ninja

hash = "sha256-oEH4GlSV+642TGSJJhV4yzydh1hAQZfzwaiPAZFNQtI="; }; <ins> patches = [ (fetchpatch { name = "gmic-3.2.1-fix-system-gmic.patch"; url = "https://github.com/GreycLab/gmic/commit/9db3f6a39d9ed67b4279654da88993a8057575ff.patch"; hash = "sha256-JznKCs56t6cJ4HLqlhMZjSOupEB8cdkn3j6RgZpcpzo="; }) ]; </ins> # TODO: build this from source # https://github.com/dtschump/gmic/blob/b36b2428db5926af5eea5454f822f369c2d9907e/src/Makefile#L675-L729 gmic_stdlib = fetchurl {
Change:
csvq From the homepage: Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, bsd, netbsd, openbsd, (windows) Note I'm just getting started with nix and don't have a lot of experience with the nix DSL. If I find time I could look into this myself but some pointers where to start when submitting new packages are appreciated. If someone else is interested in doing this, that's also fine for me (and will probably be a lot quicker :smile:)
I beat you to it! The PR is .

Discussion:
<ins> { buildGoModule, fetchFromGitHub, lib }: buildGoModule rec { pname = "csvq"; version = "1.17.11"; src = fetchFromGitHub { owner = "mithrandie"; repo = "csvq"; rev = "v${version}"; sha256 = "sha256-jhj03xpWBcLVCCk1S9nsi8O6x1/IVwNT3voGfWBg2iw="; }; vendorSha256 = "sha256-C+KQHSp4aho+DPlkaYegjYSaoSHaLiQOa1WJXIn9FdQ="; meta = with lib; { description = "SQL-like query language for CSV"; homepage = "https://mithrandie.github.io/csvq/"; changelog = "https://github.com/mithrandie/csvq/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ tomodachi94 ]; }; } </ins>

csv2latex = callPackage ../tools/misc/csv2latex { }; <ins> csvq = callPackage ../development/tools/csvq { }; </ins> csvs-to-sqlite = callPackage ../tools/misc/csvs-to-sqlite { }; cucumber = callPackage ../development/tools/cucumber {};
Change:
While trying to test , the aiohttp build failed twice for me. It seems there's some flakyness in the tests. I don't have build logs anymore, but it's the aiohttp that's pulled in by (which is necessary to build VM tests).
I'm encountering flakiness with tests especially when running parallel builds and/or with ...
rebuilding with got it to pass...
Closing since it sounds like fixed this. Happy to reopen if I'm mistaken.

Discussion:
, freezegun , gunicorn , pytest-mock <del> , pytest-xdist </del> , pytestCheckHook , re-assert , trustme

idna-ssl ]; <ins> # NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info. </ins> nativeCheckInputs = [ async_generator freezegun gunicorn pytest-mock <del> pytest-xdist </del> pytestCheckHook re-assert ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [
Change:
has a Nix patch that doesn't apply. We can update the patch in the obvious-but-not-enough way with but this produces a failing build. with the above patch. 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. system: host os: multi-user?: sandbox: version: nixpkgs:

Discussion:
buildPythonPackage rec { pname = "catboost"; <del> version = "1.1.1"; </del> <ins> version = "1.0.5"; </ins> disabled = pythonOlder "3.4"; src = fetchFromGitHub { owner = "catboost"; repo = "catboost"; <del> rev = "refs/tags/v${version}"; sha256 = "sha256-bqnUHTTRan/spA5y4LRt/sIUYpP3pxzdN/4wHjzgZVY="; </del> <ins> rev = "v${version}"; sha256 = "ILemeZUBI9jPb9G6F7QX/T1HaVhQ+g6y7YmsT6DFCJk="; </ins> }; nativeBuildInputs = [ clang_12 ];
Change:
I am working on this bug. First reported . The root cause of the problem is that there is no "pattern" (see ) representation for . It is special, unlike all the other platform predicates. It is this way because exists, and because ... in other words, "static-ness" is not represented in the triple for a platform. Right now we try to pretend that you can reconstruct all the pattern-representable aspects of a from its . That isn't really true, because of and , and it's getting more untrue as time goes on. The long-term solution is to stop pretending. I have a possible short-term fix that I'm testing.

Discussion:
1. (legacy) a system string. <del> 2. (modern) a pattern for the platform `parsed` field. </del> <ins> 2. (modern) a pattern for the entire platform structure (see `lib.systems.inspect.platformPatterns`). </ins> <del> 3. (functional) a predicate function returning a boolean. </del> <ins> 3. (modern) a pattern for the platform `parsed` field (see `lib.systems.inspect.patterns`). </ins> We can inject these into a pattern for the whole of a structured platform, and then match that. */ <del> platformMatch = platform: elem: if builtins.isFunction elem then elem platform else let </del> <ins> platformMatch = platform: elem: let </ins> pattern = if builtins.isString elem then { system = elem; } <ins> else if elem?parsed then elem </ins> else { parsed = elem; }; in lib.matchAttrs pattern platform;

let abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) abis_; in rec { <ins> # these patterns are to be matched against {host,build,target}Platform.parsed </ins> patterns = rec { isi686         = { cpu = cpuTypes.i686; }; isx86_32       = { cpu = { family = "x86"; bits = 32; }; };

else matchAttrs patterns; predicates = mapAttrs (_: matchAnyAttrs) patterns; <ins> # these patterns are to be matched against the entire # {host,build,target}Platform structure; they include a `parsed={}` marker so # that `lib.meta.availableOn` can distinguish them from the patterns which # apply only to the `parsed` field. platformPatterns = mapAttrs (_: p: { parsed = {}; } // p) { isStatic = { isStatic = true; }; }; </ins> }

description = "A system and service manager for Linux"; license = licenses.lgpl21Plus; platforms = platforms.linux; <del> badPlatforms = [ (plat: plat.isStatic) ]; </del> <ins> badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ]; </ins> # https://github.com/systemd/systemd/issues/20600#issuecomment-912338965 broken = stdenv.hostPlatform.isStatic; priority = 10;

sourceProvenance = listOf lib.types.attrs; maintainers = listOf (attrsOf anything); # TODO use the maintainer type from lib/tests/maintainer-module.nix priority = int; <del> platforms = listOf (oneOf [ str (attrsOf anything) (functionTo bool) ]);   # see lib.meta.platformMatch </del> <ins> platforms = listOf (either str (attrsOf anything));   # see lib.meta.platformMatch </ins> hydraPlatforms = listOf str; broken = bool; unfree = bool;
Change:
Steps to reproduce the behavior: or see: Can someone nail the problem down to a specific pr or commit? <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --
Broken because of PR
Now broken because is insecure.
waiting for as nodejs 18 migration is blocked

Discussion:
yarn' = yarn.override { inherit nodejs; }; defaultYarnOpts = [ ]; <ins> esbuild' = esbuild.override { buildGoModule = args: buildGoModule (args // rec { version = "0.16.17"; src = fetchFromGitHub { owner = "evanw"; repo = "esbuild"; rev = "v${version}"; hash = "sha256-8L8h0FaexNsb3Mj6/ohA37nYLFogo5wXkAhGztGUUsQ="; }; vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; }); }; </ins> # replaces esbuild's download script with a binary from nixpkgs patchEsbuild = path : version : '' mkdir -p ${path}/node_modules/esbuild/bin jq "del(.scripts.postinstall)" ${path}/node_modules/esbuild/package.json | sponge ${path}/node_modules/esbuild/package.json <del> sed -i 's/${version}/${esbuild.version}/g' ${path}/node_modules/esbuild/lib/main.js ln -s -f ${esbuild}/bin/esbuild ${path}/node_modules/esbuild/bin/esbuild </del> <ins> sed -i 's/${version}/${esbuild'.version}/g' ${path}/node_modules/esbuild/lib/main.js ln -s -f ${esbuild'}/bin/esbuild ${path}/node_modules/esbuild/bin/esbuild </ins> ''; in stdenv.mkDerivation rec {

<del> { lib, stdenv, fetchFromGitHub, makeWrapper, runCommand </del> <ins> { lib, stdenv, fetchFromGitHub, buildGoModule, makeWrapper, runCommand </ins> , cacert, moreutils, jq, git, pkg-config, yarn, python3 , esbuild, nodejs-16_x-openssl_1_1, libsecret, xorg, ripgrep , AppKit, Cocoa, Security, cctools }:

aarch64-darwin = "darwin-arm64"; }.${system} or (throw "Unsupported system ${system}"); <ins> esbuild' = esbuild.override { buildGoModule = args: buildGoModule (args // rec { version = "0.16.17"; src = fetchFromGitHub { owner = "evanw"; repo = "esbuild"; rev = "v${version}"; hash = "sha256-8L8h0FaexNsb3Mj6/ohA37nYLFogo5wXkAhGztGUUsQ="; }; vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; }); }; </ins> # replaces esbuild's download script with a binary from nixpkgs patchEsbuild = path : version : '' mkdir -p ${path}/node_modules/esbuild/bin jq "del(.scripts.postinstall)" ${path}/node_modules/esbuild/package.json | sponge ${path}/node_modules/esbuild/package.json <del> sed -i 's/${version}/${esbuild.version}/g' ${path}/node_modules/esbuild/lib/main.js ln -s -f ${esbuild}/bin/esbuild ${path}/node_modules/esbuild/bin/esbuild </del> <ins> sed -i 's/${version}/${esbuild'.version}/g' ${path}/node_modules/esbuild/lib/main.js ln -s -f ${esbuild'}/bin/esbuild ${path}/node_modules/esbuild/bin/esbuild </ins> ''; in stdenv.mkDerivation rec {
Change:
Steps to reproduce the behavior: $ nix build --verbose The interesting thing is that I can build the flask-sqlalchemy package just fine: system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:

Discussion:
<del> { lib, fetchpatch, python3, postfix, lynx </del> <ins> { lib , fetchpatch , python3 , docutils , sphinx , postfix , lynx </ins> }: with python3.pkgs; buildPythonPackage rec { pname = "mailman"; <del> version = "3.3.5"; </del> <ins> version = "3.3.8"; </ins> disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; <del> sha256 = "12mgxs1ndhdjjkydx48b95na9k9h0disfqgrr6wxx7vda6dqvcwz"; </del> <ins> hash = "sha256-g6wH7lXqK0yJ8AxO1HFxMvBicBJ9NGWlPePFyxl9Qc4="; </ins> }; propagatedBuildInputs = with python3.pkgs; [

zope_configuration ]; <ins> checkInputs = [ docutils sphinx ]; </ins> patches = [ (fetchpatch { url = "https://gitlab.com/mailman/mailman/-/commit/4b206e2a5267a0e17f345fd7b2d957122ba57566.patch";

# 'runner' scripts. dontWrapPythonPrograms = true; <del> # requires flufl.testing, which the upstream has archived doCheck = false; </del> meta = { homepage = "https://www.gnu.org/software/mailman/"; description = "Free software for managing electronic mail discussion and newsletter lists";

python3.override { packageOverrides = self: super: { # does not find tests <del> alembic = super.alembic.overridePythonAttrs (oldAttrs:  { doCheck = false; }); # Needed by mailman, see https://gitlab.com/mailman/mailman/-/issues/964 sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec { version = "1.3.24"; src = super.fetchPypi { inherit version; inherit (oldAttrs) pname; sha256 = "06bmxzssc66cblk1hamskyv5q3xf1nh1py3vi6dka4lkpxy7gfzb"; }; # does not find tests </del> <ins> alembic = super.alembic.overridePythonAttrs (oldAttrs: { </ins> doCheck = false; }); # Fixes `AssertionError: database connection isn't set to UTC`