aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2021-01-23 04:19:38 -0500
committerNathan Perry <np@nathanperry.dev>2021-01-23 04:19:38 -0500
commit4d38dd872ae39d3faa34afafc7edc34dbf8ad4c1 (patch)
tree86203e0da3630740982d812aad02e866efd1865b /flake.nix
parentaad031275083b015a42797925746d7f83aa255d5 (diff)
modulo naersk issue, it builds
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 4d9d8e4..76207cf 100644
--- a/flake.nix
+++ b/flake.nix
@@ -45,6 +45,13 @@
inherit (pkgs) cargo rustc;
});
+ deps = with pkgs; [
+ openssl
+ pkgconfig
+ libopus
+ postgresql
+ ];
+
pkg = naersk.buildPackage {
pname = "thulani";
version = self.rev or "dirty";
@@ -53,16 +60,15 @@
cargoBuildOptions = old: old ++ [ "--offline" ];
- buildInputs = [
- ];
+ buildInputs = deps;
};
in {
devShell = pkgs.mkShell {
- buildInputs = with pkgs; [
+ buildInputs = (with pkgs; [
cargo
rustc
- ];
+ ]) ++ deps;
};
defaultPackage = pkg;