jiebi/CodeConvo huggingface dataset:
Change:
When running OmniSharp, the program is unable to find a dotnet runtime to use at all. When I remove the part from the part of the script, it starts to work. Presumably because moving the command to /dev/null just isn't helping at all? ! !
Oh this is an issue with buildDotnetModule. I was looking at nixos-23.05 when I am on nixos-unstable.
So I am not the only one having this issue I talked about this in the PR that introduced the bug (). I have made a proof of concept for a fix: I will open a PR for this, now that I know that I am not the only one experiencing this.
Your fix worked because, because the original code is checking whether you have dotnet installed by checking whether has an exit code of 0 (which it does, if it is installed). But if you change it to , it will always have exit code that is not 0 (because running is not correct by itself), thus making it think you don't have it installed, which means it will use the hardcoded dotnet 6 version instead.
Yeah, I just stumbled upon it while copy pasting the script manually, I didn't take the time to understand what was happening, still new to shell-scripts. Thanks for hopefully finding a solution!

Discussion:
shell = stdenv.shell; which = "${which}/bin/which"; dirname = "${coreutils}/bin/dirname"; <ins> realpath = "${coreutils}/bin/realpath"; </ins> }; } ./dotnet-fixup-hook.sh) { }; }

if [ ! "${selfContainedBuild-}" ]; then if [ "${useDotnetFromEnv-}" ]; then # if dotnet CLI is available, set DOTNET_ROOT based on it. Otherwise set to default .NET runtime <del> dotnetRootFlags+=("--run" 'command -v dotnet &>/dev/null && export DOTNET_ROOT="$(@dirname@ "$(@dirname@ "$(@which@ dotnet)")")" || export DOTNET_ROOT="@dotnetRuntime@"') </del> <ins> dotnetRootFlags+=("--run" 'command -v dotnet &>/dev/null && export DOTNET_ROOT="$(@dirname@ "$(@realpath@ "$(@which@ dotnet)")")" || export DOTNET_ROOT="@dotnetRuntime@"') </ins> dotnetRootFlags+=("--suffix" "PATH" ":" "@dotnetRuntime@/bin") else dotnetRootFlags+=("--set" "DOTNET_ROOT" "@dotnetRuntime@")

paths = dotnetPackages; pathsToLink = [ "/host" "/packs" "/sdk" "/sdk-manifests" "/shared" "/templates" ]; ignoreCollisions = true; <del> nativeBuildInputs = [ makeWrapper ]; </del> postBuild = '' cp -R ${cli}/{dotnet,share,nix-support} $out/ mkdir $out/bin ln -s $out/dotnet $out/bin/dotnet <del> wrapProgram $out/bin/dotnet  --prefix LD_LIBRARY_PATH : ${cli.icu}/lib </del> ''; passthru = { inherit (cli) icu;
Change:
Package name: freecad Latest released version: 0.21.0 Current version on the unstable channel: 0.20.2 Current version on the stable/release channel: 0.20.2 Notify maintainers Note for maintainers: Please tag this issue in your PR.
Out of curiosity, anyone working on this ?
PR opened at

Discussion:
{ lib , fmt , stdenv <del> , mkDerivation </del> , fetchFromGitHub , cmake , doxygen

, zlib }: <del> mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "freecad"; <del> version = "0.21.0"; </del> <ins> version = "0.21.1"; </ins> src = fetchFromGitHub { owner = "FreeCAD"; repo = "FreeCAD"; <del> rev = version; hash = "sha256-m/0CUVDjlGIkh2AM8qdWAMuH/LVlfILqYybWY0KLT4g="; </del> <ins> rev = finalAttrs.version; hash = "sha256-rwt81Z+Bp8uZlR4iuGQEDKBu/Dr9Rqg7d9SsCdofTUU="; </ins> }; nativeBuildInputs = [

ln -s $out/bin/FreeCADCmd $out/bin/freecadcmd ''; <del> meta = with lib; { </del> <ins> meta = { </ins> homepage = "https://www.freecad.org"; description = "General purpose Open Source 3D CAD/MCAD/CAx/CAE/PLM modeler"; longDescription = ''

programmer, an experienced CAD user, a student or a teacher, you will feel right at home with FreeCAD. ''; <del> license = licenses.lgpl2Plus; maintainers = with maintainers; [ viric gebner AndersonTorres ]; platforms = platforms.linux; </del> <ins> license = lib.licenses.lgpl2Plus; maintainers = with lib.maintainers; [ viric gebner AndersonTorres ]; platforms = lib.platforms.linux; </ins> }; <del> } </del> <ins> }) </ins>
Change:
package-name: nwg-panel nwg-panel latest verison: 0.9.11 nixpkg unstable: 0.7.17 nixpkg stable: 0.7.17 Notify mainters; no maintainers

Discussion:
, pamixer          # pamixer , pulseaudio       # pactl , libdbusmenu-gtk3 # tray <ins> , playerctl </ins> }: python3Packages.buildPythonApplication rec { pname = "nwg-panel"; <del> version = "0.7.17"; </del> <ins> version = "0.9.11"; </ins> src = fetchFromGitHub { owner = "nwg-piotr"; repo = "nwg-panel"; <del> rev = "refs/tags/v${version}"; sha256 = "sha256-HGbPBHf5PIjbuMSd/2fFSCLQ/7s1Xbys+KoGXctQOvM="; </del> <ins> rev = "v${version}"; hash = "sha256-4/R/x3iQ6nsG5OLy/FMA24uxS3xKD/2901gBNe6lkk4="; </ins> }; # No tests

strictDeps = false; dontWrapGApps = true; <del> buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango ]; </del> <ins> buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango playerctl ]; </ins> nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; propagatedBuildInputs = (with python3Packages; [ i3ipc netifaces psutil pybluez pygobject3 requests dasbus setuptools ])

description = "GTK3-based panel for Sway window manager"; license = licenses.mit; platforms = platforms.linux; <del> maintainers = with maintainers; [ ]; </del> <ins> maintainers = with maintainers; [ ludovicopiero ]; mainProgram = "nwg-panel"; </ins> }; }
Change:
I ran into an issue when playing with oci-containers. Stopping the containers results in a coredump for some containers, because the monitor process is killed with the rest of the cgroup. Playing with the stop script and looking at the systemd unit generated with the problem seems to be the check for : This will only run if the result is not "success". But "success" is the normal value when succeeded. Maybe this should use ? Then if the container exited with an error by itself the would not run. No such check is present in the podman generated unit: The same is used for docker, so probably the same error there.

Discussion:
); preStop = if cfg.backend == "podman" <del> then "[ $SERVICE_RESULT = success ] || podman stop --ignore --cidfile=/run/podman-${escapedName}.ctr-id" else "[ $SERVICE_RESULT = success ] || ${cfg.backend} stop ${name}"; postStop =  if cfg.backend == "podman" </del> <ins> then "podman stop --ignore --cidfile=/run/podman-${escapedName}.ctr-id" else "${cfg.backend} stop ${name}"; postStop = if cfg.backend == "podman" </ins> then "podman rm -f --ignore --cidfile=/run/podman-${escapedName}.ctr-id" else "${cfg.backend} rm -f ${name} || true";

ports = ["8181:80"]; }; }; <ins> # Stop systemd from killing remaining processes if ExecStop script # doesn't work, so that proper stopping can be tested. systemd.services."${backend}-nginx".serviceConfig.KillSignal = "SIGCONT"; </ins> }; };

${backend}.wait_for_unit("${backend}-nginx.service") ${backend}.wait_for_open_port(8181) ${backend}.wait_until_succeeds("curl -f http://localhost:8181 | grep Hello") <ins> ${backend}.succeed("systemctl stop ${backend}-nginx.service", timeout=10) </ins> ''; };
Change:
Steps to reproduce the behavior: Might be worth updating to 0.13.2 as well system: host os: multi-user?: sandbox: version: channels(root): channels(mia): nixpkgs:

Discussion:
, fetchFromGitHub , python , cmake <ins> , ninja </ins> }: let <del> pyEnv = python.withPackages (ps: [ ps.setuptools ]); </del> <ins> pyEnv = python.withPackages (ps: [ ps.setuptools ps.tomli ps.pip ps.setuptools ]); </ins> in stdenv.mkDerivation rec { pname = "lief"; <del> version = "0.12.3"; </del> <ins> version = "0.13.2"; </ins> src = fetchFromGitHub { owner = "lief-project"; repo = "LIEF"; rev = version; <del> sha256 = "sha256-wZgv4AFc7DrMCyxMLKQxO1mUTDAU4klK8aZAySqGJoY="; </del> <ins> sha256 = "sha256-lH4SqwPB2Jp/wUI2Cll67PQbHbwMqpNuLy/ei8roiHg="; </ins> }; outputs = [ "out" "py" ]; nativeBuildInputs = [ cmake <ins> ninja </ins> ]; # Not a propagatedBuildInput because only the $py output needs it; $out is

python ]; <del> dontUseCmakeConfigure = true; buildPhase = '' runHook preBuild substituteInPlace setup.py  --replace 'cmake_args = []' "cmake_args = [ "-DCMAKE_INSTALL_PREFIX=$prefix" ]" ${pyEnv.interpreter} setup.py --sdk build --parallel=$NIX_BUILD_CORES runHook postBuild </del> <ins> postBuild = '' pushd /build/source/api/python ${pyEnv.interpreter} setup.py build --parallel=$NIX_BUILD_CORES popd </ins> ''; <del> # I was unable to find a way to build the library itself and have it install # to $out, while also installing the Python bindings to $py without building # the project twice (using cmake), so this is the best we've got. It uses # something called CPack to create the tarball, but it's not obvious to me # *how* that happens, or how to intercept it to just get the structured # library output. installPhase = '' runHook preInstall mkdir -p $out $py/nix-support echo "${python}" >> $py/nix-support/propagated-build-inputs tar xf build/*.tar.gz --directory $out --strip-components 1 </del> <ins> postInstall = '' pushd /build/source/api/python </ins> ${pyEnv.interpreter} setup.py install --skip-build --root=/ --prefix=$py <del> runHook postInstall </del> <ins> popd </ins> ''; meta = with lib; {

homepage = "https://lief.quarkslab.com/"; license = [ licenses.asl20 ]; platforms = with platforms; linux ++ darwin; <del> maintainers = [ maintainers.lassulus ]; </del> <ins> maintainers = with maintainers; [ lassulus genericnerdyusername ]; </ins> }; }
Change:
The option masterCfg of buildbot-master expects a string but defaults to null causing an error when trying to build the system configuration. services.buildbot-master.masterCfg' in ` Don't configure the option masterCfg of buildbot-master. System: 17.03.981. (Gorilla) Nix version: nix-env (Nix) 1.11.8 Nixpkgs version: 17.03.981.
I believe this was fixed by (on master).
oh, sorry I didnt check the master properly. Thanks
The fix has been picked to release so should show up when the channel moves ahead :)
Fixes like this can slip by without going to the release branch. Thank you for the report.

Discussion:
<ins> {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { version = "0.15.2"; name = "vala-${version}"; src = fetchurl { url = "mirror://gnome/sources/vala/0.15/${name}.tar.xz"; sha256 = "0g71zq6dpqrw2f40wfzdf18fdw41ymr17laqniy2kr622hkxdi8w"; }; buildNativeInputs = [ yacc flex pkgconfig xz ]; buildInputs = [ glib ]; meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; }; } </ins>

<ins> {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { version = "0.16.1"; name = "vala-${version}"; src = fetchurl { url = "mirror://gnome/sources/vala/0.16/${name}.tar.xz"; sha256 = "1n708n9ixyy9qrzyv1wf4ybvcclx43ib9ki028wwpvkz6kv8zqlb"; }; buildNativeInputs = [ yacc flex pkgconfig xz ]; buildInputs = [ glib ]; meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; }; } </ins>

{stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { <del> name = "vala-0.14.2"; </del> <ins> version = "0.17.2"; name = "vala-${version}"; </ins> src = fetchurl { <del> url = mirror://gnome/sources/vala/0.14/vala-0.14.2.tar.xz; sha256 = "1l5kllw9vpwv24lzv9fp64l3sad46wpxgvsgryrwlrjg91w6jzl0"; </del> <ins> url = "mirror://gnome/sources/vala/0.17/${name}.tar.xz"; sha256 = "09i2s0dwmrk147ind2dx7nq845g12fp6fsjqrphhrr0dbi0zzgh3"; </ins> }; buildNativeInputs = [ yacc flex pkgconfig xz ];

meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; <ins> license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; </ins> }; }

urweb = callPackage ../development/compilers/urweb { }; <del> vala = callPackage ../development/compilers/vala { }; </del> <ins> vala = vala17; vala15 = callPackage ../development/compilers/vala/15.2.nix { }; vala16 = callPackage ../development/compilers/vala/16.1.nix { }; vala17 = callPackage ../development/compilers/vala/default.nix { }; </ins> visualcpp = callPackage ../development/compilers/visual-c++ { };
Change:
The original author of gitless has not committed any code to it since 2021, and the version currently in nixpkgs errors out when trying to do anything useful with it. has forked and continued to develop it though: Package name: gitless Latest released version: 0.9.17 Current version on the unstable channel: 0.8.8 Current version on the stable/release channel: 0.8.8 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.
Thanks for the tag! I'm glad that gitless can live on past the initial MIT research that was conducted. Although it's been a while since I've updated gitless, it has been very useful for my day to day work and I'm committed to fixing bugs in a timely manner.
Sure! I rediscovered gitless (and your fork) on the back of a recent Slack discussion with folks from about the best way to make version control as accessible as possible for newcomers in the research community.

Discussion:
python3.pkgs.buildPythonApplication rec { pname = "gitless"; <del> version = "0.8.8"; </del> <ins> version = "0.9.17"; </ins> format = "setuptools"; src = fetchFromGitHub { <del> owner = "gitless-vcs"; </del> <ins> owner = "goldstar611"; </ins> repo = pname; <del> rev = "v${version}"; hash = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE="; </del> <ins> rev = version; hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ="; </ins> }; nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; propagatedBuildInputs = with python3.pkgs; [ <del> sh </del> pygit2 <del> clint </del> <ins> argcomplete </ins> ]; pythonRelaxDeps = [ "pygit2" ];
Change:
Beginning around commit , postgres < 14 will not build with musl: Postgresql successfully builds Here is the full output: The patches introduced in the above commit appear to be specific to Postgresql 14.x <!-- 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:
locale = "${if stdenv.isDarwin then darwin.adv_cmds else lib.getBin stdenv.cc.libc}/bin/locale"; }) <del> ] ++ lib.optionals stdenv'.hostPlatform.isMusl [ # Fixes for musl libc # These patches are not properly guarded and should NOT be enabled everywhere (fetchpatch { url = "https://git.alpinelinux.org/aports/plain/main/postgresql14/disable-test-collate.icu.utf8.patch?id=56999e6d0265ceff5c5239f85fdd33e146f06cb7"; hash = "sha256-pnl+wM3/IUyq5iJzk+h278MDA9R0GQXQX8d4wJcB2z4="; }) </del> <ins> ] ++ lib.optionals (stdenv'.hostPlatform.isMusl && atLeast "12") [ </ins> (fetchpatch { url = "https://git.alpinelinux.org/aports/plain/main/postgresql14/icu-collations-hack.patch?id=56999e6d0265ceff5c5239f85fdd33e146f06cb7"; hash = "sha256-Yb6lMBDqeVP/BLMyIr5rmR6OkaVzo68cV/+cL2LOe/M="; }) <del> ] ++ lib.optionals stdenv'.isLinux [ </del> <ins> ] ++ lib.optionals (stdenv'.hostPlatform.isMusl && atLeast "13") [ (if olderThan "14" then fetchpatch { url = "https://git.alpinelinux.org/aports/plain/main/postgresql13/disable-test-collate.icu.utf8.patch?id=69faa146ec9fff3b981511068f17f9e629d4688b"; hash = "sha256-IOOx7/laDYhTz1Q1r6H1FSZBsHCgD4lHvia+/os7CCo="; } else fetchpatch { url = "https://git.alpinelinux.org/aports/plain/main/postgresql14/disable-test-collate.icu.utf8.patch?id=56999e6d0265ceff5c5239f85fdd33e146f06cb7"; hash = "sha256-pnl+wM3/IUyq5iJzk+h278MDA9R0GQXQX8d4wJcB2z4="; }) ] ++ lib.optionals stdenv'.isLinux  [ </ins> (if atLeast "13" then ./patches/socketdir-in-run-13.patch else ./patches/socketdir-in-run.patch) ];
Change:
I'm confused about this issue. I didn't open it
You might have accidentally clicked the "Convert to issue" button: <img width="1078" alt="Screenshot 2023-08-22 at 10 58 41 AM" src=""
Possible

Discussion:
{ lib , buildPythonPackage <del> , isPy3k </del> , fetchPypi , substituteAll , ffmpeg_4

buildPythonPackage rec { pname = "imageio-ffmpeg"; version = "0.4.8"; <del> disabled = !isPy3k; </del> <ins> format = "setuptools"; </ins> src = fetchPypi { inherit pname version;

}) ]; <ins> # https://github.com/imageio/imageio-ffmpeg/issues/59 postPatch = '' sed -i '/setup_requires=["pip>19"]/d' setup.py ''; </ins> checkPhase = '' runHook preCheck
Change:
I don't know if this is a bug or expected behaviour, but I've found that the caddyfile gets built differently depending on whether I'm using the unstable module or the 23.05 module with a base of 23.05. Specifically, it seems that the location of the contents of in the caddyfile change. In 23.05 (caddy version 2.6.x), I find that the contents of the caddyfile are in the following sequence: However, using unstable, it's changed to: Now this is a problem because I use to define a few common variables which are then used by my virtual hosts. Can this behaviour be changed or made explicit? Or can we have a option which comes after but before Virtual Hosts? Steps to reproduce the behavior: the unstable caddy module on a nixos 23.05 installation a global config section, an extra Config section, and a few virtual hosts and then check the way the caddyfile is made. The caddyfile to be made in the same way as it was in 23.05. - Pinging you because I see that you're the one who updated the package to the 2.7.x series. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --
I am unable to reproduce this. Could you please share a minimal reproducer/code snippet for ? Thanks!
What I've got (with the extra stuff snipped out) is: : : The custom overlay does not change caddy in any way.
Update: This only happens when you mix channels, and not when you stick to unstable. I got the chance to try it out right now.
While I am not sure whether this is a general issue deep in the merging order of the nixos module system when using , I at least know how to workaround it. You can simply force the order via for now. I'll probably file an PR tomorrow or so that fixes this in the caddy module itself by using in Very interesting issue/edge case. Thanks for reporting!
Thanks for giving me a solution! It works perfectly. I will leave it to you to close this bug report post your PR, if you wish.

Discussion:
${cfg.globalConfig} } ${cfg.extraConfig} <ins> ${concatMapStringsSep "n" mkVHostConf virtualHosts} </ins> ''; Caddyfile-formatted = pkgs.runCommand "Caddyfile-formatted" { nativeBuildInputs = [ cfg.package ]; } ''

groups = config.users.groups; }) acmeHosts; <del> services.caddy.extraConfig = concatMapStringsSep "n" mkVHostConf virtualHosts; </del> services.caddy.globalConfig = '' ${optionalString (cfg.email != null) "email ${cfg.email}"} ${optionalString (cfg.acmeCA != null) "acme_ca ${cfg.acmeCA}"}
Change:
Steps to reproduce the behavior: on master Detected when reviewing locally Likely fixed by <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --unmaintained Please run and paste the result.

Discussion:
, atk, at-spi2-atk, dbus , gdk-pixbuf, pango, cairo , expat, libdrm, mesa <del> , alsa-lib, at-spi2-core, cups }: </del> <ins> , alsa-lib, at-spi2-core, cups , libxkbcommon }: </ins> let LD_LIBRARY_PATH = lib.makeLibraryPath [

xorg.libX11 xorg.libxcb xorg.libXcomposite xorg.libXcursor xorg.libXext xorg.libXfixes xorg.libXi xorg.libXrender xorg.libXtst <del> nss nspr atk at-spi2-atk dbus gdk-pixbuf pango cairo </del> <ins> xorg.libxshmfence libxkbcommon nss nspr atk at-spi2-atk dbus gdk-pixbuf pango cairo </ins> xorg.libXrandr expat libdrm mesa alsa-lib at-spi2-core cups ]; in stdenv.mkDerivation rec { <del> version = "4.1.6"; </del> <ins> version = "5.1.0"; </ins> pname = "staruml"; src = fetchurl { <del> url = "https://staruml.io/download/releases-v4/StarUML_${version}_amd64.deb"; sha256 = "sha256-CUOdpR8RExMLeOX8469egENotMNuPU4z8S1IGqA21z0="; </del> <ins> url = "https://staruml-7a0.kxcdn.com/releases-v5/StarUML_${version}_amd64.deb"; sha256 = "sha256-da1mY3OW24g6Ix0L57CBPbaMeSLzhOOjoBsyZszmNOc="; </ins> }; nativeBuildInputs = [ wrapGAppsHook dpkg ];
Change:
Package name: tailspin Latest released version: 1.4.0 <!-- Search your package here: --- Current version on the unstable channel: 0.1.1 Current version on the stable/release channel: 0.1.1 <!-- 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:

Discussion:
{ lib <del> , buildGoModule </del> <ins> , rustPlatform </ins> , fetchFromGitHub }: <del> buildGoModule rec { </del> <ins> rustPlatform.buildRustPackage rec { </ins> pname = "tailspin"; <del> version = "0.1.1"; </del> <ins> version = "1.4.0"; </ins> src = fetchFromGitHub { owner = "bensadeh"; <del> repo = pname; rev = version; sha256 = "sha256-f9VfOcLOWJ4yr/CS0lqaqiaTfzOgdoI9CaS70AMNdsc="; </del> <ins> repo = "tailspin"; rev = "refs/tags/${version}"; hash = "sha256-mtMUHiuGuzLEJk4S+AnpyYGPn0naIP45R9itzXLhG8g="; </ins> }; <del> vendorHash = "sha256-gn7/pFw7JEhkkd/PBP4jLUKb5NBaRE/rb049Ic/Bu7A="; CGO_ENABLED = 0; subPackages = [ "." ]; </del> <ins> cargoHash = "sha256-M+TUdKtR8/vpkyJiO17LBPDgXq207pC2cUKE7krarfY="; </ins> meta = with lib; { <del> description = "A log file highlighter and a drop-in replacement for `tail -f`"; </del> <ins> description = "A log file highlighter"; </ins> homepage = "https://github.com/bensadeh/tailspin"; <ins> changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md"; </ins> license = licenses.mit; maintainers = with maintainers; [ dit7ya ]; mainProgram = "spin";
Change:
Package name: bluej Latest released version: 5.2.0 <!-- Search your package here: --- Current version on the unstable channel: 5.1.0 Current version on the stable/release channel: 5.1.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.
On it. I sadly still haven't found a good way of keeping up with releases, and I only actively use it myself from the end of september through to december.
PR at

Discussion:
<del> { lib, stdenv, fetchurl, openjdk, glib, wrapGAppsHook }: </del> <ins> { lib, stdenv, fetchurl, openjdk, glib, wrapGAppsHook, zstd }: </ins> stdenv.mkDerivation rec { pname = "bluej"; <del> version = "5.1.0"; </del> <ins> version = "5.2.0"; </ins> src = fetchurl { # We use the deb here. First instinct might be to go for the "generic" JAR # download, but that is actually a graphical installer that is much harder # to unpack than the deb. url = "https://www.bluej.org/download/files/BlueJ-linux-${builtins.replaceStrings ["."] [""] version}.deb"; <del> sha256 = "sha256-tOb15wU9OjUt0D8l/JkaGYj84L7HV4FUnQQB5cRAxG0="; </del> <ins> sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE="; </ins> }; <del> nativeBuildInputs = [ wrapGAppsHook ]; </del> <ins> nativeBuildInputs = [ zstd wrapGAppsHook ]; </ins> buildInputs = [ glib ]; sourceRoot = ".";

unpackCmdHooks+=(_tryDebData) _tryDebData() { if ! [[ "$1" =~ .deb$ ]]; then return 1; fi <del> ar xf "$1" if ! [[ -e data.tar.xz ]]; then return 1; fi unpackFile data.tar.xz </del> <ins> ar xf $src if ! [[ -e data.tar.zst ]]; then return 1; fi unpackFile data.tar.zst </ins> } '';

"''${gappsWrapperArgs[@]}"  --add-flags "-Dawt.useSystemAAFontSettings=on -Xmx512M  --add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED  <del> -jar $out/share/bluej/bluej.jar" </del> <ins> -cp $out/share/bluej/boot.jar bluej.Boot" </ins> runHook postInstall '';