From c68757a634395aef73206a7579b84cdc53443136 Mon Sep 17 00:00:00 2001 From: NeilClack Date: Fri, 13 Mar 2026 20:14:01 -0500 Subject: [PATCH] Update version --- flake.nix | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index d48e1fc..8a7d37e 100644 --- a/flake.nix +++ b/flake.nix @@ -6,8 +6,14 @@ flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, nixpkgs, flake-utils }: - (flake-utils.lib.eachDefaultSystem (system: + outputs = + { + self, + nixpkgs, + flake-utils, + }: + (flake-utils.lib.eachDefaultSystem ( + system: let pkgs = import nixpkgs { inherit system; @@ -43,7 +49,7 @@ { packages.default = pkgs.buildGoModule { pname = "rhemawave"; - version = "v1.0.0"; + version = "v1.0.1"; src = ./.; vendorHash = null; @@ -57,7 +63,10 @@ export CGO_LDFLAGS="$(pkg-config --libs SDL2_mixer SDL2_ttf SDL2_image) $CGO_LDFLAGS" ''; - ldflags = [ "-s" "-w" ]; + ldflags = [ + "-s" + "-w" + ]; postInstall = '' cp -r share $out/share @@ -92,7 +101,9 @@ ''; }; } - )) // { + )) + // { nixosModules.default = import ./nixos/module.nix self; }; -} \ No newline at end of file +} +