diff --git a/test/bugs/hwloc.c b/pkgs/test/bugs/hwloc.c similarity index 100% rename from test/bugs/hwloc.c rename to pkgs/test/bugs/hwloc.c diff --git a/test/bugs/hwloc.nix b/pkgs/test/bugs/hwloc.nix similarity index 100% rename from test/bugs/hwloc.nix rename to pkgs/test/bugs/hwloc.nix diff --git a/test/chroot.nix b/pkgs/test/chroot.nix similarity index 100% rename from test/chroot.nix rename to pkgs/test/chroot.nix diff --git a/test/compilers/asan.nix b/pkgs/test/compilers/asan.nix similarity index 100% rename from test/compilers/asan.nix rename to pkgs/test/compilers/asan.nix diff --git a/test/compilers/clang-ompss2.nix b/pkgs/test/compilers/clang-ompss2.nix similarity index 100% rename from test/compilers/clang-ompss2.nix rename to pkgs/test/compilers/clang-ompss2.nix diff --git a/test/compilers/clang-openmp-ld.nix b/pkgs/test/compilers/clang-openmp-ld.nix similarity index 100% rename from test/compilers/clang-openmp-ld.nix rename to pkgs/test/compilers/clang-openmp-ld.nix diff --git a/test/compilers/clang-openmp-nosv.nix b/pkgs/test/compilers/clang-openmp-nosv.nix similarity index 100% rename from test/compilers/clang-openmp-nosv.nix rename to pkgs/test/compilers/clang-openmp-nosv.nix diff --git a/test/compilers/clang-openmp.nix b/pkgs/test/compilers/clang-openmp.nix similarity index 100% rename from test/compilers/clang-openmp.nix rename to pkgs/test/compilers/clang-openmp.nix diff --git a/test/compilers/hello-c.nix b/pkgs/test/compilers/hello-c.nix similarity index 100% rename from test/compilers/hello-c.nix rename to pkgs/test/compilers/hello-c.nix diff --git a/test/compilers/hello-cpp.nix b/pkgs/test/compilers/hello-cpp.nix similarity index 100% rename from test/compilers/hello-cpp.nix rename to pkgs/test/compilers/hello-cpp.nix diff --git a/test/compilers/hello-f.nix b/pkgs/test/compilers/hello-f.nix similarity index 100% rename from test/compilers/hello-f.nix rename to pkgs/test/compilers/hello-f.nix diff --git a/test/compilers/hello.c b/pkgs/test/compilers/hello.c similarity index 100% rename from test/compilers/hello.c rename to pkgs/test/compilers/hello.c diff --git a/test/compilers/hello.cc b/pkgs/test/compilers/hello.cc similarity index 100% rename from test/compilers/hello.cc rename to pkgs/test/compilers/hello.cc diff --git a/test/compilers/llvm-ompss2-flang.nix b/pkgs/test/compilers/llvm-ompss2-flang.nix similarity index 100% rename from test/compilers/llvm-ompss2-flang.nix rename to pkgs/test/compilers/llvm-ompss2-flang.nix diff --git a/test/compilers/lto.nix b/pkgs/test/compilers/lto.nix similarity index 100% rename from test/compilers/lto.nix rename to pkgs/test/compilers/lto.nix diff --git a/test/compilers/ompss2.nix b/pkgs/test/compilers/ompss2.nix similarity index 100% rename from test/compilers/ompss2.nix rename to pkgs/test/compilers/ompss2.nix diff --git a/test/compilers/suffle-c.nix b/pkgs/test/compilers/suffle-c.nix similarity index 100% rename from test/compilers/suffle-c.nix rename to pkgs/test/compilers/suffle-c.nix diff --git a/test/reproducers/sigsegv.c b/pkgs/test/reproducers/sigsegv.c similarity index 100% rename from test/reproducers/sigsegv.c rename to pkgs/test/reproducers/sigsegv.c diff --git a/test/reproducers/sigsegv.nix b/pkgs/test/reproducers/sigsegv.nix similarity index 100% rename from test/reproducers/sigsegv.nix rename to pkgs/test/reproducers/sigsegv.nix diff --git a/test/security/internet.nix b/pkgs/test/security/internet.nix similarity index 100% rename from test/security/internet.nix rename to pkgs/test/security/internet.nix