authored by
Asherah Connor
<ashe@kivikakk.ee>
1 month ago
committed by Asherah Connor <ashe@kivikakk.ee> 1 month ago
committed by Asherah Connor <ashe@kivikakk.ee> 1 month ago
flake.nix
| 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
@@ -31,16 +31,13 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
- inherit (pkgs) pkgsStatic;
- furpoll = pkgsStatic.rustPlatform.buildRustPackage {
+ furpoll = pkgs.rustPlatform.buildRustPackage {
pname = "furpoll";
version = "0.1.0";
nativeBuildInputs = [ pkgs.pkg-config ];
- # Including it in buildInputs works too, but then you get things like the actual
- # OpenSSL binary included in the result (and +30MiB).
- PKG_CONFIG_PATH = "${pkgsStatic.openssl.dev}/lib/pkgconfig";
+ buildInputs = [ pkgs.openssl ];
src = ./.;
@@ -49,6 +46,7 @@
dockerPaths = [
furpoll
+ pkgs.openssl
pkgs.dockerTools.caCertificates
];