diff options
author | Hugo Tavares Reis <hugo@linux.com> | 2018-03-09 12:47:50 +0100 |
---|---|---|
committer | Hugo Tavares Reis <hugo@linux.com> | 2018-03-09 12:47:50 +0100 |
commit | 6e5cd9cbfbfd9d6a0188ba909fec1c593706be88 (patch) | |
tree | 533fa3ee19812e916c6eb52e80d5ecc4b971c72b /pkgs/applications/misc/nixnote2 | |
parent | 2d2208eb9d64ccc29077de31c8dd61dfc00e1c23 (diff) | |
download | nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.gz nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.bz2 nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.lz nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.xz nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.zst nixlib-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.zip |
nixnote2: fix icon and version
Diffstat (limited to 'pkgs/applications/misc/nixnote2')
-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"; |