diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e2f5dd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result \ No newline at end of file diff --git a/default.nix b/default.nix index 124c265..59e4e32 100644 --- a/default.nix +++ b/default.nix @@ -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 ''; }