angerman changed the topic of #haskell.nix to: https://input-output-hk.github.io/haskell.nix - alternative haskell infrastructure for nix; logs at https://logs.nix.samueldr.com/haskell.nix
{`-`} is now known as {`-`}_
{`-`}_ has joined #haskell.nix
jD91mZM2_ has joined #haskell.nix
Philonous_ has joined #haskell.nix
Philonous has quit [*.net *.split]
jD91mZM2 has quit [*.net *.split]
{`-`} has quit [*.net *.split]
jD91mZM2_ is now known as jD91mZM2
acarrico has quit [Ping timeout: 240 seconds]
fendor has joined #haskell.nix
strikerlulu has quit [Quit: ZNC 1.8.2 - https://znc.in]
strikerlulu has joined #haskell.nix
__monty__ has joined #haskell.nix
<michaelpj> ptival: no. Is the wrapper one produced by haskell.nix? If it's in a haskell.nix shell then it probably is
<michaelpj> sounds super weird though
strikerlulu has quit [Quit: ZNC 1.8.2 - https://znc.in]
strikerlulu has joined #haskell.nix
terrorjack has quit [Ping timeout: 260 seconds]
terrorjack has joined #haskell.nix
strikerlulu has quit [Quit: ZNC 1.8.1 - https://znc.in]
strikerlulu has joined #haskell.nix
strikerlulu has quit [Quit: ZNC 1.8.2 - https://znc.in]
strikerlulu has joined #haskell.nix
<ocharles> Argh, doctest has stopped working in my haskell.nix nix-shell :( Weirdly 'cabal configure --write-ghc-environment-files=always' doesn't include the main package database, which I think might be the problem
<ocharles> Yet even more weirdly... cabal build is fine
<ocharles> Dunno if anyone has any ideas. Doctest is failing because there's no -package-db set, which would be cabal-doctests responsibility
<ocharles> Ok, jamming `"$NIX_GHC_LIBDIR/package.conf.gd"` in seems to work. Dunno why this was working fine before...
<michaelpj> `--write-ghc-environment-files=always` <- why would you do this :o
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
Graypup_ has joined #haskell.nix
<michaelpj> generally cabal-doctest is a monstrosity and I'm not sure how it owrks
<ocharles> I don't want to do that
<ocharles> I was just grasping for a solution
<ocharles> The fix is to use $NIX_GHC_LIBDIR, but for some reason this was working earlier but now exploded
acarrico has joined #haskell.nix
<ptival[m]> michaelpj: is this created by haskell.nix? (I believe so, but you can probably confirm)
<ptival[m]> The file '/nix/store/af1akj680l9vbjpc2yv56bn14dcawifj-ghc-shell-for-packages-ghc-8.10.3-env/bin/ghc' specified the interpreter '/nix/store/rq1inyhyr4gddgc5gxdid38iwn7769d7-bash-4.4-p23/bin/bash -e', which is not an executable command.
<ptival[m]> Failed to execute process '/nix/store/af1akj680l9vbjpc2yv56bn14dcawifj-ghc-shell-for-packages-ghc-8.10.3-env/bin/ghc'. Reason:
<michaelpj> looks plausible
<michaelpj> still seems super weird
<michaelpj> ptival: can you `readlink -f` that GHC executable it's complaining about?
<michaelpj> or `cat` it
<michaelpj> AFAICT we just use `makeWrapper`, so I'm not sure how this could happen
<michaelpj> ah, I think I know what this is
<michaelpj> ptival: can you run the bash that it references? and are you cross-compilling?
<michaelpj> and are you using a very recent nixpkgs?
<ptival[m]> cross-compiling: no, very recent nixpkgs: yes
<ptival[m]> that bash runs, if you mean just try `/nix/store/rq1inyhyr4gddgc5gxdid38iwn7769d7-bash-4.4-p23/bin/bash --version`
<michaelpj> ptival: there were some recent nixpkgs changes to makeWrapper, I think we might need to do something like this: https://github.com/NixOS/nixpkgs/pull/114999
<michaelpj> angerman: ^^
proofofkeags has joined #haskell.nix
acarrico has quit [Ping timeout: 264 seconds]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 245 seconds]
acarrico has joined #haskell.nix
<ptival[m]> lmk if you would like a Github issue to track this
fendor has quit [Remote host closed the connection]
fendor has joined #haskell.nix
fendor has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
acarrico has quit [Ping timeout: 264 seconds]