3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #5541 from nckx/eid-viewer-association

eid-viewer: associate with XML & text/plain (MIME type of .eid files)
This commit is contained in:
Edward Tjörnhammar 2015-01-24 23:31:24 +01:00
commit a83cfbfc7c

View file

@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/eid-viewer --suffix LD_LIBRARY_PATH : ${pcsclite}/lib
cat >> $out/share/applications/eid-viewer.desktop << EOF
# eid-viewer creates XML without a header, making it "plain text":
MimeType=application/xml;text/xml;text/plain
EOF
'';
doCheck = true;