Skip to content
  • KevinBuhr's avatar
    Handle trailing path separator in package DB names (#16360) · 9d238791
    KevinBuhr authored and Marge Bot's avatar Marge Bot committed
    Package DB directories with trailing separator (provided via
    GHC_PACKAGE_PATH or via -package-db) resulted in incorrect calculation of
    ${pkgroot} substitution variable.  Keep the trailing separator while
    resolving as directory or file, but remove it before dropping the last
    path component with takeDirectory.
    
    Closes #16360.
    9d238791