nbt-explorer: Temporarily disable update script

Fails with:

    File "/nix/store/…-nix-update-1.0.0/…/nix_update/update.py", line 344, in update
      update_hash = update_version(
                    ^^^^^^^^^^^^^^^
    File "/nix/store/…-nix-update-1.0.0/…/nix_update/update.py", line 318, in update_version
      return replace_version(package)
            ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/nix/store/…-nix-update-1.0.0/…/nix_update/update.py", line 39, in replace_version
      line = line.replace(package.rev, package.new_version.rev)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    TypeError: replace() argument 1 must be str, not None
This commit is contained in:
Andrew Kvalheim 2023-12-02 18:07:14 -08:00
parent 8966b1d960
commit 5efb0157e7

View file

@ -55,9 +55,10 @@ stdenv.mkDerivation rec {
install -D -t $out/share/applications ${desktopItem}/share/applications/*
'';
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex" "(.*)-win" ];
};
# FIXME: “replace() argument 1 must be str, not None” at nix_update/update.py:39
# passthru.updateScript = nix-update-script {
# extraArgs = [ "--version-regex" "(.*)-win" ];
# };
meta = {
description = "A graphical NBT editor for all Minecraft NBT data sources";