!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

737 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.org146 Servers

Load older messages


SenderMessageTime
19 Feb 2026
@alexfmpe:matrix.orgalexfmpeso if your sbv patches fix it on master, you can probably target that23:44:18
@alexfmpe:matrix.orgalexfmpe* so if your sbv patches fixes aren't specific to latest versions you can probably target that23:44:40
@alexfmpe:matrix.orgalexfmpe* so if your sbv patches fixes aren't specific to latest versions you can probably target master23:44:45
@woobilicious:matrix.orgwoobiliciousahh okay, I'm just disabling tests.23:45:12
@alexfmpe:matrix.orgalexfmpehuh?23:45:13
@alexfmpe:matrix.orgalexfmpeyou shouldn't need to call that unless you mess with the .yaml files or so23:45:52
@woobilicious:matrix.orgwoobiliciousyeah I unmarked it as broken23:46:11
@alexfmpe:matrix.orgalexfmpeah ok relaxing brokenness to tests23:46:34
@alexfmpe:matrix.orgalexfmpe* ah ok relaxing broken to broken tests23:46:44
@woobilicious:matrix.orgwoobiliciousupstream says it's probably unrealistic for us to test it, they also take like 45mins to run23:47:55
@woobilicious:matrix.orgwoobiliciousi.e. https://hydra.nixos.org/log/5hsi41vkklihxa78a0lmj49za0d9mifn-sbv-10.2.drv23:48:12
@alexfmpe:matrix.orgalexfmpewth23:51:23
@woobilicious:matrix.orgwoobiliciousyeah actually we don't even package mathsat, so tests can't pass without us doing that.23:54:17
@alexfmpe:matrix.orgalexfmpecan't they...like...have two test suites that both call the same thing but with different quickcheck iterations23:54:41
@alexfmpe:matrix.orgalexfmpe* can't they...like...have two test suites that both call the same thing but with different number of quickcheck iterations23:55:02
@alexfmpe:matrix.orgalexfmpethen their CI can run the fancy 45min thing, but distributors have a better choice than 45min or no tests23:55:29
@alexfmpe:matrix.orgalexfmpe* then their CI can run the fancy 45min thing, but distributors have more than the choice than 45min or no tests23:55:44
@alexfmpe:matrix.orgalexfmpe* then their CI can run the fancy 45min thing, but distributors have more than the choice between 45min or no tests23:55:50
@woobilicious:matrix.orgwoobilicious wtf why did regenerate-hackage-packages.sh change quotation in a script? 23:56:17
@alexfmpe:matrix.orgalexfmpequotation?23:56:33
@alexfmpe:matrix.orgalexfmpethere's something funny going on with regenerate-hackage-packages.sh where you're supposed to call it inside the top-level nix-shell so it will find treefmt and lint away23:57:03
@woobilicious:matrix.orgwoobilicious
-      preBuild = "export LD_LIBRARY_PATH=`pwd`/dist/build\${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH";
+      preBuild = ''export LD_LIBRARY_PATH=`pwd`/dist/build''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH'';
23:57:06
@alexfmpe:matrix.orgalexfmpeah there you go, it's the auto-linter23:57:18
@alexfmpe:matrix.orgalexfmpenixpkgs CI has lint checks for months now23:57:35
@alexfmpe:matrix.orgalexfmpehuh hang on a sec, there's 3 sets of single quote pairs in there?23:58:14
@woobilicious:matrix.orgwoobiliciousmust be a bug lol23:59:04
@alexfmpe:matrix.orgalexfmpe

I dunno how that works, but it works

nix-repl> ''export LD_LIBRARY_PATH=`pwd`/dist/build''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH''  
"export LD_LIBRARY_PATH=`pwd`/dist/build\${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
23:59:13
@woobilicious:matrix.orgwoobiliciousoh it lets you use ${} in the bash script23:59:40
20 Feb 2026
@alexfmpe:matrix.orgalexfmpe

what is this madness

nix-repl> ''abc''def''                                                                       
error: undefined variable 'def'''
       at «string»:1:8:
            1| ''abc''def''
             |        ^

nix-repl> ''abc''$def''
"abc$def"
00:00:19
@woobilicious:matrix.orgwoobiliciousyeah it treats $ literally00:00:39

Show newer messages


Back to Room ListRoom Version: 6