diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-23 19:48:56 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-23 19:48:56 -0700 |
commit | d2bf361fd475ed8155e98b65e40e8ecf7dc2a784 (patch) | |
tree | d15679a912550c925b93338069939660c8976f8f | |
parent | ref(resume): remove unneeded files for my resume (diff) | |
download | world-d2bf361fd475ed8155e98b65e40e8ecf7dc2a784.tar.gz |
feat(resume): set the version using the date
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | users/fcuny/resume/flake.nix | 3 |
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 ''; |