mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
45 lines
623 B
Nix
45 lines
623 B
Nix
{ pname
|
|
, version
|
|
, src
|
|
, meta
|
|
, appimageTools
|
|
, libgpg-error
|
|
}:
|
|
|
|
let
|
|
src' = appimageTools.extract {
|
|
inherit pname version;
|
|
src = src;
|
|
|
|
# Because of https://github.com/NixOS/nixpkgs/issues/267408
|
|
postExtract = ''
|
|
cp ${libgpg-error}/lib/* $out/usr/lib/
|
|
'';
|
|
};
|
|
in
|
|
|
|
appimageTools.wrapAppImage rec {
|
|
inherit pname version meta;
|
|
src = src';
|
|
|
|
extraPkgs = pkgs: with pkgs; [
|
|
libgpg-error
|
|
fontconfig
|
|
libGL
|
|
mesa
|
|
wayland
|
|
pipewire
|
|
fribidi
|
|
harfbuzz
|
|
freetype
|
|
libthai
|
|
e2fsprogs
|
|
zlib
|
|
libp11
|
|
xorg.libX11
|
|
xorg.libSM
|
|
];
|
|
|
|
multiArch = true;
|
|
}
|