34 lines
941 B
Nix
34 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 {};
|
||
|
}
|