diff --git a/pkgs/by-name/pt/ptouch-print/package.nix b/pkgs/by-name/pt/ptouch-print/package.nix index 5c5437d69e72..f5e0abfe70e7 100644 --- a/pkgs/by-name/pt/ptouch-print/package.nix +++ b/pkgs/by-name/pt/ptouch-print/package.nix @@ -1,4 +1,5 @@ { + argp-standalone, cmake, fetchgit, gd, @@ -36,6 +37,9 @@ stdenv.mkDerivation { libpng zlib libusb1 + ] + ++ lib.optionals (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isMusl) [ + argp-standalone ]; installPhase = ''