git.iko.soy/typeable/nixpkgs
on master help sign in
Added mime info path for mimemagic
commit445aa4663f861500f32318f7e4038ad505157c15 authorMichael Francis <edude03@gmail.com> dateFri 26 Mar 2021, 10:56 (6 years ago) parent768a261
1 file changed+5−1
pkgs/development/ruby-modules/gem-config/default.nix+5−1
pkgs/development/ruby-modules/gem-config/default.nix+5−1
@@ -25,7 +25,7 @@
2525, cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx
2626, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
2727, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
28−, bundler, libsass, libselinux ? null, libsepol ? null
28+, bundler, libsass, libselinux ? null, libsepol ? null, shared-mime-info
2929}@args:
3030
3131let
@@ -378,6 +378,10 @@ in
378378 export HOME=$TMPDIR
379379 '';
380380 };
381+
382+ mimemagic = attrs: {
383+ FREEDESKTOP_MIME_TYPES_PATH="${shared-mime-info}";
384+ };
381385
382386 msgpack = attrs: {
383387 buildInputs = [ msgpack ];