Skip to content
Snippets Groups Projects
Verified Commit 4c9439b8 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: manage flake

parent 96f3150e
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
packages = forAllSystems (system:
let
pkgs = nixpkgsFor.${system};
buildDate = builtins.date "%Y%m%d" (builtins.fromJSON lastModifiedDate);
#buildDate = builtins.date "%Y%m%d" (builtins.fromJSON lastModifiedDate);
#version = builtins.readFile "${versionTool}/version print --git";
in
{
......@@ -65,12 +65,11 @@
# "-X release.version=$version -X release.build=$(due --iso-8601 | tr -d "-" )"
ldflags = [
"-X release.version=${versionTool}"
"-X release.build=${buildDate}"
"-X release.version=${versionTool} print --git"
"-X release.build=${versionTool} build"
];
buildInputs = [ versionTool.defaultPackage ];
buildInputs = [ versionTool.defaultPackage.${system} ];
meta = with nixpkgs.legacyPackages.${system}.lib; {
description = "docman is a document management tool";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment