portable server with embedded for musl has different feature
This commit is contained in:
25
flake.nix
25
flake.nix
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user