seanz has quit [(Quit: Leaving.)]
matthewbauer has joined #nixos
matthewbauer has quit [(Ping timeout: 268 seconds)]
pstn_ has joined #nixos
x1n4u_ has joined #nixos
<x1n4u_> hi
<x1n4u_> i've got a question how can i always update to the latest kernel
<x1n4u_> i'am on the nix unstable channels
<x1n4u_> i'am on the nix unstable channels
Wizek has joined #nixos
<pstn_> somebody here with radeonsi and Opengl > 2.1 on unstable?
<pstn_> Or somebody who can help me understand why I'm stuck on 2.1?
x1n4u_ has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 245 seconds)]
Shou has quit [(Ping timeout: 250 seconds)]
erasmas has quit [(Quit: leaving)]
saintromuald has quit [(Ping timeout: 244 seconds)]
saintromuald has joined #nixos
markus1199 has joined #nixos
goodwill has quit [(Ping timeout: 246 seconds)]
markus1189 has quit [(Ping timeout: 268 seconds)]
goodwill has joined #nixos
matthewbauer has joined #nixos
<Biappi> jesus christ, gtk3.
eacamero_ has joined #nixos
<simpson> Amen.
matthewbauer has quit [(Ping timeout: 256 seconds)]
eacameron has quit [(Ping timeout: 256 seconds)]
angerman has joined #nixos
pstn__ has joined #nixos
mkoenig has quit [(Ping timeout: 250 seconds)]
ak5 has quit [(Quit: WeeChat 1.6)]
thc202 has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
pstn__ has quit [(Remote host closed the connection)]
mkoenig has quit [(Read error: Connection reset by peer)]
pstn_ has quit [(Ping timeout: 244 seconds)]
<NixOS_GitHub> [nixpkgs] qknight opened pull request #20780: updated rustBeta & rustNightly; renamed rustUnstable to rustNightly (master...experimentalUpdate) https://git.io/v1tD2
AllanEspinosa has quit [(Ping timeout: 250 seconds)]
mkoenig has joined #nixos
pstn_ has joined #nixos
NEo4v8_ has joined #nixos
<NixOS_GitHub> [nixpkgs] abuibrahim opened pull request #20781: haskellPackages.barrier: jailbreak (master...master) https://git.io/v1tyV
griff_ has joined #nixos
matthewbauer has joined #nixos
NEo4v8_ has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] abuibrahim opened pull request #20782: haskellPackages.barrier: jailbreak (release-16.09...release-16.09) https://git.io/v1ty5
mkoenig has joined #nixos
pstn_ has quit [(Ping timeout: 260 seconds)]
yegods has quit [(Remote host closed the connection)]
mkoenig has quit [(Remote host closed the connection)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
<NixOS_GitHub> [nixpkgs] chris-martin closed pull request #17392: Fake wget (master...fake-wget) https://git.io/v6eJ0
lverns has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] chris-martin closed pull request #18928: Create top-level fonts namespace (master...fonts) https://git.io/viAG8
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<Biappi> does "propagatedBuildInputs" work for stdenv.mkDerivation?
echo-area has joined #nixos
takle has quit [(Ping timeout: 250 seconds)]
marusich has joined #nixos
AllanEspinosa has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 260 seconds)]
shanemikel has joined #nixos
<shanemikel> is there a way to use ghcWithPackages (as described in the nixpkgs manual) with ghcHEAD?
angerman has quit [(Quit: Gone)]
wink has quit [(Ping timeout: 258 seconds)]
wink has joined #nixos
zagy has joined #nixos
zagy has quit [(Client Quit)]
<shanemikel> oh, I got it working... but I was confused because `nix-env -f '<nixpkgs>' -qaP -A haskell.packages.ghc801` lists packages, where `nix-env -f '<nixpkgs>' -qaP -A haskell.packages.ghcHEAD` gives an error about a missing parameter
mbrgm has quit [(Ping timeout: 250 seconds)]
mbrgm has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #20784: puddletag: 1.1.1 -> 1.2.0 (master...u/puddletag) https://git.io/v1td6
<gchristensen> garbas: good :D
pacman99 has joined #nixos
Wizek has quit [(Ping timeout: 265 seconds)]
griff_ has quit [(Quit: griff_)]
Rotaerk has joined #nixos
hexagoxel has quit [(Ping timeout: 240 seconds)]
nh2_ has quit [(Quit: Leaving.)]
<shanemikel> anybody have experience with this? encountered missing libraries: template-haskell >=2.8 && <2.12
<shanemikel> I read somewhere about artificially restrictive constraints?
eacamero_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
hexagoxel has joined #nixos
NEo4v8_ has joined #nixos
eacameron has quit [(Ping timeout: 250 seconds)]
NEo4v8_ has quit [(Ping timeout: 260 seconds)]
redmq has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
rui2 has quit [(Ping timeout: 246 seconds)]
rardiol has joined #nixos
eacameron has quit [(Ping timeout: 250 seconds)]
yegods has joined #nixos
griff_ has joined #nixos
angerman has joined #nixos
yegods has quit [(Ping timeout: 250 seconds)]
angerman has quit [(Client Quit)]
eacameron has joined #nixos
NEo4v8_ has joined #nixos
offlinehacker has quit [(Read error: Connection reset by peer)]
griff_ has quit [(Quit: griff_)]
viric has joined #nixos
viric_ has quit [(Ping timeout: 260 seconds)]
offlinehacker has joined #nixos
viric has quit [(Ping timeout: 258 seconds)]
viric has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
primeos has quit [(Ping timeout: 264 seconds)]
viric_ has joined #nixos
viric has quit [(Ping timeout: 260 seconds)]
primeos has joined #nixos
PragCyphr has joined #nixos
mguentner has joined #nixos
PragCyph1 has quit [(Ping timeout: 250 seconds)]
glines has joined #nixos
shanemikel has quit [(Quit: Textual IRC Client: www.textualapp.com)]
pacman99 has quit [(Ping timeout: 260 seconds)]
redmq has joined #nixos
redmq has quit [(Ping timeout: 240 seconds)]
mguentner has quit [(Ping timeout: 260 seconds)]
angerman has joined #nixos
glines has quit [(Ping timeout: 248 seconds)]
mguentner has joined #nixos
systemfault has quit [(Quit: Bye!)]
wkennington has joined #nixos
yodeler has quit [(Remote host closed the connection)]
stepcut has quit [(Remote host closed the connection)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
redmq has joined #nixos
NEo4v8_ has quit [(Ping timeout: 256 seconds)]
AllanEspinosa has quit [(Ping timeout: 250 seconds)]
proteus-guy has quit [(Ping timeout: 258 seconds)]
xadi has joined #nixos
ebzzry has quit [(Ping timeout: 246 seconds)]
xadi has quit [(Client Quit)]
ebzzry has joined #nixos
zagy has joined #nixos
zagy has quit [(Client Quit)]
redmq has quit [(Ping timeout: 245 seconds)]
<eacameron> If my hardware changes underneath a nixos system do I need to tell it to rescan somehow?
zagy has joined #nixos
stepcut has joined #nixos
<angerman> eacameron does your nix configuration change?
<eacameron> angerman: I'm actually running it in a VM and I changed some VM settings to increase perf...but it doesn't seem any faster.
<eacameron> angerman: I'm not actually sure if my configuration changed. I'll look.
rui2 has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
Leer10[m] has left #nixos ["User left"]
ebzzry has quit [(Ping timeout: 260 seconds)]
uralbash has joined #nixos
uralbash has quit [(Read error: Connection reset by peer)]
newhoggy_ has joined #nixos
jensens has joined #nixos
newhoggy2 has quit [(Ping timeout: 258 seconds)]
ryanartecona has joined #nixos
newhoggy_ has quit [(Ping timeout: 258 seconds)]
redmq has joined #nixos
ryanartecona has quit [(Client Quit)]
ToxicFrog has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] ericsagnes opened pull request #20785: groonga: 6.1.0 -> 6.1.1 (master...pkg-update/groonga) https://git.io/v1qvi
yegods has joined #nixos
FRidh has joined #nixos
redmq has quit [(Ping timeout: 256 seconds)]
jacob_ has joined #nixos
jacob_ is now known as Guest73281
yegods has quit [(Ping timeout: 245 seconds)]
michiel_l has quit [(Quit: No Ping reply in 180 seconds.)]
michiel_l has joined #nixos
Mercuria1Alchemi has joined #nixos
copumpkin has joined #nixos
proteus-guy has joined #nixos
lonokhov has joined #nixos
<lonokhov> o/
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1qfF
<NixOS_GitHub> nixpkgs/master 66fb5ac Peter Hoeg: puddletag: 1.1.1 -> 1.2.0
<NixOS_GitHub> nixpkgs/master a1b7c94 Frederik Rietdijk: Merge pull request #20784 from peterhoeg/u/puddletag...
<lonokhov> where in nixpkgs systemd services are implemented? I'm trying to figure out how it works and manual does not have that much info
Rotaerk has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1qfN
<NixOS_GitHub> nixpkgs/master 96dfd01 Eric Sagnes: groonga: 6.1.0 -> 6.1.1...
<NixOS_GitHub> nixpkgs/master 09aabb6 Frederik Rietdijk: Merge pull request #20785 from ericsagnes/pkg-update/groonga...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1qfp
<NixOS_GitHub> nixpkgs/master 1ac1d93 Tim Steinbach: atom: 1.12.5 -> 1.12.6
<NixOS_GitHub> nixpkgs/master a344b55 Frederik Rietdijk: Merge pull request #20778 from NeQuissimus/atom_1_12_6...
NEo4v8_ has joined #nixos
zagy has quit [(Quit: Leaving.)]
katyucha has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
pi3r has joined #nixos
<lonokhov> Oh, found it nixos/modules/system/boot/systemd-unit-options.nix
NEo4v8_ has quit [(Ping timeout: 248 seconds)]
edvorg has joined #nixos
<echo-area> Where can I find document of builtin functions, e.g. findFile?
<c74d> although I don't see a `findFile` in there
<echo-area> c74d: Yeah, I searched through that manual but didn't find it
<echo-area> And `builtins.findFile "nixpkgs"` returns «primop-app» which is not very helpful
<c74d> I guess you should file an issue report about it being undocumented
<c74d> against <https://github.com/NixOS/nix> I suppose
<echo-area> Maybe it is not supposed to be used by end-users
<echo-area> I reached there because I wanted to know what `-f "<nixpkgs>"` meant and I read nix-env's source code
<echo-area> I'll decide whether to file an issue when I understand more of it. Thanks
FRidh has quit [(Remote host closed the connection)]
jensens has quit [(Ping timeout: 252 seconds)]
jgertm has quit [(Remote host closed the connection)]
<mbrgm> what's the preferred way for downloading the sources of a nixpkg? fetchurl > fetchfromgithub etc.?
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<c74d> mbrgm: the fetchFrom* functions are wrappers around fetchurl, so I would think that the fetchFrom* functions would be preferred over fetchurl
NEo4v8_ has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
zagy has joined #nixos
civodul has joined #nixos
<clever> echo-area: it wants a list and the thing to find
jgertm_ has joined #nixos
<clever> echo-area: nix-repl> builtins.findFile builtins.nixPath "nixpkgs"
<echo-area> clever: nix is dynamic-typed?
<clever> numbers wont just magicaly turn into strings, but argument types dont have a defined type either
<clever> 5 + "10" is invalid, so we dont have another javascript on our hands
<echo-area> I see, but in that function `state` is checked to be attrs at runtime
systemfault has joined #nixos
<clever> echo-area: state is an internal part of the evaluator, its not one of the variables passed to findFile
pi3r has quit [(Ping timeout: 256 seconds)]
<echo-area> Oops I actually meant `v2`, or the current element of the list
<clever> state.forceAttrs(v2, pos);
<clever> its forcing it from a lazy thunk to an attribute set, which can throw an exception if it isnt an attrset
<NixOS_GitHub> [nixpkgs] nico202 opened pull request #20786: mumudvb: init at 2.0.0 (master...mumudvb) https://git.io/v1qIk
<clever> but yeah, it is valid for a list to have a mix of types, [ 5 "10" { a=true; } ] is a list of 3 items
<clever> in this case, findFile requires that every entry is an attrset
<NixOS_GitHub> [nixpkgs] qknight pushed 1 new commit to master: https://git.io/v1qIm
<NixOS_GitHub> nixpkgs/master f67061c joachim schiele: (rustc-nightly) init at 2016-11-26 - precompiled rustc nightly binary
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v1qIG
<NixOS_GitHub> nixpkgs/master 80bee8f Tikhon Jelvis: Added a check to not run patchelf on Darwin systems.
<NixOS_GitHub> nixpkgs/master d90a294 Peter Simons: Merge pull request #20779 from TikhonJelvis/hadoop-darwin...
ebzzry has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #20782: haskellPackages.barrier: jailbreak (release-16.09...release-16.09) https://git.io/v1ty5
<NixOS_GitHub> [nixpkgs] peti closed pull request #20781: haskellPackages.barrier: jailbreak (master...master) https://git.io/v1tyV
pi3r has joined #nixos
<echo-area> clever: I reviewed the code, and understood it. Thanks
<clever> PathSet context; is another weird thing in nix that can be non-obvious
<clever> basicaly, every string in nix has context attached to it, which references which derivations the string may depend on
<clever> so if i make a string like "${pkgs.hello}", that has context that depends on a specific build of hello, but when cast to a string, it looks like "/nix/store/cjdj0d229a4d8cr872di5yvyrm65qg83-hello-2.10"
<clever> what you cant see, is that it also references /nix/store/ay9q989f0qwvrjjnn6pq5skc69rlmkmc-hello-2.10.drv
<clever> and in this case, findFile will try to compile everything the string depends on, at line 811
_gilligan_ has joined #nixos
<clever> but normaly, those contexts get routed back to another derivation, and become its build-time dependencies
<lewo> Hi. I'm looking for some helps regarding openstack modules. A test script boots a nested VMs and show networking is working. We are now able to boot a small cloud on our laptop ;)
<lewo> If someone could please have a look to https://github.com/NixOS/nixpkgs/pull/19529
<echo-area> clever: The "root" derivation being <nixpkgs>/default.nix?
<clever> echo-area: <nixpkgs>/default.nix doesnt actualy contain a derivation, it returns an attribute set full of derivations
<clever> echo-area: but in some weird cases, the path list given to findFile may contain a derivation
proteus-guy has quit [(Remote host closed the connection)]
<clever> echo-area: http://pastebin.com/w4WZyy0Z is something i was experimenting with yesterday, and i could put pkgs2 into the nix search path as-is
<clever> echo-area: and then if something uses findfile to find it, nix would automaticaly download the given revision of nixpkgs
rly has joined #nixos
proteus-guy has joined #nixos
FRidh has joined #nixos
<qknight> how to know if sandboxing is used? i've added: --option build-use-sandbox true to `nix-env` but don't know if it is actually used.
<qknight> do we have an easy target which fails in sandboxing early on?
<NixOS_GitHub> [nixpkgs] nico202 closed pull request #20786: mumudvb: init at 2.0.0 (master...mumudvb) https://git.io/v1qIk
<clever> qknight: https://github.com/cleverca22/nix-tests/blob/master/bare-env.nix this is a sample i made that shows sandboxing in action
<FRidh> qknight: write a derivation that copies a file from outside the store
<clever> qknight: and the txt of the same name shows you the expected output
<FRidh> or was that only with restricted eval, I forgot
derjohn_mob has quit [(Ping timeout: 260 seconds)]
jgertm_ has quit [(Ping timeout: 250 seconds)]
yegods has joined #nixos
copumpkin has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
yegods has quit [(Ping timeout: 268 seconds)]
fritschy has joined #nixos
goibhniu has joined #nixos
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
pi3r has joined #nixos
nh2_ has joined #nixos
Guest2999 has joined #nixos
pstn_ has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
systemfa_ has joined #nixos
<NixOS_GitHub> [nixpkgs] mikesperber opened pull request #20787: rPackages.DescTools does not require X (master...DescTools-does-not-require-X) https://git.io/v1qmF
takle has joined #nixos
systemfault has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
ixxie has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<echo-area> clever: Is there any way of investigating associated contexts of a string?
<echo-area> I can see that if the contexts of two strings are different, they are not equal
<clever> echo-area: not sure
<clever> echo-area: usualy you just ignore the contexts, and nix does its magic for you
<echo-area> There is only builtins.unsafeDisgardStringContext
<echo-area> Okay
takle has quit [(Ping timeout: 256 seconds)]
eacameron has joined #nixos
pstn_ has quit [(Ping timeout: 250 seconds)]
dgn has joined #nixos
eacameron has quit [(Ping timeout: 250 seconds)]
jgertm_ has joined #nixos
<srhb> What are the actual rules for allowed places for let..in?
<clever> srhb: i think it can go before any value
<clever> srhb: so you can do { foo = let bar = true in VALUE; } or { args }: let bar = true in VALUE
thc202 has joined #nixos
<kmicu> No rules.
viric has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
viric_ has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
RchrdB has joined #nixos
<ixxie> uurg, I just can't seem to understand how to load this package into my configuration https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome-3/extensions/workspace-grid.nix
<mbrgm> is there a place where all nix library functions are documented?
<ixxie> I tried putting gnome3.workspace-grid as well as gnome3.gnome-shell-workspace-grid
<ixxie> in systemPackages
<clever> ixxie: a quick grep says that it isnt referenced by any other file in nixpkgs
<clever> ixxie: so my first guess is pkgs.callPackage <nixpkgs/pkgs/desktops/gnome-3/extensions/workspace-grid.nix> {};
<ixxie> clever: I take it this is not how its supposed to be, and some work is in order on the way extensions are called in gnome? xD
Shou has joined #nixos
uralbash has joined #nixos
uralbash has left #nixos []
derjohn_mob has quit [(Ping timeout: 260 seconds)]
<clever> ixxie: yeah, id call this a bug
xadi has joined #nixos
<clever> ixxie: it was partialy deleted when gnome's default version got updated
<mbrgm> is there a place where all nix library functions are documented?
<clever> mbrgm: mostly in the source file lib.nix, and nixpkgs
<clever> (the nixpkgs manual)
<mbrgm> clever: I used the source files until now, but nixpkgs manual doesn't seem to have the entirety of functions. it isn't autogenerated like the configuration.nix manpage is, right?
<clever> mbrgm: yeah, the manual is just manualy edited
takle has joined #nixos
<mbrgm> clever: ok, thank you
<clever> i have noticed some man pages like nix-collect-garbage refer to arguments like --print-live, which only work on nix-store --gc
<clever> i often say, "luke, use the source", because the docs can lie :P
Shou has quit [(Ping timeout: 250 seconds)]
<qknight> http://nixpaste.lbr.uno/MaU_mTJG?nix <- i've this snippet nix code, how to evaluate it that nix-instantiate or nix-build actually creates a .drv i can execute using the store?
<qknight> i want to see if the download and hash also works
<clever> qknight: you should be able to just run nix-instantiate directly on that file
<ixxie> thanks Clever
<ixxie> do you know if Lethalman ever hangs out here?
<clever> ixxie: i saw him here a few days ago
<NixOS_GitHub> [nixpkgs] DerTim1 opened pull request #20788: Fix asterisk & asterisk: 13.6.0 -> 14.1.2 (master...asterisk) https://git.io/v1qc0
<clever> 2016-10-23 13:03:28-!- Lethalman [~lethal@185.51.73.86] has quit [Ping timeout: 244 seconds]
<ixxie> alright
<ixxie> what is this top-level file?
<qknight> clever: http://www.mergely.com/WU9rTS3m/ < the fixed version
_gilligan_ has quit [(Quit: This computer has gone to sleep)]
<ixxie> all-packages
<clever> ixxie: that contains nearly every package in nixpkgs
eacameron has joined #nixos
<ixxie> so its an index of sorts
<ixxie> its where the namespace is defined?
<clever> ixxie: its what creates the main pkgs attribute set
<qknight> nix-build default.nix -A a <- and i can evaluate it with this!
<qknight> how lovely!
<qknight> clever: why can't i use nix-instantiate?
<clever> qknight: the left version will call fetchurl on an attrset, the right version returns an attrset with fetchurl set to another attrset
_gilligan_ has joined #nixos
<clever> ah, i didnt notice that typo in the original paste
Shou has joined #nixos
yegods has joined #nixos
proteus-guy has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 250 seconds)]
<qknight> clever: nvm!
edvorg has quit [(Ping timeout: 244 seconds)]
iyzsong has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
<ixxie> Thats good to know clever, for a while I was thinking the set hierarchy was built from the directory/file hierarchy somehow
<clever> ixxie: only gentoo does that, heh
derjohn_mob has joined #nixos
NEo4v8_ has quit [(Read error: Connection reset by peer)]
NEo4v8_ has joined #nixos
sdothum has joined #nixos
filterfish has joined #nixos
rly has quit [(Ping timeout: 256 seconds)]
rly has joined #nixos
_gilligan_ has quit [(Quit: This computer has gone to sleep)]
Zvieratko has joined #nixos
<m`> hi! I'm trying to use a haskell package called Euterpea, unfortunately the following fails: nix-shell --pure -p "haskellPackages.ghcWithPackages (p: [p.Euterpea ])"
<Zvieratko> hi, good people of the internet :)
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<Zvieratko> question - is there a way to install NixOS unattended? (foreman, pxeboot...)
m` has joined #nixos
<m`> hi! I'm trying to use a haskell package called Euterpea,
<m`> unfortunately the following fails: nix-shell --pure -p
<m`> "haskellPackages.ghcWithPackages (p: [p.Euterpea ])"
<clever> Zvieratko: the main way i can think of right now, is to setup something that will install a base image (with ssh and some credentials to login), and then use nixops with the targetenv of "none" to deploy
<m`> (sorry for the mis-indentation)
[0x4A6F] has joined #nixos
<m`> after some downloading and seemingly successfull compiling I get this in the end: http://pastebin.com/ZZmruYtX
<Zvieratko> clever: yeah, but the "base image" is what I'm after :) maybe if I could pass a configuration.nix via PXE that could be made to work...
<Zvieratko> or is there something like "debootstrap" for nixos? I could work around that..
<Zvieratko> (i.e. boot some other installer like ubuntu with my own payload, "debootstrap" nixos, chroot and do the magic..)
<clever> Zvieratko: you can run nixos-install from a script, and there are utils in nixpkgs to build an image that has a script built into it
<Zvieratko> clever: I need one image for all machines, scripts will be autogenerated by foreman (or some other)
<Zvieratko> clever: I can't really build image for all machines
<clever> Zvieratko: https://github.com/cleverca22/nix-tests/blob/master/example.nix and nix-build '<nixpkgs/nixos>' -I nixos-config=./example.nix -A config.system.build.example
echo-area has quit [(Remote host closed the connection)]
<Zvieratko> or let me rephrase the question - how would you go about automated installation for hundreds of machines? (some physical, some virtual)
<clever> Zvieratko: this would generate an image based on the that config
<clever> Zvieratko: with some minor tweaks, you could use that image as an installation media
<clever> so a system boots the image over the network, and the image will automaticaly format the host, run nixos-install, and reboot
<Zvieratko> clever: image is not really the same - I need to partition the machines (encrypt, partition, mkfs...), give them networking (on the fly) etc.
<Zvieratko> clever: i'll take a look at it then, thanks!
<clever> yeah, the image would do that
<clever> treat the image from example.nix more as an ISO then the final product
proteus-guy has joined #nixos
<Zvieratko> clever: good, but still would be great to be able to "feed" it configuration somehow
phreedom has quit [(Remote host closed the connection)]
<Zvieratko> clever: are you familiar with foreman?
<clever> yeah, nixops is better at pushing the config out to a machine, once it has nixos
<Zvieratko> clever: chicken'n'egg :)
<clever> Zvieratko: http://nixos.org/nixops/
<clever> so you could use the example.nix image to format and install a bare-bones nixos
<clever> same config for all
<manveru> is there an easy way to go from [["a" "b"] ["c" "d"]] to {"a" = "b"; "c" = "d"}?
<clever> then nixops will deploy the final config
<clever> manveru: yeah, one sec
<Zvieratko> clever: saw nixops, but no libvirt support and no support for physical machines
<Zvieratko> clever: and I don't want another management tool, I already have way too many :)
<clever> Zvieratko: physical machine support is thru the targetenv of "none", which just ssh's into a given machine and applies the config
<Zvieratko> clever: the problem is I can't use the same config, and that's the beauty of using foreman
<clever> and other stuff has to actualy bring the machine up
<Zvieratko> clever: right now, foreman boots "discovery" image, which fills parameters like available disks, NICs, etc., it knows where physicaly the host is (because it has different subnets in different locations), and then when I click "provision" I can select which disks will be used for RAID, which NICs will have what config etc... each machine could be slightly or completely different
<manveru> i saw listToAttrs, but it's a bit weird that i fist have to make a list of attrs... maybe fold is better?
<clever> Zvieratko: ah, neat, sounds similar to something i have planned
<Zvieratko> clever: this generates kickstart config which installs the machine, reboots, and then puppet takes over
<clever> manveru: map, almost done this example
<clever> nix-repl> :p builtins.listToAttrs (map (e: { name = builtins.elemAt e 0; value = builtins.elemAt e 1; }) [["a" "b"] ["c" "d"]])
<clever> { a = "b"; c = "d"; }
<clever> manveru: and done!
<Zvieratko> clever: it would be pretty simple to integrate nixos, all that's needed is an "installed" image (vmlinuz/initrd for example) which you "feed" configuration that gets generated
<Zvieratko> s/installed/installer/
<clever> Zvieratko: one of the side-projects i'm working on is an html5 gui for nixos-install, with the option for an RPC
<clever> Zvieratko: so you can just boot an image that has this project running on bootup, and a central box can take over and make it install things
<manveru> thanks, will try that
<Zvieratko> clever: RPC would be a problem (at least with foreman)
<Zvieratko> clever: for example for kickstarting ubuntu there's a "template" in foreman, which is in fact a script that outputs something, so you can customize it however you want, and the ubuntu installed fetches the output of this template during install over PXE (http, tftp...)
<Zvieratko> clever: so maybe just adding support to fetch "configuration.nix" from URL passed in cmdline would be enough?
<Zvieratko> clever: that would be pretty much universal for anything
<clever> Zvieratko: that is one of the things i had planned
<clever> Zvieratko: one mode of operation would be to give it a tar or git url, containing the full config and partition layout
<clever> and then it just goes whatever the files told it to do
<Zvieratko> clever: sounds good :)
newhoggy2 has joined #nixos
<clever> Zvieratko: https://github.com/cleverca22/nixos-installer is the github page for it
<Zvieratko> clever: I guess for now I could just untar an image and chroot, then reboot
<Zvieratko> i'll give it some more thought
<clever> Zvieratko: the nixos-install script does something similar
<clever> Zvieratko: it will basicaly rsync a copy of nix (and its dependencies) into the root, and register them as valid in nix.db, then configure it so it can leech from /nix/store of the host (like a 2nd binary cache)
<Zvieratko> clever: saw that, but that depends on fetching lots of stuff from the repo, right?
<clever> Zvieratko: then it just runs nix-build under the chroot
<Zvieratko> clever: usable, but I'll have to make it more self-contained
<clever> if the host has something, it just copies it over, if not, it tries the binary cache, and just compiles whatever is missing
__Sander__ has joined #nixos
<clever> and you can pre-build the images and embed them into the host as well
<Zvieratko> cool
<clever> nix-build '<nixpkgs/nixos>' -I nixos-config=./configuration.nix -A config.system.build.toplevel
<Zvieratko> well, the "host" would be just a ubuntu installer ramdisk or something like that
<clever> things go smoother if the host is also nixos, using another distro isnt officialy supported
<clever> the above command would build a given configuration.nix file, so its already present in /nix/store for later use
<Zvieratko> clever: well... I could export the block device for rootfs over NBD to another host and install it from there... :)) that would be a neat hack
<Zvieratko> clever: but not really something sustainable :)
<clever> Zvieratko: i do have my laptop booting over iSCSI as we speak
<clever> complete with grub in the MBR of the iSCSI device
<Zvieratko> clever: cool :)
<Zvieratko> clever: but I'd have to integrate it into a working stack(s), I guess I'll wait a little more before deploying nixos then :)
<Zvieratko> clever: I need to do something more special, and it's complicated enough just with Ubuntu... :)
<clever> on related subjects, i have also made nixos consume a gentoo install twice
<clever> without booting install media or repartitioning
<clever> i just ran the nix-build command above, and then forced it to update the MBR and keep using the same rootfs
stkj has joined #nixos
<Zvieratko> clever: I did it the other way around - switched from Debian to Gentoo on a live system... :)
<goibhniu> Zvieratko: maybe nixos-assimilate is also interesting for you: https://github.com/NixOS/nixpkgs/issues/2079
<Zvieratko> clever: or maybe it was Fedora.. :)
<clever> Zvieratko: the first time i did it, was as an experiment, and because i cant put a cd drive into my netbook, lol
<clever> the second time, i was on the road, and all i had was half a gentoo system (most of it had been mv'd out to the NAS, and i didnt have time to finish)
<Zvieratko> goibhniu: I saw that, but I'd have to "teach" it stuff like LUKS encrypted ZFS for root, TPM usage during boot etc... It's not hard to do on a running system, but almost impossible for installers :/
<Zvieratko> clever: tha same happened to me :) my laptop died (or rather I b0rked it), so I had to boot into single mode, connect with laplink cable to a friends laptop and copy his installation over... but that was with Redhat 5 or something like that :))
<avn> Zvieratko: also nixos-in-place script can be interesting for you (but I can't remember url)
<clever> Zvieratko: in my case, all it had left was a nix-build copy from 2015 and a few shreds of init.d that could still boot
<Zvieratko> thanks all for the tips, I'll do some more studying, but I'm afraid I really need to have a smart enough installer for this
<clever> i was able to update it to nixos 32bit, and then with a few more tweaks, 64bit-ize it
<Zvieratko> clever: nowadays I store a few ISOs in /boot for rescue :)
<clever> heh
<clever> the /boot on my NAS is <64mb
<Zvieratko> clever: still enough for debian installer I think :)
<Zvieratko> clever: linux16 /memdisk iso
<Zvieratko> initrd16 /images/fwj949usa.iso
<Zvieratko> something like that
<clever> heh, didnt think they could get that small, but i am working on a ~40mb nixos installer image
<Zvieratko> btw there was a cool project from fedora, where you just booted an gPXE image which could boot anything from the net, I'll look it up
<Zvieratko> clever: https://boot.fedoraproject.org take a look at this
viric_ has joined #nixos
<clever> Zvieratko: nixos has something similar, one sec
m` has quit [(Ping timeout: 260 seconds)]
<Zvieratko> clever: that looks good!
<clever> that basicaly gives you the same env as if you had booted from a CD
<clever> so you then partition and nixos-install as normal
<Zvieratko> clever: now I just need to feed it configuration for unattended install :)
<clever> you could just use a bash script that fdisks's /dev/sda, formats, mounts, copies configuration.nix in, and runs nixos-install
viric has quit [(Ping timeout: 246 seconds)]
<Zvieratko> clever: yeah
<Zvieratko> clever: but I need to generate that on the fly somehow
<Zvieratko> clever: usually you can simply concat your own initramfs to existing initramfs and it will create an overlay, that way you can customize whatever you want, but I can't generate something like that during the host's boot - all I can do is prepare it and wget the configuration afterwards... probably too much work for me (for now)
<clever> Zvieratko: filename "http://c2d.localnet/boot.php?mac=';'${net0/mac}&asset=''${asset:uristring}";
<Zvieratko> clever: what's that? :)
<clever> Zvieratko: this is part of my dhcp config, it tells ipxe to fetch its config file over http, and to embed its mac addr into the query
<clever> in theory, the php code could generate a new initrd (concat the base, and config), while stalling
<Zvieratko> clever: foreman does something like that
<clever> then spit out the ipxe script that refers to the newly made file
<Zvieratko> clever: doable :) a bit hackish for me to integrate here...
ixxie has quit [(Ping timeout: 260 seconds)]
<clever> here is my current boot.php: http://pastebin.com/mgGYdefM
<Zvieratko> clever: anyway thanks. I have to get back to work :) I'll try creating a PoC for that
<clever> much simpler, since its just a dummy to allow booting different images
<Zvieratko> clever: take a look at foreman, it's a bit different but I think you'd like it
<Zvieratko> clever: the most powerful feature is the discovery image (and autodiscovery rules to autoinstall etc.)
<clever> yeah, it does sound like something i would want to add support for in nixos-installer
<clever> and that reminds me, another idea ive had
<Zvieratko> clever: well, you don't really have to add anything, just create an upstream netinstall image that gets config from a PXE/HTTP source
<clever> a kexec-able nixos installer image
<Zvieratko> clever: that's all that's needed (And that's all that redhat/debian/ubuntu/etc. have)
<Zvieratko> clever: err... that's not it :) forget about kexec
<clever> ah, so id just make a nixos image that can netboot, and fetch config from foreman
<Zvieratko> clever: exactly
<clever> the kexec is more for when you have an existing OS you dont want, and lack control of the boot process
<Zvieratko> clever: foreman can generate whatever you want from a template
<Zvieratko> clever: right
<clever> so i could run that kexec thing on any cloud provider, and hijack the machine
<Zvieratko> :D
<Zvieratko> useful for many, but not for installing a datacentre-ful of machines :
<Zvieratko> :)
<clever> nixos-in-place is limited to whatever partitions are existing
<clever> but kexec would run from the initrd, so nothing is mounted
<Zvieratko> clever: some things are not that simple even from initrd
<Zvieratko> clever: for example getting rid of existing mdraids/lvm/etc. that's PITA usually
<clever> Zvieratko: in nix, its pretty simple to put an entire OS into the initrd
<Zvieratko> clever: right :))
<clever> so its just a matter of being able to configure it from software
<clever> Zvieratko: do you happen to know of any simple tools to simulate a datacenter, or should i just spin up a dozen virtualbox instances?
stkj has quit [(Ping timeout: 240 seconds)]
<domenkozar> did anyone ever migrate from ec2 deployed nixos to nixops managed deploy?
<ikwildrpepper> domenkozar: no
newhoggy2 has quit [(Remote host closed the connection)]
<Zvieratko> clever: foreman + libvirt :)
newhoggy2 has joined #nixos
<ikwildrpepper> domenkozar: i'd just take snapshots and deploy new machines based on that
<Zvieratko> clever: you can add libvirts to foreman and it will spawn any machine you like
<clever> Zvieratko: ah, so it would probably spin up its own vm's on-demand
<ikwildrpepper> (assuming you have important data on a separate volume)
<Zvieratko> clever: exactly
newhoggy2 has quit [(Remote host closed the connection)]
<domenkozar> ikwildrpepper: it's not on separate :)
newhoggy2 has joined #nixos
<Zvieratko> clever: it can either create new VMs in libvirt (or even openstack), or it can register physical machines
<Zvieratko> clever: in fact it can register anything that PXEboots, be it physical machine or a VM, it doesn't care
<domenkozar> ikwildrpepper: nixops has no way to specify root volume?
<ikwildrpepper> domenkozar: you can still use snapshot
newhoggy2 has quit [(Remote host closed the connection)]
<ikwildrpepper> and create AMI from it, and use it as basis for deploy
newhoggy2 has joined #nixos
<ikwildrpepper> by setting deployment.ec2.ami
<domenkozar> will try that, thanks!
newhoggy2 has quit [(Remote host closed the connection)]
<clever> Zvieratko: i also have a raspberry pi that claims to be PXE booting, but it ignores the next-server field in dhcp, and tries to tftp the dhcp host
<ikwildrpepper> domenkozar: perhaps it would even work to use the volume or snapshot in block device mapping for root volume
<ikwildrpepper> but haven't done that ever
newhoggy2 has joined #nixos
<Zvieratko> clever: saw something like that :) I worked around it by always booting GRUB which grabs config according to its MAC
<ikwildrpepper> the snapshot/createimage is probably the safest solution
<ikwildrpepper> as you can keep the old one up
<Zvieratko> clever: in fact I switched everything to PXE booting GRUB because it's much simpler to do than iPXE
derjohn_mob has quit [(Ping timeout: 256 seconds)]
<clever> Zvieratko: ipxe and my bios havent had that issue
<clever> Zvieratko: heh, i found ipxe simpler then grub on this end
<Zvieratko> clever: it usually works... but GRUB _always) works :)
<clever> Zvieratko: and i'm using a mix of both on my laptop, ipxe hijacks the legacy bios hdd api, so grub thinks the iscsi device is a local drive
<Zvieratko> clever: :D
<domenkozar> ikwildrpepper: yeah I'll just do that :)
redmq has joined #nixos
<clever> Zvieratko: and i have a custom nixos module that can mount the rootfs over iscsi
<Zvieratko> clever: https://github.com/theforeman/community-templates/blob/develop/preseed/provision.erb <-- initial configuration.nix could be generated like this
<ikwildrpepper> domenkozar: I would always have data on separate partition when possible
<clever> Zvieratko: the syntax reminds me a bit of asp, but its probably just some basic turing complete substitution
<Zvieratko> clever: it's ruby
<ikwildrpepper> (doesn't help you with your current problem, but generally makes things easier to manager)
<musicmatze> since when are PRs build on hydra?
<Zvieratko> (more or less)
<clever> Zvieratko: ah
<musicmatze> I just got a mail for a succeeding build on hydra for #19990 ... so I wondered...
<musicmatze> that's really awesome that we build on hydra...
<domenkozar> I've manually set it up
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #20790: firefox-bin: 50.0 -> 50.0.1 [Critical security fix] (master...firefox-bin-50.0.1) https://git.io/v1qgv
<musicmatze> though it is not yet integrated with github as far as I can see...
newhoggy2 has quit [(Ping timeout: 252 seconds)]
_gilligan_ has joined #nixos
<musicmatze> I hope we can get to something like a evergreen master some time...
<musicmatze> by now we seem to be far away from that
<domenkozar> we did for 16.09
<domenkozar> we had one evaluation that fully built
<domenkozar> I was happy for 2min
<domenkozar> musicmatze: rolling master won't ever be until everything goes through tested PRs
<musicmatze> yeah, but that's a release branch. having unstable/master update cleanly after every merge would be _awesome_...
redmq has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #19990: Build all derivations on Linux, unless specified otherwise (master...buildtheworld) https://git.io/vXLAb
<domenkozar> musicmatze: the just merged commit is one small step towards that.
<domenkozar> musicmatze: I think we have about 1-2 years of infrastructure work to reach that point
<domenkozar> where its technically possible to have such workflow, then politics follow :)
cfricke has joined #nixos
derjohn_mob has joined #nixos
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
derjohn_mob has quit [(Ping timeout: 252 seconds)]
<mbrgm> is there a way to do a staggered deploy with nixops? i.e. first deploy one instance of a redundant loadbalancer pair, then the other?
<domenkozar> niksnut: fyi, nixos-unstable channel isn't updated even when nixos tests pass
eacameron has joined #nixos
rardiol has quit [(Ping timeout: 250 seconds)]
systemfa_ has quit [(Quit: Bye!)]
<clever> Zvieratko: dang, the ipxe embeded into virtualbox lacks bzImage support!
ThatDocsLady has joined #nixos
<clever> Zvieratko: this should be fun...
<Zvieratko> clever: ... boot grub :)
<Zvieratko> clever: or use multiboot
eacameron has quit [(Ping timeout: 258 seconds)]
<Zvieratko> clever: i booted multiboot from ipxe, which loaded bzimage + initramfs
<clever> heh
<clever> i already have ipxe on my tftp, i just need to chainload ipxe conditionaly
<clever> so it doesnt make an infinite loop
<Zvieratko> clever: chain xen6/boot/mboot.c32 xen6/boot/xen.gz .... xen6/boot/vmlinuz .... xen6/boot/install.img
<Zvieratko> clever: you can do the same
akaWolf has quit [(Read error: Connection reset by peer)]
<clever> trying to minimize how much i change in the ipxe file provided by nixos
<niksnut> domenkozar: hm, looks like generate-programs-index has been hanging for a week...
<clever> Zvieratko: aha, the vbox ipxe has an empty version string, my build has a version of 1.0.0+
slack1256 has joined #nixos
<clever> Zvieratko: heh, 300mb initrd, with 256mb of ram, *doh*
<clever> Zvieratko: http://pastebin.com/nnQL4u29
derjohn_mob has joined #nixos
jedai has quit [(Read error: Connection reset by peer)]
acarrico has joined #nixos
derjohn_mob has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/v1qrp
<NixOS_GitHub> nixpkgs/master 66c3818 Thomas Tuegel: kde5.frameworks: 5.27 -> 5.28
viric has joined #nixos
filterfish_ has joined #nixos
angerman has quit [(Quit: Gone)]
eacameron has joined #nixos
<clever> Zvieratko: and with 2gig of ram, it can boot
filterfish has quit [(Ping timeout: 240 seconds)]
viric_ has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<gchristensen> good morning NixOS
newhoggy2 has joined #nixos
saintromuald__ has joined #nixos
ToxicFrog has joined #nixos
<Zvieratko> clever: I hit more problems with iPXE, in some setups it overwrote parts of the memory or freezed
saintromuald has quit [(Quit: Leaving)]
<Zvieratko> clever: grub just always works
<Zvieratko> clever: and I can PXE boot grub which boot something from network, but can also boot ISO from local disk... hard to do with ipxe
<clever> Zvieratko: ah
<Zvieratko> clever: and some other stuff like appending MAC - simple in GRUB, clumsy at best with iPXE
_gilligan_ is now known as gilligan_
<Zvieratko> clever: IPAPPEND simply appends MAC (or IP? I don't know now :)) at the end of previous line... but if you boot multiboot then you need it as a kernel argument, not an initramfs argument :)
<Zvieratko> clever: or maybe you need it in another format etc... not possible in iPXE
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #17352: [unison] use ocaml 4.02 (master...unison_ocaml_402_v2) https://git.io/vKxaQ
<clever> Zvieratko: with ipxe, you can just insert ${net0/mac} into almost any command i believe
<clever> and it will insert the mac of the 0th NIC
<Zvieratko> clever: no you can't :) some command take arguments like that, other don't (like mboot)
<clever> oh
<gchristensen> niksnut: we've got to backport firefox 50.0.1 to 16.09
<clever> and it looks like the netboot image i mentioned is criticaly broken, /nix/store is read-only, and nix-store --check-validity within nixos-install wants to create /nix/store/.links/
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #20790: firefox-bin: 50.0 -> 50.0.1 [Critical security fix] (master...firefox-bin-50.0.1) https://git.io/v1qgv
<gchristensen> niksnut: I'm not sure why it broke video on stable, but we can't stay behind
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
Lowl3v3l has joined #nixos
cfricke has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1qPl
<NixOS_GitHub> nixpkgs/master 2f0cc0d Erik Rybakken: unclutter-xfixes service: init...
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #18398: Add x11 service for unclutter-xfixes (master...master) https://git.io/viC4t
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/v1qXm
<NixOS_GitHub> nixpkgs/master b04e23b Graham Christensen: firefox: 50.0 -> 5.0.1 for CVE-2016-9078
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #9750: Use mirroring in NixOS not only for fetchurl. (master...nix-prefetch-mirroring) https://git.io/vZZHF
Lowl3v3l_ has joined #nixos
ugjka has quit [(Quit: ByE ByE)]
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
wangoe has joined #nixos
ugjka has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<NixOS_GitHub> [nixpkgs] grahamc created backport-firefox-50.0.1 (+5 new commits): https://git.io/v1q1B
<NixOS_GitHub> nixpkgs/backport-firefox-50.0.1 b1531a3 Graham Christensen: Revert "Revert "firefox: 49.0.2 -> 50.0""...
<NixOS_GitHub> nixpkgs/backport-firefox-50.0.1 db0a632 Graham Christensen: firefox: 50.0 -> 5.0.1 for CVE-2016-9078...
<NixOS_GitHub> nixpkgs/backport-firefox-50.0.1 bc8b03a taku0: firefox-bin: 49.0 -> 49.0.2
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #20792: Backport firefox 50.0.1 (release-16.09...backport-firefox-50.0.1) https://git.io/v1q1w
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc deleted backport-firefox-50.0.1 at 1975437: https://git.io/v1q1P
<goibhniu> there's a fresh nixos-unstable channel \o/
<gchristensen> niksnut: please test this: https://github.com/NixOS/nixpkgs/pull/20792
<gchristensen> domenkozar: https://hydra.nixos.org/build/44215841 this failure is not reproducible. can you restart?
phreedom has joined #nixos
grisher has quit [(Quit: Chickens don't clap!)]
<domenkozar> sure
<gchristensen> domenkozar: this is the right thing to do, ask for it to be restarted, right? I'm not just being annoying?
grisher has joined #nixos
<domenkozar> gchristensen: if its blocking a channel update then yes
<gchristensen> ok, great :)
<viric> gchristensen: video broken?
<gchristensen> viric: "It breaks video playback." was the note
lverns has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] lsix opened pull request #20793: nettle: 3.2 -> 3.3 (staging...update_nettle_3_3) https://git.io/v1qD3
eacameron has joined #nixos
takle has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
derjohn_mob has joined #nixos
eacameron has quit [(Ping timeout: 244 seconds)]
<NixOS_GitHub> [nixpkgs] tindzk opened pull request #20794: tensorflow: 0.10.0 -> 0.12.0rc0 (master...tensorflow) https://git.io/v1qyG
<Dezgeg> does anyone know where nix master holds the binary cache negative lookups cache/
viric_ has joined #nixos
<Dezgeg> aha, ~/.cache/nix/
slack1256 has joined #nixos
slack1256 has left #nixos []
<gchristensen> ikwildrpepper: it would be really nice if I could announce nix-security-announce's configuration was updated tomorrow, if you can get to it
<clever> Dezgeg: when is the last time you tried booting a rpi from nixos-unstable?
viric has quit [(Ping timeout: 265 seconds)]
Ivanych has quit [(Ping timeout: 248 seconds)]
JagaJaga has joined #nixos
yegods has quit [(Remote host closed the connection)]
<ikwildrpepper> gchristensen: ok, anyone can join now, but only managers/owners can post
<ikwildrpepper> i've added you and domenkozar as manager
<gchristensen> ikwildrpepper: ok, great! thank you!
<Dezgeg> kernel, u-boot, firmware
<gchristensen> ikwildrpepper: I'll put a note inviting people to ask questions and discuss announcements on nix-dev?
<clever> Dezgeg: ah, ive been unable to get any kernel from nixpkgs to boot
cpennington has joined #nixos
wangoe has quit [(Ping timeout: 244 seconds)]
<ikwildrpepper> probably best for now, best to keep announcements separate, as not everybody wants those discussions in their mailbox
<Dezgeg> viric had some weird problems as well
<clever> Dezgeg: and when i checked the config nixpkgs was generating, it had some device-tree options wrong, and was compiled for any arm chip
<gchristensen> ikwildrpepper: agreed. thank you so much :)
<Dezgeg> maybe it compiled the multi_v7_defconfig thing?
<Dezgeg> (assuming rpi2 here)
<clever> Dezgeg: sounds likely
<clever> Dezgeg: i'm testing on an rpi3 at the moment
<clever> Dezgeg: i have it fully network booting, so i can just run nix-build on the router, and punch a large arcane button to test it
<Dezgeg> yeah, if you get the rpi kernel to boot on rpi2 then that should work on rpi3 as well
<clever> arcade*
<gchristensen> lol, nice, clever... very clever.
<clever> there is a header on the rpi for a reset button, and with it network booting, i can fully generate every single file from nix-build
amyers has joined #nixos
<clever> and in other netboot adventures, nixos is mounting a tmpfs over /mnt-root, and covering up the squashfs mount point
ebzzry has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
ebzzry has joined #nixos
<clever> gchristensen: has nix-store --check-validity always wanted to create /nix/store/.links?
<gchristensen> I have no idea, heh
<clever> the store on the host is read-only, so this fails hard
zagy has quit [(Quit: Leaving.)]
<NixOS_GitHub> [hydra] domenkozar pushed 1 new commit to master: https://git.io/v1q94
<NixOS_GitHub> hydra/master 8758d71 Leonid Onokhov: Remove logfile.css from templates (#428)...
eacameron has quit [(Ping timeout: 265 seconds)]
yegods has joined #nixos
<NixOS_GitHub> [hydra] domenkozar pushed 1 new commit to master: https://git.io/v1q99
<NixOS_GitHub> hydra/master cf12356 phile314-isska: Document ssmtp for email notifications. (#426)
<clever> gchristensen: and it now has nearly the identical unionfs that the ISO's have, PR incoming!
<gchristensen> haha, cool!
yegods has quit [(Remote host closed the connection)]
<gchristensen> back in a while -- heading in to work.
<NixOS_GitHub> [nixpkgs] astsmtl pushed 1 new commit to master: https://git.io/v1qHW
<NixOS_GitHub> nixpkgs/master c9b8a65 Alexander Tsamutali: Add tools/networking/polysh
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #20795: make the /nix/store writable under netboot images (master...netboot) https://git.io/v1qHu
<clever> gchristensen: and PR is open!
<clever> domenkozar: this would be a good PR to test the hydra stuff on, since its changing an artifact under nixos/release.nix, rather then nixpkgs, so travis likely wont know what to do
<FRidh> any suggestions how to get a 40 GB file in the store?
<FRidh> nix-prefetch-url runs out of memory
<FRidh> and using nix-store --add won't work because, I think, it computes the hash differently
<clever> FRidh: try nix-store --add-fixed sha512 ?
<FRidh> ohh
Shou has joined #nixos
<domenkozar> iirc --add-fixed also loads into memory
<domenkozar> no?
<FRidh> don't know, no docs :)
Ivanych has joined #nixos
<domenkozar> really wish someone picked up https://github.com/NixOS/nix/pull/619
<clever> i thought i saw something like that recently, heh
rly has quit [(Ping timeout: 260 seconds)]
rly has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v1q7I
<NixOS_GitHub> nixpkgs/master e43f2fc Franz Pletz: Revert "lxc: 2.0.4 -> 2.0.6"...
<fpletz> greymalkin: thanks for the hint
<fpletz> err, sorry, gchristensen :)
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/v1q7q
<NixOS_GitHub> nixpkgs/release-16.09 115808b Franz Pletz: Revert "lxc: 2.0.4 -> 2.0.6"...
iyzsong has quit [(Quit: bye.)]
derjohn_mob has quit [(Ping timeout: 250 seconds)]
<fpletz> gchristensen: I always start typing your nick with gr due to your github username :)
<NixOS_GitHub> [nixpkgs] domenkozar pushed 2 new commits to master: https://git.io/v1q7B
<NixOS_GitHub> nixpkgs/master e710ede michael bishop: make the /nix/store writable under netboot images
<NixOS_GitHub> nixpkgs/master 69e0740 Domen Kožar: Merge pull request #20795 from cleverca22/netboot...
JagaJaga has quit [(Ping timeout: 258 seconds)]
zagy has joined #nixos
eacameron has joined #nixos
<joko> Hello, what's the equivalent of /etc/pulse/daemon.conf in NixOS? I would like to set default-sample-rate
<domenkozar> would be nice to have a proper bash script for this :)
<fpletz> woa, also had the netboot store on my todo-list for a while… awesome, thanks a lot, clever!
<clever> joko: hardware.pulseaudio.extraConfig
ebzzry has quit [(Ping timeout: 260 seconds)]
<clever> fpletz: your welcome :)
<domenkozar> damn, everytime I use acme I find a bug :)
<joko> clever: default.pa is the same as daemon.conf?
<clever> joko: i'm guessing it is, dont see a daemon.conf in there
<joko> Me neither, this is why I was asking at first place ;)
<joko> I think default.pa supports different syntax
<FRidh> domenkozar: trying that now. Need to make sure I keep a symlink to that file :)
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v1q5E
<NixOS_GitHub> nixpkgs/master 75f131d Domen Kožar: acme: ensure nginx challenges directory is writeable
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-16.09: https://git.io/v1q5g
<NixOS_GitHub> nixpkgs/release-16.09 9d0e39b Domen Kožar: acme: ensure nginx challenges directory is writeable...
JagaJaga has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 244 seconds)]
<gchristensen> fpletz: you're welcome :)
<gchristensen> I have `grahamc` here on freenode, I could switch
<NixOS_GitHub> [nixpkgs] grahamc created backport-firefox-50.0.1 (+5 new commits): https://git.io/v1qbg
<NixOS_GitHub> nixpkgs/backport-firefox-50.0.1 c83bd77 Graham Christensen: Revert "Revert "firefox: 49.0.2 -> 50.0""...
<NixOS_GitHub> nixpkgs/backport-firefox-50.0.1 bd39c43 Graham Christensen: firefox: 50.0 -> 5.0.1 for CVE-2016-9078...
<NixOS_GitHub> nixpkgs/backport-firefox-50.0.1 166fc3d taku0: firefox-bin: 49.0 -> 49.0.2
<NixOS_GitHub> [nixpkgs] grahamc deleted backport-firefox-50.0.1 at 3bf46ba: https://git.io/v1qbV
ryanartecona has joined #nixos
yegods has joined #nixos
yegods has quit [(Remote host closed the connection)]
<musicmatze> nixos-unstable release! YAY!
<domenkozar> ikwildrpepper: do you happen to have filesystem configuration where /nix/store and /var are under non-root module?
<domenkozar> on ec2
viric has joined #nixos
<ikwildrpepper> domenkozar: no, that's very hard to do
<ikwildrpepper> the nix store part
rardiol has joined #nixos
<domenkozar> ikwildrpepper: I've tried changing root volume type to st1 to be cheaper, but I get
<domenkozar> error: non-ephemeral disk not allowed on device ‘/dev/xvda’; use /dev/xvdf or higher
<domenkozar> deployment.ec2.blockDeviceMapping."/dev/sda".volumeType = "st1";
<ikwildrpepper> domenkozar: how have you tried?
<domenkozar> deployment.ec2.blockDeviceMapping."/dev/sda".size = 500;
<ikwildrpepper> domenkozar: try /dev/sda1
<domenkozar> oh it wants a parition?
<domenkozar> error: non-ephemeral disk not allowed on device ‘/dev/xvda1’; use /dev/xvdf or higher
viric_ has quit [(Ping timeout: 252 seconds)]
erasmas has joined #nixos
<ikwildrpepper> ... Cannot be a boot volume...
<domenkozar> crap :)
<domenkozar> I guess they'll just pay.
<ikwildrpepper> gp2 is nicer anyway :D
thaega has left #nixos ["ERC Version 5.3 (IRC client for Emacs)"]
wangoe has joined #nixos
glines has joined #nixos
<domenkozar> ikwildrpepper: thanks :)
katyucha has quit [(Quit: leaving)]
<gchristensen> domenkozar: did you restart that login test?
<domenkozar> yes
<gchristensen> mysteries abound ...
stepcut has quit [(Remote host closed the connection)]
<gchristensen> maybe it hasn't run again, yet? who knows
stepcut has joined #nixos
Shou has quit [(Ping timeout: 250 seconds)]
lverns has quit [(Ping timeout: 260 seconds)]
wangoe has quit [(Quit: leaving)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
ixxie has joined #nixos
pstn_ has joined #nixos
stepcut has quit [(Remote host closed the connection)]
amyers has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
alex9222 has joined #nixos
<alex9222> hello, when i add boot.crashDump.enable = true; in my /etc/nixos/configuration.nix i have an error : "error: cannot coerce a set to a string, "
<domenkozar> --show-trace
Shou has joined #nixos
amyers has joined #nixos
<clever> while evaluating the option `boot.crashDump.kernelPackages':
<domenkozar> isStorePath
<domenkozar> ruuuuuun!
<gchristensen> hah
<viric> I have systemd quite broken in the arm... SECCOMP, logind not starting, journald not starting...
<clever> domenkozar: the funny thing is that i havent touched boot.crashDump.kernelPackages, and it has a sane default
<viric> I Have no idea what to look at
<clever> domenkozar: wait, pkgs.linuxPackages is an attrset, not a package
<NixOS_GitHub> [nixpkgs] the-kenny pushed 1 new commit to master: https://git.io/v1mJj
<NixOS_GitHub> nixpkgs/master 8806344 joachim schiele: rust: Updates & rename `rustUnstable` to `rustNighly`.
Rotaerk has joined #nixos
<NixOS_GitHub> [nixpkgs] the-kenny closed pull request #20780: updated rustBeta & rustNightly; renamed rustUnstable to rustNightly (master...experimentalUpdate) https://git.io/v1tD2
xadi has quit [(Quit: Leaving.)]
<clever> domenkozar: it does evaluate if i delete the type and make it match the main kernelPackages
<clever> domenkozar: https://github.com/NixOS/nixpkgs/commit/a04a7272aa38ada45e694281071b720d4abbd0df and this type of commit implies less testing was done
<domenkozar> so lets fix it? :)
<clever> testing under qemu to confirm it still works fully
danharaj has joined #nixos
gilligan_ has quit [(Quit: This computer has gone to sleep)]
Shou has quit [(Ping timeout: 240 seconds)]
<clever> domenkozar: it does reserve the correct amount of memory, but x is interfering, trying without x
<clever> yeah, it just isnt running the crashdump kernel at all
Itkovian has quit [(Ping timeout: 248 seconds)]
lonokhov has quit [(Quit: leaving)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
xadi has joined #nixos
<clever> and "kexec -e" says nothing has been loaded, hmmm
MichaelRaskin has joined #nixos
amarsman has joined #nixos
<clever> kexec -p is failing, relocation errors
<clever> domenkozar: http://imgur.com/a/HKuk4 any idea?
danharaj has quit [(Quit: Leaving.)]
danharaj has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v1mq8
<NixOS_GitHub> nixpkgs/master 3000ae8 Franz Pletz: gitlab service: fix sidekiq queue config
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-16.09: https://git.io/v1mqu
<NixOS_GitHub> nixpkgs/release-16.09 1158a29 Franz Pletz: gitlab service: fix sidekiq queue config...
rly has quit [(Ping timeout: 260 seconds)]
Ivanych has quit [(Ping timeout: 244 seconds)]
Ivanych has joined #nixos
<clever> domenkozar: opened an issue for anybody that knows more about kexec
<Sonarpulse-Work> anybody here work on stdenvs, especially darwin stdenvs?
<Sonarpulse-Work> I need an opinion on what to do about debugging and automated testing in the last commit of my PR
glines has quit [(Ping timeout: 268 seconds)]
spacekitteh has quit [(Ping timeout: 256 seconds)]
pstn_ has quit [(Ping timeout: 240 seconds)]
<jgertm_> is anyone able to use overtone with pulseaudio?
NEo4v8_ has quit [(Ping timeout: 252 seconds)]
fritschy has quit [(Quit: Leaving.)]
<clever> alex9222: heh, dueling issues? lol
<alex9222> :)
<joko> jgertm_: while I was looking for setting default-sample-rate in PulseAudio, I stumbled on this: http://anderspapitto.com/posts/2015-11-26-overtone-on-nixos-with-jack-and-pulseaudio.html
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
yegods has joined #nixos
jgertm_ has quit [(Ping timeout: 248 seconds)]
<Yaniel> is it possible to make nix run a binary installer and take over whatever files that installs?
<Yaniel> or is there some sort of makepkg for nix
<Yaniel> (case in point: renoise)
__Sander__ has quit [(Quit: Konversation terminated!)]
spacekitteh has joined #nixos
leothrix has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> Yaniel: I have not tried this myself, but I think you can do that using a custom unpackPhase that runs the binary installer (possibly after patchelfing it)
<ToxicFrog> er, unpackCmd
TheAppleMan has joined #nixos
TheAppleMan has quit [(Changing host)]
TheAppleMan has joined #nixos
alex9222 has quit [(Ping timeout: 250 seconds)]
leothrix has joined #nixos
civodul has joined #nixos
FRidh has quit [(Remote host closed the connection)]
akaWolf has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/v1mcM
<NixOS_GitHub> nixpkgs/master 0f7f0ce Mathias Schreck: libuv: 1.9.1 -> 1.10.1...
<NixOS_GitHub> nixpkgs/master 56366b5 Vladimír Čunát: libuv: enable checks and parallel building
viric_ has joined #nixos
viric has quit [(Ping timeout: 256 seconds)]
dgn has quit [(Ping timeout: 240 seconds)]
ambro718 has joined #nixos
johnsonav has quit [(Ping timeout: 240 seconds)]
zagy has quit [(Quit: Leaving.)]
ixxie has quit [(Ping timeout: 265 seconds)]
zagy has joined #nixos
glines has joined #nixos
ixxie has joined #nixos
JagaJaga has quit [(Ping timeout: 260 seconds)]
zagy has quit [(Quit: Leaving.)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
zagy has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
zagy has quit [(Quit: Leaving.)]
rly has joined #nixos
redmq has joined #nixos
<NixOS_GitHub> [nixpkgs] tindzk opened pull request #20798: keras: 1.0.3 -> 1.1.1 (master...keras) https://git.io/v1m4m
bennofs1 has joined #nixos
JagaJaga has joined #nixos
Guest2999 has quit [(Ping timeout: 245 seconds)]
stepcut has joined #nixos
bennofs1 has quit [(Ping timeout: 245 seconds)]
zagy has joined #nixos
zraexy has joined #nixos
zagy has quit [(Quit: Leaving.)]
ixxie has quit [(Ping timeout: 256 seconds)]
lverns has joined #nixos
johnsonav has joined #nixos
<LnL> is it possible to dynamically configure remote builders without having to restart the nix daemon?
bennofs1 has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #20799: camlp5: 6.16 -> 6.17 (master...camlp5-6.17) https://git.io/v1muB
asymmetric has joined #nixos
lverns has quit [(Ping timeout: 258 seconds)]
yegods has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
bennofs1 has quit [(Quit: WeeChat 1.6)]
bennofs1 has joined #nixos
stepcut has quit [(Remote host closed the connection)]
yegods has joined #nixos
fiddlerwoaroof has quit [(Read error: Connection reset by peer)]
<gchristensen> domenkozar: what should we do about this login test? I can't reproduce the failure.
<clever> LnL: i think nix will read /etc/nix/machines at the start of each job, so it never has to restart
<LnL> oh I don't have to set the build hook and stuff?
Mic92 has quit [(Ping timeout: 260 seconds)]
<clever> LnL: the existing build hook will check that file on startup
<clever> LnL: bug yeah, if the hook wasnt set, and then gets added, nix-daemon will need a restart
<clever> but*
NEo4v8_ has joined #nixos
<adnelson> hey all
phorse has quit [(Remote host closed the connection)]
<adnelson> is there a way to access the nix db from within a nix build, on nixos?
<adnelson> I need to be able to query information on some paths
<clever> adnelson: what kind of information on which paths?
<adnelson> their hashes
<adnelson> so with exportReferencesGraph you can get references of nix store paths
<adnelson> but it doesn't give you their hashes, so it'
<clever> ah, there is no way to access the db or daemon when sandboxes are enabled
<adnelson> s not a valid nix db dump
<adnelson> hmmm.... so is there any way to get a nar hash of a nix store object?
<clever> i think the command for that just reads the entire directory, so not better then the existing stuff
<clever> adnelson: see also: https://github.com/NixOS/nix/issues/1134
zagy has joined #nixos
<adnelson> oh... well that's my issue exactly, heh
<adnelson> I'm able to get around it on centos because there's no chroot
<adnelson> so I can just call nix-store itself
<clever> if the chroot is turned off, you can just NIX_REMOTE=daemon nix-store --query
<adnelson> what does the NIX_REMOTE variable do?
<clever> if you lack build users entirely, then nix-store works without any fuss, because the builder can just open the db
RchrdB has quit [(Ping timeout: 252 seconds)]
<adnelson> maybe that's all I need...
<clever> it tells non-root users that lack write permissions to /nix/store how to gain write
<clever> normally, they contact a nix-daemon running as root, that does the job for them
NEo4v8_ has quit [(Ping timeout: 256 seconds)]
stepcut has joined #nixos
<clever> under arch, its not configured fully, and your user can just write to the store directly without having to use a daemon
<adnelson> does nixos enable chroot by default?
<clever> its disabled by default, but the hydra slaves all have chroot enabled
<adnelson> hmm, I'll give this a shot
<adnelson> is there a way I can make it detect whether it needs to set that NIX_REMOTE variable?
<adnelson> also if I'm just doing -q then I don't need write privileges
jedai has joined #nixos
takle has joined #nixos
<clever> the /nix/var/nix/db/db.sqlite is also not available under most builds
zagy has quit [(Quit: Leaving.)]
bfrog has joined #nixos
<adnelson> what do you mean, not available under most builds
johnsonav has quit [(Remote host closed the connection)]
johnsonav has joined #nixos
<clever> adnelson: nix will try to open it in a read/write mode by default, so it can obtain the proper locks and prevent concurent modification
<clever> adnelson: and only root has write perms
pstn_ has joined #nixos
<clever> and its entirely not in the chroot
<pstn_> I'm on unstable, so I have mesa 13.01 with radeonsi but my Opengl is stuck at 2.1. Can somebody help me with that (info follows)
zagy has joined #nixos
seppellll has joined #nixos
<pstn_> hardware-configuration.nix http://pastebin.ca/3743127
glines has quit [(Ping timeout: 246 seconds)]
sigmundv has joined #nixos
jgeerds has joined #nixos
fiddlerwoaroof has joined #nixos
derjohn_mob has quit [(Ping timeout: 252 seconds)]
nil has quit [(Disconnected by services)]
ntc has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacamero_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
magnetophon has quit [(Ping timeout: 244 seconds)]
Shou has joined #nixos
glines has joined #nixos
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
Mic92 has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
newhoggy2 has joined #nixos
redmq has quit [(Ping timeout: 260 seconds)]
seppellll has quit [(Ping timeout: 243 seconds)]
jensens has joined #nixos
derjohn_mob has joined #nixos
AllanEspinosa has joined #nixos
yegods has quit [(Remote host closed the connection)]
xadi has quit [(Quit: Leaving.)]
kampfschlaefer has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] rycee opened pull request #20801: matrix-synapse service: add missing `$` (release-16.09...fix/matrix-synapse) https://git.io/v1myV
rasaguhl has joined #nixos
rasaguhl has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #20771: idea-ultimate: 2016.2.2 -> 2016.2.5 (release-16.09...idea-2016_2_5) https://git.io/v1Lse
wombawomba has joined #nixos
herzmeister has quit [(Quit: Leaving)]
ryanartecona has joined #nixos
<kmicu> pstn_: could you file an issue on Nixpkgs’ bug tracker to document the problem? IRC is a really bad medium for non–trivial errors.
<wombawomba> So I'm experimenting with using nix as my package manager in Ubuntu. How do I get it to run services which require root privileges (specifically the docker daemon)?
nixy has joined #nixos
wangoe has joined #nixos
wangoe has quit [(Client Quit)]
asymmetric has quit [(Ping timeout: 245 seconds)]
<Shell> wombawomba: you'd have to write systemd services which pull in the Nix environment and run the services yourself.
<Shell> management of services is part of NixOS, rather than Nix-as-a-package-manager.
<kmicu> Nix, the package manager, provides packages, the rest should be handle as recommend by your distro so check how to create such services on Ubuntu.
<wombawomba> okay
<wombawomba> do you know of any recommended reading on this? not sure how I would do that
matthewbauer has joined #nixos
<kmicu> pstn_: also add info about your graphic chip if that is not available in your pastes (e.g. with lspci -v).
pstn_ has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 245 seconds)]
glines has joined #nixos
glines has quit [(Ping timeout: 260 seconds)]
newhoggy2 has joined #nixos
jensens has quit [(Read error: Connection reset by peer)]
jensens has joined #nixos
redmq has joined #nixos
agjacome has joined #nixos
<NixOS_GitHub> [nixops] wavewave opened pull request #559: Fix errata in nc option in nixops ssh into deployed container on remo… (master...container-ssh) https://git.io/v1mb5
danielrf has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
Guest73281 has quit [(Remote host closed the connection)]
matthewbauer has quit [(Read error: Connection reset by peer)]
matthewbauer has joined #nixos
jgeerds has quit [(Quit: Leaving)]
Itkovian has quit [(Client Quit)]
herzmeister has joined #nixos
glines has joined #nixos
JagaJaga has quit [(Quit: WeeChat 1.6)]
Itkovian has joined #nixos
xadi has joined #nixos
NEo4v8_ has joined #nixos
wombawomba has quit [(Quit: leaving)]
Shou has quit [(Ping timeout: 268 seconds)]
NEo4v8_ has quit [(Ping timeout: 256 seconds)]
Wizek has joined #nixos
goibhniu has joined #nixos
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 250 seconds)]
rly has quit [(Ping timeout: 260 seconds)]
yegods has joined #nixos
ryantrinkle has joined #nixos
bennofs1 has quit [(Ping timeout: 244 seconds)]
Shou has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cpennington has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 250 seconds)]
Itkovian has joined #nixos
hiratara has quit [(Ping timeout: 240 seconds)]
slack1256 has joined #nixos
newhoggy2 has joined #nixos
hiratara has joined #nixos
Lowl3v3l_ is now known as Lowl3v3l
Shou has quit [(Ping timeout: 260 seconds)]
JagaJaga has joined #nixos
seppellll has joined #nixos
goibhniu has quit [(Ping timeout: 245 seconds)]
<gchristensen> clever: if you rebuild a job on hydra, does it make a new build ID?
<clever> gchristensen: if you restart a failed one, it should reuse the id
<gchristensen> ah
<gchristensen> damn
<clever> and show the step twice under build steps
<clever> but you cant view the logs of when it failed, it picks the newest instance of that step
<gchristensen> https://hydra.nixos.org/build/44208310#tabs-buildsteps so this hasn't built twicE?
redmq has quit [(Ping timeout: 260 seconds)]
<clever> looks like release-16.09 hasnt even tried it, release-16.09-small already did the exact same derivation and failed
<clever> so the non-small jobset just skipped it
RchrdB has joined #nixos
griff_ has joined #nixos
<clever> gchristensen: reading the logs, it appears to be getting stuck after entering the password
<clever> bash never gets started under the user alice
<gchristensen> has't even tried? sorry?
<gchristensen> I can't replicate the failure.
<gchristensen> "Build 44208310 of job nixos:release-16.09:nixos.tests.login.x86_64-linux"
<clever> Failed (log, raw, tail) (propagated from build 44215841)
<clever> that exact derivation failed in a different jobset
<clever> it knows its already bad and wont waste resources trying again
<gchristensen> why hasn't it even tried? is it propagating the failure?
<clever> yeah
<clever> you have to force a restart of that build to make it try again
<clever> hydra assumes the failures are consistant, and wont try again
<gchristensen> so I asked domen to rerun that, he said he did, has it just not rerun? or does he specifically need to rerun 44215841
<gchristensen> I wonder when this last rebuilt - https://hydra.nixos.org/build/44215841
nh2_ has quit [(Ping timeout: 258 seconds)]
<clever> you asked for the rebuild at 9:52, doesnt seem to line up with timestamps on either
<gchristensen> how can you tell?
<clever> the "finished at" field on both
<clever> but i do see something odd, the 16.09 job is referencing the failure on lucifer
<gchristensen> ahh
<clever> but the 16.09-small job says it tried again on kyle, and failed again
<clever> implying that maybe the 16.09-small job was restarted, and failed a second time
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
slack1256 has quit [(Remote host closed the connection)]
<gchristensen> :/
<clever> i usualy also have access to the journal when debuging these things on my end
<clever> that has some more details like exact timestamps of each step
Shou has joined #nixos
systemfault has joined #nixos
<clever> trying to reproduce it locally
Itkovian has joined #nixos
<clever> gchristensen: this comment implies that it has had issues before: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/login.nix#L39-L40
<gchristensen> could be
<gchristensen> I've run it a number of times and can't replicate
<clever> because your not taxing the machine very hard
<gchristensen> yep
<clever> i have a chrome profile that can max out my cpu for 40 minutes on startup and pushes over 40gig of data thru swap
<clever> do i dare open it while testing? lol
<gchristensen> O.o
<clever> i have trouble closing tabs, over 800 are open.....
redmq has joined #nixos
<avn> clever: send it to google ;)
JagaJaga has quit [(Ping timeout: 268 seconds)]
<clever> avn: i just opened cacti, and the cpu is pulling so many watts that the UPS has gone into overload
<clever> oops, opened chromium
<clever> i can already see it on the realtime graphs
<clever> gchristensen: oh, and i just had an idea for something that can make the test more robust
<gchristensen> oh yeah? :D :D
<clever> gchristensen: /dev/vcs1 is a raw text dump of tty1
<clever> all tty's have one
nh2_ has joined #nixos
<gchristensen> no way
<clever> the problem, is that it waits for a "login" process, then waits 2 seconds for a password prompt
<clever> it doesnt not look to see what the result is
* gchristensen looks
<gchristensen> so exciting!!
<clever> i think that special node also includes the scrollback history
<clever> but linux clears the scrollback when you change tty
hiratara has quit [(Quit: ZNC - http://znc.in)]
<gchristensen> aaaahhhh
<gchristensen> this is awesome
<clever> so in theory, you can modify the testcase to wait for the password prompt
<gchristensen> yup
<clever> and as for the exact cause of the problem on "login"'s side, it opens /dev/tty for reading
<clever> to bypass any potential redirects (sudo also does this, allowing echo | sudo tee)
hiratara has joined #nixos
<clever> and any characters you type before that, go to the stdin buffer, which login doesnt read
<clever> and i just noticed how crazily i'm taxing tthis box right now
<clever> i'm redoing that test locally, and i'm doing nixos-install under virtualbox, and chromium is resuming
<clever> 50% of my swap is already in use
rapscalian has joined #nixos
rapscalian has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1Ytb
<NixOS_GitHub> nixpkgs/master 8a4d651 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/staging' into master
<clever> machine# ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
<clever> gchristensen: i think virtualbox is conflicting?
Itkovian_ has joined #nixos
<gchristensen> clever: this is working. you're awesome
<gchristensen> !m clever
<[0__0]> You're doing good work, clever!
<clever> gchristensen: i think this is a result of being overly bored when i first got into linux, i just read every man page i could find :P
<clever> vcs1 was in one of them
<gchristensen> haha cool
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v1Yq0
<NixOS_GitHub> nixpkgs/master 18a3225 Tim Steinbach: linux: 3.12.67 -> 3.12.68
<clever> so i know all kinds of odd corners that nobody has ever seen
<gchristensen> clever: what is my best bet on overloading my system to make this test fail?
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-16.09: https://git.io/v1YqV
<NixOS_GitHub> nixpkgs/release-16.09 15f6c2d Tim Steinbach: linux: 3.12.67 -> 3.12.68...
Itkovian has quit [(Ping timeout: 265 seconds)]
<clever> simplest thing, just compile a c program with while(true) {} and spawn 2 or 3 times as many cores you have
griff_ has quit [(Quit: griff_)]
<clever> gchristensen: ah, its enough to stop all active vbox guests, the drivers dont have to be unloaded
<gchristensen> gotta run :)
<gchristensen> I'll test more later. thank you for the tip!
<clever> mouse is stuttering on the host, thats a good sign
<clever> load average is 50!
<clever> gchristensen: lol, even with a load average of 50, the test passed
<clever> it must have been swap on the slaves?
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
agjacome has quit [(Quit: leaving)]
ryanartecona has quit [(Quit: ryanartecona)]
bara has quit [(Remote host closed the connection)]
<gchristensen> huh
bara has joined #nixos
<clever> gchristensen: even with a load average of 50 on my desktop, the test passed
<gchristensen> clever: `nix-shell -p stress` :)
<clever> whoa
<clever> thats perfect, lol
yegods has quit [(Remote host closed the connection)]
<gchristensen> haha
<gchristensen> I started the tests minutes ago, and it is still hasn't started outputting anything
yegods has joined #nixos
Ivanych has quit [(Ping timeout: 250 seconds)]
<clever> gchristensen: and look at what chrome has done to my swap: http://ext.earthtools.ca/export/graph_269.html
<gchristensen> haha
ambro718 has quit [(Ping timeout: 250 seconds)]
<clever> and cpu
<gchristensen> 8fuck that is a lot of work
<clever> it pulls enough watts that my UPS overload alarm goes off
NEo4v8_ has joined #nixos
ebzzry has joined #nixos
<clever> gchristensen: oh god, and load avg!! http://ext.earthtools.ca/export/graph_270.html
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
amyers has quit [(Ping timeout: 245 seconds)]
NEo4v8_ has quit [(Ping timeout: 258 seconds)]
oleks_ has joined #nixos
oleks has quit [(Quit: Lost terminal)]
oleks_ has quit [(Client Quit)]
oleks has joined #nixos
pstn_ has joined #nixos
danharaj has quit [(Ping timeout: 265 seconds)]
stepcut has quit [(Remote host closed the connection)]
yegods has quit [(Remote host closed the connection)]
herzmeister has quit [(Quit: Leaving)]
wangoe has joined #nixos
herzmeister has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #20803: git: 2.10.2 -> 2.11.0 (master...2_11_0) https://git.io/v1YCX
sigmundv has quit [(Ping timeout: 256 seconds)]
yegods has joined #nixos
<viric_> If anyone has any idea why my systemd-logind and journald don't start because of errcode 28/SECCOMP, let me know
wangoe has quit [(Quit: leaving)]
<Dezgeg> so the problem came back? I thought it went away at some point?