1
0
Fork 0

Different git URL

This commit is contained in:
Nox Sluijtman 2024-01-13 19:52:18 +01:00
parent da35c0da98
commit 9020126ee1
2 changed files with 9 additions and 9 deletions

View file

@ -1,12 +1,12 @@
{ description = "Curriculum Vitae";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
flake-utils.url = github:numtide/flake-utils;
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils}:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
input = "cv";
inputName = "cv";
in {
packages = rec {
devShell = pkgs.mkShell {
@ -16,7 +16,7 @@
texlab
];
};
document = pkgs.stdenvNoCC.mkDerivation rec {
document = pkgs.stdenvNoCC.mkDerivation {
pname = "Curriculum Vitae";
version = "1.1";
src = ./src;
@ -28,11 +28,11 @@
mkdir -p .cache/texmf-var
env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \
latexmk -interaction=nonstopmode -pdf -pdflatex \
${input}.tex
${inputName}.tex
'';
installPhase = ''
mkdir -p $out
cp ${input}.pdf $out/
cp ${inputName}.pdf $out
'';
};
default = document;

View file

@ -104,7 +104,7 @@
& Date of Birth: 2001-06-13\\
\uhref{https://voidcruiser.nl}{voidcruiser.nl} $|$
\uhref{https://docs.antimattercloud.nl}{docs.antimattercloud.nl} \\
\uhref{https://files.antimattercloud.nl/git}{files.antimattercloud.nl/git} \\
\uhref{https://forge.antimattercloud.nl/}{forge.antimattercloud.nl} \\
\uhref{https://gitlab.com/EternalWanderer}{GitLab.com/EternalWanderer} &
Email: \uhref{mailto:marty.wanderer@disroot.org}{marty.wanderer@disroot.org} \\
\end{tabular*}
@ -219,13 +219,13 @@ Since I switched to NixOS, I decided it would be a good idea to port (some of)
my packages over to Flakes. From there it kind of grew out of proportion and
nearly everything I do is inside of a Flake these days, including this
curriculum vitae. The Flake and repository can be found
\uhref{https://files.antimattercloud.nl/git/curriculum-vitae.git/}{here}.
\uhref{https://forge.antimattercloud.nl/Egg/curriculum-vitae}{here}.
In fact, this document can be compiled on any system running Nix with Flakes
enabled using the following command:
\begin{lstlisting}
nix build git+https://files.antimattercloud.nl/git/curriculum-vitae.git
nix build git+https://forge.antimattercloud.nl/Egg/curriculum-vitae
\end{lstlisting}
\subsection{Lambda Calculus, Combinatory Logic \& adjacent mathematical topics}