about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-23 19:48:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-23 19:48:56 -0700
commitd2bf361fd475ed8155e98b65e40e8ecf7dc2a784 (patch)
treed15679a912550c925b93338069939660c8976f8f
parentref(resume): remove unneeded files for my resume (diff)
downloadworld-d2bf361fd475ed8155e98b65e40e8ecf7dc2a784.tar.gz
feat(resume): set the version using the date
-rw-r--r--.gitignore1
-rw-r--r--users/fcuny/resume/flake.nix3
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 698c49d..eff3459 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /users/fcuny/blog/.hugo_build.lock
 /users/fcuny/notes/.hugo_build.lock
+/users/fcuny/resume/result
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
           '';