Create derivation for learn.wpcarro.dev

Creating a derivation to abstract over the build process for learn.wpcarro.dev.
This commit is contained in:
William Carroll 2020-03-16 16:54:16 +00:00
parent ebf0ef7e34
commit eb402bca74
3 changed files with 12 additions and 3 deletions

10
learn/default.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
name = "learn.wpcarro.dev";
src = ./static;
buildPhase = ''
cp -R $src $out
'';
dontInstall = true;
}