commit 9348b49674b68c69408da1d573b608a9fc401a5a
parent 0564a32785bfdfe5d98979eaa29747681912c0e7
Author: zimbatm <zimbatm@zimbatm.com>
Date: Tue, 28 Apr 2020 12:03:49 +0200
Test.hs: fixes the default.nix invocation
This has been broken by me in d0379a8673605ac300a539479e8cfc0ea0a010df
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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