gui-installer: calculate bugfix version from lastModifiedDate

This commit is contained in:
DavHau
2024-06-07 11:35:25 -07:00
parent 4e841d3087
commit 7286c7250c

View File

@@ -1,11 +1,16 @@
{ self, ... }:
{ {
perSystem = perSystem =
{ pkgs, ... }: { pkgs, ... }:
let let
nfpmConfig = pkgs.writeText "clan-nfpm-config.yaml" ( nfpmConfig = pkgs.writeText "clan-nfpm-config.yaml" (
builtins.toJSON { builtins.toJSON {
name = "clan-gui-installer"; name = "clan-gui-installer";
version = "0.0.${self.lastModifiedDate}";
maintainer = "cLAN core team";
homepage = "https://clan.lol";
description = "Peer-to-Peer self-hosting made easy for developers";
license = "MIT";
contents = [ contents = [
{ {
src = "${./gui-installer.sh}"; src = "${./gui-installer.sh}";