Unverified Commit e0be3bfa authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #279842 from TheBrainScrambler/igir

 igir: use autoPatchelfHook
parents a8602015 b19c0e84
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
{ 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";
+0 −2
Original line number Diff line number Diff line
@@ -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;