bennofs has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<devoid> Ok, obvious answer is 'pkg.nix'. Now running `nix-store —gc` inside the container deletes everything
<devoid> so we're lacking gc roots, at least according to nix.
sigmundv has joined #nixos
ilja_kuklic has joined #nixos
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
markus1209 has joined #nixos
markus1219 has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 264 seconds)]
Wizek_ has quit [(Ping timeout: 245 seconds)]
Wizek has quit [(Ping timeout: 240 seconds)]
joelmo has quit [(Quit: Connection closed for inactivity)]
takle has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
anelson has joined #nixos
angerman has joined #nixos
erasmas has quit [(Quit: leaving)]
Shou has quit [(Ping timeout: 255 seconds)]
defel has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
stepcut has quit [(Remote host closed the connection)]
takle has joined #nixos
ndowens08 has joined #nixos
<ndowens08> freenode must have went down
<NixOS_GitHub> [nixpkgs] benley opened pull request #22813: nixos: add optional pam_kwallet5 integration (master...pam-kwallet) https://git.io/vDXsY
nahamu_ is now known as nahamu
<pikajude> what's the library function for combining a list of attrsets into one
bennofs has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<pikajude> zipAttrs, got it
<NixOS_GitHub> [nixpkgs] pikajude pushed 1 new commit to master: https://git.io/vDXso
<NixOS_GitHub> nixpkgs/master 0637f83 Jude Taylor: update xmonad nix patch to apply to new xmonad
<pikajude> also, whoever rewrote security.wrappers broke at least 3 things
<pikajude> including the system activation script so i'm not sure how that made it into master
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vDXsb
<NixOS_GitHub> nixpkgs/master c34a52b Joachim Fasting: mozart: prefer local builds...
<pikajude> oh, actually, it just broke vbox and my fix also broke vbox
acarrico has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
excelangue has quit [(Ping timeout: 240 seconds)]
excelangue has joined #nixos
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
excelangue has quit [(Ping timeout: 252 seconds)]
thc202 has quit [(Ping timeout: 276 seconds)]
excelangue has joined #nixos
jchee has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Quit: WeeChat 1.7)]
mkoenig has quit [(Ping timeout: 268 seconds)]
mkoenig has joined #nixos
takle has joined #nixos
hopio3151 has joined #nixos
takle has quit [(Ping timeout: 276 seconds)]
<hopio3151> cmake can't find GTK2_GDKCONFIG_INCLUDE_DIR and GTK2_GLIBCONFIG_INCLUDE_DIR. which package has them if not gtk2?
<avn> hopio3151: does -DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk.dev}/include helps? Sometimes developers feel that they are smarter than builtin cmake logic, removing hacks usually helps.
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #22814: wxPython30: fix on darwin (master...wxpython) https://git.io/vDXc4
stepcut has joined #nixos
<hopio3151> avn: yes, thanks
sigmundv has quit [(Ping timeout: 256 seconds)]
takle has joined #nixos
Rotaerk has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
excelangue has quit [(Ping timeout: 264 seconds)]
excelangue has joined #nixos
saintromuald has quit [(Ping timeout: 240 seconds)]
shanemikel has joined #nixos
fnljk has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
nckx has quit [(Quit: ☭ + 🐧 + GNU Guix <https://gnu.org/s/guix>)]
hotfuzz has joined #nixos
\\\\\\\\\\\ has joined #nixos
<\\\\\\\\\\\> Why is there no official torrent for the installation image? ;_;
takle has joined #nixos
nckx has joined #nixos
<simpson> Probably just lack of demand.
sibi has quit [(Quit: Connection closed for inactivity)]
<\\\\\\\\\\\> Hrm. Seems like it would save the site some bandwidth. Oh well.
acowleyz is now known as acowley
<simpson> It's served from S3, isn't it? So it's cheaper than you'd think.
derjohn_mobi has joined #nixos
<\\\\\\\\\\\> I have very mixed feelings about Amazon, but I see your point
takle has quit [(Ping timeout: 260 seconds)]
Kingsquee has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<simpson> I dislike AWS but that doesn't mean that I won't download files from S3 buckets.
ilja_kuklic has quit [(Ping timeout: 256 seconds)]
<\\\\\\\\\\\> Well then I hope you don't have to use them for work. It's painful, unless you go for full lock-in.
takle has quit [(Ping timeout: 260 seconds)]
markus1219 has quit [(Ping timeout: 276 seconds)]
markus1209 has quit [(Ping timeout: 276 seconds)]
<mguentner> \\\\\\\\\\\: there are experiments going with IPFS
<\\\\\\\\\\\> mguentner: Ooo, shiny.
markus1189 has joined #nixos
markus1199 has joined #nixos
<mguentner> I am hoping that the performance improves soon (0.4.5 was a major improvement)
takle has joined #nixos
danharaj has quit [(Ping timeout: 258 seconds)]
RchrdB has quit [(Ping timeout: 255 seconds)]
<hopio3151> what's the attribute path of clang ? just /nix/store/*-clang, not clang-wrapped
takle has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 264 seconds)]
mbrgm has joined #nixos
acowley is now known as acowley_away
<Ralith> llvmPackages.clang-unwrapped
<Ralith> iirc
s33se_ has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
takle has joined #nixos
s33se has quit [(Ping timeout: 240 seconds)]
shanemikel has joined #nixos
takle has quit [(Ping timeout: 256 seconds)]
joneshf-laptop has quit [(Read error: No route to host)]
saintromuald has joined #nixos
takle has joined #nixos
RayNbow` has joined #nixos
teozkr_ has joined #nixos
rodgort` has joined #nixos
nand0p_ has joined #nixos
michalrus_ has joined #nixos
carter_ has joined #nixos
Rizy_ has joined #nixos
taeradan_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
WilliButz has joined #nixos
loupgaroublond_ has joined #nixos
ugjka has quit [(Disconnected by services)]
shepheb_ has joined #nixos
jophish_ has joined #nixos
silvester has joined #nixos
joachifm_ has joined #nixos
katyucha2 has joined #nixos
petar_ has joined #nixos
aszlig_ has joined #nixos
M-Rym1 has joined #nixos
grenade_ has joined #nixos
teh[m]1 has joined #nixos
kyren_ has joined #nixos
qualia has joined #nixos
jonasfj_ has joined #nixos
mbrgm_ has joined #nixos
grahamc has joined #nixos
bendlas1 has joined #nixos
adamCS_ has joined #nixos
grisher_ has joined #nixos
excelang1e has joined #nixos
Hunner_ has joined #nixos
Hunner_ has quit [(Changing host)]
Hunner_ has joined #nixos
MVQq has joined #nixos
mbrgm has quit [(Ping timeout: 255 seconds)]
Fuuzetsu has quit [(Ping timeout: 255 seconds)]
s1lvester has quit [(Ping timeout: 255 seconds)]
Rizy has quit [(Ping timeout: 255 seconds)]
jonasfj has quit [(Ping timeout: 255 seconds)]
grenade has quit [(Ping timeout: 255 seconds)]
teozkr has quit [(Ping timeout: 255 seconds)]
fractal has quit [(Ping timeout: 255 seconds)]
spion has quit [(Ping timeout: 255 seconds)]
jmeredith has quit [(Ping timeout: 255 seconds)]
kyren has quit [(Ping timeout: 255 seconds)]
RayNbow`TU has quit [(Ping timeout: 255 seconds)]
bohan has quit [(Ping timeout: 255 seconds)]
gsora has quit [(Ping timeout: 255 seconds)]
rodgort has quit [(Ping timeout: 255 seconds)]
shepheb has quit [(Ping timeout: 255 seconds)]
joachifm has quit [(Ping timeout: 255 seconds)]
excelangue has quit [(Ping timeout: 255 seconds)]
MarcelineVQ has quit [(Ping timeout: 255 seconds)]
loupgaroublond has quit [(Ping timeout: 255 seconds)]
copumpkin has quit [(Ping timeout: 255 seconds)]
fpletz has quit [(Ping timeout: 255 seconds)]
fre has quit [(Ping timeout: 255 seconds)]
katyucha has quit [(Ping timeout: 255 seconds)]
obadz has quit [(Ping timeout: 255 seconds)]
petar has quit [(Ping timeout: 255 seconds)]
Willi_Bu1z has quit [(Ping timeout: 255 seconds)]
SyrupThinker[m] has quit [(Ping timeout: 255 seconds)]
teh[m] has quit [(Ping timeout: 255 seconds)]
M-Rym has quit [(Ping timeout: 255 seconds)]
davidar has quit [(Ping timeout: 255 seconds)]
saintaquinas[m] has quit [(Ping timeout: 255 seconds)]
bendlas has quit [(Ping timeout: 255 seconds)]
gchristensen has quit [(Ping timeout: 255 seconds)]
nand0p has quit [(Ping timeout: 255 seconds)]
carter has quit [(Ping timeout: 255 seconds)]
qualia_ has quit [(Ping timeout: 255 seconds)]
jophish has quit [(Ping timeout: 255 seconds)]
ericsagnes has quit [(Ping timeout: 255 seconds)]
steveeJ has quit [(Ping timeout: 255 seconds)]
aszlig has quit [(Ping timeout: 255 seconds)]
samae has quit [(Ping timeout: 255 seconds)]
amir has quit [(Ping timeout: 255 seconds)]
Hunner has quit [(Ping timeout: 255 seconds)]
taeradan has quit [(Ping timeout: 255 seconds)]
kier has quit [(Ping timeout: 255 seconds)]
raydeo has quit [(Ping timeout: 255 seconds)]
adamCS has quit [(Ping timeout: 255 seconds)]
michalrus has quit [(Ping timeout: 255 seconds)]
simpson has quit [(Ping timeout: 255 seconds)]
bohan has joined #nixos
loupgaroublond_ is now known as loupgaroublond
mbrgm_ is now known as mbrgm
adamCS_ is now known as adamCS
jonasfj_ is now known as jonasfj
Rizy_ is now known as Rizy
grisher_ is now known as grisher
grenade_ is now known as grenade
michalrus_ is now known as michalrus
simpson has joined #nixos
amir has joined #nixos
samae has joined #nixos
teozkr_ is now known as teozkr
eacameron has quit [(Remote host closed the connection)]
spion_ has joined #nixos
fpletz has joined #nixos
raydeo has joined #nixos
ericsagnes has joined #nixos
fre has joined #nixos
SyrupThinker[m] has joined #nixos
obadz has joined #nixos
copumpkin has joined #nixos
saintaquinas[m] has joined #nixos
davidar has joined #nixos
nand0p_ is now known as nand0p
codedmart has quit [(Ping timeout: 240 seconds)]
ugjka has joined #nixos
carter_ is now known as carter
gsora has joined #nixos
kier has joined #nixos
Fuuzetsu has joined #nixos
tm_ has joined #nixos
jmeredith has joined #nixos
tm__ has quit [(Ping timeout: 240 seconds)]
codedmart has joined #nixos
steveeJ has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
hexagoxel has joined #nixos
fractal has joined #nixos
digitalmentat has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 241 seconds)]
MP2E has joined #nixos
<NixOS_GitHub> [nixpkgs] ixmatus opened pull request #22815: security-wrapper: Wrap <para> tags in a <note> tag (master...parnell/fix-wrappers-docs) https://git.io/vDX0m
<NixOS_GitHub> [nixpkgs] globin force-pushed openssl-1.1 from c86df0e to 3c1dd2c: https://git.io/vDOWO
<NixOS_GitHub> nixpkgs/openssl-1.1 3c1dd2c Robin Gloster: pin some packages to openssl 1.0.2 for now
ndowens08 has quit [(Ping timeout: 268 seconds)]
Rizy has quit [(Quit: Rizy)]
digitalmentat has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] globin closed pull request #22815: security-wrapper: Wrap <para> tags in a <note> tag (master...parnell/fix-wrappers-docs) https://git.io/vDX0m
mizu_no_oto has joined #nixos
takle has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
shanemikel has joined #nixos
<NixOS_GitHub> [nixpkgs] rardiol opened pull request #22816: wip: codelite: init at 10.0 (master...codelite) https://git.io/vDXEf
takle has quit [(Ping timeout: 260 seconds)]
mguentner has quit [(Quit: WeeChat 1.7)]
mkoenig has quit [(Remote host closed the connection)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
mguentner has joined #nixos
xelxebar has joined #nixos
<xelxebar> So I don't even know where to begin with this one. Right as nix-channel --update finished, my machine dies.
systemfault has quit [(Quit: Bye!)]
<xelxebar> Seems relatively consistent. If I'm in an X environment it'll hard reboot the whole system. If I'm in a console I'll be forefully thrown back to the login prompt
<xelxebar> Not really sure how to go about figuring out where in the stack this issue is occuring. Is there a way to enable verbose debugging logs and output for nix-daemon and nix-channel?
excelang1e has quit [(Ping timeout: 276 seconds)]
excelangue has joined #nixos
proteus-guy has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] globin pushed 7 new commits to master: https://git.io/vDXuU
<NixOS_GitHub> nixpkgs/master 3490508 Ian-Woo Kim: nixos-container: support bridge.
<NixOS_GitHub> nixpkgs/master a238c8a Ian-Woo Kim: nixos-container: add --port option for nixos-container (forward network ports to systemd-nspawn container)
<NixOS_GitHub> nixpkgs/master 8684285 Ian-Woo Kim: nixos-container: introduce hostPort in declarative container options.
excelangue has quit [(Ping timeout: 264 seconds)]
<clever> xelxebar: check dmesg after it happens
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
excelangue has joined #nixos
takle has joined #nixos
mizu_no_oto has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
excelangue has quit [(Ping timeout: 255 seconds)]
excelangue has joined #nixos
tm_ has quit [(Quit: Leaving)]
mguentner has quit [(Read error: Connection reset by peer)]
mguentner has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vDXze
<NixOS_GitHub> nixpkgs/master 9d8a0f8 Joachim Fasting: pax-utils: 1.1.7 -> 1.2.2...
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
hexagoxel has joined #nixos
Sonarpulse has quit [(Ping timeout: 252 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
alx741 has quit [(Quit: alx741)]
<xelxebar> clever: Yeah, as far as I can tell the kernel logs are clean
systemfault has quit [(Quit: Bye!)]
dramforever has joined #nixos
endformationage has joined #nixos
alx741 has joined #nixos
<NixOS_GitHub> [nixpkgs] globin force-pushed openssl-1.1 from 3c1dd2c to 6f998a8: https://git.io/vDOWO
<NixOS_GitHub> nixpkgs/openssl-1.1 6f998a8 Robin Gloster: pin some packages to openssl 1.0.2 for now
systemfault has joined #nixos
xelxebar has quit [(Remote host closed the connection)]
xelxebar has joined #nixos
<globin> xelxebar: are there any errors in the journal?
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
takle has joined #nixos
dramforever has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] jbedo opened pull request #22817: R: 3.2.4 -> 3.3.2 (master...r) https://git.io/vDX2u
takle has quit [(Ping timeout: 276 seconds)]
fhoffmeyer has quit [(Ping timeout: 264 seconds)]
fhoffmeyer has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vDX2P
<NixOS_GitHub> nixpkgs/master e3d7ce8 mimadrid: shotwell: 0.25.2 -> 0.25.5
<NixOS_GitHub> nixpkgs/master 9ddaa71 Franz Pletz: Merge pull request #22809 from mimadrid/update/shotwell-0.25.5...
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-16.09: https://git.io/vDX2M
<NixOS_GitHub> nixpkgs/release-16.09 4d73cd3 mimadrid: shotwell: 0.23.5 -> 0.25.2...
<NixOS_GitHub> nixpkgs/release-16.09 47fbc9c mimadrid: shotwell: 0.25.2 -> 0.25.5...
layus_ has joined #nixos
layus has quit [(Ping timeout: 240 seconds)]
<xelxebar> globin: It seems that I don't have a system logging daemon running. Just set one up
excelangue has quit [(Ping timeout: 240 seconds)]
<xelxebar> Does nix-daemon write to syslog?
excelangue has joined #nixos
xelxebar has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22795: picard: 1.32. -> 1.4 (master...picard-1.4) https://git.io/vDion
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22804: dehydrated: 0.3.1 -> 0.4.0 (master...dehydrated) https://git.io/vDP9W
xelxebar has joined #nixos
<xelxebar> Well, I just tested it out and the syslog doesn't seem to contain anything suspicious
<xelxebar> It's so weird that if X is in the foreground the whole system freezes
fritschy has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vDXaQ
<NixOS_GitHub> nixpkgs/master 195ca73 rardiol: widelands: 18 -> 19 (#22796)
stepcut has quit [(Remote host closed the connection)]
fhoffmeyer has quit [(Read error: Connection reset by peer)]
fhoffmeyer2 has joined #nixos
stepcut has joined #nixos
takle has joined #nixos
ertesx has joined #nixos
ertes has quit [(Ping timeout: 268 seconds)]
ertesx is now known as ertes
takle has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Ping timeout: 252 seconds)]
systemfault has quit [(Quit: Bye!)]
<Mic92> xelxebar: what kernel version?
<Mic92> 4.9.9 is buggy for instance with Intel Graphic Cards still
<Mic92> even though there were lots of patches
<NixOS_GitHub> [nixpkgs] bjornfor pushed 3 new commits to master: https://git.io/vDXVd
<NixOS_GitHub> nixpkgs/master 448acd8 Bjørn Forsman: nixos: remove remaining reference to setuidPrograms...
<NixOS_GitHub> nixpkgs/master 34c1b74 Bjørn Forsman: nixos/virtualbox: unbreak wrt. new security.wrappers...
<NixOS_GitHub> nixpkgs/master b1bfe9d Bjørn Forsman: nixos: hint about security.setuidOwners/Programs -> security.wrappers...
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #22806: Fixups after new security wrapper (master...fixups-after-new-security-wrapper) https://git.io/vDP5P
takle has joined #nixos
MP2E has quit [(Quit: bloop)]
takle has quit [(Ping timeout: 252 seconds)]
ertes has quit [(Ping timeout: 252 seconds)]
derjohn_mobi has quit [(Ping timeout: 245 seconds)]
pi3r has joined #nixos
ertes has joined #nixos
jgertm has joined #nixos
alx741 has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has joined #nixos
joneshf-laptop has joined #nixos
xadi has quit [(Ping timeout: 256 seconds)]
pi3r2 has joined #nixos
pi3r has quit [(Ping timeout: 255 seconds)]
xadi has joined #nixos
pi3r2 has quit [(Read error: Connection reset by peer)]
pi3r has joined #nixos
edvorg has joined #nixos
dramforever has joined #nixos
reinzelmann has joined #nixos
derjohn_mobi has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/vDXKz
<NixOS_GitHub> nixpkgs/master aaac02f Bjørn Forsman: nixos/atd: unbreak after new security.wrappers...
<NixOS_GitHub> nixpkgs/master a45821e Bjørn Forsman: nixos/cron: unbreak since new security.wrapper
endformationage has quit [(Quit: WeeChat 1.6)]
grisher has quit [(Ping timeout: 258 seconds)]
shanemikel has joined #nixos
proteus-guy has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDX6n
<NixOS_GitHub> nixpkgs/staging 35b2159 Vladimír Čunát: Merge branch 'master' into staging...
pi3r has quit [(Ping timeout: 255 seconds)]
eqyiel_ has quit [(Ping timeout: 276 seconds)]
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
ebzzry has quit [(Ping timeout: 276 seconds)]
ebzzry has joined #nixos
<NixOS_GitHub> [nixpkgs] kamilchm opened pull request #22818: chromium: flashplayer: 24.0.0.194 -> 24.0.0.221 (master...chromium) https://git.io/vDX6h
dramforever has quit [(Ping timeout: 245 seconds)]
pi3r has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
shanemikel has joined #nixos
jarlg has joined #nixos
shanemikel has quit [(Read error: Connection reset by peer)]
johann__ has quit [(Quit: Leaving.)]
shanemikel has joined #nixos
michas has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vDXio
<NixOS_GitHub> nixpkgs/master f9cb2b5 Bjørn Forsman: nixos/security.wrappers: use literalExample in documentation...
thc202 has joined #nixos
shanemikel has quit [(Quit: Textual IRC Client: www.textualapp.com)]
dvim_ is now known as dvim
<NixOS_GitHub> [nixpkgs] makefu opened pull request #22819: cups-dymo: init at 1.4.0.5 (master...pkgs/dymo/init) https://git.io/vDXP0
guillaum1 has joined #nixos
Wizek_ has joined #nixos
Wizek has joined #nixos
ebzzry has quit [(Ping timeout: 264 seconds)]
<guillaum1> Hi there. I have some stuffs that I don't really understand about the nixos-rebuild switch command. This morning, I did 'nix-channel --update', and nothing happened (it logs a download of 0 Kb, so I guess the channel was in cache and nothing was new). Then, for the sport, I did 'nixos-rebuild switch' and it actually starts to build a few derivation. Then, after, it decided to build another huge batch of
<guillaum1> derivations. So a) Why does nix-channel said that it downloaded nothing when there was actually some updates and b) why is the nixos-rebuild process in two passes. and c) why is it building gtk+ / linux / hp drivers from sources instead of fetching them from the cache.
rootnode has quit [(Quit: Quit)]
<LnL> nix-channel only downloads a new version of nixpkgs, it's separate from actually building your system
<guillaum1> LnL: I know, but apparently nix-channel did not download anything...
<LnL> but you shouldn't have to build from source when you are using a channel, unless you have some specific changes in your configuration
<guillaum1> I'm using nixos-unstable
<LnL> if the channel was not updated since the last time you updated it won't download everything
<guillaum1> LnL: so it is why I don't understand why it updated something, because last time I updated the channel, I also nixos-rebuild switch, so I was up to date with my channel.
<LnL> do you have automatic updates enabled?
<guillaum1> LnL, no.
katyucha1 is now known as katyucha
Itkovian has joined #nixos
georges-duperon has joined #nixos
<guillaum1> well, I just though about something, perhaps the nix-channel --update command wrote "downloading 0 Kib / 0" just because the download is so quick that it does not update the display with the correct size. This may explain why I think it does not download anything.
goibhniu has joined #nixos
<guillaum1> that does not solves point b) why is the nixos-rebuild switch appears to be in two passes (1) some nix / perl related package, and 2) everything else). and c) why must I manually build some stuffs.
<NixOS_GitHub> [nixpkgs] fpletz pushed 7 new commits to master: https://git.io/vDX13
<NixOS_GitHub> nixpkgs/master a73afa8 Franz Pletz: prometheus: 1.4.2 -> 1.5.2
<NixOS_GitHub> nixpkgs/master 188526d Franz Pletz: prometheus.blackboxExporter service: add CAP_NET_RAW...
<NixOS_GitHub> nixpkgs/master 78f59f1 Franz Pletz: ffmpeg: 2.8.10 -> 2.8.11 for multiple CVEs...
jgertm has quit [(Ping timeout: 268 seconds)]
ertes has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to release-16.09: https://git.io/vDX1r
<NixOS_GitHub> nixpkgs/release-16.09 a244849 Franz Pletz: webkitgtk: 2.14.3 -> 2.14.4 for multiple CVEs...
<NixOS_GitHub> nixpkgs/release-16.09 987e3e5 Franz Pletz: gnutls: 3.5.8 -> 3.5.9...
<NixOS_GitHub> nixpkgs/release-16.09 13e9396 Franz Pletz: ffmpeg: 2.8.10 -> 2.8.11 for multiple CVEs...
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vDX1y
<NixOS_GitHub> nixpkgs/master 1a77e41 Kamil Chmielewski: chromium: flashplayer: 24.0.0.194 -> 24.0.0.221...
<LnL> guillaum1: you're using nixos-unstable and not nixpkgs-unstable right?
derjohn_mobi has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<guillaum1> my /root/.nix-channels contains "https://nixos.org/channels/nixos-unstable nixos" However I remember I had issues with that file when installing nix and many errors about broken channels, which I sort of fixed, but I don't really know how, so perhaps something is weird on my system. Actually nix-channel --update seams to download
<guillaum1> (I'm leaving for work, LnL thank you for your time, I'll sort this minor issues later)
peterhoeg has joined #nixos
xelxebar has quit [(Ping timeout: 252 seconds)]
__Sander__ has joined #nixos
ertes has joined #nixos
olesk has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #22821: terragrunt: 0.10.0 -> 0.10.1 (master...u/tg) https://git.io/vDXyw
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22769: syncthing-inotify: 0.8.4 -> 0.8.5 (release-16.09...u/stn) https://git.io/vD6q5
derjohn_mobi has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22783: opengrok: 0.12.1 (broken) -> 0.12.5 (master...pr-opengrok) https://git.io/vD6ja
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vDXyN
<NixOS_GitHub> nixpkgs/master e5ac6bc Vladimír Čunát: knot-resolver: use embedded lmdb on Darwin for now...
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22747: leather: Init at 0.3.3 (master...leather-0.3.3) https://git.io/vDoNX
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22748: aenum: Init at 1.4.7 (master...aenum-1.4.7) https://git.io/vDoA4
derjohn_mobi has quit [(Ping timeout: 252 seconds)]
johann__ has joined #nixos
sibi has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22407: postgrest: dontCheck (master...patch-4) https://git.io/vDZ3f
jensens has joined #nixos
Itkovian has joined #nixos
mkoenig has joined #nixos
jgertm has joined #nixos
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
michas has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
stukj has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #22821: terragrunt: 0.10.0 -> 0.10.1 (master...u/tg) https://git.io/vDXyw
proteus-guy has quit [(Remote host closed the connection)]
roconnor__ has quit [(Ping timeout: 245 seconds)]
mudri has joined #nixos
nschoe has joined #nixos
<peterhoeg> Does anybody have a few basic rules for what type of PRs can be merged straight away (without a 2nd opinion) and when others need to be involved?
mudri has quit [(Ping timeout: 245 seconds)]
Shou has joined #nixos
stepcut has joined #nixos
takle_ has joined #nixos
<LnL> you mean one that you created yourself, or just in general
stepcut has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #22822: iputils: 20151218 -> 20161105 (master...iputils) https://git.io/vDXdZ
<ertes> is the latest unstable known to break wacom support in X?
<ertes> my tablet refused to work after today's update, so i rolled back
mudri has joined #nixos
<goibhniu> ertes: ah, xorg was bumped recently, perhaps the wacom stuff needs to be bumped separately?
<goibhniu> does it fail with xorg 1.19?
<goibhniu> I don't see a bug report about it, so if you can verify that and add one, that would be great
<ertes> my current version is 1.18.4… i'll look into it this evening
<goibhniu> excellent!
<ertes> thanks
wizeman has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #22824: ja2-stracciatella: init 0.15.1 (master...ja2-stracciatella) https://git.io/vDXbg
ThatDocsLady is now known as ThatDocsLady_afk
devoid1 has joined #nixos
devoid has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Quit: hamishmack)]
justbeingglad has joined #nixos
bennofs has joined #nixos
<peterhoeg> LnL: I mean PRs I have created myself
<goibhniu> peterhoeg: I'd say you only ask for a second opinion when you're concerned that someone may not agree with your changes or you'd like to see how you can do it better.
stukj has quit [(Ping timeout: 240 seconds)]
fhoffmeyer2 has quit [(Ping timeout: 240 seconds)]
<goibhniu> if what you're changing is uncontroversial, just push it
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/vDXN7
<NixOS_GitHub> nixops/master ca391d2 Rob Vermaas: Update release date
olesk has quit [(Ping timeout: 252 seconds)]
<fpletz> peterhoeg: +1 on what goibhniu said
<fpletz> peterhoeg: and congratulations :)
justanotheruser has quit [(Ping timeout: 258 seconds)]
<peterhoeg> Thanks fpletz. I had no idea that updating terragrunt from 0.10.0 to 0.10.1 would be such a rush! ;-)
<peterhoeg> Definitely a spiderman moment there
ebzzry has joined #nixos
jensens has joined #nixos
fhoffmeyer has joined #nixos
ThatDocsLady_afk is now known as ThatDocsLady
hamishmack has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<LnL> peterhoeg: I usually keep it open for a few days if it's not something I use actively myself
<LnL> hmm, is the manual broken on master?
hamishmack has quit [(Read error: Connection reset by peer)]
fhoffmeyer2 has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vDXjv
<NixOS_GitHub> nixpkgs/master a069c16 Frederik Rietdijk: tensorflowNoGpuSupport -> tensorflowWithoutCuda...
<NixOS_GitHub> nixpkgs/master 97c3beb Frederik Rietdijk: tensorflowCuDNN -> tensorflowWithCuda...
fhoffmeyer has quit [(Read error: Connection reset by peer)]
jensens has quit [(Remote host closed the connection)]
jensens has joined #nixos
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<NixOS_GitHub> [nixpkgs] areina opened pull request #22825: aspell-dict-ca: init at 2.1.5-1 (master...add-catalan-to-aspell) https://git.io/vDXjQ
katyucha has quit [(Quit: leaving)]
<grahamc> good morning #nixos
<grahamc> oh what
grahamc is now known as gchristensen
edvorg has quit [(Ping timeout: 256 seconds)]
michas has joined #nixos
<LnL> now we all know your github username :o
justbeingglad1 has joined #nixos
justbeingglad1 has left #nixos []
<gchristensen> the horror
justbeingglad has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20798: keras: 1.0.3 -> 1.1.1 (master...keras) https://git.io/v1m4m
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vD1vm
<NixOS_GitHub> nixpkgs/master 397e59b Frederik Rietdijk: pythonPackages.Keras: 1.0.3 -> 1.2.2
kyren has joined #nixos
kyren_ has quit [(Ping timeout: 268 seconds)]
<7IZAALM6T> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vD1v6
<7IZAALM6T> nixpkgs/master 5683311 laMudri: AgdaStdlib: v0.12 -> v0.13
<7IZAALM6T> nixpkgs/master 9e08675 Peter Simons: Merge pull request #21396 from laMudri/stdlib-v0.13...
<92AAAKL1B> [nixpkgs] peti closed pull request #21396: AgdaStdlib: v0.12 -> v0.13 (master...stdlib-v0.13) https://git.io/vMfTs
<NixOS_GitHub> [nixpkgs] peti closed pull request #22805: ghcWithHoogle: fix for ghcjs (master...fix-hoogle-ghcjs) https://git.io/vDPQd
defel has joined #nixos
Shou has quit [(Ping timeout: 256 seconds)]
samae has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
hamishmack has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
<clever> guillaum1: the reason nixos-rebuild runs in 2 stages, is because it first builds the nix in the new nixpkgs
<clever> guillaum1: then it uses that nix to build nixos
defel has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #22803: modules/filesystems: disallow non-empty fstab fields (master...fstab) https://git.io/vDPMZ
jmaki has joined #nixos
samae has joined #nixos
<gchristensen> this week's roundup is delayed, as LWN has found new and creative ways to break their output :)
defel has joined #nixos
<pareidolia> How can I start an SSH server on the NixOS minimal liveCD?
olesk has joined #nixos
<sziszi> pareidolia, mod the config, then rebuild
<pareidolia> sziszi: On a LIVE environment?
<lassulus> can't you just say systemctl start sshd?
<sziszi> I'm pretty sure this is the way
<sziszi> if the live env contains ssh, you can
<pareidolia> I grepped through systemctl, no sshd
<gchristensen> I think lassulus is right
<sziszi> but fixme
<pareidolia> I'm on minimal since 32 bit only has minimal *sigh*
Shou has joined #nixos
ebzzry has quit [(Ping timeout: 258 seconds)]
<lassulus> pareidolia: on 64bit live minimal you can just run systemctl start sshd
<lassulus> just tested it
pi3r has joined #nixos
mizu_no_oto has joined #nixos
<garbas> MarcWeber: yesterday i was already offline. here is how i got it working -> https://gist.github.com/garbas/5d50d3f5836ef990f1a46a029c33f62e
<pareidolia> lassulus: Now that we're at it, how do I start DHCP on ethernet?
<garbas> MarcWeber: this weekend at nixos meetup in berlin i'm going to be working on sphinx set of python packages for github.com/garbas/nixpkgs-python
<gchristensen> "peterhoeg [Member]" that badge looks good by your nick!
<peterhoeg> Now I just need to earn the right to keep it!
<garbas> MarcWeber: if you want i can also include rinohtype into that set, but then i need somebody that is using it and who will make sure it works
<lassulus> pareidolia: dhcpcd $your_ethernet_device
<pareidolia> I thought I needed some systemd gymnastics to do that :P
<gchristensen> :)
<pareidolia> Still, I had to do nix-os rebuild on the live environment for sshd to show up in systemctl --all
Shou has quit [(Ping timeout: 240 seconds)]
<gchristensen> lol ... "If a filename has "`" (backticks), what between backticks will be executed with lsyncd process privileges."
dramforever has joined #nixos
<gchristensen> peterhoeg: "with a bit of luck somebody will do the hard work" this is like 99% of how the roundups work :D
bennofs has quit [(Ping timeout: 245 seconds)]
<peterhoeg> gchristensen: well, what is the official position regd stable if another distribution hasn't done a backport of a fix and nobody from this side steps up to fix it?
defel has quit [(Ping timeout: 268 seconds)]
<gchristensen> a solid "it depends": if we can backport an upgrade to stable, and the upgrade isn't very substantial, then we'll do that. if we can't do that / the upgrade is substantial, then sometimes I'll let the issue come back up a few roundups hoping another distro has patched it.
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #22827: gtk-vnc: 0.6.0 -> 0.7.0 (master...u/gtkvnc) https://git.io/vD1IR
michas has quit [(Ping timeout: 240 seconds)]
<gchristensen> if that doesn't work after a few rounds, I think "hrmmm... might want a way to track 'notfixed' ones...." and mark it as done and get on with things, since none of us are paid and I'm sure not going to be able to patch it myself, and what we are doing is hugely effective even if we miss one every few months.
<gchristensen> but I don't think there is an official position
<gchristensen> (I am of course open to do something different)
derjohn_mob has quit [(Ping timeout: 252 seconds)]
tommyangelo_ has joined #nixos
Itkovian has joined #nixos
<clever> gchristensen: oh yeah, i had an idea yesterday for a more extreme tool then the ssh in the initrd, what about putting the entire install media into the grub menu, lol
ravloony has quit [(Ping timeout: 252 seconds)]
<clever> gchristensen: at a cost of about 290mb in /boot, you could get the entire install media in the grub menu
<gchristensen> O.O
<clever> and if you build it with ssh + yourkey, you could remotely access that
* pareidolia wishes blessings to Nix for including Epson printer drivers
teknico has joined #nixos
athan has joined #nixos
<clever> gchristensen: how does that sound as a rescue shell?
<mbrgm> is there a way with nixops to do a 'staggered deploy'?
<gchristensen> mbrgm: manually, with --include
<mbrgm> ok
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lassulus> oh, while we are on the live iso, Is there an easy way to activate the "toram" feature other distributions got? So I can remove the livestick after booting from it?
<clever> lassulus: it needs to boot with a different method
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<gchristensen> clever: it sounds almost _too_ clever.
<ToxicFrog> I've done that with SUSE before, it was handy.
<ToxicFrog> In general I am very much in favour of being able to do stuff like that; it makes install/rescue a lot simpler on systems where you have a bootloader already but you don't necessarily have physical access and/or an easy way to boot from external media.
<gchristensen> neat ... maybe we should make that an option
<lassulus> clever: what method are we using now? what method would support toram?
<LnL> clever: that would be pretty cool
<clever> LnL: https://github.com/cleverca22/nix-tests/tree/master/kexec and the existing netboot stuff in nixos
<clever> LnL: both of those run with the entire rootfs in ram
mkoenig has quit [(Ping timeout: 256 seconds)]
Rizy has joined #nixos
kirelagin has joined #nixos
<clever> lassulus: oops, wrong L name
mkoenig has joined #nixos
<kirelagin> Hey, does anyone know why pinentry_mac is not being built on Hydra?
<Profpatsch> garbas: What happened to the Wiki deprecation?
<Profpatsch> It looks like no alternative has come up in the meantime, other that there is no point to write down semi-structured community notes now.
<Profpatsch> I’ve seen most people move to their own blogs for stuff like that, but that kind of destroys the point of having a central knowledge base.
<Profpatsch> Very unsatisfying. :(
<Profpatsch> How about we set up an unofficial wiki?
<gchristensen> have you seen the recent issue?
<Profpatsch> gchristensen: nope, but you probably have a zelda for me. :)
<goibhniu> I guess it makes sense to continue the discussion on that issue
<gchristensen> a zelda? :)
<Profpatsch> It’s LINK, darnit!
<goibhniu> IIUC the old wiki would be re-enabled if someone added github auth support to the config
<gchristensen> lol!
<Profpatsch> thx
<gchristensen> yw
defel has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #22828: Updates for some of my packages (master...update-my-pkgs) https://git.io/vD1q4
bennofs has joined #nixos
<garbas> Profpatsch: if you ask me we can close down nixos.org/wiki today! few things is still there worth migrating but quite few things was already moved to manual
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-16.09: https://git.io/vD1qw
<NixOS_GitHub> nixpkgs/release-16.09 4838518 Peter Simons: Merge pull request #22805 from LumiGuide/fix-hoogle-ghcjs...
<garbas> Profpatsch: as of alternative wiki, please do it and (the hard part) maintain it
<Profpatsch> hehe
<Profpatsch> Maybe some “this article was last updated n months ago” warnings would help …
<garbas> what nixos/nix needs right now is a to have better tutorials/guides/... and not a place where everybody dumps their stuff
<Profpatsch> I do maintain a small wiki for our local hackerspace https://wiki.openlab-augsburg.de/
<Profpatsch> But probably the last thing I need right now is a new project. :)
<Profpatsch> Not sure if gitit is fit to host a large collection of articles … then again the state of mediawiki is complete nuts.
<Profpatsch> So maybe it is. :)
<garbas> Profpatsch: what is wrong with PR based approach like domenkozar proposed?
<Profpatsch> I think it’s nice to have a rather unstructured environments for notes.
<garbas> i see were we disagree now, i want exactly the oposite. a structured high quality tutorials/guides
<Profpatsch> The most-used source for “applied” category theory (from what people have told me) is the nlab https://ncatlab.org/nlab/show/HomePage
<Profpatsch> It’s basically a Lab notebook where everyone can edit.
<garbas> everybody can also edit with github PRs
<Profpatsch> Semi-structured notes that are easy to edit.
<garbas> it just has a review process
teknico has left #nixos []
<Profpatsch> I love the organic nature of the nixos process, so as long as people can just do stuff if they think it’s worth it, I’m all for it.
<garbas> Profpatsch: every page on github+PR based approach has also an edit button. the only difference is that once you submit you change a PR is created for somebody to previrew it
<garbas> organix process +100 :)
<garbas> organic*
<Profpatsch> As long as it doesn’t seem like fix text that has to be perfect to be changed, it should work.
<Profpatsch> I personally think nix
<Profpatsch> -nix
justanotheruser has joined #nixos
<Profpatsch> Github files have the connotation of being not worthy of changes unless they are very well thought-through.
<garbas> i'm not sure to which github files you are referring?
<Profpatsch> I mean files on GitHub.
teknico has joined #nixos
<Profpatsch> e.g. I can’t contribute to the manual in the GH-Editor really.
<Profpatsch> Because it might not be formatted correctly, and I can only know if I compile it and look at the output.
<Profpatsch> I already have a script that reevals nix expression on page reload, but it’s still non-trivial.
<garbas> but then you would not be able to merge it because PR has a job that builds the docs and if it fails you know it
<Profpatsch> Well, that’s not exactly instant feedback. :)
<pareidolia> Does NixOS have "recordfail" functinality? E.g. the newest generation fails to boot, after powercycle the previous is chosen automatically. Thanks!
modulistic has quit [(Changing host)]
modulistic has joined #nixos
<Profpatsch> On the wiki I posted around earlier we integrated a live preview that updates as-you-go.
<Profpatsch> That’s magical.
<Profpatsch> It’s anything but perfect, but suddenly it’s fun to write stuff.
<garbas> personally i dont see the magic there, but i guess we all have different priorities. :) for me the magical moment is going to be where i'm not going to be needed in-person to explain nix and somebody could just learn it on their own :D
<Profpatsch> :)
tommyangelo_ has quit [(Remote host closed the connection)]
<garbas> pareidolia: i don't think it exists. it should be possible to do - all pieces are there - just somebody needs to want it enough
<clever> pareidolia, garbas: ive also got plans for something similar/more insane, replacing grub with either haskell or rust, and allowing control over the network
<pareidolia> clever: How about Scheme (see GuixSD)
<clever> pareidolia: havent learned scheme yet
<clever> pareidolia: the basic idea, is that grub always loads a special kernel+initrd pair, that has a very thin boot menu in the initrd, that will check the network for a UDP packet, then kexec the real nixos kernel+initrd
<clever> in the event it gets no reply over the network, it goes to the default
<pareidolia> Niiiiice
<pareidolia> Well, we have suffered technological regression in a way
<Profpatsch> clever: Something like netboot?
<clever> Profpatsch: it would always load the images available on /boot, but the network just gives you control again
<clever> and another thing ive been working on, https://github.com/cleverca22/nix-tests/tree/master/kexec
<pareidolia> I remember having some Sun Ultra 5 workstations. They had an OpenBoot firmware that recognized the serial port. So you could control the state of the machine AT ALL TIMES through the serial port. Even sending Ctrl+Break (Stop-A) into a running OS would drop you to the OpenBoot Forth prompt
<clever> this lets you kexec into a nixos install image, on any linux distro, and it runs entirely from ram
<pareidolia> For a nice taste of what OpenBoot can do, find an OLPC XO-1 (no joke)
<clever> pareidolia: grub 2.0 does have serial support, and i have used that in the past, but this relies on the datacenter routing the serial somewhere
<pareidolia> I'd rather not have something fundamental like that go though implicit mechanisims
<clever> pareidolia: the latest datacenter i have had to deal with doesnt even have the BMC plugged in, so no remote serial/console
<clever> i have to open a ticket up and wait for a PHOTO of the monitor
<pareidolia> Shoot me now
<clever> and when i broke the VM ~2 days ago, i did get a screenshot
<clever> and c:\ was visible just off the edge of the screen
<clever> pareidolia: http://i.imgur.com/s23nqih.jpg check the right edge very closely
<pareidolia> Manual screenshot?
<clever> yeah
<pareidolia> That's windows explorer
<clever> yeah...
<clever> what is my poor linux server running on....
<pareidolia> Maybe WinSCP
<pareidolia> Yep, it's WinSCP https://winscp.net/pad/screenshot.png
justanotheruser has quit [(Ping timeout: 256 seconds)]
<clever> yeah, i thought that as well
<clever> i knew it would take too long to walk them thru fixing it, so instead, i made a .vmdk image using qemu, and sent them a URL to it
<clever> so they could just replace the entire disk and its fixed
<clever> then they wanted the name/pw so they could configure the static ip, i dont think they can handle nixos ....
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vD1O2
<NixOS_GitHub> nixpkgs/master c731738 Michael Raskin: graphviz_2_0: hide inside monotoneViz...
<clever> but about 5 minutes after that, they noticed i had pre-configured it and it was already up
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vD1ON
<NixOS_GitHub> nixpkgs/release-16.09 50b671b Michael Raskin: graphviz_2_0: hide inside monotoneViz...
<gchristensen> oh boy ... my smartcard isn't working.
johann__ has quit [(Quit: Leaving.)]
fhoffmeyer2 has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vD13B
<NixOS_GitHub> nixpkgs/master ac9222f Graham Christensen: gnome3.gnome-boxes: 3.22.0 -> 3.22.4
fhoffmeyer has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #22831: girara: 0.2.6 -> 0.2.7 (master...girara) https://git.io/vD137
joneshf-laptop has quit [(Remote host closed the connection)]
olesk has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #22832: zathura: 0.3.6 -> 0.3.7 (master...zathura) https://git.io/vD1sO
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vD1s2
<NixOS_GitHub> nixpkgs/master 13a1d38 Michael Raskin: irssi: 1.0.0 -> 1.0.1
mkoenig has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
<gchristensen> ie: gtk-vnc
mkoenig has joined #nixos
Shou has joined #nixos
ebzzry has quit [(Ping timeout: 252 seconds)]
fritschy has quit [(Quit: Leaving.)]
siel has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
sellout- has joined #nixos
derjohn_mob has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
tm_ has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vD1ZG
<NixOS_GitHub> nixpkgs/master bf86a26 Peter Hoeg: gtk-vnc: 0.6.0 -> 0.7.0
<NixOS_GitHub> nixpkgs/master 2155b1e Michael Raskin: Merge pull request #22827 from peterhoeg/u/gtkvnc...
jarlg has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #22833: pythonPackages: use a more direct mirror (master...python-mirror) https://git.io/vD1Zl
alx741 has joined #nixos
sellout- has quit [(Quit: Leaving.)]
takle_ has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #22833: pythonPackages: use a more direct mirror (master...python-mirror) https://git.io/vD1Zl
<k0001> Does using NixOps in Darwin for deploying to a local VirtualBox work?
<Biappi> that's a good question.. if you find out (or write) some docs about it, i'd like to know =)
<gchristensen> it should, k0001
<gchristensen> it won't work if you're using the daemon on osx though
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #22834: haskellPackages: data-pprint jailbreak (master...data-pprint) https://git.io/vD1n0
<k0001> gchristensen: Nice, thanks. Is this the only option for using NixOps to deploy locally into OSX, by the way?
cpennington has joined #nixos
<gchristensen> I don't know :/
<gchristensen> I use the daemon on osx so I can't use nixops :(
Itkovian has joined #nixos
<k0001> gchristensen: what's the problem with the daemon in NixOps?
<gchristensen> if you're on OSX and NIX_REMOTE isn't set to `daemon` it'll automatically setup one of your nixops-managed hosts as a build-machine for the build
<gchristensen> with the daemon a user's nix-build can't override the build-machines
Rotaerk has quit [(Read error: Connection reset by peer)]
<k0001> gchristensen: Hmm... it shouldn't be something hard to fix, though, right?
<tm_> [root@nixos:~]# nix-env -i binutils
<tm_> warning: there are multiple derivations named ‘binutils-2.27’; using the first one
<tm_> installing ‘binutils-2.27’
<tm_> building path(s) ‘/nix/store/kcgsz1sml8cvkrwbcjrxi8mc3i5vjqs1-user-environment’
<tm_> Wide character in die at /nix/store/64jc9gd2rkbgdb4yjx3nrgc91bpjj5ky-buildenv.pl line 79.
<tm_> collision between ‘/nix/store/8d35vjh9dwb08ia3ln8p6z9dbmzan4ym-binutils-2.27-dev/bin/addr2line’ and ‘/nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/bin/addr2line’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<tm_> builder for ‘/nix/store/3hyy2skw6kabbhwpkx2rgr1m28jdmahz-user-environment.drv’ failed with exit code 255
<tm_> error: build of ‘/nix/store/3hyy2skw6kabbhwpkx2rgr1m28jdmahz-user-environment.drv’ failed
<tm_> I suppose I could set the priority flag, but it would seem to me that the problem has more to do with the multiple derivations. Or at least the fact that it appears to try to install two packages, although I only asked for one.
<NixOS_GitHub> [nixpkgs] jnsaff opened pull request #22835: Update Sway to 0.11 (master...master) https://git.io/vD1cU
<clever> tm_: a: you want nix-env -iA, b: you should never install compilers/linkers when using nix, you want nix-shell
Itkovian has quit [(Client Quit)]
<gchristensen> k0001: no, but it is a bit annoying, and I have multiple nixops environments, and a single target builder isn't really appropriate.
<gchristensen> k0001: and: it is a huge PITA for new users, since the build machines process is hardly documented & understandable
<tm_> Aha. Will try that. I'm quite new to this... Thanks.
<k0001> gchristensen: got it. Thanks for the info, I'll keep it in mind. Now... if only I could convince people to give NixOps a try :)
<gchristensen> :D
<gchristensen> k0001: my strategy, which garbas put to words is: solve your own problems, and offer them as solutions when other people have the same problem :)
<clever> k0001: one problem i forsee with both nixos and nixops on remote servers, is that you sort of loose the ability to do rollbacks from grub
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
<clever> k0001: in some situations, nixops will let you re-provision the machine, and depending on the datacenter features, you may be able to recover it, but thats not 100% covered
<gchristensen> that is how I tricked tumblr in to using nix
<k0001> clever: at the moment I'm only thinking in pushing NixOps for local deployments.
<k0001> gchristensen: you, sir, are very wise.
<gchristensen> it is garbas that came up with it, hehe, he did the same with mozilla
<clever> k0001: i had an idea today, to make a custom bootloader, that runs as a stripped down kernel+initrd, and presents a bootloader menu over the network
<clever> k0001: and then it will kexec your choice, or the default
sellout- has joined #nixos
<k0001> clever: hm... that sounds promising.
<clever> k0001: and nixos already has some other modules, to make a kernel+300mb initrd, containing a fully working nixos system
<clever> k0001: using the netboot, you can boot any box from the ramdisk, and use nixos-install to repair/reinstall things
<k0001> clever: clever!
<clever> k0001: it wouldnt take much to just leave a copy of that in /boot, and add it to grub.cfg or the new bootloader
<clever> k0001: i have also loaded a modified form of those netbook images using kexec, which lets me hijack any linux server and convert it
<clever> netboot*
<clever> k0001: main risk with the kexec hijack method, is that one mistake can lead to http://i.imgur.com/s23nqih.jpg and its bricked
<clever> but if i had a network based boot menu, i could re-run the installer and try again
<mbrgm> can dhcpcd.service be relied upon as a service dependency for a nixos module? I want to ensure that a service does not start before the host is able to communicate on the network
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<clever> mbrgm: http://pastebin.com/FD1qkwZM since systemd didnt declare it as started until after it got a lease, i'm guessing yes
<clever> mbrgm: just properly list it as dependency in your own service
erasmas has joined #nixos
<pareidolia> Anyone experiencing avahi daemon crashing on startup?
<pareidolia> Dependency failed for Avahi daemon. avahi-daemon.service: Job avahi-daemon.service/start failed with result 'dependency'.
<clever> pareidolia: what else does it say in journalctl?
<Profpatsch> Why can’t I set a different local in a stdenv builder?
<Profpatsch> *locale
<Profpatsch> env LC_ALL=de_DE hello does exactly nothing.
<NixOS_GitHub> [nixpkgs] peti closed pull request #22834: haskellPackages: data-pprint jailbreak (master...data-pprint) https://git.io/vD1n0
Norbert has joined #nixos
<Profpatsch> I have tested it, it works just fine outside.
<Profpatsch> How could that be?
<pareidolia> clever: That's it for avahi-daemon.service
Norbert is now known as Guest77080
<mbrgm> clever: will dhcpcd also be there when I'm using static ip assignment?
<clever> open("/run/current-system/sw/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
<clever> Profpatsch: the sandbox probably isnt letting it open this
<clever> mbrgm: network.target would probably be better in the static ip case, let me check one of my static servers
<bennofs> Profpatsch: the stdenv environment does not have local files
takle has joined #nixos
<Profpatsch> clever: You mean locale.h is sandboxed?
<pareidolia> clever: I just did a nix-channel --update and nixos rebuild, still doesn't work
<bennofs> Profpatsch: perhaps you should add glibcLocales to buildInputs?
<clever> Profpatsch: the entire nix-build is sandboxes, so locale likely cant find things in the context of a build
<clever> pareidolia: what does the journal say about other units?
<Guest77080> I have a question, can nix development environment be isolated in process? I mean can I have a nix-shell in which typing `top` will only shows processes in that shell?
<pareidolia> clever: Ooooh
<clever> Guest77080: nix-build can do that, but not nix-shell, and nix-build can only do it when the sandboxing is enabled
<gchristensen> not that I know of, Guest77080
<pareidolia> clever: I think systemd wants a wireless interface to be up
<pareidolia> clever: How do I disable an interface entirely?
<clever> pareidolia: ah, it probably wants at least one configured network up before starting avahi
<Guest77080> Thanks clever, can you point me to some docs?
<pareidolia> clever: I have wired eth
<pareidolia> clever: sys-subsystem-net-devices-wlp3s0.device: Job sys-subsystem-net-devices-wlp3s0.device/start failed with result 'timeout'.
jgrasser_ has quit [(Read error: Connection reset by peer)]
<clever> Guest77080: build-use-sandbox in https://nixos.org/nix/manual/
<clever> pareidolia: is try removing the wireless from configuration.nix maybe?
<Guest77080> Thanks man.
jgrasser has joined #nixos
<clever> mbrgm: i dont think the journal is logging targets, so i cant see when it thinks network.target is up, but that feels like it should do what you want
<mbrgm> clever: my problem is that keepalived service comes up too fast at boot time. I started ordering it after network-online.target, but that's even before the predictable interface name udev rule has finished, which means no proper device name at that point. then I changed it to start after the interface .devices it's listening on, but this causes it to come up before they have an IP, which is why it immediately
<mbrgm> think it's the only instance in the group and goes into MASTER state. now even if I put it after dhcpcd.service (just tried), this is not enough :( the only thing that works is a preStart delay using `sleep ` v, but that seems kinda hacky.
<pareidolia> clever: I have no wireless configured
<pareidolia> clever: I tried blacklisting the module
<clever> pareidolia: strange
<clever> mbrgm: the systemd depencies are a bit weird, it has different modes to start a then start b, or to wait for a to fully start up, then launch b
<mbrgm> clever: don't want to produce a semi-working service for nixpkgs :-/
<clever> mbrgm: check the output of journalctl -u dhcpcd -u keepalived and confirm if it waited for dhcpcd to fully start
<clever> mbrgm: i also ran into a similar issue when i was fixing my vpn a few days ago, i just made the vpn retry every 10 seconds until it came online
<pareidolia> clever: ip-up.target *is* active
<mbrgm> clever: the issue is keepalived does not fail when it cannot communicate. it just thinks it's the only kid on the block, goes into MASTER state (which is intended behavior) and then shortly after it's able to communicate, the MASTER with the higher IP preempts the current MASTER according to how it's defined in the VRRP RFC.
<clever> mbrgm: ah
<mbrgm> clever: lots of details; I think what I really need is some delay between network/device/dhcpcd/whatever started and keepalived starting.
<mbrgm> I already thought about a systemd timer. this would only delay at boot but not later
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to staging: https://git.io/vD1lQ
<NixOS_GitHub> nixpkgs/staging 8a92870 Bas van Dijk: haskell: add support for Haskell Program Coverage (HPC) to the generic builder...
<clever> mbrgm: about all i can think of is to confirm you can ping some known-good ip before it starts
fre has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/vD1lN
<NixOS_GitHub> nixpkgs/master 6462775 rnhmjoj: girara: 0.2.6 -> 0.2.7
<NixOS_GitHub> nixpkgs/master e6ea104 Arseniy Seroka: Merge pull request #22831 from rnhmjoj/girara...
<DutchWolfie> sorry for bumping in but on the topic of wiki, have you thougth about putting up a Drupal site, there you can finegrane who has access to write content, does revisions etc.
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to master: https://git.io/vD1lj
<NixOS_GitHub> nixpkgs/master 8066835 rnhmjoj: zathura: 0.3.6 -> 0.3.7
<NixOS_GitHub> nixpkgs/master c16bfb8 Arseniy Seroka: Merge pull request #22832 from rnhmjoj/zathura...
MoreTea has joined #nixos
<clever> mbrgm: i have had issues with SPAN on an old switch, the link was dead for the first 20 seconds it was online, and the network boot in my bios gave up too fast
freusque has joined #nixos
<clever> mbrgm: then the bios re-does the link, causing that 20 second timer to restart, and it would never boot
<clever> so even if the static ip is configured and the ethernet has a link, the switch may be blocking your traffic
<mbrgm> clever: this is what I wanted to avoid for, say you're booting some part of the infra afer a powerloss or stuff, and then there's a deadlock because of the LBs not coming up or such...
<clever> so you would want to confirm you can at least reach one IP
<mbrgm> clever: maybe I'll go with the after-boot timer activating the service
<pareidolia> How can I get the dependency tree of a systemd service
<clever> mbrgm: yeah, just a fixed delay sounds best
<mbrgm> pareidolia: systemctl --list-dependencies
<clever> systemctl: unrecognized option '--list-dependencies'
<clever> ah,without the --
<mbrgm> whoops. err
<mbrgm> yeah
<mbrgm> pareidolia: systemctl list-dependencies
<mbrgm> clever: did you check for dhcpcd on your static machine?
<mbrgm> clever: I don't have a static one at hand right now
<clever> Jan 27 23:34:40 chipuppoker.com dhcpcd[27568]: eno2: waiting for carrier
<clever> Jan 27 23:34:40 chipuppoker.com systemd[1]: Started DHCP Client.
<clever> mbrgm: it is starting, on the 2nd IF, which isnt plugged in
<clever> so the time it starts at means nothing for the primary IF
<pareidolia> Grrrrrr sys-subsystem-net-devices-wlp3s0.device is listed as a depencency. How can I blacklist *that*
<mbrgm> clever: ok, I think I'll go with network-online.target + 5 sec or so
<pareidolia> T
<clever> pareidolia: strange, "systemctl list-dependencies" and "systemctl list-dependencies avahi-daemon" show entirely different lists on my end
<pareidolia> That's the awful thing, it's an implicit dependency
<clever> and on my system, it doesnt depend on any network interfaces
<clever> pareidolia: oh, one min
<clever> pareidolia: which channel are you on?
<pareidolia> Vanilla nixos
<clever> pareidolia: 16.09, or unstable?
<pareidolia> 16
<pareidolia> Ah damn. I had removed the wireless interfaces on *another* machine
<pareidolia> Rebuilding...
<clever> 16.09 has different dependencies
<clever> and line 184 specialy depends on all of your interfaces
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22835: sway: 0.9 -> 0.11 (master...master) https://git.io/vD1cU
shepheb_ is now known as shepheb
Shou has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vD14o
<NixOS_GitHub> nixpkgs/master 0ed06bc Kristoffer Søholm: pypandoc: 1.2.0 (broken) -> 1.3.3 (#22782)
<pareidolia> Ok, the verdict is PEBCAK. I confused login tabs of 2 different systems
<clever> heh, ive shutdown -h the wrong box before because of that
<pareidolia> I add country flags to my shell prompts.. but these are fresh systems
dramforever has quit [(Ping timeout: 240 seconds)]
<clever> heh, neat idea
<clever> prior to nixos, the biggest hint was the color of the shell
<clever> the older systems lacked the fancy shell colors nixos has
roconnor__ has joined #nixos
<clever> but now that nixo is taking over all of my systems, they all look identical!
<pareidolia> When I was a teenager, Gentoo seduced me with its pretty colours
<clever> i still have 1 remaining gentoo install
<clever> but i now install everyhting on it with nix-env, lol
<clever> its just so much faster
<pareidolia> Same here on the laptop
<clever> about a month ago i changed the laptop from gentoo to nixos + zfs + lvm + luks
<pareidolia> But I have another system that runs ZFS on AOE... I'd have to implement that boot process
<clever> i can also boot my laptop over iscsi
<NixOS_GitHub> [nixpkgs] aycanirican pushed 1 new commit to master: https://git.io/vD1B2
<NixOS_GitHub> nixpkgs/master 2ce7dd7 Aycan iRiCAN: emacs: fix sha256 hashes of savannah patches
fhoffmeyer has quit [(Read error: Connection reset by peer)]
<pareidolia> clever: I think I found an initrd module in your github
<pareidolia> clever: Concerning iscsi booting
<clever> probably
fhoffmeyer has joined #nixos
<clever> i had used ipxe to do the bootstrapping
<clever> ipxe hooks the legacy bios api for the hdd, and routes it over iscsi
<clever> so grub boots from iscsi, thinking it a local bios hdd
<pareidolia> I skipped that step since I have a single SSD for ARC and SLOG
<pareidolia> So grub lives there
<clever> ah
<clever> i was doing it purely over the network, because gentoo was still holding on to the hdd
<pareidolia> Did you write about this adventure?
<clever> nope
<pareidolia> Other question, do I need to do something special with CUPS to enable the webinterface?
<clever> but i had an even bigger adventure after that
<clever> i was in the middle of backing up the gentoo, by moving all its files from /mnt to an nfs server
<clever> and then i had to leave in the middle of that, with half of gentoo missing
<clever> it was barely able to boot, but it had a year old copy of nix installed in /usr/local
<clever> pareidolia: what would you do?
<pareidolia> I think CUPS only replies to requests from localhost
systemfault has joined #nixos
<pareidolia> Bingo
<clever> i couldnt just nix-channel --update, because the nix was too old to handle the new nixpkgs
jarlg has joined #nixos
<clever> so i opened hydra up in lynx (not even xorg worked), grabbed the storepath for a new nix build, and used "nix-store -r /nix/store/foo-nix-1.2.3"
<clever> which downloads it purely from the binary cache
<clever> pareidolia: after that, it was pretty much just nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel && touch /etc/NIXOS && NIXOS_INSTALL_BOOTLOADER=1 ./result/bin/switch-to-configuration boot
<gchristensen> what was that channel for nix + sbt? copumpkin?
<clever> pareidolia: this builds nixos on gentoo's /nix/store, then tells nixos to overwrite the MBR and re-install grub
<clever> pareidolia: and boom, now nixos is booting on the gentoo rootfs!
<pareidolia> Groovy
<clever> pareidolia: main issue, is that gentoo files in /bin /usr and /etc usualy break nixos, so i had to rm -rf all of them
Shou has joined #nixos
<clever> pareidolia: then i ran into a second issue, i accidentaly used nix master, so the nix in nixos is too old to handle db.sqlite!
proteus-guy has joined #nixos
<gchristensen> oh spooky, our mysql service is broken when using the mysql57 package
nckx has quit [(Quit: ☭ + 🐧 + GNU Guix <https://gnu.org/s/guix>)]
jarlg has quit [(Ping timeout: 240 seconds)]
<pareidolia> Does NixOS support the SANE network daemon?
ertes has quit [(Ping timeout: 260 seconds)]
<clever> pareidolia: i think all this does is put it in some env variables and add some udev hooks
ndowens08 has joined #nixos
systemfault has quit [(Quit: Bye!)]
jarlg has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
Foul is now known as Nycatelos
wak-work has quit [(Ping timeout: 245 seconds)]
<pareidolia> Is there a way to include extra systemd unit files etc. from within nixos configuration?
<clever> pareidolia: https://gist.github.com/cleverca22/c2aa60d65ee6000dc6e4643a8a58a23c is the nixos way to create systemd services
<pareidolia> Thanks!
<clever> which reminds me, i was about to add snmp to 2 of my servers
<pareidolia> Is this meant to include from nixos config?
<clever> you can either add it to the imports list, or merge it into the same file
<clever> imports takes a list of modules, which have the exact same syntax as configuration.nix
<clever> in my systems, i keep seperate files, like vim.nix and snmp.nix, then i can choose which features i want by adjusting imports
michas has joined #nixos
<clever> and i can reuse the same files between many machines
<pareidolia> I'm going to make a socket and service file for saned
<pareidolia> It's a thin daemon anyway
<MoreTea> You could probably create a PR to get it included in NixOS
<clever> pareidolia: a random example of a socket + service
<MoreTea> see $GITREPO/nixos/modules for examples
<pareidolia> In time. We're nowhere done yet
<pareidolia> clever: Where is the port set?
ilyaigpetrov has joined #nixos
<pareidolia> clever: This can't be all for the socket systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
<clever> pareidolia: oh yeah, odd
jarlg has quit [(Ping timeout: 240 seconds)]
<clever> pareidolia: this sshd example can optionaly listen on the ports listed in cfg.ports
wak-work has joined #nixos
jarlg has joined #nixos
<clever> pareidolia: another advantage of making things like this into a module is this: https://gist.github.com/cleverca22/c2aa60d65ee6000dc6e4643a8a58a23c#file-gistfile1-nix-L24
<clever> pareidolia: this file will now automaticaly open a hole in the firewall over the VPN
<NixOS_GitHub> [nixpkgs] vandenoever opened pull request #22836: QOwnNotes: init at 17.02.6 (master...qownnotes) https://git.io/vD12e
<clever> so just doing imports = [ ./snmpd.nix ]; starts it, and allows it thru the firewall
<pareidolia> Firewall is arranged through another option I guess
freusque has quit [(Read error: Connection reset by peer)]
<clever> the nixos firewall doesnt allow you to configre things on a per-interface option, so i just manualy inserted an iptables command into the fw script
<MoreTea> @clever, but I guess that in most cases you'd like to use `networking.firewall.allowedTCPPorts`
<clever> MoreTea: that opens it on every interface, in this case i only wanted it on the VPN
<MoreTea> I see.
<MoreTea> There is some PR + discussion about a rewrite of the firewall rules module
<clever> MoreTea: one thing id like to see is for it to use iptables-restore
s1lvester has joined #nixos
<clever> MoreTea: the iptables command isnt meant to be ran in a script like that, it has some large cpu usage issues
silvester has quit [(Ping timeout: 240 seconds)]
<clever> MoreTea: to avoid blocking network activity when changing rules, iptables uses an RCU list, so it copies the entire firewall list, modifies the copy, then atomicly swaps a pointer that the networking stack reads
<MoreTea> Ah yes just like swapping the current system symlink `iptables-restore` is atomic
<clever> MoreTea: but because of this, every iptables command you run takes more and more time
<clever> and also, during that time, the firewall rules are partialy built, and an attacker might be able to take advantage of it
<clever> iptables-restore atomicly changes the entire list in one sweep
<MoreTea> yep, just said that :)
<MoreTea> that's the issue about using iptables-restore
<clever> ah nice
<clever> should have looked for one when i tried to write that pr a few months ago
<pareidolia> Is there formal documents for the systemd unit file map sets?
<MoreTea> The problem is that you might have some dynamic rules in there, like for docker containers
<clever> pareidolia: search for "systemd.services" in https://nixos.org/nixos/options.html
<clever> MoreTea: plan a, fix the docker stuff to have hooks that can insert things into the rules file before you restore
<clever> MoreTea: plan b, just run the old/slow docker iptables command after the restore, the bulk of the firewall is in place
<MoreTea> maybe we could have a patched `iptables` command and make them available to e.g. docker.
<clever> MoreTea: that sounds like what apt-get does to fix ldconfig issues
<MoreTea> But that would probably require some additional daemon
<clever> MoreTea: it replaces ldconfig with a wrapper, that sets a flag and does nothing
<clever> then when all the installs are done, it runs a single ldconfig pass
<MoreTea> ok
<pikajude> ffs
<pikajude> sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have the setuid bit set
<pikajude> what do I do about this
<clever> that could also be done with iptables, feed it a fake one, that will build rules up in a temp file
<clever> sudo is /var/setuid-wrappers/sudo
<clever> pikajude: all setuid programs on nixos must live in this directory
<pikajude> well, now it's /run/wrappers/bin isn't it?
<MoreTea> the alternative is to: 1) iptables-save to xml, parse and extract custom rules, 2) iptables-restore with these custom rules added. The problem is that this creates a race condition
DutchWolfie has quit [(Quit: Konversation terminated!)]
<clever> pikajude: havent been following that recent pr, but yeah it is moving a bit
<pikajude> I wonder why sudo is in my sw folder
<MoreTea> clever, yes, I guess. If you'd flock() that file, then everything should be OK.
<clever> pikajude: it will be in both sw and the setuid wrappers
<pikajude> oh
<pikajude> ooh, i see
<MoreTea> I'm not sure of there is software that directly talks to the linux kernel to modify the firewall
<pikajude> my system path hasn't been property updated
<clever> MoreTea: fail2ban
<pikajude> classic tmux
<pikajude> always not updating the system path properly
athan has quit [(Remote host closed the connection)]
<pareidolia> clever: StandardInput is missing from options
<MoreTea> clever, apparently fail2ban also uses iptables
<clever> pareidolia: every key=value pair put under serviceConfig will be put into the [Service] section of the unit, with zero typechecking
<pikajude> zero typechecking, mmmm
<clever> pikajude: yeah, ive broken units a few times because of that
<pikajude> same
<pikajude> bah. nixos-rebuild is defined in the same place that it's added to the system path
<pikajude> so I can't get a reference to it in my config
* pikajude wonders whether having a setuid version of nixos-rebuild is a terrible idea
<clever> pikajude: config.system.path is the attribute path for the derivation that winds up at /run/current-system/sw
<pikajude> right
<pikajude> ho
<MoreTea> pikajude, then e.g. any compromised service could modify your system configuration
<pikajude> oh
<pikajude> so I could use ${config.system.path}/bin/nixos-rebuild
<pikajude> MoreTea: it's true
<pikajude> however, if I avoid letting services get compromised, nothing bad should happen
jarlg has quit [(Ping timeout: 258 seconds)]
RchrdB has joined #nixos
<clever> pikajude: the ntfs-3g driver recently had a bug that allowed non-root users to load kernel modules
sellout- has quit [(Quit: Leaving.)]
<pikajude> there aren't any other users on my machine
<clever> pikajude: ntfs-3g is setuid root, so it can do fuse mountings, and if fuse isnt in the kernel, it just blindly runs "modprobe fuse"
<pikajude> no kidding
<clever> pikajude: but modprobe wasnt designed for setuid use, and it obeys env variables for config
<clever> pikajude: an attacker can just point it to a custom config file, which changes where it finds fuse.ko
<niksnut> pikajude: ${config.system.build.nixos-rebuild}
<pikajude> niksnut: cool
<clever> oh yeah, forgot about that one
<pikajude> also, i just recently discovered nixos-option
<pikajude> which is just fantastic
<NixOS_GitHub> [nixpkgs] Dridus opened pull request #22837: python2.7-future: #22590 remove platform restriction (master...remove-python-future-package-restriction) https://git.io/vD1rc
fnljk has quit [(Disconnected by services)]
fnljk_ has joined #nixos
<clever> pikajude: nix-repl is also of use, http://pastebin.com/j8tnQGfa
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<pikajude> yeah, i've been using that one for months
<clever> pikajude: you can inspect any nixos option you want, including the options other modules internaly setup
<clever> and under the options tree, you can find the same info nixos-option uses
<clever> nix-repl> options.systemd.services.description
<clever> "Definition of systemd service units."
<pareidolia> How do I add systemd unit options under the "Install" header?
<pareidolia> stallOptions does not exist
<pareidolia> installOptions
<clever> zfs-mount.service:[Install]
<pareidolia> ?
<clever> lrwxrwxrwx 1 root root 99 Dec 31 1969 zfs-mount.service -> /nix/store/szjafmlahqnkj0wv1yfyncn995d789wz-zfs-user-0.7.0-rc3/etc/systemd/system/zfs-mount.service
<clever> pareidolia: ah, in this case its not being generated via systemd.services
<clever> but another option is just throwing the whole file at systemd
<clever> services.udev.packages = [ packages.zfsUser ]; # to hook zvol naming, etc.
<pareidolia> clever: I'm looking at the "Also" attribute
<clever> pareidolia: probably this one
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<pareidolia> I mean http://superuser.com/a/985673
<clever> pareidolia: nixos doesnt allow imperative changes to systemd units, so the install Also option means nothing
<clever> pareidolia: those other modules will have to be defined/loaded directly in the nixos config
<pareidolia> Ooh it's redundant
<clever> i think its so systemd will auto-install x when you install y's module
fhoffmeyer has quit [(Ping timeout: 240 seconds)]
<pareidolia> clever: Before I had the "Also" http://pastebin.com/XXLV1uhX
<clever> but for nixos, you define that dependency within the nixos config
<pareidolia> clever: What does this mean "more than one socket"
<pikajude> ok, well, a setuid'd nixos-rebuild still isn't acting as root
<pikajude> that's strange
<clever> pareidolia: not sure
ertes has joined #nixos
<NixOS_GitHub> [nixpkgs] tindzk closed pull request #20794: tensorflow: 0.10.0 -> 0.12.0rc0 (master...tensorflow) https://git.io/v1qyG
<NixOS_GitHub> [nixpkgs] globin closed pull request #19742: [17.03] Revert "gnome-session: enable debug" (staging...gnome-debug) https://git.io/vP5ZR
<pareidolia> clever: Is there a link farm somewhere for all service files?
<clever> pareidolia: all of the nixos ones should be defined within https://github.com/NixOS/nixpkgs/tree/master/nixos/modules
<pareidolia> clever: I mean on a ny given system
fhoffmeyer has joined #nixos
<clever> # ls /etc/systemd/system
<clever> pareidolia: same place as it would land at on a normal system
contrapumpkin has joined #nixos
<pareidolia> clever: Does the @ in a service name mean something special to systemd?
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vD1K0
<NixOS_GitHub> nixpkgs/master 4e72d2d Toni Reina: aspell-dict-ca: init at 2.1.5-1
<NixOS_GitHub> nixpkgs/master d583e01 Peter Simons: Merge pull request #22825 from areina/add-catalan-to-aspell...
<clever> pareidolia: i think it means you can spawn many instances of it
<clever> pareidolia: containers and tty's are the main uses ive seen
<contrapumpkin> niksnut: you around for a quick check on my thinking about the EC2 metadata issue I filed a bug about?
<clever> pareidolia: so if you try to start container@foo, it will run the container@.service unit, with %i replaced by "foo"
mkoenig has quit [(Ping timeout: 260 seconds)]
<pareidolia> nix-rebuild doesn't like the @
mkoenig has joined #nixos
<pareidolia> clever: What's the syntax for streams? StandardInput StandardOutput etc
<pareidolia> Scratch that
<clever> pareidolia: thats defined in "man systemd.exec"
justbeingglad has joined #nixos
nckx has joined #nixos
<pareidolia> We're getting somewher :P
teknico has left #nixos []
fhoffmeyer has quit [(Ping timeout: 245 seconds)]
justbeingglad has left #nixos []
danharaj has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #22837: python2.7-future: #22590 remove platform restriction (master...remove-python-future-package-restriction) https://git.io/vD1rc
wak-work has quit [(Ping timeout: 268 seconds)]
[0x4A6F] has joined #nixos
fhoffmeyer has joined #nixos
ryanartecona has joined #nixos
<NixOS_GitHub> [nixpkgs] teh opened pull request #22838: vowpalwabbit: init at 8.3.2 (master...vw) https://git.io/vD1bf
fhoffmeyer has quit [(Read error: Connection reset by peer)]
k0001 has quit [(Quit: WeeChat 1.5)]
phreedom has joined #nixos
<bendlas1> It appears nix-prefetch-url doesn't correctly utilize mirrors: https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.10.tar.xz 404's for me, because of CDN issues. The link is available through other mirrors, but nix-prefetch-url errors.
k0001 has joined #nixos
<clever> bendlas1: there is a new addition, nix-prefetch-url '<nixpkgs>' -A hello.src
<clever> bendlas1: it basicaly just runs the normal fixed-output builder (including its mirror support), and treats the hash failure differently
<clever> bendlas1: it will rename the output to match its actual hash, and tell you what the hash actualy was
jarlg has joined #nixos
wak-work has joined #nixos
contrapumpkin has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
fresheyeball has joined #nixos
lambdamu has joined #nixos
lambdamu has quit [(Client Quit)]
lambdamu has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
<gchristensen> anyone doing using sbt & nix & can lend a hand?
mkoenig has joined #nixos
<bendlas1> clever: that's what I'm referring to. it doesn't use fetchurl's mirrors properly
hopio3151 has quit [(Remote host closed the connection)]
__Sander__ has quit [(Quit: Konversation terminated!)]
fhoffmeyer has joined #nixos
ambro718 has joined #nixos
<gchristensen> bendlas1: what is the exact command you're running?
mkoenig has quit [(Ping timeout: 240 seconds)]
guillaum1 has quit [(Ping timeout: 255 seconds)]
bendlas1 is now known as bendlas
mkoenig has joined #nixos
<bendlas> gchristensen: `nix-prefetch-url ~/checkout/nixpkgs/ -A linuxPackages.kernel.src`
jgertm has quit [(Ping timeout: 252 seconds)]
<clever> nix-repl> linuxPackages.kernel.src.urls
<clever> [ "mirror://kernel/linux/kernel/v4.x/linux-4.9.6.tar.xz" ]
<clever> yeah, that should be using a mirror list
FRidh has quit [(Ping timeout: 255 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
goibhniu has quit [(Ping timeout: 257 seconds)]
contrapumpkin has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
jluttine has quit [(Read error: No route to host)]
jluttine has joined #nixos
<contrapumpkin> niksnut, ikwildrpepper: if I wanted to add the oauth plugin to your nixos-org-configurations repo, I'm not quite sure how to test it
<contrapumpkin> it doesn't seem hard to do
<contrapumpkin> I guess I can set up my own mediawiki and try applying something resembling the configuration I'm proposing
<gchristensen> you should likely do that :)
<contrapumpkin> but it can't really be a straight PR because you'll need to allocate an OAuth app in GitHub and hide the token
<gchristensen> provide those instructions in the PR, it should be ok
<contrapumpkin> gchristensen: any ideas for hiding the OAuth token from the config?
<gchristensen> I don't, but I think there is a way ikwildrpepper uses
rmrfroot has joined #nixos
<contrapumpkin> will await advice from ikwildrpepper before doing it then :)
sibi has quit [(Quit: Connection closed for inactivity)]
<gchristensen> I'd suggest moving forward and leave a placeholder in there when you commit
jarlg has quit [(Ping timeout: 255 seconds)]
<contrapumpkin> I'm mostly concerned that doing so will piss a bunch of people off
jarlg has joined #nixos
fhoffmeyer has joined #nixos
<gchristensen> why? this way you can at least get working on the project and not be blocked on it, and when it comes time to integrate it'll be blocked on only that one detail
<contrapumpkin> nah I mean the act of re-enabling the wiki
<contrapumpkin> not the token impl
Shou has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<gchristensen> oh
michas has quit [(Ping timeout: 240 seconds)]
<clever> contrapumpkin: i usualy handle secrets by doing let passwords = import ./passwords.nix ; in { .... foo = passwords.servicename; }
<clever> contrapumpkin: and then i just dont include passwords.nix in git
<contrapumpkin> sure, that's probably right
<clever> and maybe for nixos, leave a comment with directions on where that secret has to be configured in github
<clever> so it can be updated if its ever lost/changed
<clever> main issue with trying to test modules like that though, is that github will often try to call back to you over http, and that always goes to the real nixos.org
jarlg has quit [(Ping timeout: 240 seconds)]
<clever> so you need to rename your install, give it a public domain, and make it publicly accessible
bennofs has quit [(Ping timeout: 240 seconds)]
t7 has joined #nixos
<clever> bbl
jensens has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has joined #nixos
<pareidolia> saned with systemd really is a steaming pile
<pareidolia> and nothing works.
LUuM has joined #nixos
<NixOS_GitHub> [nixpkgs] ilya-kolpakov opened pull request #22839: boost: 1.63.0 (not default) (master...master) https://git.io/vDMnC
<pareidolia> How do I get something like Environment = "SANE_CONFIG_DIR=${sane-config}";
<pareidolia> to work?
Shou has joined #nixos
<lassulus> pareidolia: what do you want to do?
hotfuzz_ has joined #nixos
davidak has joined #nixos
<pareidolia> lassulus: Get saned to work with systemd
<pareidolia> lassulus: It's supposed to have "systemd integration"
sellout- has joined #nixos
hotfuzz has quit [(Ping timeout: 260 seconds)]
BobTheJanitor has joined #nixos
sellout- has quit [(Remote host closed the connection)]
Sonarpulse has joined #nixos
sellout- has joined #nixos
<lassulus> and just services.saned.enable = true; doesn't work?
ambro718 has quit [(Ping timeout: 260 seconds)]
<pareidolia> There is no such thing
<lassulus> oh, maybe it's in unstable only
mkoenig has quit [(Read error: Connection reset by peer)]
<BobTheJanitor> I have issues with installing Grub efi. I followed the instructions in the manual, created a fat32 partion with the proper code and mounted it to /mnt/boot, unfortunately when I start my PC it just goes straight into bios, boot option not available. No uefi options in bios (Republic of Gamers mobo), and I don't want to give in and to legacy boot, s
<BobTheJanitor> o any help is appreciated
<pareidolia> lassulus: WHERE????
<lassulus> pareidolia: give me a sec
<lassulus> oh
<pareidolia> simpson: HOLY SHIT how can I pull this into my current system?
<pareidolia> I've been screwing myself for the past 4 hours
stepcut has joined #nixos
<lassulus> you could just copy the file and import it
<lassulus> probably
<pareidolia> Are you sure?
<lassulus> 80% sure
<simpson> lassulus: Won't work as-is; you need to include it from other spots too.
<simpson> pareidolia: You could try checking out from git and using that for your next nixos-rebuild.
<contrapumpkin> include it from other spots?
<simpson> Don't the NixOS modules need to all be imported? If that module is new, then the import further up the tree is missing, right?
<pareidolia> error: Module `/etc/nixos/configuration.nix' has an unsupported attribute `boot'. This is caused by assignments to the top-level attributes `config' or `options'.
<lassulus> I think you could still just import it in your configuration.nix, thats how I write and test modules which don't end up in nixpkgs
<contrapumpkin> simpson: that would import it and have the same effect as adding it to the module list
<pareidolia> Why is boot suddenly unsupportd
<contrapumpkin> simpson: of course, the package might still be missing :)
<lassulus> and maybe some group/user ids
<simpson> contrapumpkin: That's bold.
jgertm has joined #nixos
<pareidolia> Everything has gone totally insane
mkoenig has joined #nixos
BobTheJanitor has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<pareidolia> Ok, that was a very confusing error message
<pareidolia> Now this
<pareidolia> error: The option `hardware.sane.snapshot' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/hardware/sane.nix' is already declared in `/etc/nixos/sane.nix'.
<pareidolia> Can I "blacklist" the other file?
DutchWolfie has quit [(Quit: Konversation terminated!)]
<contrapumpkin> pareidolia: you must be including that sane.nix somewhere
<contrapumpkin> other things won't be including it for you
<LUuM> just a totally unrelated question: is there a server-software that allows to connect the stdin and stdout of a bash to a https server port, and a javascript app (on this server) to work with this stream in the browser? like a way to reverse connect a ssh, but access it via a browser. or a browser based teamviewer for bash
<lassulus> there could be a problem, because some sane options also exist in stable and the import would override them
<simpson> LUuM: There's stuff like GateOne, but I wouldn't recommend any of it.
<pareidolia> contrapumpkin: There is a conflict now
<pareidolia> error: The option `hardware.sane.enable' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/hardware/sane.nix' is already declared in `/etc/nixos/sane.nix'.
<LUuM> simpson: a hosted version is kind of tricky, but there is nothing wrong with a self hosted version?!
<simpson> LUuM: It's not very good software under the hood.
digitalmentat has joined #nixos
<simpson> LUuM: I blame this mostly on the Web, which is not really a system for good software.
Shou has quit [(Ping timeout: 240 seconds)]
BobTheJanitor has joined #nixos
<BobTheJanitor> Is anyone here?
<pareidolia> God. SO CLOSE
<pareidolia> ln: failed to create symbolic link '/nix/store/9h9kgh4liwwyshhmkhvk18614kka231r-sane-config/etc/sane.d/net.conf': File exists
<LUuM> simpson: but if i see corretly it's just a browser to terminal connection? so you need some kind of client on the server you want to connec to to get started? i've tought of just a bash oneliner to connect any bash to the browser gateway
<symphorien> is there somewhere an equivalent of https://nixos.org/nixos/options.html for nixos unstable ?
<pareidolia> Good question
<simpson> LUuM: I don't really understand what problem you're trying to solve, then, sorry.
<BobTheJanitor> Pareidolia: rename that file and try again
<simpson> symphorien: In general, you can $(man configuration.nix) and get documentation for your currently-running NixOS.
<LUuM> simpson: thanks anyway for the link to gateone!
<simpson> symphorien: All of the other answers involve building the manual yourself, I think. Which is not hard, but I think that you probably want the man page.
stepcut has quit [(Remote host closed the connection)]
<symphorien> oh thanks
<pareidolia> BobTheJanitor: Everything is readonly and immutable!!
<NixOS_GitHub> [nixops] rbvermaa pushed 1 new commit to master: https://git.io/vDM8H
<NixOS_GitHub> nixops/master aedb7f9 Rob Vermaas: Update release date
<simpson> BobTheJanitor: Hi, welcome to #nixos. This channel is for discussing Nix, NixOS, Hydra, nixops, etc.
<BobTheJanitor> Oh hi. I'm having trouble with getting my PC to recognize my boot partition. It doesn't show up in bios boot menu. I think it's because the boot partion isn't being mounted, it's doesn't appear in the hardware config nix file, but I don't know if that's an unrelated issue
<simpson> No idea, sorry.
stepcut has joined #nixos
<BobTheJanitor> Oh well. If it doesn't work out I'll just try legacy instead of efi
itscaleb has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<regnat> BobTheJanitor: you mean your boot partition isn't mounted when you run nixos-rebuild ?
<ndowens08> hmm I have sandbox enabled, but does it not clean itself after each build?
stepcut has quit [(Remote host closed the connection)]
<devoid1> Dumb question, but as I understand it a nix variable like `pkgs.vim` evaluates to a set of paths on the system? Is there a way to see what that evaluates to? Like a nix-shell expression?
<BobTheJanitor> Oh I'm still in the livecd (well usb), it's mounted to /mnt/boot, but not it he hardware config file. Don't know if that needs to be regenerated somehow, or if that's not the issue at all
devoid1 is now known as devoid
<NixOS_GitHub> [nixpkgs] orivej opened pull request #22841: lumail: init at 2.9 (master...lumail) https://git.io/vDMBM
hotfuzz_ is now known as hotfuzz
BobTheJanitor0 has joined #nixos
BobTheJanitor0 is now known as BobTheJanitor1
BobTheJanitor has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<BobTheJanitor1> That was weird
hotfuzz has quit [(Quit: WeeChat 1.7)]
phreedom has quit [(Ping timeout: 268 seconds)]
<BobTheJanitor1> Ia there a command to regenerate hardware-configuration.nix? I think I did the initial config generation before I created a separate boot partition. Should I just call that command again?
cransom has quit [(Remote host closed the connection)]
katyucha2 has quit [(Quit: leaving)]
cransom has joined #nixos
rmrfroot has quit [(Remote host closed the connection)]
katyucha has joined #nixos
contrapumpkin has quit [(Ping timeout: 260 seconds)]
phreedom has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
BobTheJanitor1 has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<LnL> BobTheJanitor1: nixos-install
endformationage has joined #nixos
endformationage has quit [(Client Quit)]
<LnL> I mean nixos-generate-config
ilja_kuklic has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #22842: webkitgtk: 2.14.4 -> 2.14.5 (master...update-webkitgtk) https://git.io/vDMEi
nckx has quit [(Quit: ☭ + 🐧 + GNU Guix <https://gnu.org/s/guix>)]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vDME1
<NixOS_GitHub> nixpkgs/master ce0a52f Bjørn Forsman: nixos/security.wrappers: improve documentation...
stepcut has joined #nixos
abrar has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22842: webkitgtk: 2.14.4 -> 2.14.5 (master...update-webkitgtk) https://git.io/vDMEi
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #22752: syslog-ng: 3.6.2 -> 3.9.1 (master...syslog-ng-3.9.1) https://git.io/vDKJZ
<sziszi> hey, is there a binary version of the libreoffice package/derivative?
pi3r has joined #nixos
aickley has joined #nixos
<aickley> hi there. i'm wondering if there is an easy way to add a buildInput to a existing package
jarlg has joined #nixos
nckx has joined #nixos
SuprDewd has quit [(Quit: SuprDewd)]
<aickley> i want to add a package at build stage of another package. maybe it can be done via overrides?
nckx has left #nixos []
nckx has joined #nixos
endformationage has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas opened pull request #22843: webkitgtk212x: remove (master...update-webkitgtk) https://git.io/vDMVS
olesk has joined #nixos
MoreTea has quit [(Ping timeout: 240 seconds)]
<devoid> how do you do vim plugins in nix?
<sziszi> mmkay, this is driving me mad. Is there a faster way to get libreoffice on my system? Compling is starting taking too much time. ( I used gentoo a few years back, it wasnt quick but the system did it under an hour)
<devoid> clever, I'm seeing missing plugins even though they show up in this list: https://github.com/NixOS/nixpkgs/blob/release-16.09/pkgs/misc/vim-plugins/vim-plugin-names
<devoid> "attribute ‘github:fatih/vim-go’ missing"
<clever> devoid: havent looked into how that part of nixpkgs works, so i cant do much more right now
georges-duperon has quit [(Ping timeout: 252 seconds)]
aickley has quit [(Ping timeout: 260 seconds)]
stepcut has quit [(Remote host closed the connection)]
sibi has joined #nixos
LUuM has quit [(Ping timeout: 240 seconds)]
pi3r has quit [(Ping timeout: 255 seconds)]
<k0001> Given a release.nix file (like the ones used by Hydra), is there any way I can provide a default for what to do when using this file as `nix-build release.nix`? That is, without specifying a particular job with `-A`.
<niksnut> sziszi: libreoffice is built as part of the stable channel, so if you're on the stable channel, you should get a prebuilt binary
<sziszi> niksnut: I'm on the stable channel afaik
<devoid> I just confirmed that the local vim-plugin-names file contains that plugin. So I guess vim plugins don't work on nix under the 16.09 release at the moment.
<niksnut> otherwise, nix-store -r /nix/store/dqdnr68ycfkfnap6dnji42h6qvclx56q-libreoffice-5.1.5.2
<sziszi> niksnut: [root@narancs:~]# nix-channel list-list-list
<niksnut> strange
<sziszi> I'm installing libreoffice-fresh cat it be the problem?
<niksnut> "nix-build channel:nixos-16.09 -A libreoffice" gives me a binary
<sziszi> s/cat/can
<niksnut> oh
<niksnut> yeah, that's not part of the channel apparently
<sziszi> holymoly
<sziszi> thanks
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-16.09: https://git.io/vDMPU
<NixOS_GitHub> nixpkgs/release-16.09 538e642 Daiderd Jordan: vim: add patch for possible overflow with corrupted spell file
<niksnut> not sure why we have a separate libreoffice-fresh though
<niksnut> neither looks very fresh :-)
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<sziszi> niksnut: thank you again
<sziszi> I have to send a CV asap now :)
mudri has joined #nixos
<endformationage> Any urxvt users have trouble getting it to follow .Xresources font settings?
<endformationage> Works great specified as options -fn -fb -fi -fbi to urxvt, but not in .Xresources with xrdb load or merge.
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #22844: vim: 8.0.0075 -> 8.0.0329 (master...vim-8.0.0329) https://git.io/vDMMz
<gchristensen> LnL++
<gchristensen> LnL: can you also check in to neovim for the same thing?
<LnL> that's a completely separate project no?
<gchristensen> I think it is based around vim
<LnL> hmm, I'll take a look
<gchristensen> like vim but an art of removal than recreation I think
ilja_kuklic has quit [(Remote host closed the connection)]
hamishmack has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vDMyu
<NixOS_GitHub> nixpkgs/staging 7832806 Vladimír Čunát: fontconfig: fixup fragile build after ab5fe171a...
AllanEspinosa has joined #nixos
hamishmack has joined #nixos
<sziszi> gchristensen: neovim is a complete rewrite
jchee has joined #nixos
<gchristensen> oh cool
<LnL> was just going to say, the source doesn't look similar
mkoenig has joined #nixos
<sziszi> code cleanup/refactoring FOR YEARS, but now they caught up and they're adding new stuff :3
<gchristensen> copumpkin, garbas: Rust does without a wiki via https://forge.rust-lang.org/ and Discourse: https://users.rust-lang.org/t/howto-sanitize-your-rust-code/9378
<c74d> endformationage: I think my `URxvt*font: xft:DejaVu Sans Mono:size=11,xft:Noto Mono:size=11,xft:Monospace:size=11` works; what does yours look like?
<LnL> gchristensen: what's up with the wiki suddenly?
<gchristensen> copumpkin wants to bring it back :)
<LnL> ah
<gchristensen> the cool thing about discourse I think is old stuff naturally falls away
<jophish_> not just copumpkin :)
<endformationage> c74d: URxvt.Font: xft:Iosevka:style=Medium:pixelsize=11
<joko> Hello, I have removed my Hydra server from nix.binaryCaches, yet download-from-binary-cache.pl still tries to get files from there, how to fix it?
<jophish_> joko: have you restarted the daemon?
<gchristensen> joko: you'll need to rebuild and switch for it to go away
<joko> jophish_: nooope
georges-duperon has joined #nixos
<joko> jophish_: sudo systemctl restart nix-daemon.service did the trick, many thanks
<endformationage> c74d: It's odd, I can make font changes via escape code, and -fn options, but not picked up via .Xresources
<joko> (and having nix.conf manually edited)
<c74d> endformationage: passing that same setting by -fn works?
<jophish_> joko: super, if you're on nixos then gchristensen's advice is probably the best thing to do
<joko> This is what I was trying to do and it was failing ;)
<endformationage> hmmm, maybe it's the capital Font, trying URxvt.Font --> URxvt.font
<endformationage> c74d: yeah
<Sonarpulse> anyone know how gcc finds as?
sigmundv_ has joined #nixos
<Sonarpulse> I'm overhauling cross stuff again
<Sonarpulse> trying to build glibc
<Sonarpulse> and the gccStageStatic before could find as
<Sonarpulse> and after can't
<Sonarpulse> but when I strace
<Sonarpulse> I don't actually see the succeeding one finding as / $my_prefix-as
<endformationage> c74d: LOL, looks like that was the problem!
<c74d> okay
<endformationage> case sensative resource names
<endformationage> I spent way too long on that :/
* endformationage likes Iosevka
fhoffmeyer has quit [(Ping timeout: 258 seconds)]
<gchristensen> copumpkin: hey so I just added a comment about what Rust does to the github issue. I want you to know I don't have a dog in the fight, and am excited about whatever forward progress is made :)
<gchristensen> (I say that because it seems like there are axes to be ground, and I don't mean to add mine to the pile)
fhoffmeyer has joined #nixos
Itkovian has joined #nixos
fhoffmeyer has quit [(Read error: Connection reset by peer)]
fhoffmeyer has joined #nixos
hotfuzz has joined #nixos
plumps has joined #nixos
stepcut has joined #nixos
plumps has quit [(Client Quit)]
plumps has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<copumpkin> I have no real axe, I just don't see why we'd kill the old thing and haven't really seen any strong arguments to do that
<copumpkin> perhaps a forum would be good too, I dunno
<gchristensen> I mean, it seemed like other people had axes
<gchristensen> I dunno :) I just didn't want you to think I was piling on.
<gchristensen> which is not what I intended
<copumpkin> well, it does kind of feel like I'm the only one asking for why it should be done
<copumpkin> verpbl I think chimed in agreement
<Sonarpulse> unkilling the wiki
<Sonarpulse> ?
<copumpkin> yeah
<Sonarpulse> I guess I don't super care
<jophish_> I hope I haven't come across as grinding either.
<Sonarpulse> but I do like the presssure to work on the manual
<copumpkin> how has that been working out? ;)
<copumpkin> we can theorize about where things like this push work
SuprDewd has joined #nixos
<Sonarpulse> well, I wrote a cross section
<Sonarpulse> and ..... decided docbook wasn't sooo bad :P
<copumpkin> but in practice it doesn't feel like much of the ongoing wiki updates made it into the manual
<copumpkin> if you look at the average rate of posts to the wiki vs. contributions to doc
<copumpkin> not saying things didn't get ported, just saying that we lost contributions by doing this
<jophish_> copumpkin: I wonder if there's some way we could end up with a solution which allows wiki-like editing as well as local-clone/PR support
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> If we had good CI
<Sonarpulse> we could just allow anyone to make a doc-only change that passed
* jophish_ goes back to hercules hacking!
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #22845: redis: 3.2.5 -> 3.2.8 (master...redis-3.2.8) https://git.io/vDMdm
samae has quit [(Ping timeout: 240 seconds)]
<manveru> we already have the github wiki... do we need more?
<copumpkin> see the thread ;)
<gchristensen> I wish kmicu were around to provide input
<gchristensen> they were always stronlgy pro-user
fhoffmeyer has joined #nixos
<viric> I discovered something new (for me) about disk caching...
<LnL> I've not seen him in here for a while now
<gchristensen> [0__0]: seen kmicu
<[0__0]> Yes, I saw kmicu 1 month ago.
<[0__0]> kmicu said: "gchristensen: ah, that chapter is not updated since 1.6 with ‘Nix now has proper integer arithmetic operators. For instance, you can write x + y instead of builtins.add x y, or x < y instead of builtins.lessThan x y. The comparison operators also work on strings.’."
<viric> Did you know that "cp this.img /dev/sdb" is cached?
<manveru> copumpkin: which thread?
<viric> I thought that writes to block devices were not cached. Without sync, it won't write to the block device all the data after some seconds
<copumpkin> gchristensen: have you tried emailing them?
<gchristensen> copumpkin: I don't have an email address for them
<copumpkin> manveru: https://github.com/NixOS/nixpkgs/issues/22599 that monstrosity :)
<copumpkin> gchristensen: there's one in git log
<Dezgeg> I thought closing a block device syncs it
<Dezgeg> (haven't actually checked if actually so)
MP2E has joined #nixos
<viric> Dezgeg: no, it does not
<viric> Dezgeg: I'm playing with nbd...
<copumpkin> nbd, nbd
<gchristensen> copumpkin: the protonmail?
<viric> Dezgeg: and the kernel does not notify about the last writes about several seconds after cp finished
<copumpkin> (network block device, no big deal)
<copumpkin> gchristensen: yeah
<viric> copumpkin: :
<manveru> i think having discourse would be awesome for avoiding threads like that :P
<viric> :)
<gchristensen> maybe I'll try that today
<viric> Dezgeg: copumpkin: I'm writing some code to keep a ciphered fs inside the free space of another fs
<copumpkin> fun :)
<viric> yes. I hang the kernel a lot with that, and it's all userspace :)
olesk has quit [(Ping timeout: 240 seconds)]
<viric> (bind the nbd device, mount it, kill the nbd server, try to umount, crash)
<viric> sorry, I mean kill the nbd client/server process (all-in-one)
<gchristensen> copumpkin: have you ever seen this error from sbt? "Impossible to load parent for file" - https://gist.github.com/grahamc/d6c7cd49534bb31bf8cd0f750b744a34#file-gistfile1-txt-L5
<Dezgeg> yes, I've noticed (at work) that unplugging mounted devices is practically untested by the kernel community
Shou has joined #nixos
<copumpkin> gchristensen: nope :( do you have that parent it says it wants?
<viric> Dezgeg: I could not get the traces though; I've been in X all the time and no netconsole or similar
<viric> Dezgeg: I doubt anyone wants to track or fix this bug though
<Dezgeg> I hope you don't run kernel 4.1
<viric> Dezgeg: 4.8
<viric> why?
takle has quit [(Remote host closed the connection)]
<gchristensen> hrm. that seems like an obvious question copumpkin :P and no, I don't
<viric> Dezgeg: (so, dd oflag=sync is a nice option if you are lazy to call "sync" later)
<Dezgeg> on 4.1 practically all filesystems crash the kernel when e.g. an usb stick is removed and the fs is mounted
<copumpkin> gchristensen: the cruelty of taking a child away from its parent!!
<gchristensen> hah
fhoffmeyer has quit [(Read error: Connection reset by peer)]
<viric> Dezgeg: umount does sync the block device, but a simple cp not
<gchristensen> I feel I'm about to enter a world of hurt, trying to chase down there dependencies by hand.
<viric> Dezgeg: ah :) I don't try that any often
<copumpkin> gchristensen: yeah, I wouldn't
<gchristensen> I'm out of options :/
<copumpkin> use the fetchIvy I wrote that I never pushed anywhere, instead
<pareidolia> How can I enable pageup shell history in NixOS?
fhoffmeyer has joined #nixos
bennofs has joined #nixos
<gchristensen> copumpkin: oh yeah? I'm trying to use https://github.com/teozkr/Sbtix (they spent some time with me today, working through some issues... but then this happened.)
<copumpkin> ah
<copumpkin> haven't played with that at all
<copumpkin> mine is just a fixed-output derivation fetcher function
<copumpkin> nothing special about sbt
<copumpkin> it just prepopulates an ivy cache which you'd feed into other tools
<gchristensen> can it work with https://github.com/grahamc/collins?
<gchristensen> I don't care about fancy, I'm just trying to get my dang work done :P
<teozkr> copumpkin: sounds like sbtix, except sbtix also tries to find your dependencies from your SBT scripts
<teozkr> well, tries, and in this case, fails :p
<copumpkin> not sure! let me push it somewhere when I get back to that computer
<copumpkin> ah
<copumpkin> mine just takes a list of dependencies in nix land and fetches them recursively, and it's up to you to pick your roots
<copumpkin> ivy takes care of doing the recursive fetch
xwvvvvwx has joined #nixos
wkennington has joined #nixos
<copumpkin> I can push it this evening eastern
<gchristensen> great
<copumpkin> it's not pretty so don't get your hopes up :)
<viric> Dezgeg: I think the kernel does not crash if I umount BEFORE binding nbd0 to another point
<copumpkin> I also haven't really used it for anything real, so doubly don't get your hopes up
<viric> (bind, mount, unbind, bind again, umount)
<copumpkin> but it seemed to work and I took out all sources of nondeterminism I could find
<viric> ^ crash sequence
derjohn_mob has joined #nixos
<xwvvvvwx> Hey :)
<xwvvvvwx> So I would like the package microsofts GSL library (https://github.com/Microsoft/GSL)
<xwvvvvwx> what is the procedure here?
<viric> microsoft_gsl?
<xwvvvvwx> should I renamme the existing package gnu_gsl ?
<xwvvvvwx> or just leave it as is?
newhoggy has joined #nixos
<gchristensen> leave it as-is I think
<xwvvvvwx> ok makes sense
<xwvvvvwx> thanks :)
bennofs has quit [(Ping timeout: 240 seconds)]
<erasmas> garbas: I'm trying to build a package with pypi2nix -e <mypackage> and I'm getting "Unable to find release for package <mypackage>". can you let me know what might be missing?
<viric> gsl is there first, and it is quite a relevant package
<erasmas> garbas: I found https://github.com/garbas/pypi2nix/blob/d4546a0f476a04ea2936ac1f79ac7ee9786d87f8/src/pypi2nix/stage2.py#L260-L263 but it's still not clear to me what I need to do. the package doesn't exist on pypi. if you have time to look at it and let me know, thanks!
<gchristensen> teozkr: I'm trying adding 1.3.04 as a library_dependency in https://github.com/grahamc/collins/blob/master/build.sbt#L31 to see how that goes
<teozkr> I'd probably try 1.4.01 instead
<teozkr> since sbt will generally pick the latest version if there's a conflict
sigmundv_ has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
<gchristensen> I already have 1.4.01 though
<teozkr> yeah.. so it should be able to use it
<gchristensen> i-have-no-idea-what-i'm-doing.jpg
<gchristensen> :)
takle has joined #nixos
<teozkr> hmm
<teozkr> what about if you added http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom to the manual repo too?
<gchristensen> looks like that ended up happening as a result of putting 1.3.04 in the library_dependencies
plumps has quit [(Remote host closed the connection)]
<gchristensen> (I highly prefer it when work stuff can be open sourced, so I can share links like this >.>)
<gchristensen> well this is just a nightmare lol
<garbas> erasmas: could you report the issue (press y at the end), that will give the needed traceback
DutchWolfie has joined #nixos
michas has joined #nixos
<copumpkin> gchristensen: maven/ivy/jvm dependencies are a shitshow
<copumpkin> that's why I mostly steer clear of them :)
<copumpkin> did you see the java PR pending?
<gchristensen> no
<copumpkin> the whole "don't even think of trying to compile some of these from source"
<copumpkin> I swear most people have forgotten how to even compile some of those dependencies
<copumpkin> the jars have just been floating around on maven central for a decade
<gchristensen> jesus
<gchristensen> can someone make something like yarn but for java and then have everyone jump ship
<copumpkin> my grub on a 17.03 box still shows the old style nixos logo, but I upgraded from 14.12
<copumpkin> did grub just not update properly or do we still put the old logo in grub?
<LnL> copumpkin: 14.12 :o
<copumpkin> I've kept a NixOS VM running in the background on one of my Macs for a long time :)
<gchristensen> and 2 dependencies were evicted
<copumpkin> first you make orphans, and now you evict tenants
<copumpkin> you truly are a monster
<gchristensen> blame the system that made me this way
<gchristensen> :)
<hodapp> hrmph. maybe I'll give up on Nix-ifying Turtl and just run it in Docker or some crap like that
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<gchristensen> omgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomgomg
<copumpkin> going well?
jmeredith has quit [(Quit: Connection closed for inactivity)]
<gchristensen> "[info] :: delivering :: collins#collins_2.11;2.0-SNAPSHOT :: 2.0-SNAPSHOT :: integration :: Wed Feb 15 21:32:09 UTC 2017"
<gchristensen> oh praise be, praise be, it has finishged!
phreedom has joined #nixos
<LnL> gchristensen: nice!
* gchristensen will never update that package again
<LnL> haha
DutchWolfie has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 276 seconds)]
<teozkr> gchristensen: great :D
<gchristensen> oops, I forgot to push
<gchristensen> there we have it
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ambro718 has joined #nixos
<Profpatsch> Will it shrink build closure size if I use drv.dev in buildInputs?
<Profpatsch> Or is that done by default?
<teozkr> such great commit messages :P
<gchristensen> teozkr: https://xkcd.com/1296/
<teozkr> yeah... not like I'm much better
<gchristensen> I really lost patience towards the end
<gchristensen> thank you again for your help
<Dezgeg> drv.dev is the default in buildInputs (if you think about it, nothing compiling against e.g. curl would work at all if putting curl to buildInputs wouldn't add the .h files to the build)
<teozkr> I can imagine..
<teozkr> I like SBT in general, but it can be ridiculously opaque at times..
<gchristensen> and anything based on maven...
<gchristensen> ok I'm going to "leave work" early (I work from home.) catch y'all from my personal computer. lol.
<teozkr> heh
<pareidolia> I'm killing myself with Systemd calendars. Is there a way to parse OnCalendar "dry" without switching all the time?
<gchristensen> zimbatm: ^ for some discussion about maven and that email thread.
jmeredith has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vDDfo
<NixOS_GitHub> nixpkgs/master 0969569 Robert Helgesson: eclipse-plugin-yedit: init at 1.0.20.201509041456
RchrdB has quit [(Ping timeout: 240 seconds)]
cpennington has quit [(Remote host closed the connection)]
hiratara has joined #nixos
newhoggy has joined #nixos
<ndowens08> Is there any tutorial on the nix expression language, i know the manual but anywhere else that might can show it better to someone that don't know programming?
<ndowens08> my guess probably not :)
<gchristensen> the nix pills series and https://nixcloud.io/tour/?id=1
<ndowens08> :) I am wanting to contribute as much as i can, but i am not a programmer and dont understand programming-like stuff, but i can do simple things though :) lol
newhoggy has quit [(Ping timeout: 256 seconds)]
<ndowens08> like packaging some apps
xwvvvvwx has quit [(Ping timeout: 245 seconds)]
jgertm has quit [(Ping timeout: 256 seconds)]
mojjo has joined #nixos
<mojjo> hi! anybody kows how to fix the following...:
<mojjo> nix-shell -p 'haskellPackages.hsmagick'
<mojjo> it breaks at some point with: 'Setup: The pkg-config package 'GraphicsMagick' version >=1.3.3 is required but
<mojjo> it could not be found.'
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<ndowens08> b/c we have version 1.3.25 atm
<ndowens08> i think lol
<ndowens08> maybe wrong, hmm
<mojjo> yeah, I saw that, but wasn't sure how to deal with that..
<ndowens08> do you have the nix file?
<mojjo> of what?
<NixOS_GitHub> [nixpkgs] jgeerds closed pull request #22775: tox clients and libraries updates (master...u/qtox) https://git.io/vD61Z
<ndowens08> what your trying to build?
<mojjo> Just want to check out this library in a nix-shell
<ndowens08> ah nvm, never used nix-shell
<mojjo> well, I'm getting the same error when using it in a stack projects
tokudan has joined #nixos
xwvvvvwx has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
ambro718 has quit [(Ping timeout: 264 seconds)]
jarlg has quit [(Quit: WeeChat 1.5)]
pi3r has joined #nixos
tokudan has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] loskutov opened pull request #22848: gpgme: fix build on macOS (master...gpgme-macos-fix) https://git.io/vDDIT
ertes has quit [(Ping timeout: 252 seconds)]
phreedom has quit [(Ping timeout: 240 seconds)]
BobTheJanitor has joined #nixos
RchrdB has joined #nixos
<mojjo> I installed nixos on a 30 gb stick from which I boot. Works fine, but the nix store on the stick is growing and I need more space. Despite garbage-collecting, does anybody have an idea wo to solve that?
aszlig_ is now known as aszlig
<LnL> did you run nix-collect-garbage -d?
<ndowens08> mojjo: are you using a laptop or desktop?
<mojjo> a laptop...
<ndowens08> hmm,
<ndowens08> do you have a big enough hard drive to put nix on it?
<mojjo> sooner or later I'll install the system on the harddrive, but I'm looking for a temporary fix now..
wizeman has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vDDtU
<NixOS_GitHub> nixpkgs/master d4e5bb3 Bjørn Forsman: nixos/geoip-updater: run as user 'geoip' instead of 'nobody'...
<Ralith> it'd be neat to have a way to produce a list of gc roots sorted descending by size
<Ralith> closure size, that is
<Ralith> hm
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #22762: nixos/geoip-updater: run as user 'geoip' instead of 'nobody' (master...geoip-service-user) https://git.io/vDKFm
<BobTheJanitor> I installed NixOS with grub efi mounted at /mnt/boot/efi. However, bios does not recognize any bootable systems. It will let me attempt to boot into sata drives, but nothing happens. Flash drive is recognized as efi, hard drive is not. Followed manual with config files, systemd-boot is enabled and such. Any ideas?
<clever> Ralith: part of the fun in that, is that a large object can be shared between many roots
<Ralith> closure size minus the non-unique dependencies, which I guess might be difficult to compute
<clever> Ralith: simplest thing i can think of is to run du on /nix/store, pick something fat that you dont like, and then nix-store --query --roots and optionaly nix-store --delete
contrapumpkin has joined #nixos
<Ralith> we can do better, but it might take substantial effort
<Ralith> BobTheJanitor: are your partition types correct?
hiratara has quit [(Quit: ZNC - http://znc.in)]
Sonarpulse has quit [(Remote host closed the connection)]
<BobTheJanitor> Yes, ext4 for every partition except my efi partition, which is fat32. Id as states in manual was set usinggparted
hiratara has joined #nixos
<Ralith> partition type, not filesystem
<BobTheJanitor> Not gparted, sorry, gdisk. Partiton code is EF00
<BobTheJanitor> Nixos-install works correctly, had issues with grub earlier but solved them. Initially did "novar" as recommended in manual, then made efi it's own partition and set that as efi path in config.
<BobTheJanitor> Only warning that appears is "Could not prepare boot variable. No such file or directory"
<BobTheJanitor> *nodev as recommended in config. I should get an irc client in live usb
<Ralith> iirc you have to boot the install mode in EFI mode, not legacy mode, to successfully install an EFI configuration
<Ralith> otherwise it can't access the system firmware
batdog has joined #nixos
<BobTheJanitor> Yes, manual did mention that. Mobo bios is a pain, and I'm not sure if it was booted in efi mode. The listed device in bios is named "UEFI: <whatever the rest is>" so I just assumed it loaded in Efi. But it's the last thing I can try that is stated explicitly in the manual
Shoue has joined #nixos
<BobTheJanitor> No warnings are present either, but I'll try and install rEFInd and boot live USB in EFI. If that fails, I'll be back again
<BobTheJanitor> Thank you for the help
Shou has quit [(Ping timeout: 258 seconds)]
Sonarpulse has joined #nixos
<alphor> is there a way to modify a derivation declaratively (ie. after it's been put in the store)? or do I have to build the derivation (and make modifications at that step) myself?
ebzzry has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
<xwvvvvwx> Hey I'm curious what the general consensus is for running the unit tests for a package?
<xwvvvvwx> e.g. for this (header only) GSL lib from microsoft: https://github.com/Microsoft/GSL
<xwvvvvwx> should I execute the unit tests in the derivation, or should I just copy the include directory to the right location
<Acou_Bass> eey folks, im curious if there are any sort of 'standard' ways of installing python packages in nix - im looking to make a .nix for this: https://github.com/kozec/sc-controller whos installation instructions for regular distros is to simply use setup.py build & install, which isnt too helpful with nix :P
<xwvvvvwx> I think the buildPythonPackage function should do what you want
<avn> Acou_Bass: pypi2nix if you want deploy whole project, or look top-level/python-packages.nix in repo if you want build single package
<NixOS_GitHub> [nixpkgs] kampfschlaefer opened pull request #22850: fix #21745, preserve container connectivity when the bridge changes (master...feature/21745-fix_networking_restart) https://git.io/vDDGD
<NixOS_GitHub> [nixpkgs] goetzst opened pull request #22851: youtube-dl: 2017.02.04.1 -> 2017.02.16 (master...youtube-dl) https://git.io/vDDGS
ryanartecona has quit [(Quit: ryanartecona)]
mojjo has quit [(Ping timeout: 255 seconds)]
ertes has joined #nixos
<Acou_Bass> yeah its just the one package application im looking at really - but if i put something in top-level/python-packages.nix, how do i then install it? nix-build -A like a standard package doesnt seem to want to work (ive been trying touse this method) :P
<xwvvvvwx> what error message do you get?
<Acou_Bass> it just gives me the error: attribute ‘sc-controller’ in selection path ‘sc-controller’ not found
<Acou_Bass> i have put a lump into the top-level/python-packages.nix but i wasnt sure if that means its supposed to also be in the all-packages.nix one too... i feel like im missing something dumb here
<xwvvvvwx> I never made a python package
<xwvvvvwx> but maybe you need to try nix-build -A pythonPackages.sc-controller?
<Acou_Bass> ooh! ill try that
<Acou_Bass> ha! that worked :D thanks for that
<Acou_Bass> now to actually make the package build :)
<xwvvvvwx> :)
<BobTheJanitor> I might have found the issue with my system not detecting grub. I think boot mobo feature was preventing my live USB from launching in efi mode. (disabled cms too) will see if this works
Guest77080 has quit [(Ping timeout: 260 seconds)]
<Acou_Bass> oook no errors so far, stuff is being downloaded and built \o/
<NixOS_GitHub> [nixpkgs] xwvvvvwx opened pull request #22852: microsoft_gsl: init at 2017-02-13 (master...add_microsoft_gsl) https://git.io/vDDZ6
BobTheJanitor has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
BobTheJanitor has joined #nixos
<BobTheJanitor> That's great, now the display manager won't start on the live USB :(
<BobTheJanitor> Systemd says it's started, but an x server never starts
<ndowens08> systemctl restart display-manager
<ndowens08> as sudo or root
<BobTheJanitor> I did stop it, check to see if it was marked as running (wasn't) then start it
<BobTheJanitor> So I'm just going to reboot again and see if it works. Before did a manual reboot, now I've done it with command.
<BobTheJanitor> Except it's stuck with this message "Sending SIGTERM to remaining process"
<BobTheJanitor> :(
<ndowens08> So why is the nix wiki going away?
<Ralith> because it is a poorly maintained mess
<ndowens08> Ah, darn, i like wikis :)
<Ralith> feel free to open pull requests against the manual
<ndowens08> I am not good at documenting, writing really lol :)
<ndowens08> I dont full understand the nix language and how to so far
BobTheJanitor has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
Shoue has quit [(Ping timeout: 252 seconds)]
<xwvvvvwx> Lot of discussion now about maybe resurecting the wiki: https://github.com/NixOS/nixpkgs/issues/22599
<mguentner> Ralith: not everything should go into the manual. Like car manual does not contain the instructions on how to make it to the next workshop with tights instead of a drivebelt, the manual should not contain every obscure way how to make stuff work
<ndowens08> I like wikis more than manuals, wikis can be split/edited by ppl, vs one big page
michas has quit [(Ping timeout: 258 seconds)]
<xwvvvvwx> Don't have a super strong opinion, but the way it is now is weird and confusing for new users
<xwvvvvwx> It should either be alive or deleted
<xwvvvvwx> This zombie state is a mess
<ndowens08> I am not trying to rail on nix, I have no control, but I think navigating wiki to find something can be easier :)
bennofs has joined #nixos
<ndowens08> On positive note, I am finding this distro interestingly different :)
<xwvvvvwx> nixOS makes me so happy
<xwvvvvwx> there are some rough edges for sure
<xwvvvvwx> but I'm completely convinced that this is how operating systems are supposed to be
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
bennofs has quit [(Ping timeout: 252 seconds)]
<ndowens08> i havent really hit them too hard, just my issue is how to modify something, so use to setting in etc lol
<mguentner> NixOS: The Chili Chocolate of Linux Distributions
<xwvvvvwx> :D
[0x4A6F] has quit [(Quit: [0x4A6F])]
<Acou_Bass> the whole reason im trying to package sc-controller is so i can move my desktop back to nixos again... i jumped back to arch so i wasnt missnig any packages... but this is the last one i need because im done with the rest :D
<octe> virt-sysprep can reset/unconfigure a virtual machine image so it can be used as a template for clones, it removes ssh server keys, persistent mac addresses, etc
<octe> is there something similiar for nixos?
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #22851: youtube-dl: 2017.02.04.1 -> 2017.02.16 (master...youtube-dl) https://git.io/vDDGS
<mguentner> once the NixOS configuration files are not in the store anymore or even better, once each context (container,user,process,namespace) only "sees" its environment - then it's more like it should be
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vDD8g
<NixOS_GitHub> nixpkgs/master 61f2f8c Stefan Goetz: youtube-dl: 2017.02.04.1 -> 2017.02.16 (#22851)
Shoue has joined #nixos
<xwvvvvwx> what do you mean config files are not in the store?
<mguentner> they are, and they shouldn't be imho; longer explanation: https://github.com/NixOS/nixpkgs/issues/18881#issuecomment-279585887
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #22853: Fix typo introduced by #22677 (master...fix-22677-quassel) https://git.io/vDD4a
<xwvvvvwx> :D secrets in the store is a mess for sure
<xwvvvvwx> but the rest is a bit over my head
<xwvvvvwx> what is an ACL?
<Acou_Bass> ook so im getting somewhere with this python packaging... but still getting an error that seems to be related to pygobject
<mguentner> access control list
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #22854: mesa: 13.0.4 -> 17.0.0 (master...pr-mesa) https://git.io/vDDBm
chpatrick has joined #nixos
<chpatrick> does anyone have any tips for getting software rendering to work in a nix environment?
<Acou_Bass> can someone take a peek at it for me? https://gist.github.com/AcouBass/5d97b62ece412f52050f0c10f8170a51 first file is whats in top-level/python-packages.nix and the second file is simply the error im getting
<erasmas> garbas: it's not giving me an option to submit the report. I built pypi2nix 1.8.0 from github. here's a simpler example of the problem I'm running into: https://paste.ofcode.org/jk7ciVAcJQF5DwP35k5tVu