Skip to content

Commit

Permalink
Merge pull request NixOS#279842 from TheBrainScrambler/igir
Browse files Browse the repository at this point in the history
 igir: use autoPatchelfHook
  • Loading branch information
NickCao authored Jan 27, 2024
2 parents a860201 + b19c0e8 commit e0be3bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0be3bf

Please sign in to comment.