git.iko.soy/typeable/stackage2nix
on master help sign in
Fix relative stack.yaml
3fea146Dmitry Bushev
src/Runner/Cli.hs+1−1
@@ -44,7 +44,7 @@ mkStackYaml p = case splitFileName p of
44 (dir, "") -> StackYaml dir "stack.yaml"
44 (dir, "") -> StackYaml dir "stack.yaml"
45 (dir, ".") -> StackYaml dir "stack.yaml"
45 (dir, ".") -> StackYaml dir "stack.yaml"
46 (_ , "..") -> StackYaml p "stack.yaml"
46 (_ , "..") -> StackYaml p "stack.yaml"
47− _ -> StackYaml "." p
47+ (dir, file) -> StackYaml dir file
48
48
49options :: Parser Options
49options :: Parser Options
50options = Options
50options = Options