diff options
author | Adrian Kummerlaender | 2021-08-22 20:50:13 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2021-08-22 20:50:13 +0200 |
commit | 448c5bc400782299da8e697c4b247ecb499526dc (patch) | |
tree | 74069be05c414803ea6be056f9d18416917e1193 | |
parent | e1e59ecf4ea8fb2d622459c04101ede41d8dc1d9 (diff) | |
download | blog_content-448c5bc400782299da8e697c4b247ecb499526dc.tar blog_content-448c5bc400782299da8e697c4b247ecb499526dc.tar.gz blog_content-448c5bc400782299da8e697c4b247ecb499526dc.tar.bz2 blog_content-448c5bc400782299da8e697c4b247ecb499526dc.tar.lz blog_content-448c5bc400782299da8e697c4b247ecb499526dc.tar.xz blog_content-448c5bc400782299da8e697c4b247ecb499526dc.tar.zst blog_content-448c5bc400782299da8e697c4b247ecb499526dc.zip |
Update README
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | default.nix | 32 |
2 files changed, 7 insertions, 32 deletions
@@ -3,3 +3,10 @@ This repository contains all textual contents of "blog.kummerlaender.eu" and is included into the [appropriate repository](https://github.com/KnairdA/blog.kummerlaender.eu/) as a subtree. All articles and pages are freely available under the terms of the Creative Commons [CC-BY-SA](http://creativecommons.org/licenses/by-sa/3.0/) license. If you should require further permissions please feel free to contact me. + +## Build + +```sh +nix flake clone git+https://code.kummerlaender.eu/blog_content --dest source +nix build source/ +```
\ No newline at end of file diff --git a/default.nix b/default.nix deleted file mode 100644 index 58887ff..0000000 --- a/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ pkgs ? import <nixpkgs> { }, mypkgs ? import <mypkgs> { }, ... }: - -pkgs.stdenv.mkDerivation { - name = "blog.kummerlaender.eu"; - - src = pkgs.fetchFromGitHub { - owner = "KnairdA"; - repo = "blog.kummerlaender.eu"; - rev = "7e3246da531228d507734cc6aefa03e9c35c4322"; - sha256 = "043pz9f1lh8albkwxg8q165g5vsg2bw3sjw4cv5bzrbvngcx8r9n"; - }; - - LANG = "en_US.UTF-8"; - - buildInputs = [ - pkgs.pandoc - pkgs.highlight - mypkgs.katex-wrapper - mypkgs.make-xslt - ]; - - installPhase = '' - mkdir source/00_content - cp -r ${./articles} source/00_content/articles - cp -r ${./tags} source/00_content/tags - cp ${./meta.xml} source/00_content/meta.xml - - make-xslt - mkdir $out - cp -Lr target/99_result/* $out - ''; -} |