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:
commit
a83cfbfc7c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue