22 lines
461 B
Nix
22 lines
461 B
Nix
{
|
|
description = "My resume";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
packages.${system}.default = pkgs.stdenv.mkDerivation {
|
|
name = "resume";
|
|
src = ./.;
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp index.html resume.css $out/
|
|
'';
|
|
};
|
|
};
|
|
}
|