about summary refs log tree commit diff stats
path: root/nix
diff options
context:
space:
mode:
authorAlan Pearce2024-05-17 20:12:02 +0200
committerAlan Pearce2024-05-17 20:29:09 +0200
commit7a87231d54558afa4679f8fdd6fd413123cf5b58 (patch)
tree213cccf4e80283c6085c09ffa278386224d65c96 /nix
parent76055d21b6248d0cb9cc9635d480027b46b6d304 (diff)
downloadsearchix-7a87231d54558afa4679f8fdd6fd413123cf5b58.tar.lz
searchix-7a87231d54558afa4679f8fdd6fd413123cf5b58.tar.zst
searchix-7a87231d54558afa4679f8fdd6fd413123cf5b58.zip
build: enable versioning of package
Diffstat (limited to 'nix')
-rw-r--r--nix/package.nix6
1 files changed, 1 insertions, 5 deletions
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