From 43b93414a3fa94f1f05db625831db752b5b0a56e Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 31 Oct 2020 08:48:13 -0400 Subject: [PATCH] better builds with science and logic --- .gitignore | 3 +++ default.nix | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1c968f7..962f4a3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ Rocket.toml var/secret/* !var/secret/.gitkeep + +.#* +result* diff --git a/default.nix b/default.nix index 4ad81d0..05faa0b 100644 --- a/default.nix +++ b/default.nix @@ -9,10 +9,13 @@ let src = builtins.filterSource (path: type: type != "directory" || builtins.baseNameOf path != "target") ./.; + pahi = pkgs.callPackage sources.pahi { + inherit sources; + }; in { backend = naersk.buildPackage { name = "wasmcloud_backend"; inherit src; - buildInputs = with pkgs; [ openssl pkg-config ]; + buildInputs = with pkgs; [ openssl pkg-config postgresql ]; }; }