From 7a87231d54558afa4679f8fdd6fd413123cf5b58 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 17 May 2024 20:12:02 +0200 Subject: build: enable versioning of package --- nix/package.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'nix/package.nix') diff --git a/nix/package.nix b/nix/package.nix index d311505..99f47c3 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -17,14 +17,10 @@ let inherit (builtins) concatStringsSep match; - version = "0-unstable-" + concatStringsSep "-" (match - "([[:digit:]]{4})([[:digit:]]{2})([[:digit:]]{2}).*" - self.lastModifiedDate - ); in buildGoApplication { pname = "searchix"; - inherit version; + version = "0.1.0"; src = with pkgs.lib.fileset; toSource { root = ../.; fileset = difference -- cgit 1.4.1