diff --git a/pkgs/by-name/au/audiobookshelf/package.nix b/pkgs/by-name/au/audiobookshelf/package.nix index 91008472059b..efa34166f093 100644 --- a/pkgs/by-name/au/audiobookshelf/package.nix +++ b/pkgs/by-name/au/audiobookshelf/package.nix @@ -56,14 +56,6 @@ buildNpmPackage { inherit pname src; inherit (source) version; - postPatch = '' - # Always skip version checks of the binary manager. - # We provide our own binaries, and don't want to trigger downloads. - substituteInPlace server/managers/BinaryManager.js --replace-fail \ - 'if (!this.validVersions.length) return true' \ - 'return true' - ''; - buildInputs = [ util-linux ]; nativeBuildInputs = [ python3 ]; diff --git a/pkgs/by-name/au/audiobookshelf/source.json b/pkgs/by-name/au/audiobookshelf/source.json index 384ef51404f7..6c761aac6a5a 100644 --- a/pkgs/by-name/au/audiobookshelf/source.json +++ b/pkgs/by-name/au/audiobookshelf/source.json @@ -1,9 +1,9 @@ { "owner": "advplyr", "repo": "audiobookshelf", - "rev": "52a3bc224ae7c79fbb543716a25b731c65a8f76a", - "hash": "sha256-SbpoCtd5PJ6fU9muy58J4VxlbKiJM0OfMALHC5DUqFc=", - "version": "2.12.3", - "depsHash": "sha256-8YUGM+MPYFLpLwWe3W+eObxH4ZklDVGj8bDYkSWTzQg=", - "clientDepsHash": "sha256-8xE1M7InH+Rxjpb2rsdvC3LcLV+k8a83BKWCis5P+tY=" + "rev": "48f232790a5026ac886564ef57660a338a168187", + "hash": "sha256-2/lUByeWMZlxk7i+mvzBuxlxD97C+JEtmf/ajht5AOs=", + "version": "2.13.2", + "depsHash": "sha256-kU5Nrhy6AePwD2/kmvTXvrvGUH8uz3qm3ZvD3kC9EmE=", + "clientDepsHash": "sha256-1haujBoC9KyusE52HeepOcvmb6v7EG5XWD4dq1wPfe4=" } diff --git a/pkgs/by-name/au/audiobookshelf/wrapper.nix b/pkgs/by-name/au/audiobookshelf/wrapper.nix index d8f16829ffb5..87d3358a425c 100644 --- a/pkgs/by-name/au/audiobookshelf/wrapper.nix +++ b/pkgs/by-name/au/audiobookshelf/wrapper.nix @@ -52,6 +52,7 @@ NODE_ENV=production \ SOURCE=nixpkgs \ + SKIP_BINARIES_CHECK=1 \ FFMPEG_PATH=${ffmpeg-full}/bin/ffmpeg \ FFPROBE_PATH=${ffmpeg-full}/bin/ffprobe \ CONFIG_PATH="$config" \