make nix build work

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Christine Dodrill 2021-04-23 07:40:33 -04:00
parent d297449035
commit 60e561c239
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
result

View File

@ -18,11 +18,12 @@ in pkgs.stdenv.mkDerivation {
buildPhase = ''
cp -rf $src/src .
mkdir out
cd ./src && ./build.sh && cd ..
'';
installPhase = ''
mkdir -p $out
cp -vrf book/* $out
cp -vrf out/* $out
'';
}