Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-01-02 15:40:43 -05:00
parent 77aecbed96
commit 8a5a195e82
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,8 @@ let
"https://github.com/nix-community/NUR/archive/master.tar.gz") { "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs; inherit pkgs;
}; };
tex = pkgs.callPackage ./nix/texlive.nix { }; tex = with pkgs;
texlive.combine { inherit (texlive) scheme-medium bitter titlesec; };
version = "devel"; version = "devel";
in pkgs.stdenv.mkDerivation { in pkgs.stdenv.mkDerivation {
pname = "tulpanomicon"; pname = "tulpanomicon";
@ -21,9 +22,9 @@ in pkgs.stdenv.mkDerivation {
buildPhase = '' buildPhase = ''
cp -rf $src/src . cp -rf $src/src .
chmod a+w ./src
cp -rf $src/book.toml . cp -rf $src/book.toml .
mkdir book mkdir book
chmod -R a+w .
mdbook build mdbook build
cd ./src && ./build.sh && cd .. cd ./src && ./build.sh && cd ..
''; '';

1
result Symbolic link
View File

@ -0,0 +1 @@
/nix/store/ck1nzwpd3p8d0a996wz9b0dkf0yv2l0a-tulpanomicon-devel