From d2bf361fd475ed8155e98b65e40e8ecf7dc2a784 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 23 May 2022 19:48:56 -0700 Subject: feat(resume): set the version using the date --- users/fcuny/resume/flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users/fcuny') diff --git a/users/fcuny/resume/flake.nix b/users/fcuny/resume/flake.nix index fbb2755..243fdde 100644 --- a/users/fcuny/resume/flake.nix +++ b/users/fcuny/resume/flake.nix @@ -11,8 +11,9 @@ in { defaultPackage = pkgs.stdenv.mkDerivation { name = "resume"; - buildInputs = with pkgs; [ pandoc ]; + version = self.lastModifiedDate; src = ./.; + buildInputs = with pkgs; [ pandoc ]; buildPhase = '' pandoc --self-contained --css styles/resume.css --from org --to html --output resume.html readme.org ''; -- cgit 1.4.1