cue: internalize writeCueValidator via passthru
A small step to by-name migration.
This commit is contained in:
parent
ab279344c5
commit
90d9ce0e26
@ -4,6 +4,7 @@
|
||||
, installShellFiles
|
||||
, testers
|
||||
, cue
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -38,9 +39,14 @@ buildGoModule rec {
|
||||
$out/bin/cue eval - <<<'a: "all good"' > /dev/null
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = cue;
|
||||
command = "cue version";
|
||||
passthru = {
|
||||
writeCueValidator = callPackage ./validator.nix { };
|
||||
tests = {
|
||||
version = testers.testVersion {
|
||||
package = cue;
|
||||
command = "cue version";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -3680,7 +3680,7 @@ with pkgs;
|
||||
|
||||
cue = callPackage ../development/tools/cue { };
|
||||
|
||||
writeCueValidator = callPackage ../development/tools/cue/validator.nix { };
|
||||
inherit (cue) writeCueValidator;
|
||||
|
||||
cuelsp = callPackage ../development/tools/cuelsp { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user