5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
33 lines
941 B
Nix
33 lines
941 B
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;
|
|
in
|
|
recurseIntoAttrs {
|
|
concat = callPackage ./concat-test.nix {};
|
|
linkFarm = callPackage ./link-farm.nix {};
|
|
overriding = callPackage ../test-overriding.nix {};
|
|
references =
|
|
# VM test not supported beyond linux yet
|
|
if stdenv.hostPlatform.isLinux
|
|
then callPackage ./references.nix {}
|
|
else null;
|
|
writeCBin = callPackage ./writeCBin.nix {};
|
|
writeScriptBin = callPackage ./writeScriptBin.nix {};
|
|
writeShellScript = callPackage ./write-shell-script.nix {};
|
|
writeShellScriptBin = callPackage ./writeShellScriptBin.nix {};
|
|
writeStringReferencesToFile = callPackage ./writeStringReferencesToFile.nix {};
|
|
writeTextFile = callPackage ./write-text-file.nix {};
|
|
}
|