<Havelock>
Hi all, I believe I found a bug in the vscode extension builder: it assumes the extension archive contains only one directory. This is however not the case for all extensions, which makes the install fail with a "unpacker produced multiple directories" in that case. I would like to solve that, and I'm looking for help?
<{^_^}>
nix#4028 (by domenkozar, 9 seconds ago, open): NarInfo negative binary cache lookups should be in-memory
<domenkozar[m]>
managed to reach birthday paradox on my nix store
<domenkozar[m]>
do I get a cookie?
<gchristensen>
the other birthday person got the cookie :(
<gchristensen>
what fs?
<domenkozar[m]>
ext4
<domenkozar[m]>
/nix/store/009ldwn83d5mp14wx9p0lg0fm6v4d7vz-lens-family-core-lib-lens-family-core-2.0.0/lib/x86_64-linux-ghc-8.8.4/lens-family-core-2.0.0-7VYghidBzxz1fJVkkHxuW6/Lens/Family: copyFile: resource exhausted (No space left on device)
<gchristensen>
not inodes?
<domenkozar[m]>
nope
<gchristensen>
nice
<domenkozar[m]>
1TB SSD considered harmful :P
<gchristensen>
how about legacy filesystems considered harmful :P
<domenkozar[m]>
heh
<domenkozar[m]>
legacy options on legacy filesystems
<domenkozar[m]>
wait, I actually have btrfs
<domenkozar[m]>
What has happened is that the filesystem has allocated all of the available space to either data or metadata, and then one of those has filled up (usually, it's the metadata space that does this). For now, a workaround is to run a partial balance:
alp_ has quit [Ping timeout: 260 seconds]
<domenkozar[m]>
modern fs considered harmful
* domenkozar[m]
pets ext4
<gchristensen>
this doesn't make sense
<tokudan>
btrfs has some logical issues like that. still not production ready, i think
<gchristensen>
how are you hitting the birthday problem on a filesystem which supposedly supports 18,446,744,073,709,551,616 files
<domenkozar[m]>
seems like it's not that, but that metadata took a lot of space
<gchristensen>
seems completely wild to me
<gchristensen>
domenkozar[m]: disappointing, at any rate :)
<tokudan>
btrfs needs regular rebalances if it's heavily used
<gchristensen>
gotcha
orivej has quit [Ping timeout: 272 seconds]
lewo has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
alp_ has joined #nixos-dev
arianvp has quit [Quit: WeeChat 2.7.1]
arianvp has joined #nixos-dev
<domenkozar[m]>
I should really not rely on df :)
<gchristensen>
the fancier your fs, the more df lies
<cransom>
preach.
cole-h has joined #nixos-dev
<Ox4A6F>
Hey garbas: In [nixos-homepage#506] the asciinema-demo lines starting with "[nix-shell]$" aren't typed but appear instantly. Is there a way to type these lines as intended?
<samueldr>
AFAIUI the issue for this particular user is that `nix-env` does not upgrade the package in that situation
jtojnar has joined #nixos-dev
<jtojnar>
can we just make nix-env always update when the derivation changes?
<jtojnar>
if we cannot let it die altogether
<gchristensen>
tbh it probably should always update, since an update to run-time deps might fix a serious security issue and go unfixed
<jtojnar>
👍️
<samueldr>
that's what I think too
<samueldr>
so should we move this PR forward by rejecting it stating that for the time being they need to work around their issue by re-installing dmidecode explicitly?
__monty__ has joined #nixos-dev
<ris>
am i the only one that can't push to github ATM?
<puck>
ris: are you using https or ssh?
<ris>
ssh
<gchristensen>
I can push
<cole-h>
Anybody familiar with the Nix codebase (or maybe this is a C++ style thing): if I'm adding a `std::set<std::string>` of something, do I just declare it in the header, or do I make it `extern` and declare it in the .cc file?
<cole-h>
Oh, maybe it needs to be extern to be usable in the different libraries...
<ris>
hmmmmmmmmmmmmm maybe just my connectivity
ris has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 272 seconds]
__monty__ has quit [Quit: leaving]
alp has joined #nixos-dev
<hexa->
with systemd, is there a way to run a service as non-root when the service wants to set sysctls?