From ca1576a26c03aec4fc062fc9cf1cf2bb5f3a0f56 Mon Sep 17 00:00:00 2001 From: Aspen Smith Date: Tue, 27 Jun 2023 15:11:45 -0400 Subject: feat(grfn/system): Install sysbench Change-Id: I9285ef93e01cf969fbecb1742da643e61e59b9da Reviewed-on: https://cl.tvl.fyi/c/depot/+/8864 Autosubmit: grfn Tested-by: BuildkiteCI Reviewed-by: grfn --- users/grfn/system/home/modules/development/readyset.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/grfn/system/home/modules/development') diff --git a/users/grfn/system/home/modules/development/readyset.nix b/users/grfn/system/home/modules/development/readyset.nix index 2285d01269b0..2036a84fd029 100644 --- a/users/grfn/system/home/modules/development/readyset.nix +++ b/users/grfn/system/home/modules/development/readyset.nix @@ -15,6 +15,12 @@ ssm-session-manager-plugin amazon-ecr-credential-helper postgresql_15 + + # TODO remove override when https://github.com/NixOS/nixpkgs/pull/233826 is merged + (sysbench.overrideDerivation (oldAttrs: { + configureFlags = oldAttrs.configureFlags ++ [ "--with-pgsql" ]; + buildInputs = oldAttrs.buildInputs ++ [ postgresql ]; + })) ]; programs.zsh.shellAliases = { -- cgit 1.4.1