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
fendor__ has joined #haskell.nix
fendor_ has quit [Ping timeout: 256 seconds]
hekkaidekapus has quit [Ping timeout: 240 seconds]
hekkaidekapus has joined #haskell.nix
<typetetris> Webapps
<angerman> Can we say block chain?
<angerman> Also: compilers :-)
<typetetris> Is there some example somewhere, how to use haskell.nix with flakes?
fendor__ is now known as fendor
__monty__ has joined #haskell.nix
<michaelpj> typetetris: I believe the flake support code was added by someone else, I don't think we use it at all internally. I assume there's a standard way to get the overlays out of a flake, so do that?
o1lo01ol1o has joined #haskell.nix
<typetetris> michaelpj: Thanks.
<typetetris> I want to fetch sources for a haskell project with fetchurl, but that just fetches the tar.gz and doesn't extract it. Are there some other options? (Should be a fetcher from nixpkgs as the builtin fetchers all fetch the sources at eval time.)
<__monty__> typetetris: Why not fetchTarball?
<michaelpj> yeah, there are plenty of nixpkgs fetchers that handle this sort of thing
<typetetris> __monty__: fetchTarball is a builtin and will therefore always try to download the sources at eval time, if they are not already in the store. But I would like to avoid downloading sources, if the resulting derivation (like with copy closure or something) is already present in the store.
<typetetris> sorry for asking, already made a small unpacking derivation myself.
<__monty__> Ah, didn't even know about the distinction.
<typetetris> Thats why nixpkgs fetchurl doesn't use a builtin fetcher, but uses a builder.sh calling curl :)
<typetetris> Just learned it from (guess it ....) clever.
<michaelpj> typetetris: `nixpgks` `fetchzip` also works for tarballs
<michaelpj> nixpkgs has a lot of fetchers
<__monty__> And the nixpkgs fetchers don't exhibit this eagerness? Is there a good reason to stick to builtin fetchers?
<typetetris> __monty__: I think the fetchers used in nixpkgs itself (except those rarely used) are probably "safe" in this regard. Otherwise a nixos host would download a huge pile of sources needlessly.
<typetetris> __monty__: fetchTarball for example is only used two times in my checkout of nixpkgs.
<typetetris> michaelpj: Thanks will take a look at fetchzip
<typetetris> okay, I will replace all my usages of fetchTarball with fetchzip ...
domenkozar[m] has quit [*.net *.split]
flokli has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
flokli has joined #haskell.nix
Ericson2314 has joined #haskell.nix
domenkozar[m] has joined #haskell.nix
flokli has quit [Max SendQ exceeded]
Ericson2314 has quit [Max SendQ exceeded]
michaelpj has quit [Ping timeout: 246 seconds]
jonge[m] has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 270 seconds]
domenkozar[m] has quit [Ping timeout: 246 seconds]
ptival[m] has quit [Ping timeout: 246 seconds]
flokli has joined #haskell.nix
michaelpj has joined #haskell.nix
siraben has joined #haskell.nix
jonge[m] has joined #haskell.nix
domenkozar[m] has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix
michaelpj has quit [Quit: Bridge terminating on SIGTERM]
siraben has quit [Quit: Bridge terminating on SIGTERM]
jonge[m] has quit [Quit: Bridge terminating on SIGTERM]
domenkozar[m] has quit [Quit: Bridge terminating on SIGTERM]
o1lo01ol1o has quit [Remote host closed the connection]
Ericson2314 has joined #haskell.nix
jonge[m] has joined #haskell.nix
domenkozar[m] has joined #haskell.nix
ptival[m] has joined #haskell.nix
siraben has joined #haskell.nix
michaelpj has joined #haskell.nix
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #haskell.nix
fendor has quit [Remote host closed the connection]
fendor has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 260 seconds]
__monty__ has quit [Quit: leaving]
ChanServ has quit [shutting down]
ChanServ has joined #haskell.nix
fendor_ has quit [Read error: Connection reset by peer]
fendor has joined #haskell.nix
fendor has quit [Remote host closed the connection]
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus has quit [Ping timeout: 240 seconds]
hekkaidekapus_ is now known as hekkaidekapus