Skip to content
Snippets Groups Projects

Fix dlSubdir of ghc-8.10.1-x86_64-unknown-linux for Linux_Alpine

Merged puffnfresh requested to merge puffnfresh/ghcup-hs:patch-1 into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
    • Author Contributor

      I've put this file in $HOME/.ghcup/ghcup-0.0.2.json but it's still trying to use the wrong directory. This should override the configuration, right?

    • Author Contributor

      I missed the cache directory. Making the change to $HOME/.ghcup/cache/ghcup-0.0.2.json worked.

      The install mostly works but doesn't finish properly. It expects bin/ghc to be a symlink when it's actually a shell script. That's a separate issue though.

    • Please register or sign in to reply
  • I've put this file in $HOME/.ghcup/ghcup-0.0.2.json but it's still trying to use the wrong directory. This should override the configuration, right?

    Use ghcup --url-source file://$(pwd)/ghcup-0.0.2.json install ghc 8.10.1.

    The install mostly works but doesn't finish properly. It expects bin/ghc to be a symlink when it's actually a shell script. That's a separate issue though.

    That sounds serious.

  • Julian Ospald
  • puffnfresh added 1 commit

    added 1 commit

    • 3055529d - Update GHCupDownloads with ghcup-0.0.2.json content

    Compare with previous version

  • Author Contributor

    Is it possible to do the effectively the same thing as tar's --strip-components=1? That way we wouldn't even have to maintain this, right?

  • merged

  • Please register or sign in to reply
    Loading