about summary refs log tree commit diff
path: root/learn/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-16T16·54+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-16T16·54+0000
commiteb402bca744e07a54a420900586064a6cbc41403 (patch)
treea41e8d63770cc181d2bdcaba7c4ab34e51112f63 /learn/default.nix
parentebf0ef7e34aa933f87b51ad5c36225aa29a0bc6c (diff)
Create derivation for learn.wpcarro.dev
Creating a derivation to abstract over the build process for learn.wpcarro.dev.
Diffstat (limited to 'learn/default.nix')
-rw-r--r--learn/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/learn/default.nix b/learn/default.nix
new file mode 100644
index 000000000000..7aa8975a45fa
--- /dev/null
+++ b/learn/default.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+
+pkgs.stdenv.mkDerivation {
+  name = "learn.wpcarro.dev";
+  src = ./static;
+  buildPhase = ''
+    cp -R $src $out
+  '';
+  dontInstall = true;
+}