vika_nezrimaya has quit [Ping timeout: 258 seconds]
drakonis has quit [*.net *.split]
ma27[m] has quit [*.net *.split]
yegortimoshenko has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
rajivr___ has quit [*.net *.split]
andi- has quit [*.net *.split]
zimbatm has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
fadenb has quit [*.net *.split]
morgib has quit [*.net *.split]
nwspk has quit [*.net *.split]
michaelpj has quit [*.net *.split]
primeos has quit [*.net *.split]
davidtwco has quit [*.net *.split]
scott has quit [*.net *.split]
shlevy has quit [*.net *.split]
vdemeester has quit [*.net *.split]
mingc has quit [*.net *.split]
globin has quit [*.net *.split]
c00w has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
angerman has quit [*.net *.split]
chrisaw has quit [*.net *.split]
globin has joined #nixos-dev
primeos has joined #nixos-dev
c00w has joined #nixos-dev
zimbatm has joined #nixos-dev
elvishjerricco has joined #nixos-dev
mingc has joined #nixos-dev
morgib has joined #nixos-dev
davidtwco has joined #nixos-dev
rajivr___ has joined #nixos-dev
andi- has joined #nixos-dev
nix-build has joined #nixos-dev
{^_^} has quit [Remote host closed the connection]
michaelpj has joined #nixos-dev
angerman has joined #nixos-dev
alienpirate5 has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
worldofpeace has joined #nixos-dev
ma27[m] has joined #nixos-dev
lopsided98 has joined #nixos-dev
chrisaw has joined #nixos-dev
drakonis has joined #nixos-dev
nwspk has joined #nixos-dev
vdemeester has joined #nixos-dev
scott has joined #nixos-dev
fadenb has joined #nixos-dev
shlevy has joined #nixos-dev
vdemeester has joined #nixos-dev
vdemeester has quit [Changing host]
chrisaw has joined #nixos-dev
chrisaw has quit [Changing host]
scott has joined #nixos-dev
scott has quit [Changing host]
vdemeester is now known as Guest19806
scott is now known as Guest4964
drakonis2 has quit [Ping timeout: 252 seconds]
drakonis2 has joined #nixos-dev
Guest4964 has quit [Changing host]
Guest4964 has joined #nixos-dev
Guest4964 has joined #nixos-dev
Guest4964 is now known as scott
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 276 seconds]
drakonis2 has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
drakonis_ has quit [Ping timeout: 248 seconds]
drakonis_ has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
<flokli>
timokau[m]: that bisect script isn't really meant for when you want to nix-build my/file.nix -A some-attribute, right?
<flokli>
also, I don't really get when it returns the "git bisect skip" exit code…
<flokli>
in my case, I'm bisecting nixpkgs itself
<flokli>
and have a test as attribute, success can act a "good", on a failing test I need to poke at the output whether it's bad or skip. and I definitely want to skip if some dependency of that test fails to build.
jtojnar has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos-dev
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
vika_nezrimaya has joined #nixos-dev
jtojnar_ has joined #nixos-dev
jtojnar has quit [Ping timeout: 272 seconds]
jtojnar_ is now known as jtojnar
<timokau[m]>
flokli: It doesn't currently support passing a nix file, it just uses the `default.nix` (calls `nix-instantiate -A <what you pass as a flag>`)
<timokau[m]>
As I said its very raw, don't judge me on the code quality ;) Only published it since infinisil had interest of going in the same direction
<timokau[m]>
flokli: Yes, a failing dependency leads to skip
<timokau[m]>
Basically, I instantiate the attr first. Then I build all its dependencies. If that fails, I skip. Then I build the actual attribute, monitoring the log lines. If the "failure line" is found, the bad exit code is returned. Otherwise "good" is returned on success, and I think on failure without the "failure line" it skips (though I'm not sure about that right now)
<flokli>
timokau[m]: no worries, it's a start :-) I'd also be interested in bringing this into shape, or building something based on the idea :-)
<timokau[m]>
flokli: Feel free to fork if you want to :) Biggest challenge I think is making it more polished while still retaining flexibility
<timokau[m]>
Currently I keep going back and hard-coding different behaviour if I need it
<domenkozar[m]>
anyone knows how to override stdenv for haskell mkDerivation? :)
orivej has joined #nixos-dev
<vika_nezrimaya>
quick, how to convert an integer to a string?
<vika_nezrimaya>
I forgot :9
<vika_nezrimaya>
:(
<infinisil>
domenkozar[m]: haskellPackages.override { stdenv = ... might work
<infinisil>
vika_nezrimaya: #nixos is meant for such questions, but it's toString
ixxie has joined #nixos-dev
<vika_nezrimaya>
infinisil: what's the line between these two?
<vika_nezrimaya>
I'm not getting it even after using NixOS for... a lot of time
<infinisil>
vika_nezrimaya: #nixos for questions normal users would ask, #nixos-dev for discussing development of nixpkgs/NixOS
<infinisil>
I guess domen's question would also be better in #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 244 seconds]
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos-dev
drakonis has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
WilliButz has quit [Quit: WeeChat 2.5]
WilliButz has joined #nixos-dev
<samueldr>
or, put in other words, #nixos-dev is for coordinating contributors for nixos/nixpkgs
<vika_nezrimaya>
oh great. I found which package has the "sed hanging while compiling with qemu-binfmt"
<vika_nezrimaya>
my machine has been pathetically burning electricity and heating my house for SEVERAL HOURS STRAIGHT on this one.
<vika_nezrimaya>
I'm ashamed of myself for not noticing it
<vika_nezrimaya>
Shame on me.
nix-build has quit [Remote host closed the connection]
{^_^} has joined #nixos-dev
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos-dev
domenkozar[m] has quit [Changing host]
domenkozar[m] has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.4]
<samueldr>
hey, peeps, just a quick reminder about how there's only 4 weeks left to submit to the CFP for nixcon 2019 :) https://cfp.nixcon.org/nixcon2019/cfp
<gchristensen>
yikes
<gchristensen>
what should I talk about?
<samueldr>
anything is possible, with zombo.com^W nixos
<samueldr>
(though, it's a good title for some introductory thing I guess)
<pie_>
Hm. Yeah, I can't find where the tarball functionality of nix-build is originally implemented.
<drakonis>
the shell script that drives nixos-rebuild still hasn't been updated for flakes, right?
<gchristensen>
right.
<gchristensen>
since flakes isn't even in master, it'd be a bit prematuer :)
<drakonis>
of course, but no such thing as fork eh?
<gchristensen>
maybe on the edolstra fork
<drakonis>
not there yet, no
<emily>
if I'm packaging something with `buildPythonApplication` that isn't really useful as a library, should it still go in nixpkgs.pythonPackages, or directly in nixpkgs?
<emily>
the other problem I'm running into packaging this is "Usage: /nix/store/zjyhpczk59j6v7qgncxwx7qi9yyi0rc6-stm32loader-0.5.0/bin/stm32loader" in help output -- should `sys.argv[0]` uses be patched to be less ugly or is this not a big deal?
<gchristensen>
I find it impossible to believe that grub has been broken for four monhts
<samueldr>
gchristensen: I think it is, for some conditions
<samueldr>
(is possible, not provably broken)
jtojnar has joined #nixos-dev
<samueldr>
and I think it's all about /boot on ESP or /boot on main FS
<samueldr>
but dang it, haven't had time to investigate :/
<pie_>
emily well now you have me thinking hard about something rather inconsequential :V
justanotheruser has quit [Ping timeout: 244 seconds]
<drakonis>
i have a tiny ESP (gee thanks windows)
<drakonis>
i'm going to resize it to 500mb for good measure
<pie_>
emily id be tempted to dirname it but diverging from upstream is bad ._.
<samueldr>
btw, I'm not saying "those with /boot out of esp are doing it wrong", no, far from it, /boot outside of esp should be supported
<samueldr>
but we might not have had the right tests around
<emily>
pie_: it also does ./%s % argv[0]
<emily>
which simultaneously makes me want to fix it more but also care about fixing it less
<gchristensen>
it sounds like we should have a tracking issue with as many details as we can get
<drakonis>
fedora does a 1gb ESP and debian definitely provides the option
<pie_>
emily not sure wh-wait wait
<pie_>
*wait what
jtojnar has quit [Client Quit]
<drakonis>
the current solution is to bisect grub 2.4 or run systemd-boot
<pie_>
emily does that relativize an absolute path
<drakonis>
but the latter is a big issue if your ESP isn't large
<emily>
no it just spits out .//nix/store/...
<emily>
but like it's broken everywhere so whatever
<pie_>
emily yeah thats what i meant. ow.
<pie_>
emily sounding like an upstream bug report there
<emily>
yeah
<drakonis>
i'll just clone nixpkgs and bisect
<samueldr>
drakonis: bisecting grub, right?
<drakonis>
yeah
<gchristensen>
how long does grub take to build?
<samueldr>
not long I think
<drakonis>
its a pile of shell
<samueldr>
like 8 minutes?
<gchristensen>
cool
<samueldr>
and it's pretty leafy
<samueldr>
changing it doesn't cause a lot of rebuilds
<gchristensen>
cool.
<gchristensen>
if necessary I can provide a builder to help
<samueldr>
drakonis: amazing, if the commit [range] can be pinpointed, at the very least, that would be so much help
<samueldr>
>> /* hackage-packages.nix is an auto-generated file -- DO NOT EDIT! */
<infinisil>
I have a feeling this will be problematic with the current structure of ofborg though
<gchristensen>
peti will be unhappy
<samueldr>
I didn't see the actual diff, though, did you change the file?
<gchristensen>
infinisil: shouldn't be so hard.... hmm
<gchristensen>
I wish I could spend more hours on this stuff.
<infinisil>
samueldr: I also pushed commits that make those changes apply in the new auto-generations
<gchristensen>
nights/weekends/few-days-a-month goes by fast.
<samueldr>
right, then don't mind me :)
<worldofpeace>
we had to edit it for gdk-pixbuf name change, so i'd think it should be fine.
<infinisil>
gchristensen: So much cool stuff to build, yet so little time
<gchristensen>
so true
<gchristensen>
helping this community gives me life
<emily>
hmm, I'm guessing the syncthing error ofborg is giving for https://github.com/NixOS/nixpkgs/pull/66497 is some other master brokenness and not anything to do with my PR... >_>