Different git URL
This commit is contained in:
parent
da35c0da98
commit
9020126ee1
12
flake.nix
12
flake.nix
|
@ -1,12 +1,12 @@
|
||||||
{ description = "Curriculum Vitae";
|
{ description = "Curriculum Vitae";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
flake-utils.url = github:numtide/flake-utils;
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, flake-utils}:
|
outputs = { self, nixpkgs, flake-utils}:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let pkgs = import nixpkgs { inherit system; };
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
input = "cv";
|
inputName = "cv";
|
||||||
in {
|
in {
|
||||||
packages = rec {
|
packages = rec {
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
texlab
|
texlab
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
document = pkgs.stdenvNoCC.mkDerivation rec {
|
document = pkgs.stdenvNoCC.mkDerivation {
|
||||||
pname = "Curriculum Vitae";
|
pname = "Curriculum Vitae";
|
||||||
version = "1.1";
|
version = "1.1";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
|
@ -28,11 +28,11 @@
|
||||||
mkdir -p .cache/texmf-var
|
mkdir -p .cache/texmf-var
|
||||||
env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \
|
env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \
|
||||||
latexmk -interaction=nonstopmode -pdf -pdflatex \
|
latexmk -interaction=nonstopmode -pdf -pdflatex \
|
||||||
${input}.tex
|
${inputName}.tex
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp ${input}.pdf $out/
|
cp ${inputName}.pdf $out
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
default = document;
|
default = document;
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
& Date of Birth: 2001-06-13\\
|
& Date of Birth: 2001-06-13\\
|
||||||
\uhref{https://voidcruiser.nl}{voidcruiser.nl} $|$
|
\uhref{https://voidcruiser.nl}{voidcruiser.nl} $|$
|
||||||
\uhref{https://docs.antimattercloud.nl}{docs.antimattercloud.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} &
|
\uhref{https://gitlab.com/EternalWanderer}{GitLab.com/EternalWanderer} &
|
||||||
Email: \uhref{mailto:marty.wanderer@disroot.org}{marty.wanderer@disroot.org} \\
|
Email: \uhref{mailto:marty.wanderer@disroot.org}{marty.wanderer@disroot.org} \\
|
||||||
\end{tabular*}
|
\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
|
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
|
nearly everything I do is inside of a Flake these days, including this
|
||||||
curriculum vitae. The Flake and repository can be found
|
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
|
In fact, this document can be compiled on any system running Nix with Flakes
|
||||||
enabled using the following command:
|
enabled using the following command:
|
||||||
|
|
||||||
\begin{lstlisting}
|
\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}
|
\end{lstlisting}
|
||||||
|
|
||||||
\subsection{Lambda Calculus, Combinatory Logic \& adjacent mathematical topics}
|
\subsection{Lambda Calculus, Combinatory Logic \& adjacent mathematical topics}
|
||||||
|
|
Loading…
Reference in a new issue