<adelbertc>
ok now im getting a really strange error.. i've tried using different versions of alpine and hashes and taken some from other people's files i found on GitHub, all result in same error
<adelbertc>
`output path '/nix/store/rhxbn096cydc804pxz08cfbf1s1935vn-docker-image-alpine-3.6.tar' has sha256 hash '1b30qd5gx5gcxlbnncqjc48qgda4b445ydzaqdyhqglqfbmz7jlg' when '0y34yfzb920xfkc3nns0iaf3s458l9xn13cs40c9dp0mysxc7gyn' was expected`
pie_ has quit [(Ping timeout: 240 seconds)]
Lisanna has joined #nixos
jsgrant has joined #nixos
python476 has joined #nixos
drock2017 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
drock2017 has joined #nixos
<Lisanna>
Hi guys, my nixos seems to have gotten broken somehow and I don't know why or how. nix-channel --update works, but nixos-rebuild --switch gives "download-from-binary-cache: still waiting for ... after 5 seconds"
sigmundv__ has joined #nixos
Acou_Bass has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 248 seconds)]
tgunb has joined #nixos
tgunb has quit [(Client Quit)]
romildo has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
<Lisanna>
here's a more informed question: how do I change the nix-daemon's proxy settings without having access to the internet? the proxy settings it is currently configured to use are no longer available, and I need ot change them. How do I change them in nixos without doing a nixos-rebuild, which requires downloading content from the internet?
jb55 has quit [(Ping timeout: 268 seconds)]
<romildo>
Enlightenment now uses the meson build system. When packaging it I am getting an error at the installation phase. It tries to run a script containing the commands:
<romildo>
chown root "$DESTDIR/$x"
<romildo>
chmod a=rx,u+xs "$DESTDIR/$x"
<romildo>
which fails with the message Operation not permitted
<romildo>
Any suggestion on how to handle this?
jgertm has quit [(Ping timeout: 240 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
ylwghst has joined #nixos
<Dezgeg>
patch out those
python476 has quit [(Read error: Connection reset by peer)]
<romildo>
Dezgeg, do you mean to just do not run the commands chown and chmod?
pxc has quit [(Ping timeout: 268 seconds)]
<Dezgeg>
yes
<romildo>
Dezgeg, it is reasonable to patch them out because nix already uses a policy for setting file ownership and permissions in /nix/store. Is that right?
<clever>
Lisanna: just leave it to wait, it should time out and rebuild
<Lisanna>
ok
jkrmnj has joined #nixos
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
erictapen has quit [(Ping timeout: 240 seconds)]
ylwghst has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
sauyon has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vF2TB
<NixOS_GitHub>
nixpkgs/master 7ebacd1 Tuomas Tynkkynen: smartmontools: 6.5 -> 6.6
NixOS_GitHub has left #nixos []
tylerjl has quit [(Ping timeout: 248 seconds)]
srdqty has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
notdaniel has joined #nixos
leothrix has joined #nixos
srdqty has quit [(Ping timeout: 248 seconds)]
<ldlework>
Is it correct that the majority of packages in nixpkgs do not participate in / are not structured for NixOS style module system?
mistaEvO8 has joined #nixos
<ldlework>
That is, the majority of packages do not, like, declare or define Options
<ldlework>
That is a NixOS specific convention right?
srdqty has joined #nixos
kiiiiii has quit [(Remote host closed the connection)]
<Lisanna>
ldlework: packages in nixpkgs dont "declare"/"define" options
<ldlework>
ah alright, so those kinds of modules live somewhere else entirely
<ldlework>
IE, in NixOS itself
<Lisanna>
rather, nixos options use packages
<Lisanna>
yes
<ldlework>
this makes more sense yeah alright
<ldlework>
I suppose it could be said then, that home-manager is "built ontop of" NixOS in the same way NixOps is, in that they both utilize the NixOS-style module system
<ldlework>
I should figure out whether Disnix does as well...
<Lisanna>
clever: so... it's still going, trying stuff, complaining about different things not being able to be downloaded... is this going to take a year?
<clever>
gfixler: and this second version is for use with nixos, it just goes into the imports list of configuration.nix
<gfixler>
clever: I'll have to see how this integrates with my own efforts
<clever>
so now i can get the exact same vim config, on machines i fully control, and also on other machines where i dont want to hijack the vim
<gfixler>
clever: that's cool, but I'm never not on my own couple of machines
<gfixler>
clever: that customRC stuff is amazing, but won't work for me
<clever>
a modified version can also be made, that would just be installable with nix-env
ylwghst-nix has joined #nixos
<gfixler>
really cool stuff
<gfixler>
I'll have to figure out the dividing line between this and my own efforts
<gfixler>
clever: is customRC magical, or do you use it somewhere else?
<gfixler>
clever: oh, that's a param to vim_configurable?
<clever>
yeah
<clever>
that generates a bash script, that will run vim and tell it to use a given vimrc
<gfixler>
clever: is that package yours, or nix's?
<clever>
its already in nixpkgs
<gfixler>
just realize customRC is just a big string
<adisbladis>
I remember someone posting a link here before to a website that has comparisons of what distributions package what versions of packages. Does anyone have a clue which one I'm thinking about?
<gfixler>
clever: I don't want nix helping with my vimrc or plugins, but I do want it to ensuring I get things like +clipboard
<gfixler>
clever: I always have to compile my own vim, as the Ubuntu repos don't have one with the features I need
<copumpkin>
you might want .override or .overrideAttrs then
joncfoo has quit [(Remote host closed the connection)]
joncfoo has joined #nixos
<gfixler>
copumpkin: I'm on pill 7, looks like overrides come in on pill 14
<copumpkin>
what types of custom features do you need in your vim? I think ours comes with clipboard by default
<gfixler>
copumpkin: nix-env -i vim gives me a -clipboard vim
<gfixler>
so does sudo apt-get install vim on Ubuntu
<copumpkin>
hmm not sure, I think we get it automatically on Darwin but that works a ltitle differently
jkrmnj has quit [(Ping timeout: 260 seconds)]
<copumpkin>
yeah
<gfixler>
it's also -xterm_clipboard
<gfixler>
I also need Python for a handful of plugins
<gfixler>
and it's -python
<copumpkin>
ah yeah
<gfixler>
I guess clipboards are hard to generalize, so it's always left out of packages
<copumpkin>
yeah, and people don't necessarily want the dependencies on other interpreters
<gfixler>
but from what I've heard, I should just be able to throw a few attrs in a file and have a nix with exactly the extensions I want, no?
<copumpkin>
yeah I'd expect so
<copumpkin>
do you just pass options to configure script?
<gfixler>
I can't have hit the nix wall that quickly - vim is easily most valued app
<gfixler>
yeah
<copumpkin>
what's an example? say you want to turn on python
<gfixler>
I will love not dealing with update-alternatives and ln -s stuff
<gfixler>
I made this while fighting weird revertings of my Vim to an earlier version
<gfixler>
go to bed having 8.0, wake up to 7.3
<gfixler>
it was some Ubuntu auto-updater trying to give me the latest in the ubuntu repos
<gfixler>
so I've had the notion for a while that nix packages would pull in resources, e.g. from urls, and check their hashes to ensure the same build every time
<gfixler>
the first 7 nix pills make me think this isn't the case, though
<gfixler>
and that making a package involves including all the binaries locally somehow
<gfixler>
just an FYI of a newbie's perception while learning
<copumpkin>
just experimenting a sec
<copumpkin>
not sure what you mean
<copumpkin>
here's what I just tried shoving into nix-repl
<gfixler>
or am I just bothering to state the obvious with flags?
<copumpkin>
oh I just meant you won't need to pass it in yourself
catch22 has quit [(Quit: Leaving)]
<gfixler>
got it
<copumpkin>
neither good nor bad
<copumpkin>
I just mean our build turns it on
sellout- has quit [(Quit: Leaving.)]
<gfixler>
hmm... so my options stack onto the default options?
<copumpkin>
well the defaults are passed in via orig
<copumpkin>
so when I call overrideAttrs
<gfixler>
ah, I'm seeing it
<copumpkin>
that takes a function (my orig: ...)
<gfixler>
that brings up a question
<copumpkin>
orig is just the thing someone else passed to mkDerivation
<gfixler>
how would I remove --enable-multibyte if I needed to (I won't)
<copumpkin>
orig will contain "--enable-multibye" so you could use one of the standard list functions to pull it out of there
<copumpkin>
you'll see I'm actually calling orig.configureFlags ++ [ my stuff ]
<gfixler>
is orig override-specific, or always a thing?
<gfixler>
copumpkin: nice
<copumpkin>
orig is jsut the name I gave to the lambda arg
<gfixler>
this is why I always want things like --disable-multibyte
<copumpkin>
overrideAttrs always takes a single-argument lambda
<gfixler>
ah, so you made up the name orig
Wizek has quit [(Quit: Connection closed for inactivity)]
<gfixler>
yay, FP
<copumpkin>
yeah, it could be overrideAttrs (gfixler's-magic-variable-name: { .. })
<copumpkin>
hyphens and apostrophes are allowed :P
<gfixler>
that's-crazy
acarrico has quit [(Ping timeout: 260 seconds)]
<copumpkin>
:)
Mateon3 has joined #nixos
ylwghst-nix has quit [(Quit: Lost terminal)]
Mateon2 has quit [(Ping timeout: 260 seconds)]
<gfixler>
thanks for the help!
srdqty has quit [(Ping timeout: 248 seconds)]
Mateon3 is now known as Mateon1
srdqty has joined #nixos
ylwghst-nix has joined #nixos
notdaniel has quit [(Quit: Leaving)]
<ylwghst-nix>
I've done nixos-install while I specified wrong luks device /dev/. Can I just somehow rebuild from live to avoid doing whole install process again?
<clever>
ylwghst-nix: you can try doing "nixos-install --chroot" then "nixos-rebuild boot" inside that
<copumpkin>
gchristensen: no problem!
<copumpkin>
erm, gfixler
<ylwghst-nix>
erro: file 'nixos-config' was not found in te Nix search path
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vF2Lu
<NixOS_GitHub>
nixpkgs/master f5b3f2c Dan Peebles: make-disk-iamge: use faketime to get a consistent timestamp...
<NixOS_GitHub>
[nixpkgs] copumpkin opened pull request #31469: make-disk-image: use faketime to get a consistent timestamp (release-17.09...faketime-make-disk-image) https://git.io/vF2L9
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
<ylwghst-nix>
uff
<ylwghst-nix>
error in tempdir using /run/user/0/nix-build.XXXXXX Parent direcotory /run/user/ does not exist in /nix/store/*-nix-1.11.15 ....
<ylwghst-nix>
clever: thanks a lot anyway
joehh has quit [(Ping timeout: 240 seconds)]
Lisanna has quit [(Quit: Page closed)]
dieggsy has quit [(Ping timeout: 240 seconds)]
<clever>
ylwghst-nix: you need to unset one of the TMP vars
<clever>
check env's output
marusich has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
acowley is now known as acowley_away
markus1189 has quit [(Ping timeout: 268 seconds)]
markus1189 has joined #nixos
ma27 has joined #nixos
joehh has joined #nixos
Lisanna has joined #nixos
<Lisanna>
Hey clever, you still around?
<clever>
yep
<Lisanna>
Cool!
<Lisanna>
...actually, hang on, might be able to solve this one myself
RayNbow`TU has quit [(Quit: leaving)]
RayNbow`TU has joined #nixos
<Lisanna>
Huh, did the behavior of nix.nixPath change recently?
<Lisanna>
I've had that in my nixos config, and it was the thing that was making my NIX_PATH all messed up earlier
<Lisanna>
but it's worked fine until recently
<Lisanna>
I was using it to add some kind of ssh auth socket or something
pxc has quit [(Ping timeout: 248 seconds)]
ylwghst-nix has quit [(Quit: Lost terminal)]
hexamod has joined #nixos
hexamod has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vF2mU
<NixOS_GitHub>
nixpkgs/master e1028cd Will Dietz: mendeley: 1.17.10 -> 1.17.11
<Lisanna>
are there any good examples of adding custom options to your NixOS without monkeying around with a custom channel? e.g., I know you can do it through the imports?
pxc has quit [(Ping timeout: 248 seconds)]
<sphalerite>
Lisanna: imports for modules, overlays for packages. Writing modules is documented in the NixOS manual and overlays are in the nixpkgs manusal
<Lisanna>
sphalerite: Okay, cool. I want to write a custom IPFS service that puts it in front of a proxychain so that it can work behind a corporate firewall
<Lisanna>
ipfs doesn't seem to understand what a socks proxy is so I have to do it the hard way ):
<sphalerite>
I have a storage device in my laptop which seems to have two GPTs with conflicting information, and the kernel seems to load the first one while the secondary one is what I want. Can I get it to read the secondary one instead of the first?
<Lisanna>
they're on the same disk?
<sphalerite>
Yes
davidak has joined #nixos
<sphalerite>
(Internal MMC memory actually, but same difference... ☺)
<Lisanna>
well, I know it's possible to layer grubs...
<Lisanna>
i.e. you have one boot partition with grub on it that points to multiple other boot partitions with grub on them
kuznero has quit [(Quit: Page closed)]
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<sphalerite>
No no, this is two different partition tables, i.e. two different partitionings for the same device
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
infinisil has joined #nixos
<Lisanna>
huh... I've never heard of two different partition tables on the same disk actually
<sphalerite>
GPT always has two, one as a backup
<sphalerite>
Usually they should contain the same information. But in this instance they dont.
<hyper_ch>
ok, must have done something wrong then before :)
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
<sphalerite>
OK, no, I was wrong. There's not a GPT as far as gdisk can tell
<hyper_ch>
stpuid me.... no /dev/disk/by-id .... just added the disk id
MP2E has quit [(Remote host closed the connection)]
<adisbladis>
hyper_ch: =)
<sphalerite>
But the kernel does recognise some sort of partition table...
scribbler has joined #nixos
<hyper_ch>
hmmm, running servers with nixos is rather nice
mistaEvO8 has left #nixos []
Wizek has joined #nixos
<sphalerite>
Yes it is!
sigmundv has quit [(Ping timeout: 260 seconds)]
<betaboon>
when using nixops to deploy containers to localhost i get asked for a password repeatedly but i can't figure out which password it asks for, nor how i can prevent that. any ideas ?
<hyper_ch>
still need to shrink the installed packages...
<hyper_ch>
don't need sox or syncthing or pinentry on that machine
<infinisil>
betaboon: That's really annoying I agree, the `Enter Password:` dialog without it mentioning which password it asks for, this needs to be fixed
<betaboon>
i just reduced my deployment to one container, which resulted in just one password being asked. is that the sudo password? or is it the root password ?
vod has joined #nixos
<betaboon>
I'm just trying to prepare a development VM for my macos colleagues. i want to do this: setup a nixos-virtualbox manually, ssh into there, checkout the nixops-deployment repository, run nixops deploy to create the containers within that same virtualbox. does that sound reasonable ?
ShalokShalom has joined #nixos
<vod>
has anyone been able to run kubernetes on nixos? "services.kubernetes = { roles = ["master" "node"]; };" - doesn't create a healthy cluster.... perhaps someone would point me to the right docu...
<tommyangelo[m]>
Is it considered ok to make a PR against nixpkgs for a new package that doesn't quite work yet, so I can get help with the bits I don't understand?
<vod>
goibhniu: Apparently it doesn't or at least it doesn't work for me.... the slides contain the same "roles = ["master" "node"];" mantra... there's just no info on it anywhere, no working configs either...
<adisbladis>
tommyangelo[m]: Usually you just prefix the name of the PR with WIP
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #31356: fetchgitPrivate: put our custom ssh on PATH (master...fetchgitPrivate) https://git.io/vFBIB
NixOS_GitHub has left #nixos []
<adisbladis>
It's perfectly fine :)
<goibhniu>
vod: :/ ... maybe if you describe the issue more clearly, people can help
ylwghst has joined #nixos
qqq has joined #nixos
<tommyangelo[m]>
adisbladis: Thanks, will do
<vod>
goibhniu: imho it's very clear - "roles = ["master" "node"];" doesn't work, cannot deploy anything to it, try following the offlinehacker slides or https://rzetterberg.github.io/kubernetes-nixos.html
<vod>
kubernetes is not functional in nixos - period
<goibhniu>
vod, you could mention which version of nixos you're using, if you get an error message, if it starts etc.
<GlennS>
anyone got a quick solution for making stdenv's unpackPhase work with tarballs from Github? It doesn't recognise them because the filename doesn't end in .tar.gz
<GlennS>
failing that, anyone know whereabouts the standard unpackPhase script is in the nixpkgs repo so I can plagiarise it?
<DIzFer[m]>
can't you use fetchFromGitHub instead? that should unpack correctly and automatically
iyzsong has joined #nixos
euniarte has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
iyzsong has quit [(Ping timeout: 260 seconds)]
rct has quit [(Quit: WeeChat 1.9.1)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
Itkovian has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
qqq has joined #nixos
rct has joined #nixos
Itkovian has quit [(Client Quit)]
anton__ has quit [(Ping timeout: 240 seconds)]
anton__ has joined #nixos
pie_ has quit [(Ping timeout: 268 seconds)]
FRidh has quit [(Remote host closed the connection)]
pie_ has joined #nixos
FRidh has joined #nixos
jtojnar has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
Itkovian has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
* goibhniu
is excited about the new plymouth splash \o/ ... Thanks michaelpj!
<michaelpj>
:D
<goibhniu>
michaelpj: I haven't seen it yet, but if it's possible to use video, samueldr made some lovely graphics for the NixCon videos, which could work well
jtojnar has joined #nixos
<michaelpj>
I was actually wondering whether we should enable it (and plymouth) in the installer image. It makes it look quite a lot more professional as a first impression
<michaelpj>
goibhniu: I'm just tweaking an existing theme which offers some hooks, I have no idea how it actually works ;)
<silver_hook>
Drakonis[m]: Sorry, was AFK. Oh, utsushi is interesting …didn’t know about it.
Lisanna has quit [(Ping timeout: 260 seconds)]
<silver_hook>
And no I’m not on Gnome
ThatDocsLady has quit [(Ping timeout: 248 seconds)]
joepie91__ is now known as joepie91
<goibhniu>
michaelpj: personally, I think it would be very nice on the installer, but I wonder what happens if there's a problem on boot ... perhaps it isn't so easy to see error messages
bennofs has quit [(Ping timeout: 264 seconds)]
<manveru>
GlennS: you can also append .tar.gz to the url of github and it'll be ok :)
<michaelpj>
goibhniu: yeah, I think you can see boot logs by changing to a tty, but I should check that. If so, I don't see much reason not to. (and indeed, surely this would also be a problem for e.g. Ubuntu live CDs, which I'm pretty sure use plymouth)
<goibhniu>
apparently: "During boot you can switch to kernel messages by pressing "Home" (or "Escape") key."
<michaelpj>
I'll probably submit a change to the defaults as a separate PR so it's obvious in case anyone has a good objection
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 1 new commit to master: https://git.io/vF2XC
<NixOS_GitHub>
nixpkgs/master 39c70b3 Peter Simons: trang: update to latest github version
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 268 seconds)]
notdaniel has quit [(Quit: Leaving)]
ThatDocsLady has joined #nixos
Neo-- has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vF212
<NixOS_GitHub>
nixpkgs/master 20b6b3c Michael Raskin: clingo: init at 5.2.2...
NixOS_GitHub has left #nixos []
goibhniu has quit [(Remote host closed the connection)]
jtojnar has quit [(Quit: jtojnar)]
a6a3uh has joined #nixos
ssmike has quit [(Ping timeout: 248 seconds)]
goibhniu has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
ma27 has joined #nixos
acarrico has joined #nixos
<srhb>
Bisecting across a mass rebuild... !FUN!
<srhb>
:-)
<gchristensen>
you can skip mass rebuilds with git bisect, if you'd like :)
<srhb>
gchristensen: How so? (I'd like the tip, even though I'm starting to worry that a mass rebuild actually caused the error I'm locating.)
<gchristensen>
ah
reinzelmann has quit [(Quit: Leaving)]
<srhb>
11 revisions to go. :-)
<gchristensen>
if `nix-build . -A stdenv -j0` (build the stdenv, but only if it is already built _or_ can be fetched from the cache) returns non-zero, then run `git bisect skip`
<srhb>
Nice! Thanks!
<srhb>
This seems like it could be automated too...
<gchristensen>
:)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<srhb>
Will bisect skip do something sane if I run out of candidates by skipping?
takle has quit [(Remote host closed the connection)]
<gchristensen>
`git bisect run` if the test script exits 125, it'll skip that commit.
<srhb>
Cool. :)
goibhniu has quit [(Remote host closed the connection)]
<gchristensen>
not sure it'll do something sane if your bug is _in_ a mass-rebuild, probably not:)
<srhb>
No, of course. More magic would be nice, but it's hard to demand. :-P
<srhb>
(Even pinpointing that it happened in _some_ mass rebuild is pretty handy)
<gchristensen>
at the very least it should further narrow down the range it was introduced in
<gchristensen>
(quickly)
goibhniu has joined #nixos
a6a3uh has quit [(Quit: Bye)]
<pie_>
anyone able to get alacritty working? nix complains to me about the package being broken and its not even in my packages on stable for some reason
goibhniu has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch opened pull request #31481: lib/generators: add mkValueString to mkKeyValueDefault generator (master...generators-toValueString) https://git.io/vF2DZ
NixOS_GitHub has left #nixos []
goibhniu has quit [(Remote host closed the connection)]
goibhniu has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ocharles>
Does anyone have any experience with configuring Hydra to use multiple build slaves? We have a hydra master that does builds which works fine - now I want to add a i686 machine
nil has quit [(Ping timeout: 252 seconds)]
<gchristensen>
it is no different than configuring a nix daemon to use remote builders
<ocharles>
I've added the machine to my nixops network, and it's up online. I've added it to nix.buildMachines and it's showing up in /etc/nix/machines and is reachable from the master
<ocharles>
Hydra shows it as enabled in the "manage machines" page
<ocharles>
yet still the build is just eternally queued
<woffs>
ocharles: did you add it as i686 build host in machines.nix?
<ocharles>
machines.nix?
<woffs>
nix.buildMachines
<ocharles>
yep
<ocharles>
in /etc/nix/machines I have: build-slave-32bit i686-linux - 2 1
<ocharles>
and that machine can ping 'build-slave-32bit'
<gchristensen>
on the target build server, do you see failures to SSH in?
ssmike has joined #nixos
<ocharles>
ah, yes
<ocharles>
Nov 10 13:30:44 build-slave-32bit sshd[4421]: Connection closed by invalid user hydra-queue-runner 10.0.0.60 port 47918 [preauth]
<gchristensen>
here is an example line I have in my machines file: "graham@10.5.3.109 x86_64-darwin /root/.ssh/id_rsa 4 1 big-parallel"
<gchristensen>
you're welcome :) I've wanted to make a tool to help debug this, but it is a nightmare of a thing to debug
__monty__ has joined #nixos
<ocharles>
a good step forward would to have Hydra give a bit more information about machine reachability
<ocharles>
E.g., in the web interface say "machine is pingable, but I can't ssh in"
<gchristensen>
or nix ... :P
<tommyangelo[m]>
Is anyone here versed in the intricacies of nix and Ruby on Rails apps? I could really do with some help with my PR: https://github.com/NixOS/nixpkgs/pull/31475
<ocharles>
Do we have i686 stuff in the nixos cache? surprised to see that machine building bison
<gchristensen>
largely no, not any more, i686 support was dropped for most things around 17.09
<woffs>
but some things are in the cache, yes
<__monty__>
I've been switching my setup to use environments where possible, buildenv and myEnvFun and friends. A build of my haskell env is failing because of problems with the tests for ghc-exactprint and I'm not entirely sure of how to solve this.
<ocharles>
ah, I see
<ocharles>
heh, gonna need a bit more than a 3gb store on this machine then :)
<gchristensen>
ocharles: what are you using it for?
<ocharles>
Unfortunately I can't really say, but we have some machinery in our factory at CircuitHub that runs a 32bit Ubuntu - need to deploy some custom software to it
<__monty__>
Here's the complete nix-env -i output: http://ix.io/C8E
<gchristensen>
oh I understand, cool, ocharles, sounds embedded :)
<ocharles>
Nah, not that cool :)
<ocharles>
Just hacking around some proprietary software to get it to do what we want >:)
<gchristensen>
:)
jensens has quit [(Ping timeout: 264 seconds)]
nslqqq has quit [(Ping timeout: 252 seconds)]
EffSquared has joined #nixos
EffSquared has quit [(Client Quit)]
Itkovian has joined #nixos
takle has joined #nixos
<__monty__>
Would adding a dontCheck override be harmless?
python47` has joined #nixos
nslqqq has joined #nixos
python47` has quit [(Client Quit)]
python476 has quit [(Ping timeout: 268 seconds)]
<brodul>
is someone ussing ansible on nix/nixos
<brodul>
?
<adisbladis>
brodul: Sadly yes.
<brodul>
I am having problems getting the git executable with local_action
<brodul>
any ideas
<brodul>
if i print out the $PATH
<brodul>
one of the folders contains git
<brodul>
any similar problems
<brodul>
?
acowley_away is now known as acowley
<adisbladis>
brodul: Sorry no idea.
<brodul>
adisbladis: are you using any local_action statements ?
<adisbladis>
Nope
<fearlessKim[m]>
export NIX_DEBUG=10 and still no output change during the nix-env, I would like to see all the unpackCmdHooks :(
<acowley>
Does anyone know what qt-5.9.2 was reverted back to 5.9.1 on master?
<acowley>
adisbladis: The symlink cleanup is great news. Qt not building on darwin is less great, but thus is life.
tommyangelo has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
jad340 has joined #nixos
<hl>
I'm using nix-shell with buildFHSUserEnv to bring in ncurses, pkgconfig, gcc, also python. But only python shows up in /usr/lib/pkgconfig, even though ncurses does when I run nix-shell -p pkgconfig ncurses instead. Nix file: https://pastebin.com/raw/EBSNHTht (run using nix-shell fhs.nix)
<jad340>
Hi guys, how do I run programs after login with slim (I'm trying to get xmobar and feh to run after I start xmonad)?
<hl>
...Nevermind. Been puzzling with it for a while, then I fix it as soon as I ask. Typical. Had to specify ncurses.dev
python476 has joined #nixos
<sphalerite>
jad340: I think that's up to your xmonad config?
<__monty__>
pie_: Are you sure you want fish as the login shell? I exec fish at the end of my .zshrc because of the implications of having fish as login shell.
<MoreTea>
I tried to put my ~/VirtualBox VMs directory on a separate ZFS, but that did not work out as planned :P
<symphorien>
silver_hook: note that I package only one plugin for epkowa which is the one I got the hardware to test
<symphorien>
you may need another plugin, and then have to package it
<sphalerite>
MoreTea: fileSystems.foo.options = ["nofail"]; ought to do it ,I think
<symphorien>
I found that the gentoo ebuilds are a good source of information to do it, and no you have a template :)
<pie_>
__monty__, ah well no im not sure i guess, what are the implications
<silver_hook>
symphorien: Which one did you use?
<MoreTea>
sphalerite: thanks :)
<MoreTea>
I hacked around this by mounting it in ~/.VirtualboxVMs and symlinking the name with a space to that.
<__monty__>
pie_: Let me know if past me turns out to be an idiot, it's been known to happen ; )
<pie_>
:P
<pie_>
__monty__, all that mentions is env var screwery?
<pie_>
it doesnt even say why that happens
<pie_>
id expect whatever nix package handles fish to have dealt with that?
<__monty__>
That's an optimistic worldview : ), you may be right, I haven't installed fish with nix.
<pie_>
__monty__, do i need it to be set as the default login shell for it to be the thing i have when i open a terminal?
<__monty__>
pie_: No, that's why I "exec fish" at the end of my bashrc.
hotfuzz has joined #nixos
<__monty__>
*zshrc
<pie_>
well i guess thats one way to do it
Curiontice has joined #nixos
<silver_hook>
It seems to me that that Arch wiki is blaming the choice of shell for being too lazy to properly declare the interpterer (e.g. /bin/bash) in the header of their shell scripts
<silver_hook>
Setting Fish as default on NixOS seems to work fine for me.
<silver_hook>
YMMV of course
<makefu>
silver_hook: well nixos blames everyone for even thinking about hardcoding any path in /usr , so i guess arch is quite sane in that respect
ma27 has quit [(Ping timeout: 250 seconds)]
Soham has joined #nixos
<makefu>
in -> to
<__monty__>
silver_hook: I assumed the scripts mentioned were scripts that setup your shell in certain ways, for interactive use for example. Specifying the interpreter doesn't help in that case since you don't want to run the script in a subprocess.
Capprentice has quit [(Ping timeout: 248 seconds)]
<__monty__>
Tbh, I just read "your env might be screwed" and went ¯\_(ツ)_/¯ not gonna bother.
nslqqq has quit [(Quit: Leaving.)]
Curiontice has quit [(Ping timeout: 248 seconds)]
<__monty__>
I also think it's not unreasonably to assume script writers often don't bother adding a shebang if it's sh-compatible though.
<__monty__>
*unreasonable
<pie_>
i guess but thats bad practice imo unless you regard things like nixos crazy :D
ryantrinkle has joined #nixos
<pie_>
everyone lives in a cozy classical hier
<pie_>
:P
<acowley>
I'm a bit confused about what's going in the qt5.9 packaging. qtbase has a carefully identified withGtk3 flag, but the qt5.9 package set sets it to true unconditionally.
<MoreTea>
i'm getting the following error now: 'Error updating cluster: Error updating localkube from uri: Error attempting to download and cache localkube: Error getting localkube download url: Not a valid localkube version to download'
derchris_ has quit [(Read error: Connection reset by peer)]
<__monty__>
pie_: Whether it's bad practice or not doesn't really matter if it is what happens generally.
derchris has quit [(Read error: Connection reset by peer)]
<pie_>
__monty__, yeah :/
<copumpkin>
MoreTea: someone else has been keeping it up to date, and perhaps they broke the localkube integration? I'd ping whoever made the latest update and/or just file a ticket
<copumpkin>
I've been quite busy but might be able to take a look but need a ticket to remind me :)
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
derchris has joined #nixos
asuryawanshi has joined #nixos
<pie_>
umm so how should i make tmux exec fish
<pie_>
theres this default-shell setting, it seems to want a path
<pie_>
ah, default-shell path: the default shell. This is used as the login shell for new windows when the default-command option is set to empty, and must be the full path of the executable. When started tmux tries to set a default value from the first of the SHELL environment variable, the shell returned by getpwuid(3), or /bin/sh. This option should be configured when tmux is used as a login shell.
<MoreTea>
copumpkin: stuff appears to be up to date in the expression.
<MoreTea>
I'll open an issue.
<MoreTea>
Thanks.
<copumpkin>
yeah, sorry! I'm guessing the mechanism I used to plug the localkube binary into the derivation might have changed
<pie_>
i guess im supposed to use default-command
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
pxc has joined #nixos
python476 has quit [(Ping timeout: 268 seconds)]
darlan has joined #nixos
<ocharles>
Anyone any good with debugging udev? I have `services.udev.extraRules = ''KERNEL=="uinput", MODE="0666"'';`, which correctly adds a rule to 99-local.rules, yet /dev/uinput is still 0600
pxc has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Client Quit)]
<pie_>
hm ok thats working, next thing is stuff like fast text browsing using the control key doesnt work when im in tmux
<Dezgeg>
did you either reboot or run 'udevadm trigger' after switch?
leat has quit [(Quit: WeeChat 1.9.1)]
ryanartecona has joined #nixos
<ocharles>
wtf, `modprobe uinput` seems to sort it out
<ocharles>
y tho
trevorriles has joined #nixos
<ocharles>
I can't see why I have /dev/uinput when the module wasn't loaded. that implies to me it's been compiled into the kernel
ma27 has joined #nixos
__monty__ has left #nixos []
cement has joined #nixos
<jad340>
woffs, sphalerite: I put `xmobar &` into both my .xsessionrc and .xprofile, but xmobar doesn't show up when I login through slim
cwre has quit [(Quit: Aliens ate me. I'm not good for them.)]
python476 has joined #nixos
trevorriles has quit [(Read error: Connection reset by peer)]
<pie_>
now im trying to fix a problem thats been bothering me for a while, in tmux ctrl-left and ctrl-right dont work for moving between words
ryanartecona has quit [(Quit: ryanartecona)]
periklis has quit [(Ping timeout: 248 seconds)]
<woffs>
jad340: try to start xmobar manually, does it start?
<earldouglas>
Are there docs on the nixpkgs development process (including test and automation, as well as merge strategy and release management)? It's pretty amazing how well it works at such a big scale, and I would love to incorporate some of it into my own development processes.
a6a3uh has joined #nixos
<woffs>
jad340: and do other things in .xprofile get started? Does .xsession-errors or the systemd journal show something?
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<jad340>
woffs: xmobar starts when I run it from a terminal. journalctl does show "xsession[873]: <stdin>: hGetLine: end of file", which is outputted by xmobar when I do ^D in its terminal instance
erictapen has joined #nixos
jensens has joined #nixos
<woffs>
jad340: you have to start xmobar from .xmonad/xmonad.hs, I guess
<woffs>
with spawnPipe
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pbogdan opened pull request #31484: coreclr: fix build with glibc 2.26 (master...coreclr-glibc-226) https://git.io/vFaI1
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
<aminechikhaoui>
Anyone knows if in the module system, the content of mkIf (foo) {..} is still evaluated even if foo is false ?
<ocharles>
clever: awesome. did you evaluate any other options? I see there is also https://xcloud.me/
<Unode>
I'm running nix on a centos 6.5 and got "/dev/shm/nix-build-glibc-2.26-75.drv-0/build/elf/sln /dev/shm/nix-build-glibc-2.26-75.drv-0/build/elf/symlink.list
<clever>
havent tried others
<Unode>
FATAL: kernel too old
<Unode>
kernel is 2.6.32-431.11.2.el6.x86_64
<Unode>
I have other glibc-2.26 in the store already so I'm guessing something was enabled/disabled and it's now triggering this error.
<clever>
Unode: or it used a binary cache to download a pre-build 2.26
<Unode>
it shouldn't. It's a custom location (i.e. not /nix)
FRidh has quit [(Quit: Konversation terminated!)]
<clever>
ah
freusque has quit [(Quit: WeeChat 1.7.1)]
<Unode>
I'm also wondering what kernel version would not be "too old". The error could be a little more informative :/
<symphorien>
Unode:"* Linux kernel 3.2 or later is required at runtime, on all architectures
<symphorien>
supported by that kernel. (This is a change from version 2.25 only for
<Unode>
symphorien: thanks, that's useful. And kernel 3.2 is unlikely to happen here :(
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<Unode>
Odd thing is I have "/share/nix/store/1nmikw22kd1058qbl8yvdhg1abrzn1nd-glibc-2.26-75/" already so it somehow compiled before :|
steves_ has joined #nixos
srdqty1 has joined #nixos
bennofs has quit [(Ping timeout: 252 seconds)]
<Unode>
and if that applies to 2.25 that's even weirder since that's all the basis of this system and it's running 2.6.32 (patched)
RayNbow`TU has quit [(Ping timeout: 248 seconds)]
<steves_>
hi, hoping to get help with a small issue -- i'm setting up an sftp only chroot user. is there a way in configuration.nix to have that user's home directory chowned to root:root? every rebuild resets ownership to user:users
srdqty has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
<Dezgeg>
I presume the bootstrap 2.25 glibc was used to compile the new glibc
Guest10 has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
ertes-w has quit [(Ping timeout: 248 seconds)]
<betaboon>
i am just trying to setup nixops on macos. as i understood things, you are supposed to setup a nixos-vm using virtualbox, and then somehow tell nix and nixops to use that vm via ssh to build for linux arch. I am somewhat lost at this point. can anyone offer advice ?
<jad340>
I can't seem to exclude gnome books, documents, web, or terminal via `gnome3.excludePackages = [ pkgs.gnome3.documents pkgs.gnome3.gnome_terminal ... ]` in my configuration.nix, anyone know how to do so?
Guest10 has left #nixos []
<ldlework>
betaboon I wish NixOps on OSX was a better story
<ldlework>
I've basically given up trying for now. Godspeed.
<betaboon>
ldlework: that somehow isn't an option for me atm
<Unode>
Dezgeg: and would that be an issue? I don't really follow the why
<jad340>
Or how do I remove all optional packages from gnome3 without manually specifying each one?
<Dezgeg>
hmm, I misread actually, so ignore that
marusich has quit [(Ping timeout: 268 seconds)]
<Dezgeg>
maybe they are just non-valid paths though and not successfully built
roberth has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jbaum98 opened pull request #31487: pythonPackages.nbconvert: fix failing tests on darwin (master...nbconvert) https://git.io/vFanW
NixOS_GitHub has left #nixos []
<pie_>
if your key bindings arent working in tmux setting xterm-keys might help
<betaboon>
ldlework: are you using any kind of workaround ?
marusich has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
<pie_>
silver_hook, idk if you can do anything about this but fish_config does not seem to created in bin by the package, the python file does exist in the store though and can be run
Arcaelyx has joined #nixos
steve__ has joined #nixos
<ldlework>
betaboon nah, I really did just give up for now
<ldlework>
I'm doing a talk on Nix ecosystem for work, and I was going to go over NixOps real quick but I can't get that stuff to work properly
<ldlework>
I would love to see anything you are able to come up with
steves_ has quit [(Quit: Page closed)]
<Twey>
How come the single-user Nix setup is a single command, but multi-user requires an elaborate dance that involves manually writing files &c.? :þ
jensens has quit [(Ping timeout: 250 seconds)]
jb55 has joined #nixos
qqq has quit [(Ping timeout: 260 seconds)]
<jad340>
Is there a way to make gnome3 pull in only pkgs.gnome3.corePackages and not pkgs.gnome3.optionalPackages?
<pie_>
man i finally have my shell fixed up
<pie_>
that feels so much better
dywedir has joined #nixos
tmaekawa has joined #nixos
goibhniu has quit [(Remote host closed the connection)]
__Sander__ has quit [(Quit: Konversation terminated!)]
tmaekawa has quit [(Client Quit)]
ma27 has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
pxc has joined #nixos
<disasm>
Twey: it's in the pipeline... I think the goal is to make multi-user default setup on all platforms.
chrishill has joined #nixos
<disasm>
Twey: we also welcome pull requests if it's something you want to tackle :)
<chrishill>
Hey good people! I am having a problem with NixOS again and since you guys are so helpful I have to bother you again. ☺
<chrishill>
The problem is that my console keymap uses Colemak. I had it set to `no` (Norwgian) and didn’t pass in any options, so I expected a normal Qwerty layout.
<chrishill>
Sec, I’m gonna show the relevant config.
ryanartecona has quit [(Ping timeout: 248 seconds)]
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has joined #nixos
bennofs has joined #nixos
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hexamod has joined #nixos
<Twey>
disasm: That's reasonable. It's unfortunately not something I can spend time on right now ;( I just thought the asymmetry was amusing. Multi-user surely is the expected default (given that we create /nix for all users).
goibhniu has quit [(Ping timeout: 248 seconds)]
<disasm>
Twey: yeah, darwin switched to multi-user
<chrishill>
I looked in the module which defines i18n. I found the option `consoleUseXkbConfig` and tried setting it to `true` in my configuration, since it seems that it needs to be true for the expression (implementation) `consoleKeyMap` to evaluate. But with that option set to `true` I get a lot of errors. Not in the configuration file but in implementation code, so to speak.
<betaboon>
does the virtualbox-nixops-...vmdk still exist ?
duncan^ has joined #nixos
<Twey>
chrishill: a) What's your X keyboard layout? b) So you want your console to be using Norwegian, but (despite having no mention of Colemak anywhere) it's in Colemak?
duncan^ has quit [(Changing host)]
duncan^ has joined #nixos
<Twey>
chrishill: c) What errors does consoleUseXkbConfig produce?
<chrishill>
Twey: the console keymap is `no`. If I don’t define it it defaults to `us`, which is in Qwerty for some reason.
<Twey>
Ah
marusich has quit [(Ping timeout: 248 seconds)]
<chrishill>
`consoleKeyMap = "no";`
<Twey>
chrishill: These errors are saying that you've set the console keymap twice
<Twey>
chrishill: Once by saying consoleKeyMap = "no", once by saying consoleUseXkbConfig = true
<chrishill>
Twey: are `consoleKeyMap` and the other option perhaps mutually exclusive?
<Twey>
Yes
<chrishill>
Hmm, yeah then I misunderstood how to use that boolean variable.
<chrishill>
I’ll try with the boolean variable only and see what happens. ☺
<Twey>
chrishill: There's a tool that compiles xkb layout descriptions into files suitable for loadkeys, which is in charge of setting console keymaps
<Twey>
chrishill: consoleUseXkbConfig means that this tool should be used to derive the console key map from the X layout configuration
<Twey>
chrishill: As such, it's obviously incompatible with setting consoleKeyMap manually
<chrishill>
Twey: Nice, thanks for explaining that
<Twey>
“Cannot merge definitions of `i18n.consoleKeyMap'” means that i18n.consoleKeyMap was set twice and there's no sensible way to combine the values. That's the giveaway
<pie_>
anyone know how to get xclip to work with plasm
<chrishill>
Twey: are Xkb layout descriptions the ones like the files you find in `xkb/symbols`? I.e., the human-readable, human-costumizable Xkb files?
Arcaelyx has joined #nixos
<Twey>
chrishill: Yeah
cmcdragonkai has quit [(Ping timeout: 260 seconds)]
cmcdragonkai has joined #nixos
erictapen has joined #nixos
<chrishill>
Twey: I have a not very Nix-ish setup for my Xkb layouts that are set by passing a shell command to the display manager. Maybe if I had a more Nix-ish setup for it I could compile it to the console keymap. In any case, I’ll put a pin in that and try to figure out why the Norwegian keymap is Colemak.
lsix has quit [(Remote host closed the connection)]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jad340 has quit [(Ping timeout: 252 seconds)]
<Twey>
chrishill: Yeah, that won't work with consoleUseXkbConfig
<Twey>
chrishill: You'll need to set your Xkb config in your configuration.nix
<Twey>
chrishill: You didn't answer questions a) and b) — are you saying you're not a Colemak user at all, and the "no" layout is just bizarrely in Colemak?
hexamod has joined #nixos
hexamod has quit [(Client Quit)]
ntc has joined #nixos
chrishill has quit [(Remote host closed the connection)]
jad340 has joined #nixos
leat has joined #nixos
chrishill has joined #nixos
pxc has quit [(Quit: WeeChat 1.9.1)]
<c0bw3b>
sh*t I already forgot how to leave nix-repl properly
<joepie91>
c0bw3b: ctrl+D?
bennofs has quit [(Ping timeout: 240 seconds)]
<joepie91>
generally works for REPLs and shells
<c0bw3b>
yep! works
<c0bw3b>
thanks joepie91
ThatDocsLady has quit [(Ping timeout: 248 seconds)]
jad340 has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] c0bw3b pushed 2 new commits to master: https://git.io/vFaaF
<NixOS_GitHub>
nixpkgs/master 0edf82e Marius Bergmann: unifi: 5.6.20 -> 5.6.22
<NixOS_GitHub>
nixpkgs/master f6b6e87 Renaud: Merge pull request #31471 from mbrgm/unifi-upgrade...
NixOS_GitHub has left #nixos []
jad340 has joined #nixos
jgertm has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
vod has quit [(Remote host closed the connection)]
<betaboon>
argh error: a ?x86_64-linux? is required to build ?/nix/store/iidy2i0llnvwkdyzi4n83i5jwfj865p7-append-initrd-secrets.drv?, but I am a ?x86_64-darwin?
<betaboon>
I'm still trying to setup a working macos+nix+nixops+virtualbox-build-slave combination for my colleagues to work with.
<toogley>
is an error like this here https://ptpb.pw/CE_C my fault or should i submit a bug to the nixos bugtracker?
ma27 has joined #nixos
<Twey>
toogley: Looks like leksah needs to update one of their tests
<Twey>
toogley: You can set doCheck = false to skip testing in the meantimem
<Twey>
meantime**
<toogley>
Twey: ah, okay. thanks
zzamboni has joined #nixos
<c0bw3b>
hehe some Xcode travis jobs failing with: fatal: unable to access 'https://github.com/NixOS/nixpkgs.git/': Could not resolve host: github.com
magnetophon has joined #nixos
<c0bw3b>
w00ps
<magnetophon>
I'm trying to upgrade unstable, and it fails to build qtwebkit. Any suggestions?
takle has quit [(Remote host closed the connection)]
ma27 has quit [(Ping timeout: 240 seconds)]
<vcunat>
5.6 seems broken due to icu update
rogue_koder has joined #nixos
<magnetophon>
vcunat: thanks. do you know a workaround?
<vcunat>
5.9 builds but I guess you don't want that one
<vcunat>
(it's the default qt5 now)
<magnetophon>
vcunat: the package that needs it just says qtwebkit, without specifying a version. not sure why I'm getting 5.6 then (I AM getting that, as seen in the build output)
<c0bw3b>
pythonPackages.buildPythonApplication will set meta.platforms automatically right?
<vcunat>
magnetophon: if I change it to libsForQt5.callPackage, it still builds, but you'd better verify it really works
<vcunat>
there's probably a reason why it was overriden explicitly
<magnetophon>
vcunat: OK, thanks. afaik I need to remove supercollider from my config, rebuild, run nixos-version, check out that version of nixpkgs, change that line, add supercollider to my config, and rebuild. is that correct?
zzamboni has quit [(Quit: Leaving.)]
<magnetophon>
vcunat: iow is there an easier way to get the version?
<vcunat>
none that occurs to me, but it's strange that I got all binaries from cache, so it's build somewhere
<magnetophon>
orivej: thanks, that's very useful info!
<magnetophon>
vcunat: odd... and thanks for your help
<vcunat>
!m orivej
<[0__0]>
You're doing good work, orivej!
<magnetophon>
:)
ylwghst has quit [(Quit: Lost terminal)]
<adamt>
Hiya. The Hydra manual says to add a channel and then install hydra from that channel -- but what then is the purpose of the hydra module (services.hydra...) in NixOS?
<clever>
adamt: shouldnt need to use a channel anymore
<chrishill>
Twey: To try to answer the questions : (a): the Xkb layout that I am using in a graphical setting is some custom configuration (none of the layouts in `xkb/symbols`). See this paste:
<chrishill>
Twey: `localectl` says that `X11 Layout: n/a`.
Judson is now known as Guest80931
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 3 new commits to master: https://git.io/vFaXa
<NixOS_GitHub>
nixpkgs/master 6bdee9c Nikolay Amiantov: bazel: add Nix hacks...
<NixOS_GitHub>
nixpkgs/master c69d90b Nikolay Amiantov: bazel: fix lost dependencies...
<NixOS_GitHub>
nixpkgs/master 8ddedac Nikolay Amiantov: python.pkgs.futures: 3.0.5 -> 3.1.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] corngood opened pull request #31498: WIP: language-c: add hack to deal with _Float128 in glibc (master...c2hs-fix) https://git.io/vFaX9
NixOS_GitHub has left #nixos []
chrishill has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vFaX5
<NixOS_GitHub>
nixpkgs/master ba7c23e Robert Helgesson: electron-cash: 2.9.3 -> 2.9.4...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to release-17.09: https://git.io/vFa1f
<NixOS_GitHub>
nixpkgs/release-17.09 e1b172d Robert Helgesson: electron-cash: 2.9.3 -> 2.9.4...
<NixOS_GitHub>
[nixpkgs] c0bw3b pushed 2 new commits to master: https://git.io/vFa1b
<NixOS_GitHub>
nixpkgs/master 4ca7f46 Charles Strahan: doas: init at 6.0...
<NixOS_GitHub>
nixpkgs/master f17eec9 Renaud: Merge pull request #31374 from cstrahan/doas...
NixOS_GitHub has left #nixos []
<chrishill>
Twey: I just tried with `fr` keymap. That has a normal layout, namely Azerty, the standard French layout. So that one is *not* Colemak by default, unlike `no`. 😜
<chrishill>
I should probably make an issue about this… very strange.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to release-17.09: https://git.io/vFaMk
<manveru>
chrishill: doesn't consoleKeyMap influence the tty layout?
<manveru>
you want services.xserver.(layout|xkbVariant)
<manveru>
or am i getting something wrong here
<chrishill>
manveru: yes, the control+alt+F screens
<manveru>
yeah
<chrishill>
manveru: those have colemak layouts, but my layout while in X is fine
<manveru>
ah, ok :)
Neo-- has quit [(Ping timeout: 248 seconds)]
<betaboon>
for anyone else interested (eg ldlework ) in nixops+macos: there seem to be basically two approaches: using a virtualbox nixos-vm as remote-builder or use a nixos-docker-container as remote-builder. all the documented approaches for the virtualbox-setup that i found seem to be broken. i cant test the nix-docker approach because my macbook is to old ...
FrozenCow has joined #nixos
<manveru>
there's also xhyve approach
<manveru>
but if you can't run docker, you can't do that either ;(
<betaboon>
manveru: can you link to that approach?
pSub_ has quit [(Remote host closed the connection)]
<infinisil>
How does nix handle emacs packages exactly? I'm using the standard emacsWithPackagesNg. What's the business with (package-initialize) and do i need (require 'pname) stuff?
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
FrozenCow has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<WilliamHamilton>
(flash question - where are the dwarf fortress saves and configuration files and how could I discover that by myself - pinging the-kenny)
<sphalerite>
WilliamHamilton: as a sort of "blunt object" approach you can use strace to work it out
<WilliamHamilton>
Linus: right! let's try that
<sphalerite>
so `strace -e open dwarf-fortress` or something
trevorriles has joined #nixos
<betaboon>
manveru: thanks. reading
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bendlas pushed 3 new commits to release-17.09: https://git.io/vFaya
<NixOS_GitHub>
nixpkgs/release-17.09 c84e1e7 Guillaume Maudoux: chromium: hardcode xdg_utils path in system calls...
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 240 seconds)]
<infinisil>
I think ixxie knows a bit about emacs, but he's not here :(
Itkovian has joined #nixos
<sphalerite>
Does anyone here ever type emoji on their nixos machines, outside any applications with specific support for them, and could enlighten me on how?
<clever>
sphalerite: there is that old alt+numpad thing, but it might be windows only
<sphalerite>
Plus it's inconvenient to have to remember those codes. Maybe I should just write some Compose rules
codygman has joined #nixos
MP2E has joined #nixos
<Ralith>
Linus: theoretically this is an input methods problem, but in practice Linux input methods are a disaster and mostly theoretical Wayland stuff is the only hope of improvement
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<catern>
(who is Linus???)
<sphalerite>
catern: me
<catern>
(why are we referring to sphalerite as Linus rather than sphlerite's nick which is sphalerite???)
<clever>
matrix
phreedom has joined #nixos
<clever>
its a glitch in the matrix :P
<sphalerite>
catern: I have my display name on Matrix set to Linus because I use it with real-life contacts too… One day there will hopefully be UI for the per-room-display-name feature…
<sphalerite>
Ralith: so compose rules it is I guess!
<pie_>
my machine hangs rather consistently when i leave it off the charger and dont do anything for a while, but half the time it does successfully manage to go to sleep
<pie_>
i havent been able to figure out a 100% consistent trigger
<pie_>
im pretty sure its some kind of power management issue, is there any way i can figure out whats wrong?
<pie_>
*laptop
<tobiasBora>
and I've only one warning when I try to run it "(codeblocks:2747): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « adwaita »
<tobiasBora>
Starting Code::Blocks Release 16.01 rev 10692 Jan 24 2016, 09:37:18 - wx2.8.12 (Linux, unicode) - 64 bit
<tobiasBora>
and then it crashs
<pie_>
its a thinkpat x250
<pie_>
*thinkpad
<pie_>
also returning from suspend tends to brea kwin_x11 and i have to restart it
<chrishill>
sphalerite: I use compose rules for emojis and I recommend it. ☺ 😜
<sphalerite>
☺
<chrishill>
sphalerite: it’s the most convenient way I’ve found that isn’t dependent on some kind of application
<sphalerite>
YAY now I can even type `¯\\\_(ツ)\_/¯` with shift-alt idk
<sphalerite>
Of course that doesn't solve the problems Riot has with it…
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to master: https://git.io/vFaQf
<adamt>
I installed Hydra on a single host. Now I'm looking through the docs, trying to figure out how to add slaves to the Hydra instance, but (and it's probably just me being blind) I can't find anything about it in the Hydra manual, or in the options defined in the Hydra module. Suggestions?
<sphalerite>
chrishill: the default rules already include compose : ) for ☺
<chrishill>
sphalerite: I redefined all of them since I prefer what you might call “linguistic” mnemonics instead of the graphical mnemonics. The way I type stuff that I don’t use often enough to have muscle memory for is to think about things like “laught”, “smile”, etc. rather than “D” (laugh) “)” (smile) and things like that
<chrishill>
How to best make such mappings seems very specific to the individual.
<sphalerite>
right
astsmtl- has quit [(Ping timeout: 255 seconds)]
<sphalerite>
I mentally read classic-styled emoticons as "colon dee" for instance, I think that's weird (at least everyone I've mentioned it to so far thinks it's weird)
<sphalerite>
(but still associate the emoticon's meaning with it)
<chrishill>
That’s a bit weird I guess. 😜 But everyone’s different in that way
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
marusich has joined #nixos
<tobiasBora>
Should nix (the package manager) should work the same way if I'm using X11 instead of Wayland? Can this explain why codeblocks fails at startup
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to master: https://git.io/vFa7u
<c0bw3b>
hedning[m] : ooooh neat! that will improve nix life for a lot of people :)
<tanonym>
In the configuration.nix options what is the difference between enabling desktopManager.kde5 and desktopManager.plasma5?
<josePhoenix_>
I guess I'll just do one upgrade at a time xD
<c0bw3b>
josePhoenix_ yep doing one major version at a time might be the best way!
<c0bw3b>
so you can make the necessary tweaks at each step
marusich has quit [(Quit: Leaving)]
<tanonym>
D'oh. Reading comprehension failure. It says in the description it's an alias of plasma5. >,<
<hedning[m]>
c0bw3b: yes :) there's close to full feature parity with nix-zsh-completions. would be nice getting some people testing it out to iron out any possibly problems
<MP2E>
huh. Ever since glibc 2.26 got pushed to master, a haskell package that uses c2hs broke (alsa-mixer package)
<NixOS_GitHub>
[nixpkgs] benley opened pull request #31504: fonts: fix fontconfig.localConf when used with penultimate (master...fontconfig-localconf) https://git.io/vFVeB
NixOS_GitHub has left #nixos []
<MP2E>
brb
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tanonym>
Hmm, seems gnome3 insists on libinput for touchpad rather than synaptics.
vcunat has quit [(Ping timeout: 240 seconds)]
chreekat has joined #nixos
<benley>
libinput seems to be better in almost every way, so I think I'm okay with that :)
<clever>
ive found that libinput cant disable the mouse while typing on this laptop
ssmike has joined #nixos
mekeor has joined #nixos
<tanonym>
Ah, okay. If it does that for me, I'm happy, it doesn't have to be synaptics. As long as I can disable touchpad input for when I want to type.
<tanonym>
I had enabled synaptics because I knew it worked from other distributions.
<tanonym>
Next question, if I copy enlightenment.efl's default.nix and edit the url and hash to point to the most recent version of the efl, can I just install it without having to clone the whole git repo?
<tanonym>
I need to test out if the Enlightenment filemanager still segfaults the DE when trying to open directories or files.
<tanonym>
And the people in #e want me to update to the latest efl first.
<c0bw3b>
tanonym yes you can DL and update just EFL default.nix
<c0bw3b>
then build it with: nix-build --expr 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<tanonym>
Okay. Do I need to put anything in the curly-braces?
<tanonym>
And to get the updated sha256 I would do nix-prefetch-url $<path/to/latest/efl>, correct?
<clever>
the new default.nix would have the new hash in it already
hiratara has joined #nixos
<tanonym>
I need the 1.20.5 EFL hash rather than the 1.20.3 hash that's currently there.
<clever>
just edit the version in the name&url, and the failure will tell you the right hash
<tanonym>
Ah, okay, that's convenient.
<c0bw3b>
but the nix-prefetch thing would have been ok too
<tanonym>
That's strange, second attempt to do rebuild switch with gnome3 enabled worked but the first failed even though i made no changes between first and second attempts.
<c0bw3b>
and you should call it the same way it's done in all-packages.nix
<tanonym>
Good, I was on the right track.
<tanonym>
efl.nix is the package so I edit it and run nix-build --expr 'with import <nixpkgs> {}; callPackage ./efl.nix {}' and then paste the correct hash in from the error message and repeat?
<clever>
tanonym: yeah, should be that simple
[0x4A6F] has joined #nixos
<clever>
tanonym: just keep in mind, that wont have any effect on nixos-rebuild, but you can then put it into a packageOverride
<tanonym>
Would it apply to the DE if I log out and log-back in or do I need to do something to the DE to get it to use the later version?
<clever>
looks like its just enlightenment = pkgs.callPackage ./efl.nix {};
<clever>
oh wait, hmmm, line 31
<tanonym>
Ah so the symlink will update what the DE uses (I'd probably need to restart E) but otherwise it will revert once I reboot the system or do a rebuild?
<clever>
the symlink would basicaly have zero effect
<clever>
but you could manualy run the new E from that symlink, if it supports upgrading itself
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Soham has quit [(Ping timeout: 240 seconds)]
<clever>
tanonym: if you had a copy of the enlightenment directory in /etc/nixos/, you could so something like this to recreate the right value
josePhoenix_ has quit [(Quit: Lost terminal)]
hexamod has joined #nixos
<tanonym>
So, I might actuallyb be better off cloning the git repo and editing from there then pointing the rebuild at the local one to test it out?
<clever>
maybe
<tanonym>
Since reversion is easy with a reboot and go back to a previous generation if I completely brick my system.
ssmike has quit [(Ping timeout: 240 seconds)]
<clever>
and if your cloning the repo, you dont even need an override
<tanonym>
Well, I'll try with the just the package and a packageOverride first.
<tanonym>
Since this is more a bug-hunt than anything.
<clever>
"git checkout REV" with the right version (check nixos-version), then just edit it in that tree and "nixos-rebuild -I nixpkgs=/home/clever/nixpkgs test"
<tanonym>
And I need to eliminate that it's an old version of the EFL causing the Enlightenment filemanager to segfault the dE
<tanonym>
Okay.
<tanonym>
Going to make some notes here so I don't have to keep asking the same questions.
hexamod has quit [(Client Quit)]
hexamod has joined #nixos
wolfcub has quit [(Remote host closed the connection)]
wolfcub has joined #nixos
hexamod has quit [(Client Quit)]
hexamod has joined #nixos
marusich has joined #nixos
<tanonym>
Well, quite a bit of new things to learn with NixOS.
<tanonym>
The single file edit will create a symlink and the changes will revert after a log out or reboot?
<pie_>
oh right i need to migrate my system to repo
<pie_>
clever, on that note, why not have nixos use a git repo by default?
<tanonym>
I also need to write an expression to install the tar.gz of scrivener.
<clever>
pie_: the size of the entire history of the repo
<tanonym>
I think you can, no? clone the repo to your own account on git and point it at that?
<pie_>
cany you only do a partial clone/
<clever>
--shallow would reduce the usage, but it has trouble pulling when shallow
<pie_>
hm
<tanonym>
How much space would cloning the repo take up?
<clever>
tanonym: 799mb
<clever>
and 719mb of that is just .git
<tanonym>
That's not bad at all, actually.
<clever>
so 80mb for the rest
<tanonym>
Could fit easily on a usb key.
<clever>
thats basicaly 90% of it for history
<pie_>
tanonym, depends on your target :P
<tanonym>
And there isn't a way to tell it to just keep the most recent version and then start a new history from that when uploaded to a different git account?
phreedom has quit [(Ping timeout: 240 seconds)]
<tanonym>
I don't need to worry I have a 250GB HD
<tanonym>
Though if I'm not careful the ZFS snapshots could end up chowing a fair bit of that.
<clever>
yeah, snapshots basicaly ruin any type of rolling garbage collection
<tanonym>
what's the command to see the current version of a package installed on my system?
<pie_>
is there a tutorial for using channels from git somewhere
<tanonym>
Says no enlightenment.efl in /home/tanonym/Applications/.bin:/nix/store/wnchw7kjm2qmdra78prxm06iy7d3znay-enlightenment-0.21.9/bin:/home/tanonym/bin:/run/wrappers/bin:/etc/per-user-pkgs/tanonym/bin:/home/tanonym/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
<tanonym>
But it gives me the DE version installed.
erictapen has joined #nixos
dbmikus has quit [(Quit: WeeChat 1.9.1)]
goibhniu has quit [(Ping timeout: 248 seconds)]
tanonym has quit [(Quit: Leaving)]
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]