24 lines
519 B
Nix
24 lines
519 B
Nix
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/5f9d1bb572e08ec432ae46c78581919d837a90f6.tar.gz") {}}:
|
|
let
|
|
resumePackage = pkgs.callPackage ../resume/default.nix {};
|
|
in pkgs.stdenv.mkDerivation {
|
|
name = "greg.everydayimshuflin.com-website";
|
|
src = ./.;
|
|
|
|
buildInputs = [resumePackage];
|
|
installPhase = ''
|
|
mkdir $out
|
|
|
|
|
|
cp index.html $out
|
|
cp style.css $out
|
|
cp self.jpg $out
|
|
cp favicon.png $out
|
|
|
|
mkdir $out/resume/
|
|
cp ${resumePackage}/*.pdf $out/resume
|
|
|
|
'';
|
|
}
|
|
|