Open
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
.