Loading pkgs/applications/networking/feedreaders/newsflash/default.nix +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , stdenv , rustPlatform , fetchFromGitLab , substituteAll , cargo , meson , ninja Loading Loading @@ -49,6 +50,12 @@ stdenv.mkDerivation (finalAttrs: { # be included in $out. They will generated by xdg.mime.enable & # gtk.iconCache.enable instead. ./no-post-install.patch # Replace placeholder "0.0.0" project version with nixpkgs version (substituteAll { src = ./hardcode-version.patch; inherit (finalAttrs) version; }) ]; postPatch = '' Loading pkgs/applications/networking/feedreaders/newsflash/hardcode-version.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line diff --git a/meson.build b/meson.build index 55a5048a..1c648189 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project( 'newsflash', 'rust', - version: '0.0.0', + version: '@version@', license: 'GPLv3', ) Loading
pkgs/applications/networking/feedreaders/newsflash/default.nix +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , stdenv , rustPlatform , fetchFromGitLab , substituteAll , cargo , meson , ninja Loading Loading @@ -49,6 +50,12 @@ stdenv.mkDerivation (finalAttrs: { # be included in $out. They will generated by xdg.mime.enable & # gtk.iconCache.enable instead. ./no-post-install.patch # Replace placeholder "0.0.0" project version with nixpkgs version (substituteAll { src = ./hardcode-version.patch; inherit (finalAttrs) version; }) ]; postPatch = '' Loading
pkgs/applications/networking/feedreaders/newsflash/hardcode-version.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line diff --git a/meson.build b/meson.build index 55a5048a..1c648189 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project( 'newsflash', 'rust', - version: '0.0.0', + version: '@version@', license: 'GPLv3', )