Skip to content

Commit

Permalink
fix: openssl should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
ixhbinphoenix committed Nov 28, 2024
1 parent 76d0a7a commit 5ecd5f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ services:
- start
- -b
- 0.0.0.0:8000
- --auth
- --user
- root
- --pass
Expand Down
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
toolchain = fenix.packages.${system}.latest.toolchain;
fenixpkgs = fenix.packages.${system};
pkgs = nixpkgs.legacyPackages.${system};
lib = pkgs.lib;
in rec {
devShells.default = pkgs.mkShell {
buildInputs =
Expand Down Expand Up @@ -69,6 +70,7 @@
created = "now"; # Fuck binary compatibility

copyToRoot = with pkgs.dockerTools; [
pkgs.openssl
usrBinEnv
binSh
caCertificates
Expand All @@ -82,6 +84,7 @@
];
Env = [
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
"LD_LIBRARY_PATH=${lib.makeLibraryPath [ pkgs.openssl ]}"
];
};
};
Expand Down

0 comments on commit 5ecd5f2

Please sign in to comment.