better builds with science and logic
This commit is contained in:
parent
4f4d6a7d7b
commit
43b93414a3
|
@ -11,3 +11,6 @@ Rocket.toml
|
||||||
|
|
||||||
var/secret/*
|
var/secret/*
|
||||||
!var/secret/.gitkeep
|
!var/secret/.gitkeep
|
||||||
|
|
||||||
|
.#*
|
||||||
|
result*
|
||||||
|
|
|
@ -9,10 +9,13 @@ let
|
||||||
src = builtins.filterSource
|
src = builtins.filterSource
|
||||||
(path: type: type != "directory" || builtins.baseNameOf path != "target")
|
(path: type: type != "directory" || builtins.baseNameOf path != "target")
|
||||||
./.;
|
./.;
|
||||||
|
pahi = pkgs.callPackage sources.pahi {
|
||||||
|
inherit sources;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
backend = naersk.buildPackage {
|
backend = naersk.buildPackage {
|
||||||
name = "wasmcloud_backend";
|
name = "wasmcloud_backend";
|
||||||
inherit src;
|
inherit src;
|
||||||
buildInputs = with pkgs; [ openssl pkg-config ];
|
buildInputs = with pkgs; [ openssl pkg-config postgresql ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue