Test.hs: fixes the default.nix invocation

This has been broken by me in d0379a8673
This commit is contained in:
zimbatm 2020-04-28 12:03:49 +02:00
parent 0564a32785
commit 9348b49674
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7

View File

@ -22,7 +22,7 @@ processOutput p args = Text.strip . Text.pack <$> readCreateProcess ((proc (Text
-- * OpenGL
-- | Returns the path to the nixGLXXX binary.
getNixGLBin version = (<>("/bin/"<>version)) <$> processOutput "nix-build" ["./", "-A", version, "--arg", "pkgs", "import (fetchTarball " <> currentChannel <> ")"]
getNixGLBin version = (<>("/bin/"<>version)) <$> processOutput "nix-build" ["./", "-A", version, "-I", "nixpkgs=" <> currentChannel]
-- | Returns the vendor string associated with a glxinfo wrapped by a nixGL.
getVendorString io = do