Newest at the top
2024-06-16 06:48:08 +0200 | xdminsy | (~xdminsy@117.147.70.212) |
2024-06-16 06:47:23 +0200 | xdminsy | (~xdminsy@117.147.70.212) (Ping timeout: 264 seconds) |
2024-06-16 06:45:49 +0200 | madhavanmi | (~madhavanm@2409:40f4:10fb:ebb4:8000::) (Client Quit) |
2024-06-16 06:45:40 +0200 | madhavanmi | (~madhavanm@2409:40f4:10fb:ebb4:8000::) |
2024-06-16 06:31:43 +0200 | madhavanmi | (~madhavanm@2409:40f4:10fb:ebb4:8000::) (Read error: Connection reset by peer) |
2024-06-16 06:24:37 +0200 | chiselfuse | (~chiselfus@user/chiselfuse) |
2024-06-16 06:23:27 +0200 | chiselfuse | (~chiselfus@user/chiselfuse) (Remote host closed the connection) |
2024-06-16 06:15:39 +0200 | Midjak | (~MarciZ@82.66.147.146) |
2024-06-16 06:11:59 +0200 | <geekosaur> | (not that anyone's likely to be around until tomorrow morning CEST) |
2024-06-16 06:11:34 +0200 | <geekosaur> | I don't think you have any control unless you create a project and vendor e.g. ShellCheck, but you're better off asking in #hackage |
2024-06-16 06:10:57 +0200 | <geekosaur> | because you're telling it to build from hackage, not a local project |
2024-06-16 06:10:41 +0200 | <geekosaur> | hm, actually I think that's supposed to ignore a project file |
2024-06-16 06:10:16 +0200 | madhavanmi | (~madhavanm@2409:40f4:10fb:ebb4:8000::) |
2024-06-16 06:06:50 +0200 | <koala_man> | definitely older. I'll try upgrading |
2024-06-16 06:06:14 +0200 | bilegeek | (~bilegeek@2600:1008:b050:5afd:bc8c:2176:cbd5:b594) |
2024-06-16 06:05:25 +0200 | <geekosaur> | what version of cabal-install is this? I think some bugs have been fixed recently-ish (3.10.2/3?) |
2024-06-16 06:03:35 +0200 | segfaultfizzbuzz | (~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) (Ping timeout: 264 seconds) |
2024-06-16 06:01:20 +0200 | <koala_man> | https://gist.github.com/koalaman/25ac21b7db51c7d4fe1cc3664b9f6db8 |
2024-06-16 06:00:37 +0200 | <koala_man> | I get "The given project file 'cabal.project' does not exist." even though it's in the current directory |
2024-06-16 05:59:38 +0200 | <geekosaur> | --project-file=whatever |
2024-06-16 05:59:33 +0200 | <geekosaur> | uh |
2024-06-16 05:59:21 +0200 | <geekosaur> | --project=file=whatever |
2024-06-16 05:58:54 +0200 | <koala_man> | can I specify a cabal.project when I do `cabal install --dependencies-only ShellCheck`? |
2024-06-16 05:57:30 +0200 | <geekosaur> | `cabal build all --only-dependencies`? |
2024-06-16 05:55:36 +0200 | <koala_man> | ideally I'd cross compile but ghc is not great at that |
2024-06-16 05:54:17 +0200 | <koala_man> | I'm trying to do a build in docker, but it's running under a riscv emulator so I want to build the dependencies beforehand to reduce the build time from 5 to 2 hours |
2024-06-16 05:52:36 +0200 | <geekosaur> | lots of things in cabal.project can't be put in the global config |
2024-06-16 05:52:20 +0200 | <geekosaur> | right, that's only valid for things that can go in .cabal/config |
2024-06-16 05:52:00 +0200 | <geekosaur> | stack does, but disrecommends using it (in particular, if you have a stack.yaml it will _not_ inherit from the default config!)] |
2024-06-16 05:51:29 +0200 | <geekosaur> | cabal doesn't have a way to do it system-wide / a "default project" |
2024-06-16 05:51:24 +0200 | <koala_man> | oh. I misinterpreted https://cabal.readthedocs.io/en/3.4/cabal-project.html which lists the order of files as 1. ~/cabal/config 2. cabal.project |
2024-06-16 05:50:55 +0200 | <geekosaur> | it goes in cabal.project.local |
2024-06-16 05:50:44 +0200 | <geekosaur> | no, it doesn't go in .cabal/config |
2024-06-16 05:50:15 +0200 | <koala_man> | I tried googling things and put `package hashable\n flags: -arch-native` in my ~/.cabal/config, but it says "Unrecognized stanza" |
2024-06-16 05:42:09 +0200 | aforemny | (~aforemny@i59F516F9.versanet.de) |
2024-06-16 05:41:39 +0200 | aforemny_ | (~aforemny@2001:9e8:6ceb:e600:2c9:e941:ad5c:4927) (Ping timeout: 268 seconds) |
2024-06-16 05:41:37 +0200 | <geekosaur> | (but not on flags because they're a property of cabal files, not projects) |
2024-06-16 05:41:13 +0200 | <geekosaur> | and re what probie said, you can conditionalize on cpu or platform in cabal.project{,.local} if needed |
2024-06-16 05:40:01 +0200 | <geekosaur> | note that flags in different packages aren't guaranteed to mean the same thing, so you probably want `package hashable` instead of `package *` |
2024-06-16 05:38:47 +0200 | <probie> | The mistake was having a little consistency. The `-m` flags are the "machine-dependent" options, so I enjoy the implication that it's a bug not to be able to use them in machine-independent way |
2024-06-16 05:38:09 +0200 | <geekosaur> | (although cabal.project.local is preferred for that) |
2024-06-16 05:37:54 +0200 | <geekosaur> | you need a cabal.project: https://paste.tomsmeding.com/LRlWtW77 |
2024-06-16 05:37:22 +0200 | segfaultfizzbuzz | (~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) |
2024-06-16 05:34:46 +0200 | <koala_man> | how do I set -f -arch-native for all packages (at least hashable)? I hoped `cabal install ... -f -arch-native` would do that when hashable is a dependency, but I guess not |
2024-06-16 05:34:13 +0200 | segfaultfizzbuzz | (~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
2024-06-16 05:28:33 +0200 | <geekosaur> | go go gadget consistency |
2024-06-16 05:27:19 +0200 | <probie> | It only supports -march=native on Linux, and only for arm, x86, mips and s390/zSeries (IBM's mainframe architecture). Not all architectures even have a `-march` option (e.g. for SPARC, you want `-mcpu=native`) |
2024-06-16 05:19:42 +0200 | rdcdr | (~rdcdr@user/rdcdr) |
2024-06-16 05:18:27 +0200 | rdcdr_ | (~rdcdr@97-113-223-47.tukw.qwest.net) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in) |
2024-06-16 05:17:10 +0200 | <koala_man> | oh fun... riscv gcc does not recognize -march=native |