Skip to content

Hadrian's dynamicGhcPrograms doesn't work when set True

Flavour:

userFlavour :: Flavour
userFlavour = quickestFlavour
    { name = "user"
    , dynamicGhcPrograms = return True
    }

Error:

Error when running Shake build system:
  at action, called at src/Rules.hs:71:19 in main:Rules
  at need, called at src/Rules.hs:93:5 in main:Rules
* Depends on: _build/stage1/bin/hsc2hs
  at need, called at src/Rules/Register.hs:76:5 in main:Rules.Register
* Depends on: _build/stage1/lib/x86_64-linux-ghc-8.11.0.20200211/libHSrts-1.0-ghc8.11.0.20200211.so
  at error, called at src/Development/Shake/Internal/Rules/File.hs:179:58 in shake-0.18.3-593067565aafb558d09b4352b8abc327d8911a39a0e9abab2804b002b1ae536e:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, rule finished running but did not produce file:
  _build/stage1/lib/x86_64-linux-ghc-8.11.0.20200211/libHSrts-1.0-ghc8.11.0.20200211.so
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information