From 22e7b10377a2a5672d5af6840a9a21e298315cfd Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 25 May 2022 18:09:38 -0700 Subject: ref(resume): remove flake.nix Integrate the resume with the rest of the repository, as I did for the blog in the previous commit. Added a script to copy the resume in the static directory of the blog. --- users/fcuny/resume/flake.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 users/fcuny/resume/flake.nix (limited to 'users/fcuny/resume/flake.nix') diff --git a/users/fcuny/resume/flake.nix b/users/fcuny/resume/flake.nix deleted file mode 100644 index 35a7d7d..0000000 --- a/users/fcuny/resume/flake.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - description = "Franck Cuny's resume"; - inputs = { - nixpkgs.url = "github:nixos/nixpkgs"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let pkgs = nixpkgs.legacyPackages.${system}; - in { - defaultPackage = pkgs.stdenv.mkDerivation { - name = "resume"; - version = self.lastModifiedDate; - src = ./.; - buildInputs = with pkgs; [ pandoc ]; - buildPhase = '' - pandoc --self-contained --css styles/resume.css --from org --to html --output resume.html resume.org - ''; - - installPhase = '' - mkdir -p $out - cp resume.html $out/ - ''; - }; - devShell = pkgs.mkShell { buildInputs = with pkgs; [ git pandoc ]; }; - }); -} -- cgit v1.2.3