about summary refs log tree commit diff
path: root/website/learn/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-20T00·47+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-20T00·47+0000
commit1d5ab45303c700e188a1f041f6ff6630e96c7f03 (patch)
tree9e1caa3c695185082e24bdab8e6a978ce796f4cb /website/learn/default.nix
parent95e761e59b739c1cd702f70757225d7d01325284 (diff)
Move learn to website/learn
Nest the learn directory in the website directory.
Diffstat (limited to 'website/learn/default.nix')
-rw-r--r--website/learn/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/website/learn/default.nix b/website/learn/default.nix
new file mode 100644
index 000000000000..7aa8975a45fa
--- /dev/null
+++ b/website/learn/default.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+
+pkgs.stdenv.mkDerivation {
+  name = "learn.wpcarro.dev";
+  src = ./static;
+  buildPhase = ''
+    cp -R $src $out
+  '';
+  dontInstall = true;
+}