[Hackage] #629: cabal-install getting $arch and $os mixed up?

#629: cabal-install getting $arch and $os mixed up? ---------------------------------+------------------------------------------ Reporter: simonmar | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ---------------------------------+------------------------------------------ In my .cabal/config I have {{{ install-dirs user prefix: /home/simonmar/.cabal bindir: $prefix/bin/$arch-$os -- libdir: $prefix/lib libsubdir: $pkgid/$compiler/$arch-$os -- libexecdir: $prefix/libexec -- datadir: $prefix/share -- datasubdir: $pkgid -- docdir: $datadir/doc/$pkgid -- htmldir: $docdir/html -- haddockdir: $htmldir }}} I just cabal-installed darcs-beta, and it said: {{{ Installing library in /home/simonmar/.cabal/lib/darcs-beta-2.3.98.3/ghc-6.12.1/linux-i386 Installing executable(s) in /home/simonmar/.cabal/bin/linux-i386 }}} so apparently it has got `$arc`h and `$os` interchanged. I think this worked in the past, because I have a `~/.cabal/bin/i386-linux` directory with some executables in it. {{{ $ cabal --version cabal-install version 0.8.0 using version 1.8.0.2 of the Cabal library }}} PS. someone needs to add Cabal version 1.8 and GHC version 6.12.1 to the relevant Trac fields -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/629 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#629: cabal-install getting $arch and $os mixed up? ---------------------------------+------------------------------------------ Reporter: simonmar | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ---------------------------------+------------------------------------------ Comment(by Saizan): Yeah, me and twb on #hackage found that this is the case too. I darcs sent a patch fixing it at the time: http://www.haskell.org/pipermail/cabal-devel/2010-January/006035.html -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/629#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#629: cabal-install getting $arch and $os mixed up? ---------------------------------+------------------------------------------ Reporter: simonmar | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: Linux ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Saizan's patch has already been applied in HEAD and 1.8 branches. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/629#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage