!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

750 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org150 Servers

Load older messages


SenderMessageTime
29 May 2021
@joe:monoid.aljoe (he/him)I'll investigate, I don't think I have any overlay which could be causing this.13:17:08
@sternenseemann:systemli.orgsterni (he/him)884 and 8104 are cached13:17:20
@joe:monoid.aljoe (he/him)hmmm, this is the one required for my system by pandoc13:18:22
@maralorn:maralorn.demaralornSounds concerning.13:19:07
@matthewcroughan:defenestrate.itmatthewcroughan joined the room.15:51:48
@matthewcroughan:defenestrate.itmatthewcroughanHeyo. I wanna learn Haskell. Just wondering, can it run on microcontrollers like the ESP32?15:53:32
@pennae:matrix.eno.spacepennaenot really15:58:04
@roosemberth:orbstheorem.chRoosOh, that would certainly be fun15:53:47
@pennae:matrix.eno.spacepennaeghc only targets x86 and arm/aarch64 atm15:58:38
@roosemberth:orbstheorem.chRoosI think the writer of git-annex has something along those lines.15:54:07
@pennae:matrix.eno.spacepennae(other haskell compilers do exist, but afawk they mostly do bytecode or jvm, so they're out from the start for a µC)16:01:39
@roosemberth:orbstheorem.chRoosRight: https://hackage.haskell.org/package/arduino-copilot15:55:54
@roosemberth:orbstheorem.chRoos
In reply to @roosemberth:orbstheorem.ch
Right: https://hackage.haskell.org/package/arduino-copilot
Or C
16:02:19
@maralorn:maralorn.demaralornAnd I thought javascript runs on anything these days …16:08:20
@roosemberth:orbstheorem.chRoosThat's not necessarily a good thing xD16:08:50
@Las:matrix.orgLas cabal build on aarch64 for me gives me an ghc: could not execute: opt error, even though I have it in my PATH. Does anyone know how to fix this? 16:10:45
@maralorn:maralorn.demaralorn Las: On nixos-unstable? 16:13:25
@Las:matrix.orgLasYeah16:13:31
@Las:matrix.orgLasIt's from the 7th of May16:14:02
@Las:matrix.orgLas maralorn 16:19:17
@maralorn:maralorn.demaralorn I see. We have quite recently merged a fix for aarch64/llvm and the ghc withPackages wrapper. But I have no clue it applies to your situation. sterni (he/him) might know more. 16:29:31
@Las:matrix.orgLasThanks, I'll try updating my nixpkgs!16:31:59
@sternenseemann:systemli.orgsterni (he/him) Las: macOS? 16:32:27
@Las:matrix.orgLasNo, Linux of course16:32:35
@Las:matrix.orgLasI think I'm one of the very few people using an aarch64 machine as my main machine16:33:00
@Las:matrix.orgLas * I think I'm one of the very few people using an aarch64-linux machine as my main machine16:33:04
@sternenseemann:systemli.orgsterni (he/him)depending on how your environment is set up, ghc should know how to find the LLVM stuff by default now16:33:59
@sternenseemann:systemli.orgsterni (he/him)not sure if we have fixed it everywhere16:34:16
@sternenseemann:systemli.orgsterni (he/him) Las: try updating nixos-unstable and if it still doesn't work, please open an issue on github, describe how you set up your environment and ping @NixOS/haskell. I'll try to fix this, I can't really test stuff on aarch64 though so there's always a bit of guesswork involved 16:36:00
@Las:matrix.orgLasThanks.16:36:11

Show newer messages


Back to Room ListRoom Version: 6