bench: Nix build static linux/amd64 nostr-bench

This commit is contained in:
2026-03-19 14:36:07 +01:00
parent 07953a7608
commit a410e07425
5 changed files with 2439 additions and 76 deletions

View File

@@ -20,12 +20,15 @@
pkgs = import nixpkgs {inherit system;};
lib = pkgs.lib;
parrhesia = pkgs.callPackage ./default.nix {};
nostrBench = pkgs.callPackage ./nix/nostr-bench.nix {};
in
{
default = parrhesia;
inherit parrhesia;
inherit parrhesia nostrBench;
}
// lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
nostrBenchStaticX86_64Musl = pkgs.callPackage ./nix/nostr-bench.nix {staticX86_64Musl = true;};
dockerImage = pkgs.dockerTools.buildLayeredImage {
name = "parrhesia";
tag = "latest";