Skip to content

Commit

Permalink
evil "@" hack for project import bug
Browse files Browse the repository at this point in the history
cabal-install 3.10 mis-handles relative cabal.project imports, as
added in haskell#9565. As a hack, try
using a magic symlink "@" in every tracked directory that links to
the top directory, and use it in the import paths.

This stands a certain chance of failing on Windows.
  • Loading branch information
geekosaur committed Apr 20, 2024
1 parent 774ff04 commit dbd59f8
Show file tree
Hide file tree
Showing 1,285 changed files with 1,298 additions and 17 deletions.
1 change: 1 addition & 0 deletions .docker/@
1 change: 1 addition & 0 deletions .githooks/@
1 change: 1 addition & 0 deletions .github/@
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/@
1 change: 1 addition & 0 deletions .github/workflows/@
1 change: 1 addition & 0 deletions .gitlab/@
1 change: 1 addition & 0 deletions @
1 change: 1 addition & 0 deletions Cabal-QuickCheck/@
1 change: 1 addition & 0 deletions Cabal-QuickCheck/src/@
1 change: 1 addition & 0 deletions Cabal-QuickCheck/src/Test/@
1 change: 1 addition & 0 deletions Cabal-QuickCheck/src/Test/QuickCheck/@
1 change: 1 addition & 0 deletions Cabal-QuickCheck/src/Test/QuickCheck/Instances/@
1 change: 1 addition & 0 deletions Cabal-described/@
1 change: 1 addition & 0 deletions Cabal-described/src/@
1 change: 1 addition & 0 deletions Cabal-described/src/Distribution/@
1 change: 1 addition & 0 deletions Cabal-described/src/Distribution/Utils/@
1 change: 1 addition & 0 deletions Cabal-hooks/@
1 change: 1 addition & 0 deletions Cabal-hooks/src/@
1 change: 1 addition & 0 deletions Cabal-hooks/src/Distribution/@
1 change: 1 addition & 0 deletions Cabal-hooks/src/Distribution/Simple/@
1 change: 1 addition & 0 deletions Cabal-syntax/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Compat/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/FieldGrammar/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Fields/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/PackageDescription/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Parsec/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/SPDX/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/Benchmark/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/BuildInfo/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/Executable/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/ForeignLib/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/InstalledPackageInfo/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/Library/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/PackageDescription/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/PackageId/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/SetupBuildInfo/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/SourceRepo/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/TestSuite/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/VersionInterval/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Types/VersionRange/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Distribution/Utils/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Language/@
1 change: 1 addition & 0 deletions Cabal-syntax/src/Language/Haskell/@
1 change: 1 addition & 0 deletions Cabal-tests/@
1 change: 1 addition & 0 deletions Cabal-tests/lib/@
1 change: 1 addition & 0 deletions Cabal-tests/lib/Test/@
1 change: 1 addition & 0 deletions Cabal-tests/lib/Test/Utils/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/errors/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/regressions/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/warnings/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/Test/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/Test/QuickCheck/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/Distribution/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/Distribution/Compat/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/Distribution/Simple/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/Distribution/Simple/Program/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/Distribution/Types/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/UnitTests/Distribution/Utils/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/cbits/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/custom-setup/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/hackage/@
1 change: 1 addition & 0 deletions Cabal-tests/tests/misc/@
1 change: 1 addition & 0 deletions Cabal-tree-diff/@
1 change: 1 addition & 0 deletions Cabal-tree-diff/src/@
1 change: 1 addition & 0 deletions Cabal-tree-diff/src/Data/@
1 change: 1 addition & 0 deletions Cabal-tree-diff/src/Data/TreeDiff/@
1 change: 1 addition & 0 deletions Cabal-tree-diff/src/Data/TreeDiff/Instances/@
1 change: 1 addition & 0 deletions Cabal/@
1 change: 1 addition & 0 deletions Cabal/misc/@
1 change: 1 addition & 0 deletions Cabal/src/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Backpack/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Compat/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Compat/Internal/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Compat/Prelude/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/PackageDescription/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/PackageDescription/Check/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Build/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Build/Macros/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Build/PackageInfoModule/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Build/PathsModule/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/FileMonitor/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/GHC/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/GHC/Build/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Glob/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/InstallDirs/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/PreProcess/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Program/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Setup/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/SetupHooks/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple/Test/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Types/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Types/PackageName/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Utils/@
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Verbosity/@
1 change: 1 addition & 0 deletions bootstrap/@
1 change: 1 addition & 0 deletions bootstrap/src/@
1 change: 1 addition & 0 deletions buildinfo-reference-generator/@
1 change: 1 addition & 0 deletions buildinfo-reference-generator/src/@
1 change: 1 addition & 0 deletions cabal-benchmarks/@
1 change: 1 addition & 0 deletions cabal-benchmarks/bench/@
1 change: 1 addition & 0 deletions cabal-dev-scripts/@
1 change: 1 addition & 0 deletions cabal-dev-scripts/src/@
1 change: 1 addition & 0 deletions cabal-install-solver/@
1 change: 1 addition & 0 deletions cabal-install-solver/src-assertion/@
1 change: 1 addition & 0 deletions cabal-install-solver/src-assertion/Distribution/@
1 change: 1 addition & 0 deletions cabal-install-solver/src-assertion/Distribution/Client/@
1 change: 1 addition & 0 deletions cabal-install-solver/src/@
1 change: 1 addition & 0 deletions cabal-install-solver/src/Distribution/@
1 change: 1 addition & 0 deletions cabal-install-solver/src/Distribution/Solver/@
1 change: 1 addition & 0 deletions cabal-install-solver/src/Distribution/Solver/Compat/@
1 change: 1 addition & 0 deletions cabal-install-solver/src/Distribution/Solver/Modular/@
1 change: 1 addition & 0 deletions cabal-install-solver/src/Distribution/Solver/Types/@
1 change: 1 addition & 0 deletions cabal-install-solver/tests/@
1 change: 1 addition & 0 deletions cabal-install-solver/tests/UnitTests/@
1 change: 1 addition & 0 deletions cabal-install-solver/tests/UnitTests/Distribution/@
1 change: 1 addition & 0 deletions cabal-install-solver/tests/UnitTests/Distribution/Solver/@
1 change: 1 addition & 0 deletions cabal-install/@
1 change: 1 addition & 0 deletions cabal-install/bash-completion/@
1 change: 1 addition & 0 deletions cabal-install/main/@
1 change: 1 addition & 0 deletions cabal-install/src/@
Loading

0 comments on commit dbd59f8

Please sign in to comment.