From 60e561c239c7f57a53ec9f2c3e2293b3e859e8ad Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 23 Apr 2021 07:40:33 -0400 Subject: [PATCH] make nix build work Signed-off-by: Christine Dodrill --- .gitignore | 1 + default.nix | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore 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 ''; }