Rename nixglhost_wrapper -> nixglhost

This commit is contained in:
Félix Baylac Jacqué 2022-12-14 18:00:52 +01:00
parent 3ff2f01812
commit 97e35d20fa
3 changed files with 4 additions and 4 deletions

View File

@ -24,10 +24,10 @@ pkgs.stdenvNoCC.mkDerivation {
checkPhase = ''
black --check src/*.py
nixpkgs-fmt --check *.nix
python src/nixglhost_wrapper_test.py
python src/nixglhost_test.py
'';
installPhase = ''
install -D -m0755 src/nixglhost_wrapper.py $out/bin/nixglhost
install -D -m0755 src/nixglhost.py $out/bin/nixglhost
'';
}

View File

@ -578,7 +578,7 @@ def main(args):
if __name__ == "__main__":
parser = argparse.ArgumentParser(
prog="nixglhost-wrapper",
prog="nixglhost",
description="Wrapper used to massage the host GL drivers to work with your nix-built binary.",
)
parser.add_argument(

View File

@ -1,7 +1,7 @@
import unittest
import os
from nixglhost_wrapper import CacheDirContent, LibraryPath, ResolvedLib
from nixglhost import CacheDirContent, LibraryPath, ResolvedLib
class TestCacheSerializer(unittest.TestCase):