yep
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
77aecbed96
commit
8a5a195e82
@ -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 ..
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user