Commit b06a90b9 authored by Julian Ospald's avatar Julian Ospald 🍵

Notarization on mac

parent 6fb4a631
Pipeline #17067 passed with stage
in 31 minutes and 30 seconds
......@@ -1456,6 +1456,11 @@ install_ghc() {
edo cd "./ghc-${myghcver}"
# https://gitlab.haskell.org/ghc/ghc/issues/17418
if [ "$(get_distro_alias "$(get_distro_name)")" = "darwin" ] ; then
edo xattr -cr .
fi
debug_message "Installing GHC into ${inst_location}"
edo ./configure --prefix="${inst_location}"
......@@ -1732,6 +1737,11 @@ install_cabal() {
unpack "${download_tarball_name}"
fi
# https://gitlab.haskell.org/ghc/ghc/issues/17418
if [ "$(get_distro_alias "$(get_distro_name)")" = "darwin" ] ; then
edo xattr -cr .
fi
edo mv -f cabal "${inst_location}"/cabal
if [ -f "${tmp_dir}/${download_tarball_name}" ] ; then
rm "${tmp_dir}/${download_tarball_name}"
......@@ -1796,6 +1806,11 @@ compile_ghc() {
edo cd "./ghc-${myghcver}"
# https://gitlab.haskell.org/ghc/ghc/issues/17418
if [ "$(get_distro_alias "$(get_distro_name)")" = "darwin" ] ; then
edo xattr -cr .
  • Please replace with

    xattr -r -d com.apple.quarantine .

    Same for all the other appearances of xattr.

    Thanks!

    Edited by Mouse
Please register or sign in to reply
fi
if [ -n "${build_config}" ] ; then
edo cat "${build_config}" > mk/build.mk
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment