Create derivation for learn.wpcarro.dev
Creating a derivation to abstract over the build process for learn.wpcarro.dev.
This commit is contained in:
parent
ebf0ef7e34
commit
eb402bca74
3 changed files with 12 additions and 3 deletions
10
learn/default.nix
Normal file
10
learn/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "learn.wpcarro.dev";
|
||||
src = ./static;
|
||||
buildPhase = ''
|
||||
cp -R $src $out
|
||||
'';
|
||||
dontInstall = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue