<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)]
<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] 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
<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
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
<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)]
<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
<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.
<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?
<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
<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>
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
<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
<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
<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.
<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>
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
<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
<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
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
<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
<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
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>
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
<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
<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
<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
<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)]
<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)
<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.
<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
<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
<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
<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
<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
<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>
:) 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..
<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?
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>
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
<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
<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
<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
<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?
<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