chakerbenhamed has quit [(Ping timeout: 260 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut_ has joined #nixos
<ben>
looks like you can "convert" a string to a path with builtins.filterSource (_: _: true)...
drasich has joined #nixos
<simpson>
ben: What are you building? This is usually not the right way to manage paths.
eacameron has joined #nixos
stepcut has quit [(Ping timeout: 258 seconds)]
<ben>
I've been wondering why only configuration.nix gets copied into the built nixos system
<ben>
so i'm thinking about at least grabbing the whole dir with environment.etc = { nixos-orig = { source = builtins.filterSource (_: _: true) ./.; };
jgertm has joined #nixos
stepcut_ has quit [(Remote host closed the connection)]
<ben>
(I've been putting patches in there rather than forking the channel or w/e)
jrolfs has joined #nixos
jekor has quit [(Ping timeout: 260 seconds)]
<simpson>
You don't need to filterSource; you can do `source = ./.;` directly. That's an interesting system.
mudri` has joined #nixos
<ben>
I can't, because source is a string that's taken as a symlink target, so I just end up with a symlink to /etc/nixos instead of to a copy of /etc/nixos in the store
<simpson>
Oh my.
mudri has quit [(Ping timeout: 246 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Ping timeout: 258 seconds)]
anderslundstedt has joined #nixos
carlosdagos has joined #nixos
drasich has quit [(Ping timeout: 268 seconds)]
<ben>
(... yeah, toPath wouldn't have helped me to begin with, but at that point I was thinking I needed to do builtins.dirOf <nixos-config> or something, because I forgot ./. exists...)
carlosdagos has quit [(Ping timeout: 256 seconds)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
stepcut has joined #nixos
hamishmack has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
none` has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 256 seconds)]
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
<schoppenhauer>
hm. is overridePackages called on every channel, or is it called only on the main channel?
jrolfs has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Ping timeout: 246 seconds)]
acowley is now known as acowley_away
Wizek_ has quit [(Ping timeout: 260 seconds)]
dfranke has joined #nixos
jrolfs has joined #nixos
estewei has joined #nixos
pxc has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<schoppenhauer>
http://lpaste.net/3110338289819713536 ← this is my ~/config.nix. I want to override palemoon to be built with gcc49 (to test whether a bug also occurs there). as user, I have the nixos-unstable channel in addition to the stable channel. however, when doing this, I get the error message: error: attribute ‘palemoon’ missing, at /home/christoph/.nixpkgs/config.nix:33:16
mizu_no_oto has joined #nixos
<schoppenhauer>
which means it doesn't find pkgs.palemoon
<schoppenhauer>
might be because it is unstablen
<schoppenhauer>
not sure
fresheyeball has quit [(Quit: WeeChat 1.7)]
[0x4A6F] has joined #nixos
<schoppenhauer>
hm. maybe I better write to the mailing list
<schoppenhauer>
as this is more sophisticated
zeus_ has joined #nixos
MP2E has joined #nixos
mguentner2 has quit [(Quit: WeeChat 1.7)]
pxc has quit [(Quit: WeeChat 1.7)]
mguentner has joined #nixos
cpennington has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
filterfish_ has quit [(Ping timeout: 256 seconds)]
amosbird has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
amosbird has joined #nixos
mguentner2 has joined #nixos
carlosdagos has joined #nixos
takle has joined #nixos
mguentner has quit [(Ping timeout: 268 seconds)]
carlosdagos has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<alphor>
why is there no mechanism to override service declarations?
<alphor>
like overrideDerivation
orivej has joined #nixos
AllanEspinosa has quit [(Ping timeout: 246 seconds)]
nh2 has quit [(Quit: Leaving.)]
AllanEspinosa has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
AllanEspinosa has quit [(Ping timeout: 258 seconds)]
deepfire has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
MP2E has quit [(Quit: brb)]
alx741 has quit [(Quit: alx741)]
takle has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
carlosdagos has joined #nixos
toppler has quit [(Read error: Connection reset by peer)]
toppler has joined #nixos
filterfish has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
carlosdagos has quit [(Ping timeout: 268 seconds)]
orivej has quit [(Ping timeout: 264 seconds)]
sellout- has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 256 seconds)]
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest48674
takle has joined #nixos
filterfish_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
feepo_ has joined #nixos
stig_ has joined #nixos
scode_ has joined #nixos
modafinil_ has joined #nixos
rizary_ has joined #nixos
dvim_ has joined #nixos
bjarki has joined #nixos
Shados_ has joined #nixos
calvertvl has quit [(Ping timeout: 268 seconds)]
drtop has joined #nixos
rsa_ has joined #nixos
oleks_ has joined #nixos
page_ has joined #nixos
jophish_ has joined #nixos
joko_ has joined #nixos
Yatekii_ has joined #nixos
dash_ has joined #nixos
mythmon_ has joined #nixos
johbo_ has joined #nixos
Biappi_ has joined #nixos
x1n4u- has joined #nixos
afldcr_ has joined #nixos
pmade- has joined #nixos
samuelrivas has joined #nixos
flyx|znc has joined #nixos
[0x4A6F]_ has joined #nixos
HappyEnte has joined #nixos
mw_ has joined #nixos
Arguggi_ has joined #nixos
gsora_ has joined #nixos
mbrgm_ has joined #nixos
eqyiel_ has joined #nixos
MK_FG has joined #nixos
MK_FG has quit [(Changing host)]
MK_FG has joined #nixos
pmade- is now known as pmade
cpennington has quit [(Write error: Connection reset by peer)]
x1n4u- is now known as x1n4u
MK_FG is now known as mk-fg
mbrgm_ is now known as mbrgm
flyx|znc is now known as flyx
takle has joined #nixos
[0x4A6F]_ is now known as [0x4A6F]
mythmon_ is now known as mythmon
scode_ is now known as scode
stig_ is now known as stig
modafinil_ is now known as modafinil
siel has joined #nixos
feepo_ is now known as feepo
rizary_ is now known as rizary
codedmart has quit [(Ping timeout: 246 seconds)]
dvim_ is now known as dvim
Supersonic112 has joined #nixos
codedmart has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
wedens has joined #nixos
voidrays has joined #nixos
symphorien has joined #nixos
M-Rym has joined #nixos
sargon[m] has joined #nixos
eqyiel[m] has joined #nixos
MrAxilus[m] has joined #nixos
orbekk has joined #nixos
justanotheruser has joined #nixos
c74d has joined #nixos
disasm has joined #nixos
ahmedtd has joined #nixos
jrolfs has joined #nixos
marsel has joined #nixos
nschoe has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
madgoat has joined #nixos
reinzelmann has joined #nixos
MercurialAlchemi has joined #nixos
madgoat has left #nixos []
jrolfs has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
coltfred has quit [(Ping timeout: 260 seconds)]
crzyp3ck has joined #nixos
takle has joined #nixos
freusque has joined #nixos
freusque has quit [(Client Quit)]
takle has quit [(Ping timeout: 268 seconds)]
fre has joined #nixos
rsa_ is now known as rsa
Itkovian has joined #nixos
takle has joined #nixos
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 2 new commits to master: https://git.io/vSRGJ
<NixOS_GitHub>
nixpkgs/master 4736c19 Luke Gorrie: pharo-launcher: Add test case & myself as maintainer
<NixOS_GitHub>
nixpkgs/master 94d1145 Domen Kožar: Merge pull request #24597 from lukego/pharo-launcher-test...
takle has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 240 seconds)]
nschoe has joined #nixos
Nycatelos has quit [(Ping timeout: 264 seconds)]
deepfire has quit [(Ping timeout: 260 seconds)]
jgertm_ has joined #nixos
jgertm is now known as Guest88703
jgertm_ is now known as jgertm
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Guest48674 is now known as CMCDragonkai
jrolfs has joined #nixos
page_ is now known as page
jrolfs has quit [(Ping timeout: 240 seconds)]
carlosdagos has joined #nixos
eacameron has joined #nixos
carlosdagos has quit [(Ping timeout: 264 seconds)]
Judson has quit [(Remote host closed the connection)]
carlosdagos has joined #nixos
thc202 has joined #nixos
fre has quit [(Quit: WeeChat 1.7)]
freusque has joined #nixos
eacameron has joined #nixos
gilligan_ has joined #nixos
marusich has quit [(Quit: Leaving)]
marusich has joined #nixos
marsel has joined #nixos
takle has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
Nycatelos has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
nschoe_ has joined #nixos
derjohn_mob has quit [(Ping timeout: 256 seconds)]
ixxie has joined #nixos
Filystyn has joined #nixos
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
xeviox has joined #nixos
takle has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
nschoe_ has quit [(Quit: Program. Terminated.)]
nschoe has joined #nixos
Itkovian has joined #nixos
jrolfs has joined #nixos
crzyp3ck has quit [(Ping timeout: 260 seconds)]
jensens has joined #nixos
crzyp3ck has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vSRWs
<NixOS_GitHub>
nixpkgs/master 9497da7 Vladimír Čunát: palemoon: switch to gcc-4.9...
freusque has quit [(Ping timeout: 246 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
deepfire has joined #nixos
freusque has joined #nixos
marusich has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vSRl3
<NixOS_GitHub>
nixpkgs/release-17.03 ce3ab70 Vladimír Čunát: palemoon: switch to gcc-4.9...
justbeingglad has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<mg_>
I upgraded to 17.03 and suddenly my guile project can't find the libguile.h header any more. Can't seem to find any include-dir in the package anymore. What do?
takle has quit [(Remote host closed the connection)]
eacameron has joined #nixos
takle has joined #nixos
orivej has joined #nixos
smw has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
jgertm has quit [(Ping timeout: 256 seconds)]
justbeingglad has left #nixos []
ikwildrpepper has joined #nixos
arjen-jonathan has joined #nixos
fnlkj has quit [(Quit: ?)]
vaibhavsagar has quit [(Ping timeout: 264 seconds)]
amir has quit [(Read error: Connection reset by peer)]
amir has joined #nixos
freusque has joined #nixos
abbradar` has quit [(Ping timeout: 240 seconds)]
YellowOnion has joined #nixos
<Filystyn>
intel compielr is not in rep right?
<Filystyn>
tried to find it and no
<Filystyn>
But maybe i missed something ;-)
deepfire has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
YellowOnion_ has quit [(Ping timeout: 240 seconds)]
elninja44 has quit [(Remote host closed the connection)]
pi3r has joined #nixos
<pi3r>
I would like a central place to manage nixpkgs versions (pinned or unstable). Is it idiomatic to add this to the overlays (I have stripped the overlays/default):
derjohn_mob has quit [(Remote host closed the connection)]
ixxie has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cfricke has joined #nixos
<avn>
Folks, any ideas, why I see `- Paravirtualized EC2 instances are no longer supported.` when try rebuild system on my desktop? Is definelly not on amazon.
Lisanna_ has joined #nixos
Lisanna_ has quit [(Client Quit)]
carlosdagos has quit [(Ping timeout: 240 seconds)]
Lisanna_ has joined #nixos
jensens has joined #nixos
ok2 has quit [(Quit: Getting off stoned server - dircproxy 1.2.0)]
jrolfs has joined #nixos
ok2 has joined #nixos
faffolter has quit [(Read error: Connection reset by peer)]
jrolfs has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vSRV0
<ashkitten>
CMCDragonkai: physlock working fine for me
<Mic92>
CMCDragonkai: looks like we only have 6 ttys on nixos
gilligan_ has quit [(Ping timeout: 240 seconds)]
<ashkitten>
Mic92: i'm pretty sure it's referring to the TTY the X server is running on for CMCDragonkai
<Mic92>
make sense
<CMCDragonkai>
tty7 is the X server
<CMCDragonkai>
i'm running XMonad, no desktop manager
xeviox has joined #nixos
<CMCDragonkai>
maybe it's not writing to utmp? not sure, it still doesn't work on tty1 either
<ashkitten>
utmp is what physlock uses to determine what user is currently logged in
andrewrk has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vSRKt
<NixOS_GitHub>
nixpkgs/master 7d211be Jörg Thalheim: rustPackages: build less verbose
jluttine has quit [(Read error: No route to host)]
jluttine has joined #nixos
<CMCDragonkai>
yes, that's what the issues mention, but then why isn't it working, is it relying on XMonad to write to utmp or sddm to write to utmp or something else?
<_c_>
profpatsch: globin: fpletz: anyone up for 1-2 days of bug squashing & barbeque around May, 1 (long weekend)?
chpatrick has joined #nixos
<chpatrick>
hi
<chpatrick>
does the ssh substituter actually work currently?
carlosdagos has quit [(Ping timeout: 240 seconds)]
marsel has quit [(Quit: WeeChat 1.7)]
marsel has joined #nixos
jrolfs has joined #nixos
gal_bolle has quit [(Quit: Konversation terminated!)]
arjen-jonathan has quit [(Ping timeout: 268 seconds)]
<Profpatsch>
_c_: all three work for me.
<Profpatsch>
I’m not sure if I can do both days, but one may work.
jrolfs has quit [(Ping timeout: 240 seconds)]
gchristensen has joined #nixos
ok2 has quit [(Ping timeout: 256 seconds)]
ok2 has joined #nixos
Lisanna_ has quit [(Quit: Lisanna_)]
derjohn_mob has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<manveru>
CMCDragonkai: yeah, couldn't get it to work either :(
<manveru>
i went back to i3lock, but sure would be nice to have something more automatic...
<manveru>
wonder how hard it would be to implement autolocking via bluetooth, so i could unlock my machine with my pebble :)
<gchristensen>
I tried that with macOS but it was too slow to detect I was gone, and too slow to detect I was back
pie_ has joined #nixos
cpennington has joined #nixos
<pie_>
hey guys is it just me or is haskellPackages.idris REALLY old
<pie_>
i get 0.12.3 and we are at like 0.99 or 1.0
<manveru>
gchristensen: it works fine for me using tokenlock on macos
<manveru>
but only with my phone... pebble has issues there
MinceR has quit [(Ping timeout: 268 seconds)]
MinceR has joined #nixos
jensens has joined #nixos
<pie_>
how can i install something from a different repo in my configuration.nix?, can i specify what repos to use there as well, so i dont need to use nix-channel_
<pie_>
?
<chpatrick>
does ssh-substituter-hosts work with the nix-daemon?
eacameron has joined #nixos
<gchristensen>
shoot I forget their IRC nick, who is expipiplus from github?
carlosdagos has joined #nixos
<gchristensen>
jophish_: ?
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<carlosdagos>
hi all, having a bit of an issue: I've downladed a tarball and running ./configure gives me an error saying that gcc cant be found (but its installed)
arjen-jonathan has joined #nixos
ixxie has joined #nixos
YellowOnion has quit [(Read error: Connection reset by peer)]
ok2 has quit [(Ping timeout: 258 seconds)]
ok2 has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
<gchristensen>
Profpatsch: we can't issue our own CVEs but we did get a CVE number for that particular bug
<gchristensen>
the second line of my announcement had the CVE :)
<Profpatsch>
gchristensen: Nice!
praduca has joined #nixos
<gchristensen>
yeah! it was certainly deserving :P
<praduca>
Hi to all
takle has quit [(Remote host closed the connection)]
pie_ has quit [(Ping timeout: 258 seconds)]
<praduca>
anyone knows the state of xen on nixos?
<gchristensen>
it should work
<praduca>
some docs say its not supported, but there are lots of config options for xen
<gchristensen>
what docs say it isn't supported?
<mg_>
thanks peti
<LnL>
indeed, nice to know that a big issue like this is on there
ok2 has quit [(Ping timeout: 240 seconds)]
<praduca>
gchristensen: ssorry not docs, posts etc
athan has quit [(Ping timeout: 240 seconds)]
<CMCDragonkai>
manveru: did you get the same tty error?
<manveru>
CMCDragonkai: yes
<gchristensen>
praduca: I've never used it, but it should work
jrolfs has joined #nixos
<CMCDragonkai>
manveru: Does i3lock deal with preventing tty switching similar to physlock?
<praduca>
on the docs it says to just enable it on configuration.nix, but folowing those tips, i get without network and with a nonfunctional bridge... i'm not complaining, but this is trivial on ubuntu
<CMCDragonkai>
Archwiki mentions: > Warning: Only sflock, physlock, Cinnamon Screensaver, MATE Screensaver and GNOME Screensaver are able to block tty access. See Xorg#Block TTY access on how to manually block tty access.
<manveru>
CMCDragonkai: nope
<CMCDragonkai>
sflock is not even on nixpkgs
<manveru>
i usually don't log into a TTY, so it'd be about the same for me
<gchristensen>
praduca: I don't know much about xen, but it sounds like you may be expected to configure more of it
takle has joined #nixos
<praduca>
gchristensen will dig a little more then. Thanks!:
<gchristensen>
praduca: what version of nixos?
<CMCDragonkai>
i'm going to try slock right now
<praduca>
gchristensen: yes, there is config options for the bridge, but I found a bug on the bridge adress setup
<gchristensen>
but what version are you running? 16.09?
<praduca>
gchristensen: both 16.09 and 17.03 do the same
<copumpkin>
niksnut: any plan to revive hydra logs somehow soon? it's getting rather painful
<copumpkin>
niksnut: especially since lots of the time it seems like the logs aren't there even if I figure out the URL by hand, and then I'm left wondering if I screwed up the manual URL somehow
pie_ has joined #nixos
<CMCDragonkai>
manveru: Someone should write our journeys down!
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vSRQQ
<NixOS_GitHub>
nixpkgs/master 3a9c217 Dan Peebles: rtags: fix for clang/libc++ 4...
<dtzWill>
copumpkin: this is hydra.nixos.org right now your own instance? just checking O:)
<copumpkin>
hydra.nixos.org :)
<copumpkin>
vcunat: hmm doubly weird about hydra and libc++ then
<copumpkin>
vcunat: just tried again and it's definitely building just fine on my laptop
<copumpkin>
(right now)
<copumpkin>
could be an impurity that was introduced recently but that seems unlikely in such a core library that doesn't really get touched very often
<dtzWill>
copumpkin: riot/matrix sync nick lists only periodically, and I've also definitely seen the same thing re:nick shown in room but missing for some time
<LnL>
copumpkin: pretty sure buildEnv also complains about conflicts
<copumpkin>
sure, but nix-shell doesn't use buildEnv either
carlosda1 has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
takle has joined #nixos
vandenoever has joined #nixos
<ircuser5678>
I've used 'nix-env -i network-manager-applet-1.4.4' to install the network manager applet. There are two versions of this package. Is using 'nix-env -e network-manager-applet-1.4.4' the correct way to get rid of everything that I just installed (including config files)?
<gchristensen>
simply installing a package doesn't add config files to your system :)
<ircuser5678>
uh. so I must add anything that I want to configure to configuration.nix?
mudri has joined #nixos
<gchristensen>
or manually add configuration where the software expects it ,yeah
<dtzWill>
copumpkin: I meant there's no conflict if I install both gcc6 and clang_4 with nix-env
<ircuser5678>
but the uninstall command was correct, right?
<gchristensen>
looks right to me
jrolfs has joined #nixos
<ircuser5678>
ok, thanks
<gchristensen>
I don't use nix-env very much, but it looks right
<abbradar>
ircuser5678: Nix doesn't handle user settings (like user connections for nmapplet) so you'd need to clean them by yourself
<dtzWill>
ircuser5678: won't hurt much if wrong, check that it's no longer shown in the output of 'nix-env -q' (your current profile)
ok2 has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
<ircuser5678>
ok, it doesn't show up on nix-env -q
<ircuser5678>
gchristensen: what do you do instead?
<gchristensen>
I primarily use nix-shell
samuelrivas has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
samuelrivas has quit [(Client Quit)]
pie_ has quit [(Ping timeout: 258 seconds)]
<vandenoever>
i'm trying to install kdepim, it's listed by 'nix-env -qa' for nixos 17.03
eacameron has joined #nixos
<dtzWill>
vandenoever: what's the problem?
<vandenoever>
dtzWill: actually after 'nix-channel --upgrade' kdepim is gone
<vandenoever>
seems that nixos 17.03 has no kmail
sellout- has quit [(Quit: Leaving.)]
vinni has joined #nixos
<dtzWill>
vandenoever: well quick look shows me there's a 'kdepimlibs' and AFAICT from https://community.kde.org/KDE_PIM#Applications "kdepim" isn't an application. Did you maybe want kontact?
<dtzWill>
oh hmm
<vandenoever>
dtzWill: sure, kmail is part of kontact
<vandenoever>
kontact is kmail + knode + akregator + more
<dtzWill>
looks like we don't have it by itself, and I'm not sure that's a bug-- following the link from the page above yields https://userbase.kde.org/KMail/Linux which says "Currently, the only tarball I could find is the whole Kontact suite, located here:" lol.
<vandenoever>
9d6bfacc8 'kde4: remove inessential KDE 4 modules' maybe not so inessential
<Filystyn>
thx for respond guys. LnL this is from my lib it just passes types of compilations to shoot out all warnings it finds ;-)
eacameron has quit [(Ping timeout: 240 seconds)]
IRCFrEAK has joined #nixos
IRCFrEAK has left #nixos []
vinni has quit [(Quit: Leaving)]
pie_ has joined #nixos
nh2 has joined #nixos
<dtzWill>
vandenoever: eep, indeed, esp since don't have it at all anymore :(. sorry, hopefully that PR gets some attention soon.
* vandenoever
goes to test rollback to 16.09
ebzzry has quit [(Ping timeout: 240 seconds)]
cfricke has quit [(Ping timeout: 260 seconds)]
ircuser5678_ has joined #nixos
eacameron has joined #nixos
<gchristensen>
vandenoever: "inessential" there has different meaning, unfortunately nobody was really maintained KDE4 in NixOS so it was time to remove kde4. similarly, nobody has stepped up to maintain the kde PIM systems either
ocmylife has joined #nixos
ericsagnes has joined #nixos
vandenoever has quit [(Ping timeout: 260 seconds)]
ircuser5678 has quit [(Ping timeout: 256 seconds)]
chakerbenhamed has quit [(Ping timeout: 256 seconds)]
ircuser5678_ is now known as ircuser5678
eacameron has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 264 seconds)]
edvorg has joined #nixos
cpennington has joined #nixos
chakerbenhamed has joined #nixos
drasich has joined #nixos
<shlevy>
domenkozar: ikwildrpepper: niksnut: Can I have committer access to rfcs?
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vSRjE
<NixOS_GitHub>
nixpkgs/master 01dbf03 Eelco Dolstra: network-link-*.service: Set stopIfChanged = false...
<pie_>
hey guys
<pie_>
if i want to get power profiles like on windows so i can get better battery life when want, what do i need to do?
<pie_>
i see 17.03 was just released
carlosda1 has joined #nixos
<gchristensen>
I don't know about power profiles, but sounds like you want something Gnome or KDE would provide
<xeviox>
pie_: in my experience Linux mostly can't cope with Windows when it comes to power management
byteflame has joined #nixos
byteflam1 has joined #nixos
<xeviox>
which I don't think is an OS related problem but comes from the lack of good hardware drivers from vendors
<xeviox>
so there are a couple of options (spread over different apps and settings) that could help a bit, but don't expect the same battery life you get with Windows
carlosda1 has quit [(Ping timeout: 264 seconds)]
<gchristensen>
same with macOS, macOS has the best power management in the industry
<pie_>
hmm interesting "Python 2.7, 3.5 and 3.6 are now built deterministically and 3.4 mostly. Minor modifications had to be made to the interpreters in order to generate deterministic bytecode. This has security implications and is relevant for those using Python in a nix-shell. See the Nixpkgs manual for details. "
<pie_>
xeviox, aww, ok
<xeviox>
hey Apple has the best position as it has a limited set of hardware which it builds / sells itself
<gchristensen>
no doubt, xeviox
<pie_>
would be nice if that linked to the relevant part of the manual
<xeviox>
gchristensen: sorry it was a type, I wanted to start with "yeh"
jrolfs has joined #nixos
<goibhniu>
pie_: you can use things like cpufreq-set, to select the powersave governor
<goibhniu>
on kde you can get scripts to run when you switch to battery power etc. (I guess you can do this directly with systemd too)
jrolfs has quit [(Ping timeout: 268 seconds)]
<crzyp3ck>
I have a problem with the fluxbox. moving mouse from window to desktop to another program changes the mouse from the X defualt cursor theme to breeze to Xdefault theme.
<crzyp3ck>
Why?
<crzyp3ck>
What is the solution.
<goibhniu>
that's normal AFAIK
reinhardt has quit [(Quit: Leaving)]
<crzyp3ck>
goibhniu: I didn't have such problem. Just in NixOS. any solution?
jluttine has quit [(Ping timeout: 240 seconds)]
<crzyp3ck>
goibhniu: This is the solution but I don't know how should I imolement it. ln -s /usr/share/cursors/xorg-x11 ~/.icons
<copumpkin>
niksnut: is there a way to get -- on nix-shell to pass arguments to the --command?
Filystyn has quit [(Ping timeout: 246 seconds)]
<goibhniu>
crzyp3ck: sounds promising!
<gchristensen>
goibhniu: the problem of course is we don't have /usr/share/cursors/xorg-x11
<goibhniu>
sure, I can't find any xorg-x11 in my store either
<ashkitten>
I saw that, but I didn't see any way to manage actual dotfiles with nix-home
bennofs has joined #nixos
johnsonav has joined #nixos
<gchristensen>
did you look at the dot files in their README? ".vimrc" = "${somePkg}/path-to-file";
<ashkitten>
hmm
<ashkitten>
Is there a way to integrate nix-home with configuration.nix so I can setup a computer without extra steps like logging in as a user and downloading my nix-home config manually?
<gchristensen>
not that I know of
<ashkitten>
Alright
CMCDragonkai has quit [(Ping timeout: 240 seconds)]
<shlevy>
niksnut: Can we get RFC PRs to print in the irc channel?
<philipp[m]>
bennofs: btw auto-optimise-store is now a native option
<philipp[m]>
nix.autoOptimiseStore.
<ashkitten>
I'm wondering now what would a good way to initialize my dotfiles repository on a new system (since I wouldn't have my SSH key on there yet)
<NixOS_GitHub>
[nixpkgs] taku0 opened pull request #24624: add Source Han Serif font (master...source-han-serif) https://git.io/vS0G7
<clever>
pie_: id say not-os is more of an example right now, something you would want to fork and further customize, to suit your embeded programming needs
<pie_>
clever, i didnt even know what it was really, but neat
<pie_>
well i mean before i was shown the page
<clever>
ah
<pie_>
it was just mentioned in that thread i linked
<clever>
pie_: as for why i picked that name, its an OS based on nix, but its not nixos
<NixOS_GitHub>
nixpkgs/master 9fc14f2 Jörg Thalheim: gnome-keyring: use wrapGAppsHook
<makefu>
what i would really love to see is openwrt/lede but built by nix. their current built system is very hard to extend but right now it is the best you can get for routers with 4mb flash
<gchristensen>
makefu: that would be very interesting
<clever>
makefu: i have booted not-os on a raspberry pi (arm)
<clever>
makefu: and i do have an x86 router running nixos
<clever>
makefu: in theory, you could add nixos firewall support to not-os, and then build an arm image from that, but currently, you would need to reflash the device to change a firewall rule
dash_ is now known as dash
<domenkozar>
shlevy: why do you need that? :)
crzyp3ck has quit [(Ping timeout: 260 seconds)]
<domenkozar>
it's not important who can commit stuff there
<shlevy>
domenkozar: To ask for reviewers, to assign people, to put tags, to merge #7 which has a bunch of +1s :D
<makefu>
clever: well it is essentially the same thing for openwrt, they arrive with an read-only squashfs and only reserve a part of their flash for an dedicated overlay which will be mounted in the boot process
<shlevy>
domenkozar: (#7 is not an RFC but a change to the template)
dash has quit [(Quit: leaving)]
<clever>
makefu: yep, but the current nixos firewall doesnt have options for extending it at runtime
<bitonic>
How can I override a GHC package? I'm not very familiar with overrides and I didn't get very far with `pkgs.lib.overrideDerivation pkgs.haskell.packages.ghc802 (old: rec {...})`
<dash>
clever: i was trying to set up nixos on an arm board (USB Armory) last year. something like not-os seems ideal because i really don't want to be running any config/build stuff on the board itself
<gchristensen>
any sort of nixos can build and push the system to another host without building on the box
zraexy has joined #nixos
<dash>
gchristensen: mmm ok, cross builds weren't easy last time i tried
<gchristensen>
how would not-os fix that?
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
<dash>
Didn't say it did.
<gchristensen>
I see
vaibhavsagar has joined #nixos
<NixOS_GitHub>
[nixpkgs] mdaiter opened pull request #24627: suitesparse: refining CUDA support (master...suitesparseCUDATouchups) https://github.com/NixOS/nixpkgs/pull/24627
<gchristensen>
installing nix on a new machine, I get "error: the build users group ‘nixbld’ has no members" however nixbld exists and I have 4 nixbld users each with their primary group set to nixbld
<gchristensen>
any ideas?
Itkovian has joined #nixos
carlosda1 has joined #nixos
<ronny>
whats needed to make boxen (the virtual machine app) work on nix
<NixOS_GitHub>
nixpkgs/master e84d5b2 Eelco Dolstra: Allow systemd-fsck@.service to find fsck.*...
<zimbatm>
:)
<schoppenhauer>
I actually wonder why nobody has yet made a fork of nixos that does not use systemd. I'd assume that this is doable, and there seems to be high demand.
<zimbatm>
it's easier to flame
<schoppenhauer>
yes. well, tbh, I would also appreciate *not* using systemd. but it doesn't bother me enough.
<zimbatm>
the systemd guys actually address real world problems like not having a pile of shell scripts in the init
<simpson>
schoppenhauer: It's not easy. It's a lot of work.
<schoppenhauer>
simpson: ok
pie_ has joined #nixos
<__Sander__>
grown up open source projects -> more bikeshedding
<schoppenhauer>
simpson: I didn't say it was easy. I just said it would be doable, if it really bothered people that much.
<zimbatm>
I would mind having an alternative to systemd either
<zimbatm>
but it adds complexity
<zimbatm>
I doubt we can find an interface that works with all init scripts nicely
<schoppenhauer>
yes. it would have to be something that is nixos-specific. and that wouldn't make it better.
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<schoppenhauer>
I'd appreciate it more if we got rid of perl ;)
sellout- has joined #nixos
<schoppenhauer>
but that's also just an opinion.
xadi has joined #nixos
<schoppenhauer>
maybe technically, it would be nice to use or be compatible with something like environment-modules (as it has some common goals with nix-shells).
<NixOS_GitHub>
nixpkgs/master 527512e Nikolay Amiantov: qutebrowser: add withWebEngineDefault flag...
<schoppenhauer>
I liked the old init system from arch linux. namely, just a list of stuff that has to be started ^^
<schoppenhauer>
ah, but I wonder: isn't there a branch of nixos for windows and for macos? how do these handle initscripts?
<schoppenhauer>
(just out of curiousity)
romildo has left #nixos ["Leaving"]
gilligan_ has quit [(Ping timeout: 264 seconds)]
<Dezgeg>
there is no nixos support for non-linux
<avn>
zimbatm: Using some script generators for other inits on top of systemd.services tree should work, and I estimate complexity of this as "medium" ;)
<avn>
zimbatm: if it will be well-received by community, may be cost introduce more abstract indirection level than systemd.services
<Dezgeg>
that is what I would do as well
<simpson>
schoppenhauer: My opinion on this is Linus' opinion; "Talk is cheap. Show me the code."
<schoppenhauer>
Dezgeg: ah, so it's just nixpkgs?
<Dezgeg>
and maybe even you don't necessarily to have to do this on the nixos module level, but rather convert the systemd unit files themselves to the other init... I'm pretty sure other non-systemd distros could then collaborate on that tool as well
stepcut has joined #nixos
<zimbatm>
avn: yeah that's the approach that's the most plausible
<zimbatm>
I think we need to extract the nixos module and activation script concept into a new thing like a nix "profile
<zimbatm>
instead of using nix-env you would use nix-profile switch ./conf.nix
<zimbatm>
profiles should map to os-level, user-level and project-level
__Sander__ has quit [(Quit: Konversation terminated!)]
<zimbatm>
that would allow to move to other OSes
zeus_ has joined #nixos
<avn>
I see. Btw would be nice to have nixpkgs/nixos commands extendable like git to manage system in more customizable way
<NixOS_GitHub>
nixpkgs/master aefb967 Tim Steinbach: docker: 17.03.0 -> 17.03.1
<NixOS_GitHub>
nixpkgs/master 67142c5 Tim Steinbach: Merge pull request #24619 from NeQuissimus/docker_17_03_1...
stepcut has quit [(Remote host closed the connection)]
bennofs has joined #nixos
<gchristensen>
when calling `nix-env -iA git` as a regular user and NIX_REMOTE=daemon, it works. when calling nix-env -iA git as root and NIX_REMOTE not set, I get "download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/sbbch89fm7hhw8xfffbf6jfzyi3692ik.narinfo’ after 5 seconds..." has anyone seen this before, or have ideas on what might be the issue?
stepcut has joined #nixos
<disasm>
Anyone using gnome3 + i3? Trying to figure out the right command to exit back to login screen. If I do i3-msg exit it just quits i3 and all the apps keep running.
<disasm>
Ralith: if it helps http://nixpaste.lbr.uno/yDr6sSi7 but basically just enabling lightdm i3 and gnome while disabling all the extra gnome stuff I don't want.
acowley is now known as acowley_away
pi3r has quit [(Ping timeout: 240 seconds)]
<disasm>
a ps shows this: /nix/store/86blj9iqyxwmdgkn3dyrpib1gkbmz91v-bash-4.4-p5/bin/bash /nix/store/5pcp4k32lvmsm53k5cdbbfjx5qk9vx2d-xsession gnome3 + i3
<Ralith>
what's the xsession script look like?
vengefulpickle has joined #nixos
arjen-jonathan has joined #nixos
deepfire has joined #nixos
ircuser5678 has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #24607: Fix consul version being "unknown-unknown". Fixes #24606. (master...fix-24606-consul-version-unknown) https://git.io/vSB94
aminechi1haoui has quit [(Ping timeout: 260 seconds)]
carlosda1 has joined #nixos
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
carlosda1 has quit [(Ping timeout: 264 seconds)]
<stepcut>
how can I created a shell.nix that uses haskell.packages.ghc802.ghcWithPackages and haskell.packages.ghcjs.ghcWithPackages so that both ghc and ghcjs are available?
<Ralith>
disasm: looks like you need to exit via gnome-session, instead of terminating i3
<NixOS_GitHub>
[nixpkgs] primeos opened pull request #24634: luksroot: Wait for the header (device) to appear (master...luksroot) https://github.com/NixOS/nixpkgs/pull/24634
<disasm>
Ralith: yeah... I'd much rather do that, lol (my dedicated desktop and my old macbook air run i3 native) :) but I couldn't get this stupid macbook retina display to look okay in all apps without launching it via gnome :(
<pxc>
is there any reason to use camelCase in Nixpkgs anymore, ever? will anything bad happen to me for using dashes everywhere?
marsam has quit [(Remote host closed the connection)]
<disasm>
Ralith: anyways, sounds like this is more of a i3 question than nixos at this point.
Wizek_ has quit [(Read error: Connection reset by peer)]
marsam has joined #nixos
<pxc>
also, j/w: how many in the room use vim_configurable?
Wizek_ has joined #nixos
<Ralith>
disasm: no, I think it's a gnome-session question
<Ralith>
i3's just doing what you tell it to
<disasm>
ah, ok
vcunat has quit [(Quit: Leaving.)]
<Ralith>
as a short-term hack I imagine you can simply kill gnome-session manually
<pxc>
also: can we ever use overrideAttrs in nixpkgs or is that Bad™?
<gchristensen>
I think it is Bad
<pxc>
gchristensen: the specific case I'm looking at is producing something like vim_configurable for the fish shell. I'm part way done already
<pxc>
gchristensen: in vim_configurable there's this makeCustomizable function that gets called (it's in the vimUtils package)
<pxc>
gchristensen: but I can't figure out what is different about it from makeOverridable
<pxc>
gchristensen: it just adds a function that merges attrs into an existing package, called customize instead of override, but I don't see why performance should be better
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
stepcut has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
<pxc>
gchristensen: maybe I'm jumping the gun with the question. Do you think I should just go forward until I have something working and wait until code review to really ask it? lol
AllanEspinosa has quit [(Ping timeout: 246 seconds)]
<gchristensen>
yes
<gchristensen>
get it working then if someone has a problem with it, they can probably help you get it right :)
mojjo has joined #nixos
ebzzry has quit [(Ping timeout: 246 seconds)]
jsgrant-_ has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg[at]jsgrant.io & I'll try to get back to you within 24 hours.)]
<pxc>
gchristensen: thanks. it's hard to stay focused on getting the thing done with all the questions of design that are raised by the flexibility of Nix itself
<pxc>
lol
<gchristensen>
plow forward, look at the mess you've made, and make it better :P
<gchristensen>
is my general approach
AllanEspinosa has joined #nixos
ambro718 has joined #nixos
<ambro718>
What happened to Akregator package?
<mojjo>
hi! anybody knows what could cause `top` to spit out this very unpretty `*** buffer overflow detected ***: top terminated` message. the whole msg including backtrace is is here: https://pastebin.com/6RZfe5K8
<ambro718>
a buffer overflow?
<ambro718>
problem is no debug symbols are available so the backtrace is not really for much use
matthewbauer has quit [(Remote host closed the connection)]
<mojjo>
yeah.. but, I'm having this since some weeks, so it must be some general problem on my system...
matthewbauer has joined #nixos
<mojjo>
ambro718: what do you mean by debug symbols?
<ambro718>
mojjo: information that would let you see source files and line numbers in the backtrace.
jsgrant has quit [(Ping timeout: 256 seconds)]
johnsonav has joined #nixos
<ambro718>
let me check how to get it
<mojjo>
ambro718: nice, thank you..
marsam has quit [(Remote host closed the connection)]
jgertm has joined #nixos
<ambro718>
mojjo: build it with this: /nix/store/6vf0g5fn5z5qs6n2rgnd636ddig8nxir-procps-3.3.11-debug
<mojjo>
I think you could have used `with import <nixpkgs> {}; (lib.overrideDerivation....`
petar has joined #nixos
<ambro718>
right
<ambro718>
now run: gdb ~/procps-debug/bin/top
<mojjo>
`with` puts an attrSet completely into the namespace of the next expression, hence the pkgs prefix is not needed further.
<ambro718>
check what it says about loading debug symbols
<mojjo>
oh, unfortunately: Reading symbols from /home/m/procps-debug/bin/top...(no debugging symbols found)...done.
<ambro718>
ah, you need to run the ugly command again but add .dev at the end of the nixexpr
<ambro718>
)).dev' -o
<ambro718>
no it's .debug
<pxc>
sphalerite: messaged you in the wrong channel before lol
<mojjo>
aha, interesting. never done this. would I delete ~/procps-debug before?
<pxc>
tmux det
<ambro718>
no leave both
<ambro718>
mojjo: now do this: 1) run gdb (no args) 2) set debug-file-path ~/procps-debug-debug/lib/debug 3) file ~/procps-debug/bin/top
<mojjo>
ok, done
coltfred has quit [(Ping timeout: 268 seconds)]
<mojjo>
so the 2nd step inside the gdb repl?
<ambro718>
yes
rotaerk has quit [(Ping timeout: 246 seconds)]
<mojjo>
2) No symbol table is loaded. Use the "file" command.
<ambro718>
sorry, set debug-file-directory ...
<mojjo>
ok, success
<ambro718>
3) works and loads debug symbols?
<mojjo>
yeah, "reading symbols" ... "done."
<ambro718>
now you can "run"
<mojjo>
runs nicely
<mojjo>
(no errors)
<sphalerite>
pxc: just saw, haha. Not particularly, I don't customise my shell very strongly
<ambro718>
does it also run nicely outside of gdb
<ambro718>
if you just run ~/procps-debug/bin/top
railswalker has joined #nixos
<mojjo>
yes!
<railswalker>
silly question, but how can I override the choice of desktopmanager for each user?
<railswalker>
my /etc/nixos/configuration.nix has kde5 set, but i'd like a specific user to use xmonad
<ToxicFrog>
The default choice, you mean? Because generally you can change that on the login screen.
<dash>
railswalker: you can pick at login
<ambro718>
mojjo: then you probably didnt't update your system
<ambro718>
update to the latest 16.09
rotaerk has joined #nixos
<ToxicFrog>
I'm not sure it's possible to change the default per-user, but you can always just install both and select xmonad for that user at login and the setting should stick.
<ambro718>
(nixos-rebuild boot)
<ambro718>
and reboot when its done
<mojjo>
I did update before. but it was amazingly fast, just changed 2 symlinks..
<railswalker>
i was trying to use ~/.config/nixpkgs/config.nix to set a per-user setting but that didn't work
<mojjo>
well ok, I'll reboot
<ToxicFrog>
railswalker: see what dash and I said above
<railswalker>
okay, i'll try that
<railswalker>
thanks
marsam has joined #nixos
arjen-jonathan has quit [(Ping timeout: 268 seconds)]
mojjo has quit [(Remote host closed the connection)]
mojjo has joined #nixos
<ericnoan>
hmm my bash $PS1 has \[\] in it for some reason
<mojjo>
ambro718: after rebuild and reboot top is still the same... I'm wondering how I could verify if my system is actually up to date..
<ambro718>
mojjo: which top
<mojjo>
the normal `top` command
<ambro718>
run that
<mojjo>
ah, ok...
ma9e has joined #nixos
<ambro718>
maybe you have it installed in a user profile
<railswalker>
ToxicFrog: I enabled both, now I see 5 options in my sddm display manager. "none + xmonad" "plasma5+xmonad" "plasma5" "xterm+xmonad" and "xterm". But no matter which I choose, I still only get kde
<railswalker>
actually if I choose xterm, there is a tiny terminal in the top left corner
<ma9e>
how do i make my environment visible to scripts that i run? i have a script that says it can't find sed, uname, etc because its PATH is like /usr/bin:/bin
<mojjo>
ambro718: ..it points finally to ....hwk86-busybox-1.24.2/bin/top
<ambro718>
mojjo: it points to where first?
<ambro718>
anyway that's busybox top
<Ralith>
ma9e: fix your scripts to not hardcode PATH
lush has quit [(Quit: Konversation terminated!)]
<mojjo>
first it points to /run/current-system/sw/bin/top
<ma9e>
Ralith, i mean i'll check to see if that's done somewhere but it doesn't seem to be a the case. is it expected to inherit my PATH otherwise?
<Ralith>
that is how the shell works, yes
<ambro718>
mojjo: just add procps to your environment.systemPackages
<ambro718>
for whatever reson the top in busybox is broke
<ma9e>
okay i did find it. i'm sorry i keep coming here with the dumbest questions. nixos is just making me question everything
<mojjo>
ambro718: it is in there, but busybox as well
<dash>
ma9e: it's a funny feeling, isn't it
<ambro718>
mojjo: I don't know how this works, maybe you need to make sure it is after busybox
<ambro718>
otherwise, remove busybox
<mojjo>
ok, i'll try
<ambro718>
I think it's a bad idea to have busybox there
<Ralith>
ma9e: don't worry about it; everyone hadh to learn these things at some point
<Ralith>
had*
<ma9e>
thanks guys :)
<dash>
ma9e: the general solution to "how does my program/script find the things it needs" is "write a nix expr that provides them for it"
<dash>
ma9e: it's a virtualenv/npm/rvm kind of tool for everything
ma9e has left #nixos ["Leaving"]
ma9e has joined #nixos
<mojjo>
ambro718: removing busybox works, placing it after procps has no effect. But yeah, at least I'm having a good idea now where the problem comes from. and, the most important: an running top command again.
<mojjo>
ambro718: thanks for the help. once again: nixos=great community support!
<ambro718>
no problem
ebzzry has joined #nixos
stepcut has quit [(Remote host closed the connection)]
Wizek has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
hiratara has quit [(Ping timeout: 246 seconds)]
jgertm has quit [(Ping timeout: 246 seconds)]
hiratara has joined #nixos
<clever>
gchristensen: i am now
<ma9e>
so is there a nice way to fix "#!/bin/bash" shebangs or do i have to submit a pull request to poky? all of their wrapper scripts use #!/bin/bash :( :(
<clever>
dash, gchristensen: yeah, not-os just uses an arm build slave to handle things
<clever>
ma9e: does running patchSheBangs on the dir with the script fix it?
<ma9e>
clever, i didn't know about that, will look into it. thanks!
<pxc>
ericnoan: that sometimes happens with nested nix-shells, but idk why it would be happening in general lol
<ericnoan>
pxc: screwed up some enviroment values
<pxc>
ericnoan: figured it out?
<ericnoan>
pxc: yeah, im trying to use environment.variables but it screws with the environment somehow and adds \[\] after every stdout
<ericnoan>
if i remove the config, it goes away
<philipp[m]>
What keys does nix use when querying ssh caches?
<clever>
philipp[m]: if your using nix-daemon, then it will probably use the root keys
<pxc>
ericnoan: I've never used environment.variables to configure my shell before. Since you're using a POSIX shell, you might try modifying them in the nixos options environment.shellInit or programs.bash.shellInit instead
<ericnoan>
pxc: i want to set EDITOR, SHELL and BROWSER
<clever>
dash: with this, you can run unmodified arm ELF files on an x86 machine
<wak-work>
clever: qemu-user is SLOW though
<wak-work>
having used it before for nix building arm
<clever>
dash: and if you use the nix on line 10 then you can tell nix-daemon about that
Itkovian has joined #nixos
<clever>
wak-work: slower then native, yeah, but i believe its faster then emulating an entire arm, kernel&all
<wak-work>
clever: probably
<dash>
clever: oh ho, interesting.
<wak-work>
clever: but it's like 10x overhead
Mateon1 has quit [(Ping timeout: 260 seconds)]
<clever>
dash: but xargs has some issues under qemu-user, so you need a full vm or native to get some things like a kernel done
<dash>
wak-work: better than what i was trying to do before :)
<wak-work>
clever: even a cheap A57x4 box would be faster than a dual socket x86 machine running qemu-user
<wak-work>
yeah i just have native arm boxes for this
<clever>
wak-work: probably, but your more likely to have half a dozen x86 machines just idling
<wak-work>
meh
<wak-work>
i'd rather use the power for something more efficient
<clever>
depends on how fast you want things and how much power your willing to waste
<pxc>
ericnoan: doing all that should be safe :-\ why the hell is it messing with $PS1?
jsgrant has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<bennofs>
ericnoan: that sounds like terminfo problems. check TERM and TERMINFO (or TERMINFO_DIRS=
cfricke has quit [(Quit: WeeChat 1.7)]
matthewbauer has quit [(Remote host closed the connection)]
drasich has joined #nixos
<mojjo>
There's the list option services.mysql.initialDatabases. Say there would be several individually defined units on a server, each defined in a file/function and each having to register it's database scheme in there. How could this be designed? a deep merge with // in the server's main expression would not do because there would be no concatenation happen on the lists..
ma9e has quit [(Quit: Leaving)]
jsgrant has joined #nixos
<clever>
mojjo: the biggest problem i have seen with the design of services.mysql.initialDatabases is that it can only ever run once, when /var/lib/mysql doesnt exist yet
<clever>
mojjo: so if you ever add another thing to that option down the road and nixos-rebuild switch, it wont do what you expec
<mojjo>
clever: ah, ok.. I was about to try this out. so it's not the declarative thing I was hoping for..
<clever>
mojjo: and there is no type set on the option, so nixos will concat each list from every module
<clever>
it can declaratively join all the modules up
<clever>
but it will only init the mysql engine once, so you would need to blow away /var/lib/mysql to make it re-init and use the new list
<mojjo>
clever: ok..
abcrawf has quit [(Remote host closed the connection)]
<clever>
it would probably be better to make your own thing that will check for the existance of /var/lib/mysql/foo and then create the foo db if it doesnt exist
jsgrant has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
abcrawf has joined #nixos
<ericnoan>
pxc: no idea, you can try to replicate it: https://git.io/vSEVA (not my code)
mojjo has quit [(Ping timeout: 260 seconds)]
AllanEspinosa has quit [(Ping timeout: 260 seconds)]