summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-02-20 12:06:22 +0100
committerFelix Singer <felixsinger@posteo.net>2022-02-22 10:31:41 +0000
commit88ccd4863c9c893edd0aa6d119c357b3301c5285 (patch)
tree341e86e8981536dc2ecd6f62c513c037586d0915 /util
parent4045935eb835e4a4c86cb718d8d962793b35edea (diff)
util/nixshell: Add a Nix shell for building documentation
Add a Nix shell config allowing to build the coreboot documentation. Change-Id: I1c9715c677342241b78fbdef0afeb4536f48d50f Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62203 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util')
-rw-r--r--util/nixshell/documentation.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/nixshell/documentation.nix b/util/nixshell/documentation.nix
new file mode 100644
index 0000000000..595e94a122
--- /dev/null
+++ b/util/nixshell/documentation.nix
@@ -0,0 +1,13 @@
+with import <nixpkgs> {};
+
+stdenvNoCC.mkDerivation {
+ name = "coreboot-documentation";
+
+ buildInputs = [
+ git
+ gnumake
+ python3Packages.recommonmark
+ python3Packages.sphinx_rtd_theme
+ sphinx
+ ];
+}