Merge pull request #279842 from TheBrainScrambler/igir

igir: use autoPatchelfHook
This commit is contained in:
Nick Cao 2024-01-27 10:40:50 -05:00 committed by GitHub
commit e0be3bfaf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,11 @@
{ lib
, buildNpmPackage
, fetchFromGitHub
# for patching bundled 7z binary from the 7zip-bin node module
# at lib/node_modules/igir/node_modules/7zip-bin/linux/x64/7za
, autoPatchelfHook
, stdenv
}:
buildNpmPackage rec {
@ -21,6 +26,14 @@ buildNpmPackage rec {
patchShebangs scripts/update-readme-help.sh
'';
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ stdenv.cc.cc.lib ];
# from lib/node_modules/igir/node_modules/@node-rs/crc32-linux-x64-musl/crc32.linux-x64-musl.node
# Irrelevant to our use
autoPatchelfIgnoreMissingDeps = [ "libc.musl-x86_64.so.1" ];
meta = with lib; {
description = "A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS";
homepage = "https://igir.io";

View File

@ -1912,8 +1912,6 @@ with pkgs;
hyperpotamus = callPackage ../tools/misc/hyperpotamus { };
igir = callPackage ../tools/games/igir { };
immich-cli = callPackage ../tools/misc/immich-cli { };
inherit (callPackages ../tools/networking/ivpn/default.nix {}) ivpn ivpn-service;