504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
37 lines
1 KiB
Nix
37 lines
1 KiB
Nix
/*
|
|
Run all tests with:
|
|
|
|
cd nixpkgs
|
|
nix-build -A tests.trivial-builders
|
|
|
|
or run a specific test with:
|
|
|
|
cd nixpkgs
|
|
nix-build -A tests.trivial-builders.foo
|
|
|
|
*/
|
|
|
|
{ callPackage, lib, stdenv }:
|
|
let
|
|
inherit (lib) recurseIntoAttrs;
|
|
references = callPackage ./references {};
|
|
in
|
|
recurseIntoAttrs {
|
|
concat = callPackage ./concat-test.nix {};
|
|
linkFarm = callPackage ./link-farm.nix {};
|
|
overriding = callPackage ../test-overriding.nix {};
|
|
# VM test not supported beyond linux yet
|
|
references =
|
|
if stdenv.hostPlatform.isLinux
|
|
then references
|
|
else {};
|
|
writeCBin = callPackage ./writeCBin.nix {};
|
|
writeShellApplication = callPackage ./writeShellApplication.nix {};
|
|
writeScriptBin = callPackage ./writeScriptBin.nix {};
|
|
writeShellScript = callPackage ./write-shell-script.nix {};
|
|
writeShellScriptBin = callPackage ./writeShellScriptBin.nix {};
|
|
writeStringReferencesToFile = callPackage ./writeStringReferencesToFile.nix {
|
|
inherit (references) samples;
|
|
};
|
|
writeTextFile = callPackage ./write-text-file.nix {};
|
|
}
|