gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
_rvl has joined #nixos-dev
ydlr has joined #nixos-dev
goibhniu has quit [Ping timeout: 244 seconds]
lassulus_ has joined #nixos-dev
aanderse has joined #nixos-dev
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-dev
ydlr has quit [Remote host closed the connection]
<samueldr> ran the script on tonight's state
<samueldr> with that, I can see things like perl Module-Build-XSUtil being a root cause of 103 darwin issues :o
<samueldr> (I believe some of those are in staging)
pie_ has quit [Ping timeout: 240 seconds]
<infinisil> samueldr++
<{^_^}> samueldr's karma got increased to 20
<samueldr> tomorrow I'll index the failures to get a count
<samueldr> it may be my not knowing hydra, but are there interfaces in hydra showing better integrated information like that?
<samueldr> I'm feeling my scraping loses semantics that hydra internally knows, and it probably would be better to implement some of the features inside hydra
<infinisil> If it exists, I've never seen it
<samueldr> (well, I *know* my scraping loses semantics)
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
_rvl has joined #nixos-dev
pie_ has joined #nixos-dev
<ekleog> (triage) looks ready to merge https://github.com/NixOS/nixpkgs/pull/46028 (and potentially backport to 18.09 as it's a new package)
<{^_^}> #46028 (by e-user, 4 days ago, open): semodule-utils: init at 2.7
funkmybios has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
<Enzime> what's up with the nixpkgs:trunk:tarball build?
<Enzime> seems like it's been broken for a few days
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
<funkmybios> so having got my first nixos install up, it really needs two things - the first is a user config file which can be automated, the second is a user install script, so that when I boot from USB it can include a userconfig.txt and run a userinstall.sh from NIXOS_ISO
<funkmybios> then we can have automated custom distro's/installs
<andi-> people alreayd do that..
<andi-> you can easily customize the installation media since it is just a nix expression
<funkmybios> so then I have to go back and rewrite the scripts for the installation media ... instead of just having to add a package list and and an install script to the ISO
<andi-> well thats baiscally what you do either way, You will have to rebuild the installer image.
<andi-> Unless you plan on asking people to modify the iso after the fact and add files there.. Which wouldn't be very nix-ish IMHO
<funkmybios> well who uses DVD installs these days ? and USB lets you just add in ...
<andi-> I'd strongly argue for a nix expression because you can reproduce and update the system without manual modifications..
<LnL> and what will add in the extra files? :)
<andi-> while this is for PXE it is a good example on how to do automated installs with different config sets etc..: https://github.com/grahamc/packet-provision-nixos-ipxe/blob/master/default.nix#L5
<funkmybios> yes PXE is great, will look at that next. but suppose you wanted to set up a lab for students, you would want to include the standard packages such as gcc etc, but the students would have to add their own pgp keys and identities to the USB drive.
<andi-> In that case I'd maybe go for a version that supports downloading the initial (aditional) config bits via HTTPs? Like a cmdline flag to the installer? `userconfig=https://studentfoo.university.local/student-123123.nix`
orivej has joined #nixos-dev
<funkmybios> so thats still forcing me to do a custom distro instead of just having an include in the ISO
<funkmybios> in principle I quite like the project, but my linux boxes these days are diskless, and its a long time since I did LFS builds ...
<goibhniu> hi funkmybios, I think you'll have a better response on #nixos
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos-dev
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos-dev
<domenkozar> so er, how do I pass quoted string to go builder
<domenkozar> aa
<domenkozar> flag provided but not defined: -tags 'systemd cpython process ec2 log'
<domenkozar> usage: go install [-i] [build flags] [packages]
<domenkozar> how hard can it be?
<domenkozar> really hard :D
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
<domenkozar> any ideas how to quote in bash?
<domenkozar> >.<
orivej has quit [Ping timeout: 252 seconds]
<samueldr> you need an array in bash
<samueldr> well, you can use an array instead
<samueldr> » buildFlags=( "-tags" "ec2 systemd cpython process log" ); printf "1: '%s' 2: '%s' 3: '%s'\n" "${buildFlags[@]}"
<samueldr> but I don't know how to apply that in nix :/
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos-dev
funkmybios has quit [Ping timeout: 252 seconds]
orivej has joined #nixos-dev
<samueldr> Mic92_: are you using a tool for your cherry-picks for the messages you leave in PRs?
orivej has quit [Ping timeout: 252 seconds]
pie__ has joined #nixos-dev
pie_ has quit [Ping timeout: 252 seconds]
<clever> STDERR: Can't locate JSON.pm in @INC (you may need to install the JSON module)
<clever> cant get hydra master to build, i do see a JSON/ in the @INC path i prints
zimbatm has joined #nixos-dev
<domenkozar> samueldr: yeah
<domenkozar> well I don't need nix actually
<sphalerite> samueldr: git cherry-pick -x I think?
<samueldr> sphalerite: I wondered if the comments were automated ot just copy/pasting
<sphalerite> ooooh right
<samueldr> because yeah, cherry-pick -x is mandatory as per the contributors guide ;)
<sphalerite> that looks like the stdout of git cherry-pick I think?
<samueldr> yeah, which is what makes me think it could be a simple copy/paste, but I was wondering if he were working a tooling that could somehow do more with less work :)
<sphalerite> xsel :p
<Mic92_> samueldr: not yet. I thought about extending either nix-review or do something. at the moment I just use git backport, which is just an alias on `git cherry-pick -x`
<Mic92_> *do something seperate.
<Mic92_> Ideally ofborg could do some of the steps.
<samueldr> yeah
<samueldr> thanks, just checking since I'm always thinking about doing things to automate processes :)
<Mic92_> samueldr: you can use `git merge-base` to get the HEAD of a pull request: https://github.com/Mic92/nix-review/blob/master/nix_review/review.py#L113
<Mic92_> not the HEAD of a pull request, but the commit where the branch was created from. This can be used to find all commits that were added.
<samueldr> nice, so you can use `merge-base`...`PR_HEAD` to figure out all commits I guess
<samueldr> (I never remember which of .. or ... to use, I should read the fine manual)
sir_guy_carleton has joined #nixos-dev
<Mic92_> yes
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
<clever> bisecting nixpkgs now, to see why hydra master cant build
jtojnar has quit [Client Quit]
jtojnar has joined #nixos-dev
jtojnar has quit [Client Quit]
jtojnar_ has joined #nixos-dev
orivej has joined #nixos-dev
goibhniu has quit [Ping timeout: 240 seconds]