xkbvalidate: Rename output binary to xkbvalidate

So far, the output binary has been just "validate", which is quite a
very generic name and doesn't match the package name.

Even though I highly doubt that this program will ever be used outside
of NixOS modules, it's nevertheless less confusing to have a consistent
naming.

Signed-off-by: aszlig <aszlig@nix.build>
This commit is contained in:
aszlig 2019-08-15 01:11:32 +02:00
parent 1964b0c1b1
commit 16ecd0d5ca
No known key found for this signature in database
GPG Key ID: 684089CE67EBB691
2 changed files with 2 additions and 2 deletions

View File

@ -714,7 +714,7 @@ in
nativeBuildInputs = [ pkgs.xkbvalidate ]; nativeBuildInputs = [ pkgs.xkbvalidate ];
preferLocalBuild = true; preferLocalBuild = true;
} '' } ''
validate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions" xkbvalidate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions"
touch "$out" touch "$out"
''); '');

View File

@ -11,5 +11,5 @@ runCommandCC "xkbvalidate" {
} '' } ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
$CC -std=c11 -Wall -pedantic -lxkbcommon ${./xkbvalidate.c} \ $CC -std=c11 -Wall -pedantic -lxkbcommon ${./xkbvalidate.c} \
-o "$out/bin/validate" -o "$out/bin/xkbvalidate"
'' ''