diff --git a/Test.hs b/Test.hs index 7503916..64581c5 100755 --- a/Test.hs +++ b/Test.hs @@ -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