Add OpenSSL dependency to flake
This commit is contained in:
parent
298a8a5653
commit
4dc2975d03
|
@ -14,6 +14,9 @@
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoBuildFlags = "-p cli";
|
cargoBuildFlags = "-p cli";
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
||||||
|
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||||
};
|
};
|
||||||
|
|
||||||
packages.default = self.packages.${system}.ggelo;
|
packages.default = self.packages.${system}.ggelo;
|
||||||
|
@ -21,6 +24,8 @@
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
inputsFrom = [ self.packages.${system}.ggelo ];
|
inputsFrom = [ self.packages.${system}.ggelo ];
|
||||||
packages = [ pkgs.rust-analyzer ];
|
packages = [ pkgs.rust-analyzer ];
|
||||||
|
|
||||||
|
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue