about summary refs log tree commit diff
path: root/users/grfn/system/home/modules
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2023-06-27T19·11-0400
committerclbot <clbot@tvl.fyi>2023-06-27T19·18+0000
commitca1576a26c03aec4fc062fc9cf1cf2bb5f3a0f56 (patch)
treec0b12df061c1b919956254bc71a5ed59559ecbc4 /users/grfn/system/home/modules
parent2bed3e1e357a083c4c10e49d1c21ec92b7a5c584 (diff)
feat(grfn/system): Install sysbench r/6357
Change-Id: I9285ef93e01cf969fbecb1742da643e61e59b9da
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8864
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/system/home/modules')
-rw-r--r--users/grfn/system/home/modules/development/readyset.nix6
1 files changed, 6 insertions, 0 deletions
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 = {