gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<andi-> Why is bash so slow Q.Q
<bqv> it's older than you, respect your elders
<infinisil> "Bash: Initial release June 8, 1989; 31 years ago"
<andi-> It isn't older.
<andi-> Unfortunately
<bqv> damn
<andi-> starting 3k stdenv's with each in a new bash takes *minutes* (same sandbox instance). There must be a better way to get access to pachShebangs from a script that runs as hook of something elese
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
<eyJhb> Ohh god
<eyJhb> The Nixpkgs manual is killing my PC atm.
abathur has joined #nixos-chat
rajivr has joined #nixos-chat
<samueldr> eyJhb: curious, what are the specs, which browser?
<samueldr> I saw that you were having issues too the other day
<samueldr> not blaming you, I want hard data points for an upcoming bikeshed debate
<samueldr> like, I know it's already an issue, part of why I worked (with someone else) into fixing that and turns out it's a bit costly with docbook and since there's these whole RFCs for documentation it's likely going to happen once they are implemented
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
<abathur> bikeshed armor?
<samueldr> yeah
<abathur> I like it
waleee-cl has quit [Quit: Connection closed for inactivity]
jasongrossman has joined #nixos-chat
jasongrossman has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 260 seconds]
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 264 seconds]
kalbasit has joined #nixos-chat
* colemickens wishes folks good luck ;)
abathur has joined #nixos-chat
<Mic92> andi-: it does some subshells which could be avoided.
endformationage has quit [Quit: WeeChat 2.7.1]
<cole-h> Something I just realized: the touchpad-thing on the PS4 controller acts as a mouse when plugged in lol
<cole-h> That's pretty cool
cole-h has quit [Quit: Goodbye]
polezaivsani has joined #nixos-chat
abathur has quit [Ping timeout: 240 seconds]
kalbasit has quit [Ping timeout: 256 seconds]
__monty__ has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.8]
<andi-> Mic92: nice! My main slowdown is the `source $stdenv/setup` part :/
<andi-> which I can't really get rid of easily without reinventing the wheel
<Mic92> What are you doing?
<JJJollyjim> oo oo i got this
<JJJollyjim> what if the wheel was square?
<andi-> Mic92: I am running an npm hook befoe each npm package has been installed (but after it has been unpacked / put in place). That hook patches all the shebangs that might be needed during the packages installation
<Mic92> andi-: I see it coming that we have a bash jit compiler
<andi-> :D
cjpbirkbeck has quit [Quit: Goodbye, take care]
fnlaai has joined #nixos-chat
<fnlaai> hi guys, what r u doing?
<fnlaai> how was your day? are you happy?
fnlaai has left #nixos-chat [#nixos-chat]
fnlaai has joined #nixos-chat
<fnlaai> hi there
<JJJollyjim> Mic92: aot pls
<JJJollyjim> :P
<fnlaai> got a minute?
<fnlaai> anyone do stock exchange?
<eyJhb> samueldr: using Chromium, but it is basically when I am building stuff and need to lookup something in the nixpkgs doc. Then it just crashes or takes FOREVER to load
<eyJhb> But it would in general be nice, to have a better list of options in lib, etc.
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 256 seconds]
waleee-cl has joined #nixos-chat
jasongrossman has joined #nixos-chat
<jasongrossman> Hi everyone. My nixos is refusing to nixos-rebuild recently, with error:
<jasongrossman> error: attribute 'sd-switch' missing, at /nix/store/4crnl65764mqjmxzp6nsvj7qycib6mpr-source/modules/systemd.nix:244:15
<jasongrossman> Strangely, this happens with the stable channel but not with the unstable channel
<jasongrossman> This recent change might be relevant maybe?
<jasongrossman> "23:37 <{^_^}> [nixpkgs] @rycee closed pull request #94114 → sd-switch: 0.1.0 -> 0.2.0 → https://git.io/JJu8P "
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94114 (by rycee, 6 days ago, closed): sd-switch: 0.1.0 -> 0.2.0
<jasongrossman> That's from the 28th of July.
<jasongrossman> I haven't made any changes to my configuration.nix since last time it rebuilt successfully.
<__monty__> jasongrossman: I think you're trying to use HM master with a stable nixpkgs?
<__monty__> That's not supported.
<jasongrossman> Thanks __monty__ !
<jasongrossman> __monty__++
<{^_^}> __monty__'s karma got increased to 18, that's Numberwang!
<jasongrossman> Is it obvious what I should use instead?
<fnlaai> cool
<jasongrossman> The manual at https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module says to use HM master with NixOS stable, if I'm reading it correctly
<jasongrossman> But I can experiment.
<jasongrossman> Oh
<jasongrossman> Apparently I can't read.
<jasongrossman> It's the other way round from what I thought I'd read.
<jasongrossman> Sorted.
<jasongrossman> \o/
parsley936 has joined #nixos-chat
<philipp[m]> I just learned about ssh-chat. Seems to be a cool little project.
<philipp[m]> I can use it to printf output of scripts to the ssh-chat server and then get the messages via matterbridge.
<eyJhb> philipp[m]: that is cooooool!
<eyJhb> :D
<eyJhb> Also, philipp[m] did you see my very ugly expression yesterday for Signal?
<philipp[m]> No, I didn't you managed to build signal? Awesome!
<eyJhb> Got it some time ago, but wanted to pretty the code a little. Currently need a way to override the dependencies
<eyJhb> philipp[m]: https://termbin.com/umwt you can see, that the overrides atm. is NOT pretty :p
<eyJhb> Also, I still have no clue, why we would want to split all the deps up into the categories, since it works just as well having them in a single dir (it will pull the correct version either way)
<philipp[m]> Ewww! Hahaha!
<eyJhb> :p It is no self/super no
<fnlaai> :]
fnlaai has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
cjpbirkbeck has joined #nixos-chat
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 260 seconds]
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
<aanderse> anyone have any interesting plans before feature freeze?
<manveru> well, i gotta get my ass moving on updating ruby and crystal...
<manveru> been putting that off for ages :|
<manveru> mostly because backwards compatibility is a PITA for both
<manveru> also got a package for envoy sitting around, haven't made a PR for it yet since it's just a patchelf drv... found it impossible to figure out how to get bazel working
<aanderse> nice
<bqv> philipp[m]: thats cool
<philipp[m]> Adding zfs encryption features to the cryptsetup_askpass script in the initrd. No idea if I will make it though.
<Mic92> philipp[m]: I also found example code in openzfs's dracut code
<philipp[m]> Oh, that's cool. In theory it shouldn't really be different from calling cryptsetup.
<philipp[m]> Right now I'm manually doing zfs load-key in the initrd via ssh and then kill the load-key prompt that was spawned locally. It works but it isn't exactly pretty.
<Mic92> same
abathur has joined #nixos-chat
<bqv> how big is .cache/nix-index/files for you guys?
<bqv> I finally generated a decent one, and it's tiny
<bqv> 67666 paths not in binary cache… goddammit
<manveru> 26MB
<Valodim> 26MB
<bqv> :/ yeah something just isn't working
<eyJhb> bqv: stop abusing your system
<eyJhb> aanderse: when is cut-off?
<infinisil> Oh my, it's that time of the year already!
<eyJhb> Wish I had anything of interest, but sadly not
<eyJhb> I only have my nsjails module
<eyJhb> That is in heavy development. But would be cool to see some day
<infinisil> I just updated #82743 yesterday, should probably make it into 20.09 :D
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82743 (by Infinisil, 20 weeks ago, open): Freeform modules
<eyJhb> infinisil: making amazing things as always
<infinisil> :D
<eyJhb> You know I will start coming to you soon for making things pretty and nice in my Android project :p
<eyJhb> Don't make such nice work, and show you can do stuff otherwise :D
<manveru> infinisil++
<{^_^}> infinisil's karma got increased to 326, that's Numberwang!
<infinisil> Ayy numberwang
<joepie91> lol
<infinisil> https://www.youtube.com/watch?v=Mj2V0PxlFvU "Watch SpaceX hop Starship SN-5!"
<infinisil> Everyday Astronaunt just went live ^
<infinisil> Let's see if it's scrubbed again today!
<Taneb> infinisil: I like the T-0h39m ish
karolus_ is now known as karolus
waleee-cl has quit [Quit: Connection closed for inactivity]
jasongrossman has quit [Remote host closed the connection]
cole-h has joined #nixos-chat
<bqv> eyJhb: i haven't actually broken anything
<bqv> this wasn't working in the first place
<bqv> that's the upsetting part
rardiol_ has joined #nixos-chat
rardiol has quit [Read error: Connection reset by peer]
<bqv> i get the feeling i'm gonna have to make a container non-flakey nixos system, and create my nix-index cache in there, as a hack
<philipp[m]> Hahaha! How to kill your github inbox in one easy step: https://discourse.nixos.org/t/upcoming-20-09-release-branch-off/8429
bqv has quit [Ping timeout: 260 seconds]
<philipp[m]> I really appreciate it.
__monty__ has joined #nixos-chat
polezaivsani has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos-chat
<philipp[m]> No hop today.
Jackneilll has quit [Ping timeout: 265 seconds]
<infinisil> Yea :(
bqv has joined #nixos-chat
Jackneilll has joined #nixos-chat
neeasade has quit [Ping timeout: 256 seconds]
neeasade has joined #nixos-chat
polezaivsani has joined #nixos-chat
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
Jackneilll has quit [Ping timeout: 240 seconds]
<bqv> woah... something fixed my fourth monitor
<bqv> and i've no idea what
Jackneill has joined #nixos-chat
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
aleph- has quit [Read error: Connection reset by peer]
aleph- has joined #nixos-chat
aleph- has quit [Read error: Connection reset by peer]
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-chat
savanni_ is now known as savanni
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has quit [Quit: Goodbye]
waleee-cl has joined #nixos-chat
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
aaronjanse has quit [Quit: The Lounge - https://thelounge.chat]
<crazazy[m]> guys i want to boot nixos from a root directory on tmpfs (https://github.com/nix-community/impermanence) do you guys think 8GB of ram is enough?
<bqv> this is the new fad, huh
<crazazy[m]> yea
<philipp[m]> That strongly depends on how much stuff you plan on putting on the rootfs.
<crazazy[m]> i mean i started geting into nixos cuz i felt i was losing control over my config files
<crazazy[m]> so this seems to be kind of the end goal in some way
<crazazy[m]> (also because if some person comes around with "y dont try guix" i can say BUT CAN GUIX DO _THIS_)
<bqv> impermanence is less about config, more about near-total statelessness
<philipp[m]> 8GB of ram isn't much though nowadays. I don't think I'd go for it. You could graham style chainsaw massacre your darlings with a snapshot feature though.
<eyJhb> philipp[m]: that is what I am doing now
<eyJhb> Ram is expensive on a laptop
<eyJhb> And one application writing to random shit places and you have 0 ram lef
<eyJhb> left*
<crazazy[m]> i mean i thought that by precisely defining what you want to keep, you have exact control and oversight over configuration you meddled in and config the system auto-generated for you
<philipp[m]> You can have that by booting into a snapshot though.
<crazazy[m]> as the auto-gen config gets erased at every boot if im correct
<crazazy[m]> yea true
<crazazy[m]> though the current data i want to keep is on ext4 already
<crazazy[m]> don't know how well ext and zfs/btrfs vibe w/ each other
<bqv> vibe?
<tokudan> you could set a fix max size of 256 MB for root with tmpfs
<bqv> should they have to interact?
<crazazy[m]> bqv: good point
<philipp[m]> bqv: You haven't lived until you created a btrfs on a zfs dataset.
<bqv> oh christ
<crazazy[m]> wait can you also tell a tmpfs to only write to a swap subvolume?
<philipp[m]> I don't think you can. The linux kernel is pretty clever about what to swap though, usually.
<abathur> anyone aware of an abstraction layer over platform-specific syscall tracing paradigms that would make it trivial to, say, process a clean stream of observed stat events? :)
<abathur> I feel like maybe I'm just using the wrong terms, all I've really found is https://github.com/lunixbochs/ghostrace
__monty__ has quit [Quit: leaving]
parsley936 has quit [Remote host closed the connection]
<abathur> unrelated, but discovered while trying to answer this question: https://github.com/stewartsmith/libeatmydata
<ar> abathur: LD_PRELOADing it to apt is a common workaround for devices with slow storage
<ar> (on devies that run debian or ubuntu)
<abathur> I did find at least one tracing abstraction that looks like it's grappling with the problems I imagine, but it's bundled up in another program: https://chromium.googlesource.com/infra/luci/client-py.git/+/refs/heads/master/trace_inputs.py
polezaivsani has quit [Ping timeout: 256 seconds]
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-chat
cransom has quit [*.net *.split]
avn has quit [*.net *.split]
pie_ has quit [*.net *.split]
pie_ has joined #nixos-chat
cransom has joined #nixos-chat
avn has joined #nixos-chat
nckx has quit [Ping timeout: 264 seconds]
nckx has joined #nixos-chat
<infinisil> Maybe hop very soon! https://www.youtube.com/watch?v=NJR4gZBLMNw
<infinisil> ,launch
<{^_^}> Ping for space stuff: infinisil Taneb ldlework etu philipp[m]
<infinisil> Like, minutes away
<infinisil> About 2 minutes
<infinisil> !!!!
<infinisil> A giant silo just flew over 150 meters using rockets!
<infinisil> (actually it's just a single engine)