summaryrefslogtreecommitdiffstats
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
parent4045935eb835e4a4c86cb718d8d962793b35edea (diff)
downloadcoreboot-88ccd4863c9c893edd0aa6d119c357b3301c5285.tar.gz
coreboot-88ccd4863c9c893edd0aa6d119c357b3301c5285.tar.bz2
coreboot-88ccd4863c9c893edd0aa6d119c357b3301c5285.zip
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>
-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 000000000000..595e94a122ea
--- /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
+ ];
+}