etu has quit [Read error: Connection reset by peer]
etu has joined #nixos-chat
drakonis has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-chat
globin has quit [Ping timeout: 252 seconds]
sphalerite has quit [Ping timeout: 260 seconds]
sphalerite has joined #nixos-chat
lassulus_ has joined #nixos-chat
yurb has quit [Ping timeout: 252 seconds]
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
yurb has joined #nixos-chat
drakonis_ has joined #nixos-chat
Drakonis__ has joined #nixos-chat
drakonis has quit [Ping timeout: 250 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
Drakonis__ has quit [Ping timeout: 268 seconds]
endformationage has quit [Ping timeout: 250 seconds]
jackdk has quit [Ping timeout: 250 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<ldlework>
anyone here ever play or write interactive fiction
__monty__ has joined #nixos-chat
__Sander__ has joined #nixos-chat
__monty__ has quit [Quit: leaving]
Synthetica has quit [Quit: Connection closed for inactivity]
Lisanna has quit [Ping timeout: 240 seconds]
Lisanna has joined #nixos-chat
globin has joined #nixos-chat
Synthetica has joined #nixos-chat
<etu>
Hmm, the darkMode flag for the slack-package is cool. Also that slack-dark was added so it's cached :)
<srhb>
etu: :o
<srhb>
etu: It doesn't work! You tricked me!
hedning has joined #nixos-chat
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos-chat
<etu>
srhb: it works for me
<etu>
"works on my machine"
<etu>
srhb: But I can't prove it since I don't want to paste screenshots since it's filled with company stuff :-p
endformationage has joined #nixos-chat
pie___ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
ottidmes has joined #nixos-chat
__Sander__ has quit [Quit: Konversation terminated!]
<joepie91>
so there's a problem with Nix and proprietary games where if you, say, 'package' a 2GB game you need to pay at least 6GB of disk space for that; your expression will look something like 'depend on unzip and such-and-such libraries' and that means that it will frequently have to 'rebuild' (ie. re-extract from a ZIP and patchelf) it, which means you need 1) 2GB for the original installer/source at all times, 2) 2GB for the old build, 3) 2GB for the
<joepie91>
new build, at the very minimum
<joepie91>
even though the rebuild would not actually be necessary since nothing has changed beyond the extraction process and the runtime-linked libraries (that are probably still compatible)
<joepie91>
which translates to a massive waste of space
<joepie91>
is there any prior work on dealing with this problem? that doesn't come down to 'break out of Nix and use steam-run'
<samueldr>
since the contents of the zip is static, and known, would a fixed-output derivation work?
<joepie91>
samueldr: I don't have enough understanding of Nix to understand what, concretely, you're proposing as a solution there :)
<mdash>
joepie91: probably not legally
<mdash>
joepie91: conceivably the built version could go in a binary cache but some lawyers might have opinions about redistribution of such things
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
<joepie91>
mdash: binary caches are not an option for precisely this reason
<joepie91>
hence the question about prior work here :)
<joepie91>
since this seems like something that should be supported by Nix in some manner
<ottidmes>
joepie91: maybe contact Steam and just ask them about, they ought to know best
<LnL>
you can unpack to the output directly if necessary
<joepie91>
ottidmes: huh? Steam doesn't do Nix stuff
<joepie91>
LnL: that doesn't seem to fix the problem of the derivations being dependent on their inputs and each input change triggering a rebuild
<LnL>
and if it doesn't have references to the install prefix it could be a fixed output and stream the source tarball straight to tar of whatever
<LnL>
yes, dependencies changing implies rebuilds
<LnL>
why would you want to avoid that
<joepie91>
LnL: see the original problem description; the input changes don't actually matter and it increases the disk space needed by 3x
<ottidmes>
joepie91: Huh, why would you think I was implying that? I just meant that they might be able to say more definitely whether it would be allowed to redistribute games that way, or might have suggestions on ways working around the issue
<infinisil>
joepie91: LnL: iirc eelco was doing something with early cutoff if the different-but-not-really derivation has the same contents
<infinisil>
(I didn't read the full backlog, so not sure if this is relevant, but I thought I'd mention it)
<joepie91>
ottidmes: oh, I thought you were referring to the technical aspect of it, not the legal aspect. anyway, I already know that redistributing games like this is not permitted :)
<joepie91>
infinisil: do you happen to have a link to that?
drakonis_ has quit [Read error: Connection reset by peer]
<joepie91>
infinisil: sorry, I got distracted for a while. thanks, I will have a look :)
<colemickens>
Does ZFS make sense on a laptop, or is that silly?
<emily>
sure
<emily>
I know plenty of people who use ZFS on their laptops
<gchristensen>
you don't get to use the fanciest parts of ZFS, but you get to take advantage of the very nice features like "knowing your data isn't corrupt"
* infinisil
uses ZFS on his laptop
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
__Sander__ has quit [Quit: Konversation terminated!]
jackdk has joined #nixos-chat
<elvishjerricco>
colemickens: I also use ZFS on a laptop. Mostly just for checksumming and the ability to snapshot stuff and roll it back.
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 250 seconds]
hedning has quit [Quit: hedning]
<colemickens>
I can't tell if there are ghosts in my irc client or if I'm losing it. I got a notification from Samuel (? I think) with a comment about something not being "matrix'd" and a link to something.