diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-03-09 19:45:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 19:45:25 +0000 |
commit | a724fcc8657ebe00f1161d95c3b601392368e187 (patch) | |
tree | 16e29c03e528a8583d3034f2bdd708a7f414b51a | |
parent | 897cecfb1361dd8dd2375cb6450a069e14cf17db (diff) | |
parent | 6e5cd9cbfbfd9d6a0188ba909fec1c593706be88 (diff) | |
download | nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.tar nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.tar.gz nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.tar.bz2 nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.tar.lz nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.tar.xz nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.tar.zst nixlib-a724fcc8657ebe00f1161d95c3b601392368e187.zip |
Merge pull request #36631 from htr/htr-nixnote2-improvements
nixnote2: fix icon and version
-rw-r--r-- | pkgs/applications/misc/nixnote2/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/misc/nixnote2/default.nix b/pkgs/applications/misc/nixnote2/default.nix index 971da8ba0483..4ac152c26694 100644 --- a/pkgs/applications/misc/nixnote2/default.nix +++ b/pkgs/applications/misc/nixnote2/default.nix @@ -24,8 +24,14 @@ mkDerivation rec { --replace '#include <poppler-qt5.h>' '#include <poppler/qt5/poppler-qt5.h>' done + substituteInPlace help/about.html --replace '__VERSION__' '${version}' + substituteInPlace nixnote.cpp --replace 'tidyProcess.start("tidy' 'tidyProcess.start("${html-tidy}/bin/tidy' ''; + + postInstal = '' + cp images/windowIcon.png $out/share/pixmaps/nixnote2.png + ''; meta = with stdenv.lib; { description = "An unofficial client of Evernote"; |