summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2021-12-30 14:44:54 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2021-12-30 14:51:09 +0100
commit560ec437d7df40267e8153b1c2253af9ebccfcbc (patch)
tree528fc24755caf77c47a85984f42454b361189fb4
parentf06211583e1c46fc697a788e34ec9cdc292ebd91 (diff)
downloadnixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.tar
nixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.tar.gz
nixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.tar.bz2
nixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.tar.lz
nixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.tar.xz
nixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.tar.zst
nixpkgs-560ec437d7df40267e8153b1c2253af9ebccfcbc.zip
glusterfs: link up nixosTests
-rw-r--r--pkgs/tools/filesystems/glusterfs/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix
index b0524e9bc68..d4542551940 100644
--- a/pkgs/tools/filesystems/glusterfs/default.nix
+++ b/pkgs/tools/filesystems/glusterfs/default.nix
@@ -2,7 +2,7 @@
  autoconf, automake, libtool, pkg-config, zlib, libaio, libxml2, acl, sqlite,
  liburcu, liburing, attr, makeWrapper, coreutils, gnused, gnugrep, which,
  openssh, gawk, findutils, util-linux, lvm2, btrfs-progs, e2fsprogs, xfsprogs, systemd,
- rsync, glibc, rpcsvc-proto, libtirpc, gperftools
+ rsync, glibc, rpcsvc-proto, libtirpc, gperftools, nixosTests
 }:
 let
   # NOTE: On each glusterfs release, it should be checked if gluster added
@@ -181,6 +181,10 @@ in stdenv.mkDerivation rec {
     rm -r $out/bin/conf.py
   '';
 
+  passthru.tests = {
+    glusterfs = nixosTests.glusterfs;
+  };
+
   meta = with lib; {
     description = "Distributed storage system";
     homepage = "https://www.gluster.org";