on master help sign in
Add warning to obeliskEnvs.command which caused major confusion
commit3db75b3da7c789f43a1f7aa7a3602daadcdc40d5 authorElliot Cameron <eacameron@gmail.com> dateFri 6 Dec 2019, 18:38 (7 years ago) parent81c31de
1 file changed+3−1
default.nix+3−1
default.nix+3−1
@@ -106,7 +106,9 @@ in rec {
106106 pathGit = ./.; # Used in CI by the migration graph hash algorithm to correctly ignore files.
107107 path = reflex-platform.filterGit ./.;
108108 obelisk = ghcObelisk;
109− obeliskEnvs = ghcObeliskEnvs;
109+ obeliskEnvs = ghcObeliskEnvs // {
110+ command = builtins.trace "WARNING: Are you sure you didn't mean obeliskEnvs.obelisk-command instead of obeliskEnvs.command?" ghcObeliskEnvs.command;
111+ };
110112 command = ghcObelisk.obelisk-command;
111113 shell = pinBuildInputs "obelisk-shell" ([command] ++ commandRuntimeDeps pkgs);
112114