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 | |
parent | 2d2208eb9d64ccc29077de31c8dd61dfc00e1c23 (diff) | |
download | nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.gz nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.bz2 nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.lz nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.xz nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.tar.zst nixpkgs-6e5cd9cbfbfd9d6a0188ba909fec1c593706be88.zip |
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 971da8ba048..4ac152c2669 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"; |