better builds with science and logic

This commit is contained in:
Cadey Ratio 2020-10-31 08:48:13 -04:00
parent 4f4d6a7d7b
commit 43b93414a3
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@ -11,3 +11,6 @@ Rocket.toml
var/secret/*
!var/secret/.gitkeep
.#*
result*

View File

@ -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 ];
};
}