gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
biopandemic has quit [Quit: Quit.]
Drakonis has joined #nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
Ericson2314 has joined #nixos-chat
<infinisil> gchristensen: Fail2ban failed on me too much like this, not using it anymore
<infinisil> Very inconsistent and hard to debug software in my experience
Guanin has quit [Ping timeout: 260 seconds]
Guanin has joined #nixos-chat
Drakonis has quit [Remote host closed the connection]
lopsided98 has quit [Ping timeout: 240 seconds]
lopsided98 has joined #nixos-chat
mmercier has joined #nixos-chat
mmercier has left #nixos-chat [#nixos-chat]
mmercier has joined #nixos-chat
mmercier has quit [Remote host closed the connection]
mmercier has joined #nixos-chat
mmercier has left #nixos-chat [#nixos-chat]
Ericson2314 has quit [Ping timeout: 276 seconds]
__Sander__ has joined #nixos-chat
<ekleog> ,
<{^_^}> All commands: -A IFD NUR arm ask bootfull callPackage channels cloudfront context dnw error escape" escape'' escape-special fancy-uninstall github hardware haskell help home-manager howoldis library logs nix-env-r nix-info nix-repl nixGL nixcon nixeval nixpkgsVersion not-os notfound outPath overlay paste pills pinning pr profiling pure-eval python qt replaceModule runtimeDeps stateVersion stuck thesis timer todeclarative tofu unfree unstable which-c
<ekleog> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<{^_^}> wrapnix defined
<{^_^}> proot defined
mmercier has joined #nixos-chat
mmercier has quit [Client Quit]
mmercier has joined #nixos-chat
<mmercier> Hi all! Does anyone have an idea how to get the closure of the build environment of a package?
<mmercier> I know how to get the closure of the package itself, once it is build but I'd also like to share the closure of the building env
__Sander__ has quit [Ping timeout: 256 seconds]
__Sander__ has joined #nixos-chat
jtojnar has quit [Remote host closed the connection]
<sphalerite> mmercier: use nix-store -qR on the drv file
<sphalerite> mmercier: this is an appropriate question for #nixos though :)
sphalerite has quit [Ping timeout: 256 seconds]
sphalerite has joined #nixos-chat
<gchristensen> infinisil: hm seems to have operated as expected
<infinisil> gchristensen what are you referring to?
<gchristensen> fail2ban
<infinisil> Ah
sphalerite has quit [Ping timeout: 256 seconds]
sphalerite has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
__monty__ has joined #nixos-chat
<mmercier> thanks sphalerite!
<mmercier> and is there an automatic way to get the drv? with nix-store --query maybe?
<mmercier> hum, I with nix-store -qR but I only get drv and text files, I would like to have the binairies instead
<mmercier> I don't know why but I'm unable to connect to #nixos right now ^^'
<infinisil> I have written all my exams for this semester! \o/
<infinisil> I feel so light now!
<samueldr> now time to implement all the things
<mmercier> ok so nix-instanciate get me the drv but then I'd like to get the closure of the instanciated environment (like the nix-shell closure)
<infinisil> samueldr: I think I'll take a short break, my hand hurts a lot
<infinisil> mmercier: Probably better to ask this in #nixos
__Sander__ has quit [Quit: Konversation terminated!]
Drakonis has joined #nixos-chat
mmercier has quit [Ping timeout: 265 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.0]
pie__ has quit [Ping timeout: 240 seconds]
pie__ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
Brains has quit [*.net *.split]
d1rewolf has quit [*.net *.split]
joepie91 has quit [*.net *.split]
samueldr has quit [*.net *.split]
steveeJ has quit [*.net *.split]
samueldr has joined #nixos-chat
pie_ has joined #nixos-chat
steveeJ has joined #nixos-chat
maurer has quit [Quit: WeeChat 1.5]
maurer has joined #nixos-chat
yurb has quit [*.net *.split]
yurb has joined #nixos-chat
NinjaTrappeur has quit [Ping timeout: 255 seconds]
pie_ has quit [Ping timeout: 265 seconds]
jtojnar has joined #nixos-chat
pie_ has joined #nixos-chat
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-chat
sphalerite_ has joined #nixos-chat
sphalerite has quit [*.net *.split]
lassulus has quit [*.net *.split]
gchristensen has quit [*.net *.split]
lassulus_ has joined #nixos-chat
lassulus_ is now known as lassulus
gchristensen has joined #nixos-chat
<gchristensen> lol
<clever> yeah
<clever> gchristensen: i say it doesnt count, because the computer is off while flying :P
<clever> gchristensen: its no different from just having cargo on a model plane
Drakonis has quit [Remote host closed the connection]
<gchristensen> I'm forced to agree
<gchristensen> I almost started flight school here but my life insurance company said no
<clever> gchristensen: https://www.youtube.com/watch?v=gk1eKPRLaJA just get a proper caching proxy, and convince steam to use it, lol
<clever> ive also found that my steam downloads are bottlenecked by the hdd, not the network
<clever> gchristensen: derp, 1:42 into the video, he unveils the new idea of a "caching proxy" lol
<LnL> what about stdenv rebuilds?
<clever> LnL: if queried over https, it cant cache at all, and i dont think most caching servers like squid are eager to cache 100mb files
<clever> LnL: thats why i had started https://github.com/cleverca22/cachecache/
<clever> LnL: this daemon implements the binary-cache api, and will then query its own list of binary caches, and respond with a cached reply
<LnL> sorry, that was just a terrible joke
<gchristensen> lol
<LnL> I should probably play with that sometime tho
<clever> LnL: of note, cachecache currently lacks the ability to cache nar files, lol
<clever> it can only cache a narinfo
<LnL> does it have some kind of logic, I'm wondering if you can't do the same thing with nginx
<clever> LnL: my plan, was to support several upstream binary caches (which nginx cant really do)
<clever> so i can just set my router to merge 3 hydras and cache.nixos.org into a single "binary cache"
<clever> which then makes nix scanning the binary cache for stuff much faster, and its cached
<clever> and nginx tends to avoid caching large files, and doesnt understand that if you request a given .narinfo, that you will then request the .nar it refered to, and it could pre-fetch
<LnL> did you look into proxy_cache + upstreams?
<clever> that still cant handle obeying the priority in the nix-cache-info file when conflicts arise, and prefetching based on the contents of the narinfo
<LnL> but you don't really care what cache it comes from
<clever> a more inteligent cache can also compare the hashes of the .nar, from each narinfo, and then parallel download from 2 caches at once
<LnL> oh sure you could implement it much better
<LnL> but it does work as a naive implementation, no?
<clever> probably
<clever> and it looks like the "special" steamcache stuff from the above video, is just nginx in docker, with proxy_cache
<clever> and some dns wizardy to redirect things to it
<clever> gchristensen: doing some more work on zfs+nixops now...
__monty__ has quit [Quit: leaving]
<srk> you can actually fly on linux now, we have one copter running arducpoter on beaglebone black + bbbmini cape (acting mostly as a port expander)
<clever> and i now have an AMI!