mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 05:53:11 +00:00
* fix libpcre installation in Dockerfile for debian:stable-slim Seems with debian:stable-slim now points to Debian Bookworm and that made libpcre3 deprecated we have a failing docker build. * remove libpcre3 dependency completely as we dont use Nims std/re regex lib. * Remove all remaining reference to pcre library in our image builds
24 lines
357 B
Nix
24 lines
357 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}:
|
|
let
|
|
optionalDarwinDeps = pkgs.lib.optionals pkgs.stdenv.isDarwin [
|
|
pkgs.libiconv
|
|
pkgs.darwin.apple_sdk.frameworks.Security
|
|
];
|
|
in
|
|
pkgs.mkShell {
|
|
inputsFrom = [
|
|
pkgs.androidShell
|
|
] ++ optionalDarwinDeps;
|
|
|
|
buildInputs = with pkgs; [
|
|
git
|
|
cargo
|
|
rustup
|
|
cmake
|
|
nim-unwrapped-2_0
|
|
];
|
|
|
|
}
|