`System.FilePath.Windows.getSearchPath` misbehaves on unix
- Dominant language
- Haskell
- Stars
- 74
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
```
ghci> import System.FilePath.Windows
ghci> getSearchPath
["/home/hasufell/.cabal/bin:/home/hasufell/.opam/default/bin:/home/hasufell/.cabal/bin:/home/hasufell/.ghcup/bin:/home/hasufell/.bun/bin:/home/hasufell/.local/bin:/home/hasufell/go/bin:/home/hasufell/.cargo/bin:/home/hasufell/.local/texlive/bin/x86_64-linux:/home/hasufell/.nix-profile/bin:/home/hasufell/.cargo/bin:/home/hasufell/.local/bin:/home/hasufell/bin:/usr/local/bin:/usr/bin:/bin:/home/hasufell/.cabal/bin:/home/hasufell/.cabal/bin:/home/hasufell/.opam/default/bin:/home/hasufell/.cabal/bin:/home/hasufell/.ghcup/bin:/home/hasufell/.bun/bin:/home/hasufell/.local/bin:/home/hasufell/go/bin:/home/hasufell/.cargo/bin:/home/hasufell/.local/texlive/bin/x86_64-linux:/home/hasufell/.nix-profile/bin:/home/hasufell/.cargo/bin:/home/hasufell/.local/bin:/home/hasufell/bin:/usr/local/bin:/usr/bin:/bin"]
```
It appears to use the `getEnv` for the current platform, but then the windows flavored `splitSearchPath`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.