| 7 Oct 2025 |
maralorn | Apply haskell.lib.compose.dontCheck to the granite package. | 14:26:13 |
| alunduil changed their profile picture. | 23:11:51 |
| 8 Oct 2025 |
sterni | we can, it's just ugly | 18:20:49 |
sterni | at least we should be able to, I don't know how C++ will behave | 18:21:06 |
sterni | shapr: you can copy what we're doing here which will land in master soon hopefully https://github.com/NixOS/nixpkgs/pull/445213/commits/5ba41f20b22b393092a91ce44e414f70613917db | 18:22:27 |
sterni | fd | 18:24:04 |
sterni | GHC 9.10.3 mini retroperspective: https://discourse.nixos.org/t/call-for-contributions-we-are-updating-to-ghc-9-10-3/67756/6?u=sternenseemann | 21:32:50 |
sterni | On reflection, 1 month + 20 days is at least a big improvement to compared to the 9.8 update, though it felt like it was taking forever this time, too. Excusable at least, given how busy some of us were and that we got unlucky with the text bug in 2.1.2. | 21:35:17 |
| 9 Oct 2025 |
ivy | is there a way to define arbitrary variables in a .cabal file that are maintained in the outputted 2nix | 07:16:05 |
chreekat | Well I know there are extension fields supported in .cabal files , but I don't know if cabal2nix knows or cares about them. (Extension fields are only documented in one place to my knowledge: https://cabal.readthedocs.io/en/stable/file-format-changelog.html#cabal-version-1-1-4) | 10:51:38 |
sterni | In reply to @ivy:faggot.sh is there a way to define arbitrary variables in a .cabal file that are maintained in the outputted 2nix no. (what for?) | 12:33:02 |
ivy | okay ill add some and then add to cabal 2nix | 12:35:33 |
ivy | i want to track the verson of the karabiner driver in kmonad upstream | 12:36:07 |
ivy | ill patch cabal2nix and do a pr for that for extension fields (i am very experienced with haskell) | 12:36:43 |
ivy | should these x- fields be put into passthru or to the derivation itself | 12:41:22 |
ivy | i’m feeling passthru therefore i should write a passthru field to derivation adt | 12:42:05 |
ivy | idk what do yall think | 12:42:18 |
ivy | but also could be cool to pass through to extra attributes | 12:45:48 |
sterni | well does kmonad even set these x-fields? would Hackage preserve them? | 13:05:49 |
sterni | in principle seems like a feasible idea, passthru seems about right though x-revision should continue to be treated specially probably | 13:06:51 |
sterni | wonder what other x- fields exist in the wild | 13:07:13 |
ivy | not yet it does, i will make it tho | 13:10:16 |
ivy | after i do that cabal2nix change ill do a run on hackage2nix and see what packages change | 13:10:48 |
| Banana Poop set a profile picture. | 14:49:06 |
| Banana Poop changed their profile picture. | 14:50:05 |
| Banana Poop changed their profile picture. | 14:54:27 |
m1-s | After upgrading nix version from 2.28.4 -> 2.28.5 I am getting this error:
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'ghc-shell-for-packages-0'
whose name attribute is located at /nix/store/yhvvk386srxffsd7369j28lkfaav1bwp-source/pkgs/stdenv/generic/make-derivation.nix:480:13
… while evaluating attribute 'NIX_GHC' of derivation 'ghc-shell-for-packages-0'
at /nix/store/yhvvk386srxffsd7369j28lkfaav1bwp-source/pkgs/development/haskell-modules/generic-builder.nix:999:13:
998| ) "${buildPackages.glibcLocales}/lib/locale/locale-archive";
999| "NIX_${ghcCommandCaps}" = "${ghcEnv}/bin/${ghcCommand}";
| ^
1000| "NIX_${ghcCommandCaps}PKG" = "${ghcEnv}/bin/${ghcCommand}-pkg";
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: builder for '/nix/store/7wdsyrqbm6dna640gz7sibp4i66cr9xz-cabal2nix-yesod-form.drv' failed with exit code 1;
last 3 log lines:
> *** parsing cabal file: /nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source/yesod-form/yesod-form: withBinaryFile: does not exist (No such file or directory)
> $ nix-prefetch-url --unpack file:///nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source/yesod-form
> cabal2nix: nix-prefetch-url: createProcess: posix_spawnp: does not exist (No such file or directory)
For full logs, run:
nix log /nix/store/7wdsyrqbm6dna640gz7sibp4i66cr9xz-cabal2nix-yesod-form.drv
Any known solution?
| 19:30:50 |
maralorn | Are you sure this is because of a nix update? Seems kinda unlikely. | 19:32:31 |
maralorn | Can you share the command you ran? | 19:32:49 |
maralorn | Maybe a tree listing of /nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source can be informative. | 19:34:26 |