added version number so appimage
This commit is contained in:
parent
8759413a66
commit
f8e00eda9b
@ -15,6 +15,7 @@
|
|||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
name = "scannedImageExtractor";
|
name = "scannedImageExtractor";
|
||||||
|
version = "0.2.7-beta";
|
||||||
in {
|
in {
|
||||||
packages.${system} = {
|
packages.${system} = {
|
||||||
default = let
|
default = let
|
||||||
@ -72,7 +73,7 @@
|
|||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m 555 $src -D $out/${name}.AppImage
|
install -m 555 $src -D $out/${name}-v${version}.AppImage
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -80,7 +81,7 @@
|
|||||||
apps.${system} = {
|
apps.${system} = {
|
||||||
appImage = {
|
appImage = {
|
||||||
program = "${pkgs.writeShellScript "scannedImageExtractor" ''
|
program = "${pkgs.writeShellScript "scannedImageExtractor" ''
|
||||||
${pkgs.appimage-run}/bin/appimage-run ${self.packages.${system}.appImage}/${name}.AppImage
|
${pkgs.appimage-run}/bin/appimage-run ${self.packages.${system}.appImage}/${name}-v${version}.AppImage
|
||||||
''}";
|
''}";
|
||||||
type = "app";
|
type = "app";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user