2020-04-24 23:36:52 +00:00
|
|
|
{ pkgs, callPackage }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
{
|
|
|
|
cc-wrapper = callPackage ./cc-wrapper { };
|
|
|
|
cc-wrapper-gcc = callPackage ./cc-wrapper { stdenv = gccStdenv; };
|
|
|
|
cc-wrapper-gcc7 = callPackage ./cc-wrapper { stdenv = gcc7Stdenv; };
|
|
|
|
cc-wrapper-gcc8 = callPackage ./cc-wrapper { stdenv = gcc8Stdenv; };
|
|
|
|
cc-wrapper-gcc9 = callPackage ./cc-wrapper { stdenv = gcc9Stdenv; };
|
|
|
|
cc-wrapper-clang = callPackage ./cc-wrapper { stdenv = llvmPackages.stdenv; };
|
|
|
|
cc-wrapper-libcxx = callPackage ./cc-wrapper { stdenv = llvmPackages.libcxxStdenv; };
|
|
|
|
cc-wrapper-clang-5 = callPackage ./cc-wrapper { stdenv = llvmPackages_5.stdenv; };
|
|
|
|
cc-wrapper-libcxx-5 = callPackage ./cc-wrapper { stdenv = llvmPackages_5.libcxxStdenv; };
|
|
|
|
cc-wrapper-clang-6 = callPackage ./cc-wrapper { stdenv = llvmPackages_6.stdenv; };
|
|
|
|
cc-wrapper-libcxx-6 = callPackage ./cc-wrapper { stdenv = llvmPackages_6.libcxxStdenv; };
|
|
|
|
cc-wrapper-clang-7 = callPackage ./cc-wrapper { stdenv = llvmPackages_7.stdenv; };
|
|
|
|
cc-wrapper-libcxx-7 = callPackage ./cc-wrapper { stdenv = llvmPackages_7.libcxxStdenv; };
|
|
|
|
cc-wrapper-clang-8 = callPackage ./cc-wrapper { stdenv = llvmPackages_8.stdenv; };
|
|
|
|
cc-wrapper-libcxx-8 = callPackage ./cc-wrapper { stdenv = llvmPackages_8.libcxxStdenv; };
|
|
|
|
cc-wrapper-clang-9 = callPackage ./cc-wrapper { stdenv = llvmPackages_9.stdenv; };
|
|
|
|
cc-wrapper-libcxx-9 = callPackage ./cc-wrapper { stdenv = llvmPackages_9.libcxxStdenv; };
|
|
|
|
stdenv-inputs = callPackage ./stdenv-inputs { };
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
config = callPackage ./config.nix { };
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
haskell = callPackage ./haskell { };
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
cc-multilib-gcc = callPackage ./cc-wrapper/multilib.nix { stdenv = gccMultiStdenv; };
|
|
|
|
cc-multilib-clang = callPackage ./cc-wrapper/multilib.nix { stdenv = clangMultiStdenv; };
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
fetchurl = callPackages ../build-support/fetchurl/tests.nix { };
|
2021-12-21 02:18:32 +00:00
|
|
|
fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { };
|
2022-06-16 17:23:12 +00:00
|
|
|
fetchzip = callPackages ../build-support/fetchzip/tests.nix { };
|
2021-12-21 02:18:32 +00:00
|
|
|
fetchgit = callPackages ../build-support/fetchgit/tests.nix { };
|
|
|
|
fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { };
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
install-shell-files = callPackage ./install-shell-files {};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
kernel-config = callPackage ./kernel.nix {};
|
|
|
|
|
|
|
|
ld-library-path = callPackage ./ld-library-path {};
|
|
|
|
|
|
|
|
macOSSierraShared = callPackage ./macos-sierra-shared {};
|
|
|
|
|
|
|
|
cross = callPackage ./cross {};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
php = recurseIntoAttrs (callPackages ./php {});
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
rustCustomSysroot = callPackage ./rust-sysroot {};
|
2020-12-25 13:55:36 +00:00
|
|
|
buildRustCrate = callPackage ../build-support/rust/build-rust-crate/test { };
|
2021-05-29 03:34:57 +00:00
|
|
|
importCargoLock = callPackage ../build-support/rust/test/import-cargo-lock { };
|
2020-11-30 08:33:03 +00:00
|
|
|
|
2021-04-22 02:08:21 +00:00
|
|
|
vim = callPackage ./vim {};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nixos-functions = callPackage ./nixos-functions {};
|
|
|
|
|
|
|
|
patch-shebangs = callPackage ./patch-shebangs {};
|
|
|
|
|
2020-10-11 12:50:04 +00:00
|
|
|
texlive = callPackage ./texlive {};
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
cuda = callPackage ./cuda { };
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
trivial-builders = recurseIntoAttrs {
|
|
|
|
writeStringReferencesToFile = callPackage ../build-support/trivial-builders/test/writeStringReferencesToFile.nix {};
|
2022-04-15 01:41:22 +00:00
|
|
|
writeTextFile = callPackage ../build-support/trivial-builders/test/write-text-file.nix {};
|
2021-12-06 16:07:01 +00:00
|
|
|
references = callPackage ../build-support/trivial-builders/test/references.nix {};
|
|
|
|
overriding = callPackage ../build-support/trivial-builders/test-overriding.nix {};
|
2022-01-13 20:06:32 +00:00
|
|
|
concat = callPackage ../build-support/trivial-builders/test/concat-test.nix {};
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
writers = callPackage ../build-support/writers/test.nix {};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
testers = callPackage ../build-support/testers/test/default.nix {};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
dhall = callPackage ./dhall { };
|
2022-02-10 20:34:41 +00:00
|
|
|
|
2022-09-11 15:47:08 +00:00
|
|
|
coq = callPackage ./coq {};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
makeWrapper = callPackage ./make-wrapper { };
|
|
|
|
makeBinaryWrapper = callPackage ./make-binary-wrapper {
|
|
|
|
makeBinaryWrapper = pkgs.makeBinaryWrapper.override {
|
|
|
|
# Enable sanitizers in the tests only, to avoid the performance cost in regular usage.
|
|
|
|
# The sanitizers cause errors on aarch64-darwin, see https://github.com/NixOS/nixpkgs/pull/150079#issuecomment-994132734
|
|
|
|
sanitizers = pkgs.lib.optionals (! (pkgs.stdenv.isDarwin && pkgs.stdenv.isAarch64))
|
|
|
|
[ "undefined" "address" ];
|
|
|
|
};
|
|
|
|
};
|
2022-04-03 18:54:34 +00:00
|
|
|
|
|
|
|
pkgs-lib = recurseIntoAttrs (import ../pkgs-lib/tests { inherit pkgs; });
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|