1
0
forked from clan/clan-core

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 =
{ pkgs, ... }:
let
nfpmConfig = pkgs.writeText "clan-nfpm-config.yaml" (
builtins.toJSON {
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 = [
{
src = "${./gui-installer.sh}";