mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nocturne: add a gdk-pixbuf module
This commit is contained in:
parent
607961ef2c
commit
94bf14f664
1 changed files with 18 additions and 0 deletions
|
|
@ -21,6 +21,11 @@
|
|||
libsecret,
|
||||
gst_all_1,
|
||||
xdg-user-dirs,
|
||||
gnome,
|
||||
librsvg,
|
||||
webp-pixbuf-loader,
|
||||
libavif,
|
||||
libheif,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
|
@ -78,6 +83,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
python3Packages.pillow
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
export GDK_PIXBUF_MODULE_FILE="${
|
||||
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||
extraLoaders = [
|
||||
librsvg
|
||||
webp-pixbuf-loader
|
||||
libavif
|
||||
libheif.lib
|
||||
];
|
||||
}
|
||||
}"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : ${lib.makeBinPath [ xdg-user-dirs ]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue