<Judson>
Something very wrong when Nix lives and dies by clever's presence :)
<clever>
lol
<bgamari>
clever, does the terminal oddness described above ring any bells?
<clever>
bgamari: the bash inside nix-shell is a dumber version and doesnt support a lot of flags
zeus__ has quit [(Ping timeout: 240 seconds)]
<bgamari>
clever, I just don't see why I'm the only one seeing this
<clever>
who else has tried to customize the nix-shell PS1?
<bgamari>
certainly not me
<bgamari>
:)
zeus___ has quit [(Ping timeout: 240 seconds)]
<bgamari>
this is essentially a clean installation
athan has joined #nixos
<pxc>
clever: I haven't exactly, but I've noticed that it doesn't work right if you have a custom PS1
<eacameron>
clever: it acts as though he has nested nix-shells but he doesn't
<Judson>
Oh GOOD: "mklove configure script - mklove, not autoconf"
<bgamari>
.bashrc and .profile don't even exist in this account
<pxc>
you can always _not_ put bash on your PATH for nix-shell or use bashInteractive in shell.nix or whatever
<bgamari>
essentially the only thing I changed in this installation is /etc/nixos/configuration.nix
<fearlessKim[m]>
sphalerite: some news from the lua front, I managed to (automatically) wrap the lua binaries with correct LUA_(C)PATH. Now I have to do it for the interpreter too and I guess we will have a PR
<orivej>
eacameron: this suggests that his first bash is dumb
<orivej>
bgamari: what is `ls -l /proc/$$/exe` inside ssh (outside nix-shell)?
Supersonic112 has quit [(Disconnected by services)]
hellrazo1 has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
tv has quit [(Ping timeout: 252 seconds)]
hellrazor has quit [(Ping timeout: 248 seconds)]
jb55 has quit [(Ping timeout: 260 seconds)]
jsgrant has quit [(Read error: Connection reset by peer)]
jsgrant has joined #nixos
sellout- has joined #nixos
tv has joined #nixos
jcarr has joined #nixos
zeus___ has quit [(Remote host closed the connection)]
zeus__ has joined #nixos
<joehh>
fearlessKim[m]: is your code for lua up somewhere?
<fearlessKim[m]>
joehh: it's a big mess I think I can improve a few things tonight and make a PR then. I can push it but as it is I doubt it would be helpful
zeus__ has quit [(Ping timeout: 255 seconds)]
<joehh>
I'll wait then - thanks
tv has quit [(Ping timeout: 240 seconds)]
sellout-1 has joined #nixos
tv has joined #nixos
sellout- has quit [(Ping timeout: 252 seconds)]
zeus__ has joined #nixos
acarrico has quit [(Ping timeout: 248 seconds)]
mkoenig has quit [(Ping timeout: 264 seconds)]
jcarr has quit [(Ping timeout: 248 seconds)]
mkoenig has joined #nixos
numbdewd has quit [(Quit: ☺ )]
jcarr has joined #nixos
ona has quit [(Read error: Connection reset by peer)]
<awi_2>
S0rin: And I have added a 'unstable' map to nixpkgs.config that allows me to install the derivation from unstable like that: unstable.minecraft-server
<awi_2>
S0rin: installing the derivation from unstable works, but services.minecraft-server.enable controls the one from stable...
takle has quit [(Remote host closed the connection)]
ona has quit [(Ping timeout: 248 seconds)]
ona has joined #nixos
<S0rin>
awi_2: ah, if you override a package you do not need to use unstable.minecraft-server (has in env part) maybe try only minecraft
<S0rin>
awi_2: When you try to start the service manually what is the output can dpaste it too ?
<Infinisil>
Btw I've started packaging cuberite, which is an alternative minecraft server written in C++ with low memory and cpu usage. It doesn't implement all minecraft server features yet, but it's getting there: https://github.com/cuberite/cuberite
justbeingglad has left #nixos []
<awi_2>
S0rin: Do you mean, not using the package from unstable, but overriding the package from stable would be the solution?
<S0rin>
awi_2: yes
<Infinisil>
I can even run it okayish on my $5 DigitalOcean droplet!
thc202 has joined #nixos
<awi_2>
S0rin: Ok, I'll give that a try in some minutes. Thanks for help.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<S0rin>
awi_2: And the override section in you config is not the not sure exactly what it exactly override in the end try something more spectific
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<S0rin>
Infinisil: I have to start packaging the is a few thing that prevent me to change to my new laptop because they are missing in nixos
<S0rin>
And coming from gentoo I have the habit to package quite to a lot, and have what I need but it is on my todo list ! :)
<Infinisil>
S0rin: What's missing specifically? Am interested what you need
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bendlas opened pull request #29795: chromium: 61.0.3163.79 -> 61.0.3163.100; fix beta and dev builds (master...update-chromium) https://git.io/vdLYa
NixOS_GitHub has left #nixos []
<S0rin>
Infinisil: on the mail setup alot is broken, and afew is old too
justbeingglad has joined #nixos
<S0rin>
I have nixos on a server, that works fine, but I can't live without some tools so no new laptop for me :(
orbekk1 has quit [(Remote host closed the connection)]
orbekk1 has joined #nixos
<S0rin>
But I will put the mail setup on a server and move to the new nvme laptop (faster!)
<Infinisil>
You need a mail server on nixos?
Wizek_ has joined #nixos
<S0rin>
Infinisil: Not a mail server but my mail setup is alot afew notmuch offlineimap msmtp
<S0rin>
That way I can track many mailing list, and keep all the mail nice and clean
<Infinisil>
S0rin: That sounds nice, I'm not using mails a lot so I didn't bother setting it up nicely just yet
Neo-- has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
<bendlas>
Is anybody here using docker on nixos? I'm having trouble with networking: The first container to start has networking, but subsequent starts don't. Only way to fix it is to restart the docker daemon.
<S0rin>
Infinisil: It is, and I started to follow the kernel ML and other project so number is growing fast I somethin far better tha thunderbird
<bendlas>
I'm on unstable / master and I've been experiencing this for some time
<bendlas>
It's just that. Programs in my containers can't connect to the outside (or other containers), until I restart the daemon
<Infinisil>
you did enable the docker nixos option, right?
<bendlas>
I wish I knew more about it
<bendlas>
yes
periklis has joined #nixos
imnotrichevans has joined #nixos
imnotrichevans is now known as test
<awi_2>
S0rin: Worked, thanks!
test is now known as Guest27102
<S0rin>
awi_2: great ! \o/
<moredhel1>
morning all, I'm using gnome-terminal but can't change any settings, is this a known issue?
<bendlas>
S0rin: Infinisil: would you be willing to try out docker on Nixos unstable, to verify that it worked for you?
<bendlas>
I'll try on stable
justbeingglad has left #nixos []
ebzzry has quit [(Read error: Connection reset by peer)]
<S0rin>
bendlas: Yes I can
<ij>
Do attached files work right in the mailing list? (I'm sending it via google groups web UI)
<bendlas>
super!
mortum5 has quit [(Ping timeout: 248 seconds)]
<Infinisil>
moredhel1: I had that too, ended up switching to a different terminal
<S0rin>
bendlas: do you have a specific test case ?
<S0rin>
ij: Yes they should work just fine
<bendlas>
S0rin: just running curl to download something should trigger it .. let me verify
<S0rin>
bendlas: ok
<ij>
S0rin, Cool, thanks.
pie_ has joined #nixos
<ij>
S0rin, Is HTML formatting frowned upon?
<S0rin>
ij: use plain-text html is bad in term MUA
mortum5 has joined #nixos
ixxie has joined #nixos
<fearlessKim[m]>
is there a function like dirname in nix ? I would like to do sthg akin to "import dirname <nixos-config>/myConfig2.nix"
<S0rin>
Infinisil: And I also need to have DWM / dmenu and custom patch so not somethig that is not possible (from my understanding) in nixos but quite some configuration update and search to complete the setup
takle has joined #nixos
Wizek has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
kakashiAL has joined #nixos
sigmundv has joined #nixos
<Infinisil>
S0rin: What's the patch for?
mudri has joined #nixos
<Infinisil>
fearlessKim[m]: import <nixos-config/../myConfig2.nix> should work
* Infinisil
tries
justbeingglad has joined #nixos
Guest27102 has quit [(Quit: Guest27102)]
justbeingglad has left #nixos []
<S0rin>
Infinisil: inject the configuration of DWM (it is done before compilation) and change several thing on the windows behavior
<Infinisil>
fearlessKim[m]: Does not work :(
<Infinisil>
fearlessKim[m]: You could add nixos-config2=/path/to/other/config.nix to NIX_PATH though, then use <nixos-config2>
richierich has joined #nixos
<Infinisil>
S0rin: I see, nice, so you recompile DWM on configuration change?
<fearlessKim[m]>
I thought with imports I wouldn't be able to compose my environment.systemPackages list
<Infinisil>
fearlessKim[m]: You can do that with imports, it merges all modules you give it
<Infinisil>
so declaring environment.systemPackages in multiple modules will just append the lists
<richierich>
Hi all, I've tried my hand at installing nixos on an SSD a few times, but I keep running into an issue where on boot up (nixos stage 1), the machine keeps waiting for the disk to appear and eventually fails
<S0rin>
richierich: Do you use uEFI ?
<Infinisil>
richierich: Can you show your configuration.nix and hardware-configuration.nix that you tried it with?
<richierich>
yes
feepo has quit [(Quit: Connection closed for inactivity)]
<fearlessKim[m]>
Infinisil: if it does than that's perfect, I will try that once my rebuild finishes
<richierich>
is there an easy way to get them off my machine (my last attempt was a while ago, so I don't have them committed to memory right now)?
<fearlessKim[m]>
thanks for your link, I sometimes wish the manual would link such examples (with some levels: simple, hacked, overengineered)
<makefu>
fearlessKim[m]: for samples you can use the wiki ;)
mk-fg has joined #nixos
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
<makefu>
it is the "right" place to put samples like this
sauyon has joined #nixos
sauyon has quit [(Client Quit)]
lassulus has quit [(Read error: Connection reset by peer)]
<fearlessKim[m]>
right :) does media wiki now provide some markdown equivalent or still that crazy complex syntax ?
lassulus has joined #nixos
<Infinisil>
richierich: You can upload it to gist.github.com, the easiest with the gist package
sivteck has joined #nixos
chreekat has quit [(Quit: quitting)]
<richierich>
Infinisil: I see that, but what I mean is how do I get these files *off* the affected machine? I'm still stuck in the boot loop.
<Infinisil>
richierich: Ah, you can reboot with the usb stick iso
<Infinisil>
then access all files
nslqqq has joined #nixos
<S0rin>
bendlas: I have upgrade to unstable then in a nixos container try to derivate curl and it pull the package so network is ok
<bendlas>
S0rin: Ok, so what about in a docker container?
<S0rin>
bendlas: you mean access to an other container threw network right ?
<bendlas>
My test command was `docker run alpine /bin/sh -c 'apk update'`
<bendlas>
this works exactly once before I have to `systemctl restart docker`
<S0rin>
bendlas: I try
<S0rin>
bendlas: OK: 8441 distinct packages available
<S0rin>
I did it 3 time it works fine
<Infinisil>
Gotta go, bbl
Infinisil has quit [(Quit: leaving)]
<S0rin>
Docker version 17.06.2-ce, build cec0b72a9940e047e945a09e1febd781e88366d6
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdLcO
<NixOS_GitHub>
nixpkgs/master dd6591c Peter Hoeg: uchiwa: 0.25.3 -> 0.26.0
NixOS_GitHub has left #nixos []
jtojnar has quit [(Read error: Connection reset by peer)]
ksbrar has joined #nixos
jtojnar has joined #nixos
<bendlas>
S0rin: ok, thanks for trying ... do you have `firewall.enable = true` in your profile?
<bendlas>
also what about `firewall.nat`?
<S0rin>
bendlas: I have firewall.enable = yes and allowping= false that's it
<bendlas>
erm sorry, that's `networking.firewall.enable` and `networking.nat.enable`
<nixy>
Anyone ran into a problem with NixOps/VirtualBox where it can't connect to the IP of the box?
<S0rin>
bendlas: no I will try with nat
<nixy>
I suspect this is due to the configuration of vboxnet0 in virtualbox
<bendlas>
S0rin: OK, thanks for checking, I'll try without nat
<S0rin>
I will rebuild with adding networking.nat.enable= true;
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #29759: Make Rhino not depend on GCJ anymore (master...drop-gcj-from-rhino) https://git.io/vdTXY
NixOS_GitHub has left #nixos []
simukis has joined #nixos
<S0rin>
bendlas: tested it, and it still work
sivteck has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdLCq
<NixOS_GitHub>
nixpkgs/master 1d16383 Francesco Gazzetta: bash-supergenpass: init at 2012-11-02 (#29797)...
NixOS_GitHub has left #nixos []
sivteck has joined #nixos
<LnL>
nixy: I've had problems like that when vboxnet0 didn't exist
<nixy>
vboxnet0 exists, but I just don't seem to be able to ping the IP address
<nixy>
It seems like maybe nixops wants the host-only network to use DHCP?
<S0rin>
bendlas: I've checked the manual mayby I lack the internal/external finterfaces config as well
yegortimoshenko has joined #nixos
<yegortimoshenko>
is there a function in nixpkgs lib that could turn [ libX11 libXrandr ] into "-lX11 -lXrandr"?
<bendlas>
but I'll have to wait for the build to catch up before trying anything else ...
<bendlas>
S0rin: you've already helped me a great deal by checking those couple of points. I'll bisect from here. Hopefully, I'll find the cause. Will ping you when I do. Thanks!
<S0rin>
bendlas: I've tested with internal / external interface has describe in the doc and it is still working fine more than 3 time
sivteck has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
sivteck has joined #nixos
sivteck has quit [(Client Quit)]
jellowj has joined #nixos
Shados has quit [(Remote host closed the connection)]
sivteck has joined #nixos
Shados has joined #nixos
Fare has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
<ertes-w>
err, for some reason my NixOS QEMU guest can't start X11: no suitable screens found… am i missing something? i did not configure services.xserver.videoDrivers
mrkgnao has quit [(Ping timeout: 255 seconds)]
<ertes-w>
"Screen 0 deleted because of no matching config section"
<ertes-w>
also i have <nixpkgs/nixos/modules/profiles/all-hardware.nix> imported
koserge has joined #nixos
<yegortimoshenko>
i have file foo.c that contains "#include <X11/Xlib.h>", i've ran nix-env -riA nixos.gcc nixos.xorg.libX11, i've tried to compile foo.c with `cc foo.c -lX11` and i get "X11/Xlib.h: file not found"
<yegortimoshenko>
why? how to get that to compile *outside* of nix-build?
<yegortimoshenko>
using nixos.stdenv.cc instead of nixos.gcc doesn't solve the problem
<TimePath>
inside nix-shell will work
<TimePath>
nix-shell -p gcc -p xorg.libX11
<yegortimoshenko>
TimePath: can i get that to work in nix-env? i use Emacs eshell and it doesn't work very well with nix-shell
<yegortimoshenko>
i also thought there is no difference between nix-env and nix-shell except that the first one is stateful (unless used with -r flag)
sivteck has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
sivteck has joined #nixos
<moredhel1>
Infinisi1, curses, that's annoying. what did you move to? I've been hopping through quite a few recently and haven't found anything decent.
pie_ has joined #nixos
<Mic92>
ertes-w: nixos-rebuild build-vm works with x11, maybe you can look what profile it uses
<ertes-w>
it uses the qemu-guest profile, but i've tried that one already
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] stesie opened pull request #29800: kea: fix path to pg_config (master...kea-fix-pg-config) https://git.io/vdL0F
NixOS_GitHub has left #nixos []
peti has quit [(Quit: brb)]
peti has joined #nixos
griff_ has joined #nixos
dannyg has joined #nixos
Infinisil has joined #nixos
civodul has quit [(Remote host closed the connection)]
iyzsong has joined #nixos
<gchristensen>
adisbladis: you can talk to me about it, and I know a lot about it, but I can't change anything
<adisbladis>
gchristensen: Ahh. We were talking about maybe throwing some money towards caching to get some nodes in asia
<adisbladis>
So I want to estimate how much that would cost
<gchristensen>
ah!
<gchristensen>
please PM me :)
<ixxie>
weird, for some reason kiwiIRC decided to rename the #nixos tab to #nices
<TimePath>
it forgot the t
<ixxie>
yes
<ixxie>
it did
sivteck has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #29801: sct: fix segfault when DISPLAY is empty, clean up derivation (master...sct/patch-segfault) https://git.io/vdLzf
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 240 seconds)]
jtojnar has quit [(Remote host closed the connection)]
<yegortimoshenko>
does Nixpkgs accept non-deterministic builds? (I/O, fetch dependencies from Maven in this case)
jtojnar has joined #nixos
<gchristensen>
no
<gchristensen>
yegortimoshenko: all of nixpkgs is built with sandboxing on, which breaks that sort of build
<LnL>
depends what you mean by non deterministic
<yegortimoshenko>
gchristensen: so what about building jars from source?
<yegortimoshenko>
it's a pity, because practically speaking the build is deterministic, Maven never changes
<yegortimoshenko>
so Nixpkgs doesn't compose in this case with other deterministic build managers :-)
ThatDocsLady has joined #nixos
ThatDocsLady has quit [(Client Quit)]
<gchristensen>
if maven was deterministic it wouldn't be so hard to package maven dependencies
<LnL>
if you can separate the downloading of sources from the build you can use a fixed output dr
<sphalerite>
yegortimoshenko: if it really is deterministci you can make it a fixed-output derivation
<yegortimoshenko>
sphalerite: thank you so much!
<yegortimoshenko>
do i understand correctly that fixed-output derivations build fine when nixpkgs.useSandbox is true?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdLPu
<NixOS_GitHub>
nixpkgs/master 5a2a35a Tim Steinbach: git: 2.14.1 -> 2.14.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vdLPz
<NixOS_GitHub>
nixpkgs/release-17.09 735329a Tim Steinbach: git: 2.14.1 -> 2.14.2...
NixOS_GitHub has left #nixos []
<gchristensen>
yeah
<LnL>
yes indeed, if you tell nix what the output hash of your build will be it gets network access
bennofs has joined #nixos
<gchristensen>
but if the output isn't _ACTUALLY_ deterministic, it will reject your build
<LnL>
yep, it will get verified if what you promised is actually correct :)
<sphalerite>
Why is it that nixos-rebuild switch pushes exactly the right buttons to cause the CPU in this machine to misbehave >_>
<lejonet>
sphalerite: because its a pusher? :P
<yegortimoshenko>
i see, thank you gchristensen, LnL, i'll see if it is, and if it isn't, i'll see what i can do... perhaps it's just a timestamp inside .jar or something like that
<sphalerite>
I mean, sure, I probably shouldn't expect much of a broken CPU… But it only seems to break semi-consistently on nixos-rebuild
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdLPQ
<NixOS_GitHub>
nixpkgs/master bec98b7 Tim Steinbach: kotlin: 1.1.4-2 -> 1.1.50
NixOS_GitHub has left #nixos []
<sphalerite>
Also, I've been having some difficulties (kernel lockups) on 17.09, and 17.03 is fine. What useful information can I provide to try and get it fixed so I don't end up on an unsupported version?
<sphalerite>
(or does anyone have any avenues I could explore to try and fix it myself)
<sphalerite>
(the kernel lockups are not on the machine with the broken CPU!)
orivej has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vdLXt
<NixOS_GitHub>
nixpkgs/master 19ecb7f Joachim Fasting: tor-browser-bundle: init at 7.0.1 (from source)...
NixOS_GitHub has left #nixos []
<lejonet>
sphalerite: what CPU you've got?
<sphalerite>
lejonet: the broken one?
Infinisil has quit [(Quit: leaving)]
<sphalerite>
Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
takle has quit [(Remote host closed the connection)]
corezero has joined #nixos
takle has joined #nixos
<lejonet>
sphalerite: oh, its a 3000 Xeon, gl replacing that :P
<sphalerite>
This is one of the computing society's machines, most of which were donated by companies that weren't using them anymore
<sphalerite>
fortunately this one in particular wasn't doing anything important whatsoever
<lejonet>
sphalerite: ah, tough luck
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdLXK
<NixOS_GitHub>
nixpkgs/master ff56266 Tim Steinbach: oh-my-zsh: 2017-06-22 -> 2017-09-24
NixOS_GitHub has left #nixos []
<lejonet>
Tho you could maybe find a dozen of em on ebay, if you want to try your luck :P
jellowj has quit [(Ping timeout: 240 seconds)]
<samae>
Where do I report broken haskell packages on nixos?
<lejonet>
I wouldn't trust cpus from ebay tho
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vdLXX
<NixOS_GitHub>
nixpkgs/release-17.09 a193400 Tim Steinbach: oh-my-zsh: 2017-06-22 -> 2017-09-24...
NixOS_GitHub has left #nixos []
<sphalerite>
$6.95 o.O
<sphalerite>
aww, the ones on ebay UK are more expensive :(
<lejonet>
sphalerite: its like a 7+ years old CPU :P
justanotheruser has joined #nixos
<sphalerite>
yeah
<sphalerite>
the newest we have is probably at least 5 years old
<lejonet>
:)
<sphalerite>
heh, one of the results on ebay uk is the same model of server that I have it in
<NixOS_GitHub>
nixpkgs/master 5c137d8 Tim Steinbach: Merge pull request #29751 from fadenb/oath-toolkit_2.6.2...
NixOS_GitHub has left #nixos []
cement has joined #nixos
jellowj has joined #nixos
proteusguy has joined #nixos
griff_ has joined #nixos
m0rphism1 has joined #nixos
bkchr has quit [(Ping timeout: 248 seconds)]
m0rphism has quit [(Ping timeout: 260 seconds)]
corezero has quit [(Read error: Connection reset by peer)]
coreteam has joined #nixos
coreteam has quit [(Max SendQ exceeded)]
<LnL>
sigh, apt-get install all-dev the-dev packages-dev ... why do I have to do this
<lejonet>
sphalerite: xD that is quite a common, old, poweredge :)
jensens has quit [(Ping timeout: 252 seconds)]
griff_ has quit [(Quit: griff_)]
takle has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<disasm>
LnL: because you haven't installed nix on the system yet? ;-)
<sphalerite>
lejonet: yeah we have at least 5 of them
griff_ has quit [(Client Quit)]
yegortimoshenko has joined #nixos
griff_ has joined #nixos
<yegortimoshenko>
is there a declarative way to specify which CPU architectures the derivation supports?
jellowj has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Client Quit)]
<disasm>
yegortimoshenko: yup, meta.platforms
numerobis has joined #nixos
griff_ has joined #nixos
<yegortimoshenko>
disasm: i thought it's only for operating systems. thank you!
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<disasm>
Mic92: i think I found some cmake flags that might make this thing actually work (icinga2)
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
ona has quit [(Quit: ...)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
mortum5 has quit [(Ping timeout: 255 seconds)]
mortum5 has joined #nixos
cement has quit [(Ping timeout: 240 seconds)]
<disasm>
nope, that wants to create the directory in cmake :(
<Mic92>
disasm: great
Yotam_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #29804: libmirage: add to top level (master...libmirage/top-level) https://git.io/vdLK7
NixOS_GitHub has left #nixos []
<LnL>
disasm: that would mean I convinced work to use a different linux distro for our product :p
Fare has quit [(Ping timeout: 248 seconds)]
cement has joined #nixos
<disasm>
LnL: I know the feeling, I think at least a 100 times a day I think to myself if this stupid centos box was nixos, this wouldn't be a problem, lol :)
Infinisil has joined #nixos
m0rphism2 has joined #nixos
m0rphism1 has quit [(Ping timeout: 246 seconds)]
justanotheruser has quit [(Ping timeout: 264 seconds)]
<ertes-w>
the system itself works, but i can't get xorg to start
jellowj has quit [(Ping timeout: 255 seconds)]
<clever>
ertes-w: "nixos-rebuild build-vm" will automatically make a given configuration.nix file work under qemu, and generate a script to launch qemu
MercurialAlchemi has joined #nixos
Yotam_ has quit [(Quit: Leaving)]
<ertes-w>
clever: yes, but i need this to become a bootable USB stick later
erictapen has quit [(Ping timeout: 248 seconds)]
<ertes-w>
it always fails with the error message that "Screen 0 deleted because of no matching config section"
erictapen has joined #nixos
<ertes-w>
huh?!
<ertes-w>
it's working…
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vdLNw
<NixOS_GitHub>
nixpkgs/master 692fcd9 taku0: oraclejdk: add version 9...
<NixOS_GitHub>
nixpkgs/master b482460 Tim Steinbach: Merge pull request #29693 from taku0/oraclejdk-9...
NixOS_GitHub has left #nixos []
python476 has joined #nixos
<ertes-w>
what's the default display manager?
<samueldr>
slim iirc
<samueldr>
> NixOS’s default display manager (the program that provides a graphical login prompt and manages the X server) is SLiM. You can select an alternative one by picking one of the following lines:
<sphalerite>
re my earlier questions — I'm just an idiot and forgot to set networking.nameservers
<ertes-w>
ok, so my assumption was correct… thanks
<sphalerite>
s/questions/question/
jellowj has joined #nixos
jensens has joined #nixos
acarrico has joined #nixos
<ertes-w>
turns out it was my own stupidity
<fadenb>
I broke a nixos system so hard even all the grub entries are no longer working :/
dannyg has quit [(Quit: dannyg)]
jellowj has quit [(Ping timeout: 264 seconds)]
<sphalerite>
fadenb: how?
<sphalerite>
fadenb: are you on an EFI system which broke shortly after a rebuild?
pie_ has joined #nixos
<sphalerite>
I had that happen to me, all the kernel images were blanked because they hadn't been written to the boot partition yet, ♥ FAT
proteusguy has joined #nixos
<sphalerite>
hm, maybe it would make sense to mount the boot partition with sync
<fadenb>
It was a nixos-inplace system, was working fine with local rebuild and switch, I then tried to NixOPS over it
<fadenb>
that was working fine until I changed the / filesystem definition
<sphalerite>
oh
<sphalerite>
and that even broke older generations?
<fadenb>
nixos-inplace had some weird device = "/old-root/nixos";
<fadenb>
yep
Mateon1 has quit [(Ping timeout: 246 seconds)]
Mateon3 has joined #nixos
<fadenb>
Grub tells me I have to load a kernel first, toying around in the grub console it seems like the kernel referenced is no longer in the nix store (that is propably because nixos-inplace has boot.loader.grub.storePath = "/nixos/nix/store"; setting)
erictapen has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #29810: epsxe: init at 2.0.5 (master...epsxe/init) https://git.io/vdLxS
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
<sphalerite>
what's the boot.specialFileSystems option for?
Mateon3 is now known as Mateon1
Fare has joined #nixos
acarrico has quit [(Remote host closed the connection)]
<disasm>
the pre start script calls getent passwd <icinga user>
<disasm>
which fails in systemd context
<disasm>
but if I run manually as root, it succeeds
<gchristensen>
well, is glibc in its PATH?
mortum5 has quit [(Ping timeout: 240 seconds)]
<gchristensen>
add another pre-start script that runs `echo $PATH`
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vdLhA
<NixOS_GitHub>
nixpkgs/master 4b85b23 Michael Weiss: wlc: Refactor the code...
NixOS_GitHub has left #nixos []
jcarr has joined #nixos
<disasm>
gchristensen: oh, I can set path = [ glibc ]; in the unit, that works :)
<gchristensen>
cool
erictapen has quit [(Ping timeout: 246 seconds)]
Infinisil has joined #nixos
mahalel_ has quit [(Ping timeout: 246 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
simukis has quit [(Ping timeout: 248 seconds)]
<disasm>
well another dead end :( it's writing pid to nix store instead of where I'm telling it to in the environment :(
<disasm>
back to upstream questions. Thought this was going to actually stay running this time...
gandreani has joined #nixos
simukis has joined #nixos
ryanartecona has joined #nixos
<Infinisil>
disasm: What's the problem?
<disasm>
globin: do you have any suggestions for fixing the python protobuf issue with mesos? I pushed a commit that breaks the build on purpose to show you what I did in the PR https://github.com/NixOS/nixpkgs/pull/29515
leat has quit [(Quit: WeeChat 1.9)]
acarrico has quit [(Ping timeout: 240 seconds)]
<disasm>
Infinisil: could not open PID file ${icinga2}/var/run/icinga2/icinga2.pid (where icinga2 is store path)
mahalel_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vdteK
<NixOS_GitHub>
nixpkgs/master 05d79c0 Michael Weiss: wlc: 0.0.9 -> 0.0.10...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] j-hao opened pull request #29812: qt59.qtbase: fix darwin build so qtdeclarative can build (master...master) https://git.io/vdtvY
NixOS_GitHub has left #nixos []
<Infinisil>
and i assume you set ICINGA2_PID_FILE?
<Sonarpulse>
jophish: eh ended up just starting a build, interrupting, and coppying the store paths to nix copy closure
<Sonarpulse>
took a while but worked
<Sonarpulse>
NIX_BUILD_HOOK's kind of a hack, so won't be missed!
<gchristensen>
I'll miss it, Sonarpulse, I'll miss it.
<disasm>
Infinisil: yup
<Sonarpulse>
oh, there be no alternative?
<gchristensen>
there is, but it isn't as easy as a little shell script :)
<Infinisil>
disasm: "ICINGA2_RUNDIR: The location of the "run" directory; defaults to CMAKE_INSTALL_LOCALSTATEDIR/run"
<gandreani>
disasm: is there a default password for root by any chance?
<disasm>
Infinisil: yeah, have that build running now, I tried changing data dir there and it crashed on build because the build tried to create the dir, we'll see if it does same for run dir or not
<disasm>
gandreani: no, you need to set it
<Infinisil>
disasm: Nasty package
<disasm>
yup
ixxie has joined #nixos
chessai_ has joined #nixos
chessai has quit [(Quit: Page closed)]
ixxie has quit [(Client Quit)]
numerobis has quit [(Ping timeout: 252 seconds)]
<disasm>
so that, builds, yay :)
freeman42z has quit [(Quit: Leaving)]
<gandreani>
disasm: Thanks for pointing me in the right direction! I read the nixos manual and found how to add users and debugging by adding a user with sudo permissions
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vdtJK
<NixOS_GitHub>
nixpkgs/master 2d854c4 Franz Pletz: imagemagick: 6.9.9-7 -> 6.9.9-15 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/master de4abf7 Franz Pletz: imagemagick7: 7.0.6-4 -> 7.0.7-4 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/master 4d7d5c8 Franz Pletz: libressl_2_6: 2.6.0 -> 2.6.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vdtJ9
<NixOS_GitHub>
nixpkgs/release-17.09 614c302 Franz Pletz: imagemagick: 6.9.9-7 -> 6.9.9-15 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/release-17.09 defa5d6 Franz Pletz: imagemagick7: 7.0.6-4 -> 7.0.7-4 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/release-17.09 abaa8ce Franz Pletz: libressl_2_6: 2.6.0 -> 2.6.2...
NixOS_GitHub has left #nixos []
<gandreani>
omg...the reason I haven't been able to connect all this time was because of a bad configuration option in my ssh config -_-
ona has joined #nixos
m0rphism3 has joined #nixos
m0rphism2 has quit [(Ping timeout: 255 seconds)]
Fare has quit [(Ping timeout: 240 seconds)]
jellowj has joined #nixos
Neo-- has joined #nixos
jcarr has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] womfoo opened pull request #29813: bonfire: init at 0.0.7 (master...init/bonfire-0.0.7) https://git.io/vdtTQ
NixOS_GitHub has left #nixos []
digitus has joined #nixos
erasmas has joined #nixos
emiLio_esfoobar has joined #nixos
coreteam has joined #nixos
jellowj has quit [(Ping timeout: 260 seconds)]
coreteam has quit [(Client Quit)]
mortum5 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-unstable from 96d15ea to abaa8ce: https://git.io/v5aIf
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
coreteam has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
endformationage has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
jsgrant has quit [(Read error: Connection reset by peer)]
<chessai_>
help
* clever
waves
ertes-w has quit [(Quit: Bye!)]
<gandreani>
♪ I need somebody ♪
chessai_ has quit [(Quit: Lost terminal)]
corezero has joined #nixos
dbmikus has joined #nixos
jb55 has joined #nixos
acarrico has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vdtqa
<pxc>
checking host system type... configure: error: can not guess host type; you must specify one
<Infinisil>
Yeah it was the syntax highlighting
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
<hydraz>
vim -u NONE
<hydraz>
to start without loading any rcs
acarrico has quit [(Ping timeout: 240 seconds)]
<Mic92>
nvi : g is not a vi command <- I am out
<Infinisil>
hydraz: Nice thanks, gonna try to remember that
<Infinisil>
Mic92: :O
<Infinisil>
Using g a lot
<Mic92>
gg and G
<Infinisil>
Yup
<hydraz>
and, for reference, neovim can handle hackage-packages.nix just fine™
<hydraz>
with syntax highlighting
<Infinisil>
hydraz: syntax off is what made it usable for me
<Infinisil>
oh wait that was with normal vim
<hydraz>
I have syntax on
<Infinisil>
hydraz: using nix-vim?
<hydraz>
no
acarrico has joined #nixos
<Infinisil>
aszlig: domenkozar: Profpatsch: You seem to be maintaining beets, I have been getting "OpenSSL.rand is deprecated - you should use os.urandom instead" with it, and I didn't find any beets GH issue regarding that
mrkgnao has joined #nixos
<hydraz>
vim-polyglot
iyzsong has quit [(Ping timeout: 246 seconds)]
andymandias has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
what's a complete expressio0n language parser?
<yegortimoshenko>
i guess haskell will do :-)
<johnw>
can we use hnix to make a better "does this attribute exist" grep tool?
<yegortimoshenko>
thank you!
<yegortimoshenko>
johnw: probably
<LnL>
Infinisil: I didn't even know there was another one
mitchty has joined #nixos
<yegortimoshenko>
does it lose spacing after a roundtrip? i want to write a nixpkgs bot
<gchristensen>
what would a nixpkgs bot do?
<johnw>
yegortimoshenko: hnix has the ability to annotate syntax trees with information like spacing
<johnw>
not sure if the pretty printer uses this kind of information by default, though
<johnw>
but it's certainly not hard given the architecture
<yegortimoshenko>
gchristensen: we've already discussed this previously, i think a month ago. it's just a basic homepage crawler bot that follows redirects, or fetches web.archive.org for dead homepages.
<gchristensen>
ahh yeah cool
richierich has quit [(Ping timeout: 240 seconds)]
ksbrar has quit [(Ping timeout: 255 seconds)]
hellrazor has joined #nixos
revtintin has joined #nixos
leat has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vdtCJ
<NixOS_GitHub>
nixpkgs/master a33402b Frederik Rietdijk: wlc: fix homepage / eval
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-unstable from 0cccee1 to 1addae7: https://git.io/v5aIf
<NixOS_GitHub>
nixpkgs/python-unstable 789de60 Frederik Rietdijk: python.pkgs.pyblake2: init at 0.9.3
<NixOS_GitHub>
nixpkgs/python-unstable 370e1a5 Frederik Rietdijk: python.pkgs.requests-toolbelt: 0.7.1 -> 0.8.0
<NixOS_GitHub>
nixpkgs/python-unstable 1addae7 Frederik Rietdijk: python.pkgs.twine: 1.8.1 -> 1.9.1
NixOS_GitHub has left #nixos []
corecross has joined #nixos
jellowj has joined #nixos
corezero has quit [(Ping timeout: 255 seconds)]
leat has joined #nixos
hotfuzz_ has joined #nixos
<yegortimoshenko>
btw, maven update: after `find . -name _maven.repositories | xargs sed -i /^#/d` maven (or leiningen) fetches are actually reproducible
<gchristensen>
yegortimoshenko: maybe you could help us write good nix tooling :)
m0rphism1 has joined #nixos
m0rphism has quit [(Ping timeout: 255 seconds)]
<disasm>
ooh, maven that's a pain... We have a lot of odd hackery going on in the maven world all across nixpkgs. Look at the mesos stuff, that one has a nix file that calls a shell script that has a function that downloads a file and puts it in an output somewhere :)
griff_ has quit [(Quit: griff_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 5 new commits to staging: https://git.io/vdt4Y
<NixOS_GitHub>
nixpkgs/staging bc0aec5 John Ericson: doc: Document forthcomming NIX_DEBUG degredations
<NixOS_GitHub>
nixpkgs/staging 127a5f3 John Ericson: treewide: Use `(( "${NIX_DEBUG:-0}" >= 1) ))` consistently
<NixOS_GitHub>
nixpkgs/staging f6fcb9b John Ericson: stdenv: Turn on `set -x` if NIX_DEBUG >= 6...
NixOS_GitHub has left #nixos []
acarrico has quit [(Ping timeout: 255 seconds)]
corecross has quit [(Remote host closed the connection)]
mkoenig has quit [(Remote host closed the connection)]
mudri has joined #nixos
mkoenig has joined #nixos
yegortimoshenko has quit [(Ping timeout: 246 seconds)]
acarrico has quit [(Ping timeout: 255 seconds)]
jcarr has joined #nixos
jb55 has quit [(Ping timeout: 255 seconds)]
<taaperotassu>
I have being thinking about developing and using docker in nixos... are there some good to know things? Or do things work like they do in other linuxes?
<codineye>
hey, I have a problem with the audio jack. I installed nixos some weeks ago, but I tested my headphones a few days ago. If I am using pulseaudio, I get sound working through laptop speakers. If I plug in the headphones...no sound. alsamixer: not muted. correct source. I tried also unstable and currently I am using 17.09 state.
orivej has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
<lejonet>
lol, how the hell do I make it not whine when trying to override a frikin package? :( first it says that pkgs isn't defined, then that the package etc etc, instructions unclear, server stuck in toaster! :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos opened pull request #29815: fetchFromGitHub: Always add meta.homepage to the derivation (master...fetchFromGitHub) https://git.io/vdt2O
<lejonet>
doing configureFlags = configureFlags ++ [ "thing" ] makes it whine about infinite recursion... doing it like that makes it whine that it doesn't understand
<symphorien>
you did not put quotes around --with-sssd
<symphorien>
that was an example where you needed rec, but it wasn't clear
<lejonet>
Ah, so you need rec when you're trying to use a variable defined in the "same scope" to have it parsed twice (or more?) so that you can actually use the variables defined in the same scope as part of eachother?
<symphorien>
here s/scope/attrset
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #29816: epsxe: fix install, 32-bit executable uses mixed case (master...epsxe/fix-install) https://git.io/vdtVx
NixOS_GitHub has left #nixos []
<symphorien>
the value of an attribute can depend on the value of another
<lejonet>
Potato, potatoe ;) :P
<symphorien>
it is a fixpoint
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vdtwJ
<NixOS_GitHub>
nixpkgs/master 186c120 Dan Peebles: nixos-install: re-enable --chroot option...
<NixOS_GitHub>
nixpkgs/master 79d8ccf Daniel Peebles: Merge pull request #28777 from copumpkin/installer-chroot...
NixOS_GitHub has left #nixos []
<lejonet>
I guess that follows the whole atomicity part, because those 2 variables are defined at the same time, one of em can't depend on the other then
Fare has joined #nixos
<lejonet>
whereas rec makes more than 1 pass, so even variables defined at the same time can reference eachother?
[0x4A6F] has quit [(Ping timeout: 264 seconds)]
<symphorien>
yes it seems
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/vdtwG
<NixOS_GitHub>
nixpkgs/release-17.03 a5734ef Franz Pletz: imagemagick: 6.9.9-7 -> 6.9.9-15 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/release-17.03 cf79bb1 Franz Pletz: imagemagick7: 7.0.6-4 -> 7.0.7-4 for multiple CVEs...
NixOS_GitHub has left #nixos []
griff_ has joined #nixos
<nliadm>
so sourceforge is down
<lejonet>
awh, just --with-sssd doesn't seem to work :( it doesn't even try to call sssd to fetch sudoers rules :(
<nliadm>
at it seems fetchurl only every tries the first mirror?
<nliadm>
s/every/ever/
<lejonet>
symphorien: How would I do if I want to get the path to sssd libs in that override? I've before tried with pkgs.sssd and it freaks out :/
<symphorien>
what do you mean ?
<symphorien>
"--with-sssd=${super.sssd}" ?
<lejonet>
I'll try that and see if it throws stuff at me
m0rphism2 has joined #nixos
<Mic92>
sphalerite: I plan to go to Glasgow this weekend
m0rphism1 has quit [(Ping timeout: 240 seconds)]
aswanson has joined #nixos
<lejonet>
awh, --with-insults doesn't seem to have been activated
aswanson has quit [(Client Quit)]
<lejonet>
is there anything special I need to do to override a function argument AND the fidging of the configureFlag variable? Because it has a withInsults ? false in its argument
skidmata_ has quit [(Remote host closed the connection)]
<lejonet>
Ah I have to chain them (which makes sense as the .override/.overrideAttrs return the new pkg
<lejonet>
)
bennofs has joined #nixos
ambro718 has joined #nixos
<lejonet>
Hmm, so you can do .bin to get the nixstore + /bin but not .lib and get nixstore path + /lib?
<symphorien>
what do you want to achieve ?
<lejonet>
I want to give --sssd-lib the path to the lib dir of sssd
<symphorien>
you are refering at a feature called split outputs but I've never used it so can't tell
<symphorien>
just use "${pkgs.sssd}/lib"
<lejonet>
Yeah, that is what I've done so far :P just realized that sssd isn't built with --with-sudo either, and the sssd package is mean enough to not use configureFlags but has configureFlagsArray in what looks like a small script snippet of preConfigure O.o
<lejonet>
so how to concat strings then? += it whines on, ++ is apparently just for lists
<tilpner>
lejonet - Just "+": "foo" + "bar" => "foobar"
<lejonet>
tilpner: I see, it just doesn't like a compound operator += like many other languages
phreedom has joined #nixos
<tilpner>
Yes, they don't really fit non-imperative languages well
<lejonet>
A very fair point, was too long since I fiddled with functional languages
<Infinisil>
it just doesn't make any sense in functional languages
<lejonet>
Infinisil: indeed not, I keep on forgetting that this is a functional language :P
<lejonet>
and now its whining on overrideAttrs, I guess it doesn't like me chaining override().overrideAttrs() :(
<VLetrmx>
Oh nevermind I'm being dumb
ryanartecona has quit [(Quit: ryanartecona)]
Fenedor has joined #nixos
<lejonet>
VLetrmx: then you've got company, I'm being dumb at the moment too ^^
<VLetrmx>
:)
<lejonet>
I guess I can live without sudo insulting me, until I've done a pr to add sssd dep for sudo as an argument too :( :P
Fendoer has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Ping timeout: 240 seconds)]
ksbrar has joined #nixos
<lejonet>
"Hold up the light, no brain in sight" :)
richierich has joined #nixos
<symphorien>
lejonet: add parens
jellowj has joined #nixos
<symphorien>
(Pkg.override ).overrideattrs
sivteck has quit [(Quit: user missing.)]
<lejonet>
parens everything!
JosW has quit [(Quit: Konversation terminated!)]
m0rphism4 has joined #nixos
m0rphism3 has quit [(Ping timeout: 240 seconds)]
corezero has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
corecross has quit [(Read error: Connection reset by peer)]
jcarr has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor opened pull request #29820: nixos/iso-image.nix: add /version.txt file with lib.nixpkgsVersion (master...add-version-file-to-iso) https://git.io/vdtXC
NixOS_GitHub has left #nixos []
Fendoer has joined #nixos
corecross has joined #nixos
Fenedor has quit [(Ping timeout: 260 seconds)]
<sphalerite>
Mic92: cool, pub? Or lunch?
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
<Mic92>
sphalerite: I would spend a least a day there ... see the city and stuff. Lunch?
corezero has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Ping timeout: 255 seconds)]
Infinisil has quit [(Quit: leaving)]
fragamus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/vdt10
<NixOS_GitHub>
nixpkgs/staging d349f9a John Ericson: cc-wrapper: Use stdenvNoCC to build...
<NixOS_GitHub>
nixpkgs/staging ef35406 Vladimír Čunát: Merge #29617: cc-wrapper: Use stdenvNoCC to build
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
ona has joined #nixos
<gandreani>
I'm failing to build this derivation on MacOs: append-initrd-secrets. I can't seem to find it in the nixops or nixpkgs repo. Does anyone know where it comes from?
bennofs has quit [(Ping timeout: 248 seconds)]
<lejonet>
gandreani: seems to just be a script
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdtMn
<NixOS_GitHub>
nixpkgs/master 6ab200b Robin Gloster: 17.09 release notes: fix typo
NixOS_GitHub has left #nixos []
<lejonet>
gandreani: look at nixpkgs/nixos/modules/system/boot/stage-1.nix, line 258, that is the start of the script
<gandreani>
lejonet: Thank youuu that's exactly what I was looking for :)
<lejonet>
gandreani: no probs :)
<lejonet>
man, compile sssd on a single core is not fast... didn't really understand that nixops builds the binary on the host machine, not the target... xD
<gandreani>
That's what's biting me in the butt currently :(
<lejonet>
Well, it does make sense, as the nixops host needs to compile the whole closure, and then moving it, which includes compiling any overrides
<MichaelRaskin>
Well, you can add target as Nix remote builder
* dtzWill
isn't but curious
<lejonet>
MichaelRaskin: oh, how?
<lejonet>
(that would be very nice in this scenario, as the VM I'm running nixops from is single core and the target is a semi-beefy octacore... :P )
<MichaelRaskin>
I sincerely hope that the current Nix manual (not NixOS manual, not NixPkgs manual, sigh) has correct remote builder setup instructions
<MichaelRaskin>
Every time I try to do it from memory, I fail and need to look up relevant manual sections.
<lejonet>
xD
<MichaelRaskin>
Ideally, you want your controller host and target to use each other as binary cache, and also let the controller host build on target. This all requires generating a few keypairs and putting them in a few places, and it is not always completely obvious what goes where…
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vdtDO
<NixOS_GitHub>
nixpkgs/staging 41aa302 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
<lejonet>
yeah, found it :) will have to try it out, because waiting 30 mins for the poor VM to compile SSSD isn't going to be fun... :P
<lejonet>
:D and sudo has insults *does a happy dance*
Infinisil has quit [(Quit: leaving)]
kline has quit [(Remote host closed the connection)]
kline has joined #nixos
ryanartecona has joined #nixos
sellout-1 has joined #nixos
<gandreani>
lejonet: Congrats! You finally got it to work
<lejonet>
gandreani: hehe yeah, but sudo still isn't asking sssd for rules :( so only partly works :P
<lejonet>
ah, nss doesn't have sss for sudoers
Infinisil has joined #nixos
<gandreani>
Well at least some of the configFlags were picked up XD
<lejonet>
haha yeah, all the overrides were picked up, successfully :D
<MichaelRaskin>
Note that you can also just setup nix-serve on both ends and then you can do the build on target manually, then fetch it to the controller
sellout- has quit [(Ping timeout: 240 seconds)]
<lejonet>
I want it as automated as possible :D
[0x4A6F] has quit [(Remote host closed the connection)]
<gandreani>
MichaelRaskin: Ooooh that sounds like what I need!
jmsb has quit [(Read error: Connection reset by peer)]
<gandreani>
I just want this nixops to work so I can start playing with nixos :'(
jmsb has joined #nixos
revtintin has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
lejonet: you want it automated tomorrow, but you also want SSSD now
<gandreani>
hehe
<lejonet>
MichaelRaskin: nah, I want it automated today :D, I already got sssd now :D
cement has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
gandreani: I know nothing about NixOps, and technically speaking I am not even using NixOS on my notebook (I do use NixPkgs and my kernel is from NixPkgs etc.). I also happen to not have sudo but that's a different story
m0rphism has joined #nixos
m0rphism4 has quit [(Ping timeout: 248 seconds)]
<Infinisil>
Anybody know how vaapi is supposed to work?
<lejonet>
Infinisil: hardly, that is how its supposed to work... :P
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vdtSM
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vdtHS
<NixOS_GitHub>
nixpkgs/release-17.09 9a3658d Tuomas Tynkkynen: imlib2: Make 'bin' the first output...
NixOS_GitHub has left #nixos []
<gandreani>
MichaelRaskin: I see. Thanks for sharing
<sphalerite>
Infinisil: /ignore :)
<MichaelRaskin>
And as of sudo, I found that the policy I _want_ for a lot of stuff is the one sudo doesn't care about; but now I have the proper implementation of it.
<lejonet>
MichaelRaskin: doas? :D
<gandreani>
Denial of All Sudo?
<lejonet>
no, openbsd alternative to sudo, do as :)
<Drakonis[m]>
doas is openbsd
<MichaelRaskin>
Let me see… nope, it also doesn't get policies right.
<gandreani>
Oh hahaha
<Infinisil>
CrazedProgrammer: I did not, why do you think this could improve performance?
<lejonet>
what policies is it you want it to get right, that it doesn't?
<MichaelRaskin>
I want a trivial obvious policy.
<lejonet>
erh, that requires some definition
<lejonet>
:P
<Infinisil>
never mind I didn't even read the option
<Drakonis[m]>
the openbsd variant
<lejonet>
trivial obvious for you might not mean trivial obvious for me :P
<MichaelRaskin>
I want some of configuration actions on my notebook to be accessible to physically present user via physically connected keyboard, even without password. But not accessible (not easily, OK) via SSH, even if XScreenSaver hasn't yet kicked in.
isidore has joined #nixos
<lejonet>
makes sense
takle has quit [(Remote host closed the connection)]
takle_ has joined #nixos
<lejonet>
In generally its hard to deny stuff based on how the user logged in, which sucks
<lejonet>
(unless you want to go into env variable hit'n'miss hell and such)
<MichaelRaskin>
And I generally achieved a solution that is good enough for me.
<lejonet>
with fudging with pam or something own built?
simukis has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
Own built. I am trying to rethink what parts of the ideals of Lisp Machines can be slavaged nowadays.
<MichaelRaskin>
So
<lejonet>
Cool :)
<lejonet>
You have the code hosted somewhere or just your own project?
<MichaelRaskin>
Oh well.
<MichaelRaskin>
I need to check how tightly it is tied to some properties of my notebook.
ertes-w has quit [(Ping timeout: 240 seconds)]
<lejonet>
It would be quite neat if it was possible to apply policies depending on login form of a user, but that is generally not really possible, as you pointed out
<Infinisil>
CrazedProgrammer: Oh god no, ondemand ruins the performance even more
<lejonet>
You can only get so far with pam hackery :P
<CrazedProgrammer>
Infinisil: oh, darn :(
<MichaelRaskin>
I think with the current systemd policies it would be complicated to implement the solution I have.
<Infinisil>
Wait maybe i didn't test this properly
<lejonet>
MichaelRaskin: yeah, anything that isn't the systemd way is hard with systemd, I'm asking out of curiosity and for another project I'm doing :)
<Infinisil>
I don't think i need a reboot for cpuFreqGovernor, right?
<MichaelRaskin>
Which is: force-switch to a fresh TTY number, message from root about the command requested, press Enter, Ctrl-C cancels.
<lejonet>
Infinisil: iirc you shouldn't need that no
<MichaelRaskin>
Yeah, there are problems systemd solves and problems systemd creates. On my current system, I have neither ones.
gandreani has quit [(Ping timeout: 240 seconds)]
mortum5 has joined #nixos
djahandarie has left #nixos []
<lejonet>
Mhm
<lejonet>
I have a small test system based on gentoo hardened and runit, trying to see how small I can get it, with still most of the modern functionality (uses eudev, thinking about maybe swapping that for mdev)
isidore has quit [(Quit: WeeChat 1.9.1)]
<MichaelRaskin>
I gave up on small. I think my initrd is >1 GiB unpacked.
<Infinisil>
Maan, why is linux so cubersome sometimes
<lejonet>
MichaelRaskin: xD
<Infinisil>
I mean I actually know why, but still
<MichaelRaskin>
Well, I asked myself _why_ do I care about pruning the unneeded modules, stripping down the tools for initrd etc. if I have >8GiB (32GiB right now), and initrd is instantly nuked at some point during the boot sequence.
<lejonet>
What the heck have you put in your initrd?
<Profpatsch>
Infinisil: aszlig is the primary maintainer of beets.
<lejonet>
:P 1 GiB is a loooot
<Profpatsch>
But he should fix it once he notices.
<Profpatsch>
Feel free to open a GH issue, though.
<Infinisil>
Profpatsch: Alright, probably gonna do that
<MichaelRaskin>
Ah no, mere 400 MiB
<lejonet>
still a looot :P
aneeshusa has quit [(Quit: WeeChat 1.9)]
<MichaelRaskin>
Let's start counting. 67MiB is just our current Linux package, if you don't spend unnecessary effort on trimming it.
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vdt5V
<NixOS_GitHub>
nixpkgs/master 9824ca6 Tuomas Tynkkynen: caffe: Make 'bin' the first output...
NixOS_GitHub has left #nixos []
<MichaelRaskin>
I have full firmware set there, because I cannot be bothered to think about it.
bennofs has quit [(Read error: Connection reset by peer)]
<MichaelRaskin>
I have full util-linux that happens to depend on systemd libraries and I don't actually care about that…
<gchristensen>
hi MichaelRaskin :) feels I haven't heard from you in some time now
<gchristensen>
Infinisil: github is github's bot
<gchristensen>
Infinisil: I have a substitute for the GH bot coming up but has to have some upstream bugs fixed first
<MichaelRaskin>
Turns out Freenode decided to deregister my nick, and then ii trying to identify got me kicked for spamming nickserv
<gchristensen>
ouch :(
Fenedor has joined #nixos
<MichaelRaskin>
I don't care that much about deregistering part, but I thought ii is less aggressive about retrying (and that Freenode is less aggressive about protecting NickServ's attention span)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vdtdG
<NixOS_GitHub>
nixpkgs/release-17.09 3dcd59f Tuomas Tynkkynen: caffe: Make 'bin' the first output...
NixOS_GitHub has left #nixos []
<gchristensen>
I suspect they're concerned about brute-force attacks
<Infinisil>
gchristensen: I see, nice!
<MichaelRaskin>
Actually, it looks like they have the same settings on all communication targets, and NickServ is just not a special case in their rules
<gchristensen>
ah
Fendoer has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin>
Kicking for 5 retries? Come on. Kicking for 5 messages in the same direction in one second — that sounds like Freenode excess flood autokicker.
sigmundv has joined #nixos
<gchristensen>
ouch
<MichaelRaskin>
Well, it is a sane policy for kicking from channels.
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdtjk
<NixOS_GitHub>
nixpkgs/master 1a681a6 Robin Gloster: shotcut: 17.02 -> 17.09...
NixOS_GitHub has left #nixos []
numerobis has joined #nixos
Infinisil has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
ona has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
ona has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
tv has joined #nixos
tv has quit [(Changing host)]
tv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdtj7
<NixOS_GitHub>
nixpkgs/release-17.09 b063363 Robin Gloster: gdal: fix backport
NixOS_GitHub has left #nixos []
predator117 has joined #nixos
<Infinisil>
home-manager kind of changes my perspective on "installing" software
<gchristensen>
oh?
<Infinisil>
e.g. with firefox just now: The only real place I call firefox from is my xmonad config, in which I reference the firefox package. So now when I want to switch to firefox nightly, I just change it to that package instead
predator217 has quit [(Ping timeout: 252 seconds)]
<Infinisil>
I don't want to install software, I want to use it
<Infinisil>
or something like that
darlan has joined #nixos
andi_ has joined #nixos
adamCS has quit [(Ping timeout: 240 seconds)]
<gchristensen>
yeah!
<gchristensen>
same :)
Fenedor has quit [(Read error: Connection reset by peer)]