viric has quit [Ping timeout: 246 seconds]
pie_ has quit [Ping timeout: 248 seconds]
pie_ has joined #nixos-dev
kragniz is now known as kgz
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos-dev
la_putin has joined #nixos-dev
el_putin has quit [Read error: Connection reset by peer]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos-dev
viric has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 248 seconds]
orivej has joined #nixos-dev
propumpkin has joined #nixos-dev
contrapumpkin has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
moredread[m] has quit [Ping timeout: 264 seconds]
adisbladis[m] has quit [Ping timeout: 264 seconds]
nocent has quit [Ping timeout: 264 seconds]
adisbladis[m] has joined #nixos-dev
moredread[m] has joined #nixos-dev
nocent has joined #nixos-dev
ma27 has joined #nixos-dev
orivej has quit [Ping timeout: 248 seconds]
orivej has joined #nixos-dev
ma27 has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 268 seconds]
taktoa has quit [Remote host closed the connection]
shlevy has quit [Ping timeout: 252 seconds]
shlevy has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos-dev
ckauhaus has joined #nixos-dev
goibhniu has joined #nixos-dev
ckauhaus has quit [Remote host closed the connection]
orivej has joined #nixos-dev
__Sander__ has joined #nixos-dev
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos-dev
<andi-> Is there any runtime (memory, time, …) implication of using a let expression instead of a recursive set in the average expression? My intuition tells me it could be the better (less CPU-time?) version. The question is if this is a needles micro optimisation. I just saw https://github.com/NixOS/nixpkgs/pull/33758#pullrequestreview-88352235
orivej has quit [Ping timeout: 265 seconds]
peti has quit [Quit: WeeChat 1.8]
peti has joined #nixos-dev
taktoa has joined #nixos-dev
el_putin has joined #nixos-dev
la_putin has quit [Read error: Connection reset by peer]
ckauhaus has joined #nixos-dev
<niksnut> gchristensen: https://github.com/NixOS/ofborg
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 265 seconds]
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 255 seconds]
<Mic92> Maybe if the attribute set is very large.
ckauhaus has joined #nixos-dev
orivej has joined #nixos-dev
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos-dev
ma27 has joined #nixos-dev
ckauhaus has quit [Ping timeout: 255 seconds]
ma27 has quit [Client Quit]
ckauhaus_ has joined #nixos-dev
ma27 has joined #nixos-dev
Dezgeg has quit [Ping timeout: 276 seconds]
ckauhaus_ has quit [Ping timeout: 240 seconds]
Dezgeg has joined #nixos-dev
la_putin has joined #nixos-dev
ckauhaus has joined #nixos-dev
el_putin has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 246 seconds]
<gchristensen> niksnut: actually, I made you an owner of grahamc/ofborg. can you delete nixos/ofborg then move grahamc/ofborg to nixos/ofborg, to keep issues and PRs?
<gchristensen> wait ... no, it doesn't work that way anymore
<gchristensen> ok, delete NixOS/ofborg then I'll initiate a transfer that you accept. I think that wold work.
<gchristensen> I don't know how github works
ckauhaus_ has joined #nixos-dev
ckauhaus has quit [Ping timeout: 252 seconds]
<gchristensen> according to https://help.github.com/articles/transferring-a-repository-owned-by-your-personal-account/ I think I'd have to transfer it to you, then you transfer it to nixos/ofborg
<gchristensen> I contacted support
<la_putin> would it be sensible to modify patchelf to use mmap instead of read()
<Dezgeg> mmap gets a bit annoying when you have to grow the file, I think?
contrapumpkin has joined #nixos-dev
<la_putin> is patchelf beffer at parsing elf headers then readelf is
<la_putin> better*
propumpkin has quit [Ping timeout: 268 seconds]
<Dezgeg> don't think so
<Dezgeg> it's just one .cpp file after all
<la_putin> is void ElfFile<ElfFileParamNames>::parse() patchelf's version of this https://bpaste.net/show/1e058f6339af ?
<la_putin> or lines 316 to 333 of paatchelf.cc
<la_putin> patchelf.cc *
<la_putin> 0.9
ckauhaus has joined #nixos-dev
pie_ has quit [Ping timeout: 256 seconds]
ckauhaus has quit [Remote host closed the connection]
ckauhaus_ has quit [Ping timeout: 255 seconds]
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 268 seconds]
<copumpkin> niksnut: any advice for my weird issue? :) even a shitty workaround (other than the `nix copy`) would be nice
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 248 seconds]
<niksnut> copumpkin: what was your weird issue?
<copumpkin> (I'm trying to redownload all dependent FO derivations as we discussed in the past)
orivej has joined #nixos-dev
<copumpkin> niksnut: hmm, oddly enough this only seems to happen on darwin
<copumpkin> just tested on linux for the first time
<copumpkin> niksnut: is the issue that redirected stores don't work very well on platforms with no namespaces?
<niksnut> they don't work at all...
<niksnut> I mean, you can copy stuff
<niksnut> but you can't build anything
<copumpkin> hmm
<copumpkin> I guess that makes sense
<copumpkin> so I'm not sure what to do for these cases where it's the only known way to do something
<copumpkin> I guess write custom tooling
<copumpkin> so far the use cases for redirected stores: 1) test whether a binary cache has substitutes for an expression 2) force redownload/rebuild of all FO derivations
<copumpkin> the ones I care about :)
<copumpkin> niksnut: how discouraged is it to build tooling that links against nix libraries outside of the nix repo?
<niksnut> well, there is no stable API
<copumpkin> so it's fine as long as I don't mind my software breaking all the time :)
ckauhaus has joined #nixos-dev
<copumpkin> I guess for now I'll just `nix copy` it into the redirected store
<copumpkin> although maybe that won't even work for #2
<copumpkin> yeah, I guess I don't see how it would
<copumpkin> niksnut: any other suggestions for force-redownload of FO derivations?
<copumpkin> --check seems remarkably finicky
ma27 has quit [Ping timeout: 255 seconds]
ma27 has joined #nixos-dev
<niksnut> no
ckauhaus has quit [Quit: Leaving.]
<copumpkin> I guess I'll stick to running this only on Linux for now
pie_ has joined #nixos-dev
<catern> does nix-devel have a spam filter or queue or something? my messages are getting dropped :(
<catern> specifically my message "Adding a mechanism for untrusted users to offload builds of fixed-output derivations"
<catern> who is the admin for nix-devel? niksnut?
<andi-> google? ;-)
<andi-> catern: what does your mailserver log say?
<copumpkin> niksnut: do you generally try to port nixUnstable bumps to 17.09?
<niksnut> yes
<copumpkin> cool, thanks :)
<copumpkin> niksnut: even on linux, that IFD scenario seems to fail sometimes with the redirected store
<copumpkin> I think something in the chain is trying to use the host store
<copumpkin> probably the import?
<copumpkin> error: getting status of '/nix/store/z1nj6kjg9382yw0izv0yw0bpf7pzby0c-source': No such file or directory
<copumpkin> which is indeed true, because that only exists inside the redirected store
<niksnut> ah, let me check that
<copumpkin> I think it's the import, anyway
<copumpkin> the repro in that issue should get you the same problem
<copumpkin> if your host store is empty
FRidh has quit [Remote host closed the connection]
<ekleog> catern: if you're with a custom mail server, when google deems your message is spam it'll put it in a queue waiting for moderator validation without telling you
<ekleog> (if you're not with a custom mail server this should happen too, but I guess google is less likely to deem your message to be spam)
<ekleog> (had the same issue once, my messages eventually landed 24-48h after being sent -- and a discussion with a google engineer who explained to me why it was this way)
<catern> ekleog: yes, I have a custom mailserver
<catern> sorry I stepped away for a second
<catern> andi-: I mean, my mail server logs say it was sent just fine
<catern> ekleog: so yeah I anticipate my message is in the queue
<catern> can someone approve it :(
<catern> (I believe after approving it once, future messages from me will no longer be flagged as spam?)
<ekleog> (I'm not really sure, but being flagged as spam only happened to me once ~1 day, but it was also after having successfully sent emails to nix-devel, so I guess it's kind of random)
<catern> ekleog: so who is the moderator for nix-devel that can validate my message?
* catern misses gmane
<ekleog> no idea, sorry :/
<Sonarpulse> bgamari: found a way to tighten the deps ghc without a mass rebuild
<Sonarpulse> bgamari: but then the problem was llvm was not on the path
<Sonarpulse> as a propagatedBuildInput
<Sonarpulse> I'm not even sure configure can distinguish right now between the llvm used to build things vs the llvm that will eventually be used by the compiler
michaelpj has quit [*.net *.split]
_rvl has quit [*.net *.split]
manveru has quit [*.net *.split]
cransom has quit [*.net *.split]
michaelpj has joined #nixos-dev
<gchristensen> I wonder if we need to start putting a line in the and on nix 1.12, and get it out before its scope grows too far. I'd hate to get a perl 6 / php 6 situation
manveru has joined #nixos-dev
cransom has joined #nixos-dev
_rvl has joined #nixos-dev
WilliButz has quit [Read error: Connection reset by peer]
<niksnut> I just got an email from github about a security compromise of github emails
<copumpkin> same :)
<niksnut> apparently somebody was able to intercept email (including password resets) for a month
<gchristensen> oh damn
<gchristensen> ok, that puts some time pressure on some of the tools I wanted to try to make :)
WilliButz has joined #nixos-dev
<bgamari> Sonarpulse, I don't think it can
<Sonarpulse> bgamari: as it stands today, ghcs built with llvm
<Sonarpulse> so they aren't aware of any llvm
<Sonarpulse> by default
<Sonarpulse> maybe I can put opt on the path
<Sonarpulse> (built->target llvm)
<Sonarpulse> and tweak an env var so that configure doesn't cause llvm to be hardcoded in ghc
<Sonarpulse> and then use the existing mechanism to pass in the llvm which is actuallly used?
<Sonarpulse> I dunnno
<Sonarpulse> or I can just not worry about build != host == target :)
<copumpkin> niksnut: any objection to me bumping nixUnstable to include that (after I run some testing to make sure it fixes my issue)?
<gchristensen> copumpkin: it is kept fairly up to date, I'd just do it *shrug*
<niksnut> copumpkin: sure
JosW has joined #nixos-dev
<gchristensen> niksnut: I heard back from github support. they said I would need to transfer grahamc/ofborg to niksnut/ofborg then you'd transfer it to nixos/ofborg
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 260 seconds]
<niksnut> gchristensen: ok
__Sander__ has quit [Quit: Konversation terminated!]
<niksnut> gchristensen: https://github.com/NixOS/ofborg
<gchristensen> woohoo! thanks!
<copumpkin> are we going to get a dexter of borg next?
<gchristensen> what does dexter do?
<gchristensen> cheese omelettes?
<copumpkin> he poses as niksnut
<gchristensen> LOL
goibhniu has quit [Ping timeout: 268 seconds]
<copumpkin> niksnut: where do I find the preXXXX build number in the nixUnstable expression?
<copumpkin> or orivej
<copumpkin> oh I need to trigger a hydra build
<copumpkin> okay
<aminechikhaoui> copumpkin: or nix eval '(fetchGit https://github.com/NixOS/nix)'
<aminechikhaoui> pre$revCount_$shortRev
<LnL> hmm, am I missing something or is there no way to extend prePhases without a custom builder?
<la_putin> is anyone experienced with elf headers and elf.h
<LnL> Sonarpulse: ^ can you think of anything like that?
<Sonarpulse> LnL: meeting one sec
<LnL> no problem, let me make an example to make sure it works like I think it does
adisbladis[m] has quit [*.net *.split]
adisbladis[m] has joined #nixos-dev
michaelpj_ has joined #nixos-dev
ma27 has quit [Ping timeout: 252 seconds]
<LnL> Sonarpulse: oh! I missed postHook
<LnL> kind of confusing name tho
orivej has quit [Ping timeout: 260 seconds]
yegortimoshenko has quit [Remote host closed the connection]
<Sonarpulse> LnL: preHook you mean?
<Sonarpulse> LnL: also see what the haskell generic-builder does
<LnL> either of those work in this case
<Sonarpulse> LnL: cool
yegortimoshenko has joined #nixos-dev
<LnL> both run before genericSetup :p
<Sonarpulse> LnL: oh hah
orivej has joined #nixos-dev
ma27 has joined #nixos-dev
ma27 has quit [Client Quit]
ma27 has joined #nixos-dev
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-dev
ma27 has quit [Client Quit]
michaelpj_ has quit [Ping timeout: 256 seconds]
JosW has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
zarel has joined #nixos-dev
ma27 has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
zarel has quit [Quit: Leaving]
ma27 has quit [Ping timeout: 276 seconds]
la_putin has quit [Read error: Connection reset by peer]
la_putin has joined #nixos-dev
la_putin has quit [Client Quit]
la_putin has joined #nixos-dev
Sonarpulse has quit [Ping timeout: 264 seconds]
la_putin has quit [Read error: Connection reset by peer]
el_putin has joined #nixos-dev