portable server with embedded for musl has different feature

This commit is contained in:
Priec
2026-08-14 13:56:57 +02:00
parent da8457cd4e
commit 0e79c62511
6 changed files with 312 additions and 16 deletions

View File

@@ -10,18 +10,19 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
portableServer = import ./packaging/musl {
inherit pkgs;
source = self;
version = "0.8.41";
};
in
{
packages = pkgs.lib.optionalAttrs (system == "x86_64-linux") {
portable-server = portableServer;
};
devShells.default = pkgs.mkShell {
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.openssl
pkgs.krb5
pkgs.lz4
pkgs.zstd
pkgs.libxml2_13.out
pkgs.zlib
pkgs.readline
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.openssl ];
buildInputs = with pkgs; [
mermaid-cli
@@ -51,12 +52,6 @@
# OpenSSL for crypto dependencies
openssl
openssl.dev
krb5
lz4
zstd
libxml2_13.out
zlib
readline
# PostgreSQL for sqlx
postgresql