freeman42x[m] has quit [(Ping timeout: 248 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
ladams has joined #nixos
georgiy has joined #nixos
dbmikus has joined #nixos
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
Fare has joined #nixos
<Fare>
Hi. I'm desperately trying to setup dkim with postfix on NixOS. Does anyone here have some working example that I could start working from?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #28772: Enable libinput in the installer and start deprecating synaptics (master...issue-20189-libinput) https://git.io/v5lU5
NixOS_GitHub has left #nixos []
pxc has joined #nixos
<slabity>
Does anyone here successfully use steam with an AMD gpu? Were there any tricks needed to get it set up?
<CrazedProgrammer>
if it fails to launch after the first time (not AMD specific, a permissions issue) you need to edit the .desktop file (shortcut) for Steam and replace the `Exec=` line with `Exec=steam`, then delete `.steam` `.steampath` `.steampid` and `.local/share/Steam` in your home directory to reset Steam completely
kimbo_ has joined #nixos
hellrazor has joined #nixos
kimbo has quit [(Ping timeout: 240 seconds)]
hellrazo1 has quit [(Ping timeout: 255 seconds)]
freeman42y[m] has quit [(Quit: Bye)]
freeman42x[m] has joined #nixos
<CrazedProgrammer>
slabity: so be sure to test if steam launches on the second time you click the desktop icon (don't forget to exit steam completely), i deleted my downloaded games a couple months ago when i had this problem and tried to fix it.
<slabity>
CrazedProgrammer: I'm launching it from the cmdline though, not the desktop file
<CrazedProgrammer>
ah, then it's all good
<slabity>
It works on my laptop (intel), but not my desktop (amd)
<CrazedProgrammer>
huh, have you tried the suggestions i posted above?
hamishmack has quit [(Ping timeout: 248 seconds)]
scribbler has joined #nixos
moaxcp has joined #nixos
<slabity>
CrazedProgrammer: Yea, I've tried all that. When I launch steam the EULA window comes up, I hit accept, and then it freezes after printing a bunch of "libGL error: unable to load driver" lines
<slabity>
The actual steam window never comes up
joelpet has joined #nixos
freeman42x[m] has quit [(Ping timeout: 252 seconds)]
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<CrazedProgrammer>
hrmm, weird. I remember having this issue before when I didn't use the newStdcpp override
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #28775: Document the stateVersion more (master...describe-stateVersion) https://git.io/v5lI2
NixOS_GitHub has left #nixos []
<CrazedProgrammer>
Hmm, I don't see anything out of the ordinary. Install `glxinfo` and check `glxinfo | grep OpenGL` to see if you have the correct driver running. You could try removing the packages in `hardware.opengl.extraPackages`, see if that fixes it. For now, I gotta go sleep.
jb55 has joined #nixos
jb55 has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] veprbl opened pull request #28776: dia: enable on darwin, 0.97 -> 2017-06-22 (master...dia_update) https://git.io/v5lLW
NixOS_GitHub has left #nixos []
sigmundv__ has quit [(Ping timeout: 252 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
dieggsy has joined #nixos
schoppenhauer has joined #nixos
<dieggsy>
What can i do to get nixpkgs looking like the latest master? nix-channel --update nixpkgs && nix-env -u '*' didn't seem to do it. (in particular, i need a newer rust-packages.nix)
<dieggsy>
alternatively, am i supposed to have write access to that
dieggsy has quit [(Remote host closed the connection)]
dieggsy has joined #nixos
dieggsy` has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
dieggsy has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] romildo opened pull request #28781: mate: add the MATE desktop environment (master...mate) https://git.io/v5l35
NixOS_GitHub has left #nixos []
griff_ has quit [(Quit: griff_)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
Ridout has quit [(Quit: Lost terminal)]
justanotheruser has quit [(Ping timeout: 248 seconds)]
dieggsy` has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/v5lsE
<NixOS_GitHub>
nixpkgs/master b29c64c Peter Hoeg: ledger: requires an older boost
<NixOS_GitHub>
nixpkgs/master a2de9c3 Peter Hoeg: ledger: fixed with older boost
NixOS_GitHub has left #nixos []
vaibhavsagar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 2 new commits to release-17.09: https://git.io/v5ls2
<NixOS_GitHub>
nixpkgs/release-17.09 ce15008 Peter Hoeg: ledger: requires an older boost
<NixOS_GitHub>
nixpkgs/release-17.09 6bd53c4 Peter Hoeg: ledger: fixed with older boost
NixOS_GitHub has left #nixos []
proteusguy has quit [(Remote host closed the connection)]
justanotheruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jraygauthier opened pull request #28782: vscode-extension-ms-vscode-cpptools: Init at 0.12.3 (master...jrg/vscode_cpptools_init) https://git.io/v5lsN
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
freusque has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5l2a
<NixOS_GitHub>
nixpkgs/master 90ef218 Symphorien Gibol: grub module: assume /nix/store is a bind mount even if it is not read only...
NixOS_GitHub has left #nixos []
7JTAB6SLK has joined #nixos
<7JTAB6SLK>
[nixpkgs] fpletz closed pull request #27367: grub module: assume /nix/store is a bind mount even if it is not read only (master...fix-grub-rw-store) https://git.io/vQQr5
7JTAB6SLK has left #nixos []
Havvy has joined #nixos
<mpickering>
I have packaged metaocaml but the interpreter and tests don't work, is this too broken to upstream?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/v5l27
<NixOS_GitHub>
nixpkgs/release-17.03 7da346a Jörg Thalheim: inetutils: fix service name...
<sphalerite>
mpickering: Maybe set the meta.broken attribute and PR it anyway to avoid a later duplication of effort
<mpickering>
It is already set as broken ha but now it is less broken at least
takle has joined #nixos
<sphalerite>
mpickering: for the tests, AFAIK the usual course of action is to disable those tests that make assumptions which nix breaks, if the test can't be done without the assumption
<sphalerite>
if the test can be done without the assumption, fix it and send it upstream :)
<sphalerite>
less broken is always good :D
Neo-- has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5lV3
<NixOS_GitHub>
nixpkgs/release-17.09 e22826a Lancelot SIX: mysql-workbench: fix build with gcc6...
NixOS_GitHub has left #nixos []
thblt has joined #nixos
phinxy has joined #nixos
phinxy has quit [(Changing host)]
phinxy has joined #nixos
h30 has joined #nixos
<ertes-w>
fcrontab reports this: "2017-08-31 11:23:35 ERROR could not change euid to 273: Operation not permitted", "2017-08-31 11:23:35 ERROR fcron child aborted: this does not affect the main fcron daemon, but this may prevent a job from being run or an email from being sent."
<ertes-w>
user 273 is the fcron user
<ertes-w>
any ideas?
<ertes-w>
i need to become root in order to edit/view my crontab
<ertes-w>
probably missing some SetUID bit somewhere
anton_ has quit [(Quit: No Ping reply in 180 seconds.)]
<ertes-w>
-r-x--s--x 1 fcron fcron 18K Aug 31 11:27 /run/wrappers/bin/fcrontab
phinxy has quit [(Ping timeout: 240 seconds)]
anton_ has joined #nixos
<ertes-w>
it has SGID, but not SUID… is that the way it's supposed to be?
<ertes-w>
(BTW, adding myself to the fcron group did not help)
vD2Kap has joined #nixos
<ertes-w>
it works, if i add the SUID bit myself
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #25950: mysql service: Make initialDatabases.schema attribute optional (master...mysql-optional-schema) https://git.io/vHU4I
NixOS_GitHub has left #nixos []
<tokudan[m]>
ertes-w: that's probably a bug in the package then
<sphalerite>
The module, not the package
<tokudan[m]>
ertes-w: /run/wrappers is rebuilt on every reboot
<tokudan[m]>
true
<sphalerite>
Can I get nix-shell to create an indirect GC root for the shell drv to get a sort of "persistent" shell?
<ertes-w>
yeah… i'll just go ahead and fix it myself later
<sphalerite>
Reason in this case being that I want to use the nightly version from the rust overlay from nixpkgs-mozilla, but not have to wait for rust to redownload every time even if that means I'm using a version that's a couple of days older
<mpickering>
Is there any documentation of how the ocaml infrastructure should work/
dbmikus has joined #nixos
<mpickering>
seems that really I should make metaocaml work properly like the other ocaml compilers but I doubt anyone (even me) cares.. so I think I will leave it
mudri has joined #nixos
dbmikus has quit [(Ping timeout: 240 seconds)]
mguex has joined #nixos
freeman42y[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/v5lK2
<NixOS_GitHub>
nixpkgs/release-17.09 8cb6bfe Florian Jacob: mysql service: Make initialDatabases.schema attribute optional...
NixOS_GitHub has left #nixos []
freeman42x[m] has quit [(Ping timeout: 248 seconds)]
deltasquared has joined #nixos
<ertes-w>
if i update two loosely related packages, should i create two separate PRs?
uwap has quit [(Ping timeout: 240 seconds)]
<ertes-w>
(the packages in question are the python packages ldap3 and pymysql)
<LnL>
probably, yes
freeman42x[m] has joined #nixos
snikkers has joined #nixos
<sphalerite>
ertes-w: if the upgrade of one depends on the other, I'd put them in a single PR (but definitely multiple commits)
<hyper_ch>
does thunderbird use GTK for dialogs? Especially file opening/saving dialogs? It's annoying, that it always sorts alphabetically and not folders first.
freeman42z[m] has joined #nixos
freeman42y[m] has quit [(Read error: Connection reset by peer)]
<ertes-w>
sphalerite: no dependency, and i have separate commits anyway… doing separate PRs is kinda ugly to work with, because i would have to run separate local branches and cherry-pick between those and my main branch
<ertes-w>
that's why i'm asking
<deltasquared>
hyper_ch: not to mention no address bar -_-
<deltasquared>
then again I don't know if it's gtk2 or 3
<hyper_ch>
deltasquared: so it's gtk(x)?
<symphorien>
deltasquared: you can press ^L to get the address bar
<hyper_ch>
I just wonder how I can set it permanently to "folders first"
simukis has joined #nixos
<deltasquared>
hyper_ch: idunno, I don't personally use it. I just couldn't resist the oppurtunity to bash gtk a little :P
<hyper_ch>
kde > gtk :)
<deltasquared>
symphorien: ... see I would never have been able to figure that out
<deltasquared>
unless there's some kind of manual for the GTK save dialog I missed
<deltasquared>
also, just a thought, it seems nixos's reproducible system build procedure would be a good match for the kind of thing vagrant does, no? it just came up in a conversation elsewhere and I was wondering what it was for. https://en.wikipedia.org/wiki/Vagrant_(software)
freeman42x[m] has quit [(Ping timeout: 255 seconds)]
arximboldi has quit [(Quit: arximboldi)]
<deltasquared>
admittedly it's not a complete match considering the kinds of changes that some packages need to work in nix (so not everything is there), but still. it just seems that nix's declarative config would be useful for mass deployments
jellowj has joined #nixos
dbmikus has joined #nixos
thblt has quit [(Remote host closed the connection)]
dbmikus has quit [(Ping timeout: 252 seconds)]
ShalokShalom_ has joined #nixos
dywedir has quit [(Remote host closed the connection)]
romildo has joined #nixos
<TimePath>
nixops?
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<deltasquared>
TimePath: ehhh, I hadn't gotten to that yet :P
<romildo>
I am adding the MATE desktop environment to nixpkgs and I would like suggestions on how to solve the following issue.
<romildo>
In the nix expression for MATE (used by the desktop manager program in the X11 service) mate-icon-theme is put in environment.systemPackages.
ShalokShalom_ is now known as ShalokShalom
<romildo>
mate-icon-theme has hicolor_icon_theme in buildInputs.
<romildo>
When run, MATE cannot find the hicolor icon theme.
<romildo>
Whats is the best way of fixing this? Any clues?
<romildo>
1) Should mate-icon-theme has hicolor_icon_theme in propagatedBuildInputs? Would it work?
jellowj has quit [(Ping timeout: 240 seconds)]
<romildo>
2) Should mate-icon-theme has hicolor_icon_theme in propagatedUserEnvPkgs (some packages on nixpkgs do that)? Would it work:
freeman42x[m] has joined #nixos
<romildo>
3) Should mate.nix (used by X11 to start MATE) has hicolor_icon_theme explicitly listed in environment.systemPackages? As hicolor_icon_theme is a runtime dependency for mate-icon-theme, I think that sould be avoided.
<romildo>
What do you think?
jellowj has joined #nixos
freeman42z[m] has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v5l1G
<NixOS_GitHub>
nixpkgs/master 4134db3 davidak: linux-testing-bcachefs: init at 4.11.2017.08.23
justanotheruser has quit [(Ping timeout: 248 seconds)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
FRidh has joined #nixos
phinxy has joined #nixos
dbmikus has joined #nixos
jbgi has quit [(Ping timeout: 240 seconds)]
brodul has quit [(Remote host closed the connection)]
dbmikus has quit [(Ping timeout: 240 seconds)]
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
arximboldi has joined #nixos
deltasquared has left #nixos ["Leaving"]
proteusguy has joined #nixos
uwap has joined #nixos
phdoerfler has joined #nixos
phinxy has quit [(Read error: No route to host)]
phinxy has joined #nixos
vD2Kap has quit [(Quit: leaving)]
NightTrain has quit [(Quit: Lost terminal)]
ToxicFrog has joined #nixos
simukis has quit [(Ping timeout: 255 seconds)]
simukis has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
simukis has quit [(Client Quit)]
grumble has quit [(Quit: told)]
rumble has joined #nixos
rumble is now known as grumble
simukis has joined #nixos
abcrawf has quit [(Remote host closed the connection)]
abcrawf has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
jellowj has quit [(Ping timeout: 240 seconds)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
jellowj has joined #nixos
freeman42x[m] has joined #nixos
dbmikus has joined #nixos
freeman42y[m] has quit [(Ping timeout: 255 seconds)]
pie__ has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
dbmikus has quit [(Ping timeout: 255 seconds)]
phinxy has quit [(Read error: No route to host)]
vaibhavsagar has joined #nixos
takle_ has joined #nixos
LnL has quit [(Ping timeout: 255 seconds)]
<sphalerite>
So my system is no longer booting — including old generations. Systemd-boot is saying "not supported" with the kernel image name so my guess is that the image is corrupted
takle has quit [(Ping timeout: 240 seconds)]
jtojnar has joined #nixos
<sphalerite>
Assuming that the image is in a binary cache and I have the output path, can I construct a URL at which the image is available so I can fix my installation?
<sphalerite>
I can't just mount the system from a live USB because I don't seem to have a nixos one lying around, and my live Debian USB doesn't support zfs
<Infinisil>
sphalerite: Can you install the iso on another stick from debian?
<Infinisil>
the nixos iso?
elurin has quit [(Ping timeout: 240 seconds)]
<sphalerite>
Yeah but that's a huge pain
<sphalerite>
Largely because that also doesn't support zfs
<gchristensen>
sphalerite: someone could make a zfs-supporting stick for you
<sphalerite>
Yeah, or I could by installing nix on the Debian. But it's still a royal pain
<gchristensen>
no kidding :/
<sphalerite>
Can I not just get a URL for the kernel image?
<gchristensen>
I can put the image on a server if you'd likee
<gchristensen>
but no the image is likely not publicly fetchable from the cache
erictapen has quit [(Ping timeout: 246 seconds)]
<gchristensen>
oops ... no I can't, sorry, I have to run
<disasm>
sphalerite: you need stable or unstable kernel?
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<phdoerfler>
is there an environment.etc for other directories?
freeman42x[m] has quit [(Ping timeout: 240 seconds)]
<sphalerite>
gchristensen: why not? :/
freeman42x[m] has joined #nixos
<sphalerite>
disasm: thanks
<Guest7639>
sphalerite: I forgot I had to run an errand and am running out of time to do it this morning. I'm sorry.
<Infinisil>
Guest7639: Is that you gchristensen ?
<sphalerite>
grahamc: No I mean why would it not be available from cache.nixos.org
elurin has joined #nixos
<mudri>
domenkozar: was that in response to me?
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<sphalerite>
grahamc: also for your nick, can't you use !storepass to avoid always getting renamed to GuestXYZABC?
dbmikus has joined #nixos
<Infinisil>
mudri: This should work on anything in nixpkgs really
<domenkozar>
mudri: yes
phinxy has joined #nixos
LnL has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
jellowj has joined #nixos
jellowj has quit [(Client Quit)]
<mudri>
Infinisil: is there an example anywhere? I don't see how to do it, given that Haskell packages rely on using super, but pinnedPkgs is more like self.
phinxy has left #nixos []
<mudri>
And ghcWithPackages introduces its own replacement for self.
jellowj has joined #nixos
dbmikus has quit [(Ping timeout: 264 seconds)]
odi has quit [(Ping timeout: 252 seconds)]
bennofs has joined #nixos
nix-gsc-io`bot has joined #nixos
<Infinisil>
mudri: What do you need exactly? All packages from an older nixpkgs or combine old packages with newer ones? The former should be simple, just a matter of using `pkgs = import a-specific-nixpkgs {}`, not sure if the latter is possible, because of how the haskell ecosystem works
<otwieracz>
Some time ago I was trying to use NixOS on workstation – the main problem I ran into was when one software needed another. Like, for example, emacs and SBCL - both have nixpkg, but I was unable to start SBCL from emacs - because of obvious reason, the filesystem was separate for those packages. I ended up doing some weird things with „environments”, with `nix-shell` starting bash using specially
<otwieracz>
crafted `default.nix`… has been this solved anyhow?
<Infinisil>
(I also have no idea about the ghc override thing with super and self)
proteusguy has quit [(Ping timeout: 240 seconds)]
ShalokShalom has quit [(Remote host closed the connection)]
<Infinisil>
otwieracz: All system binaries are installed in `/run/current-system/sw/bin`, which is in $PATH by default, but you may need to point emacs to there specifically maybe
<mudri>
I'll try the former. I was thinking it might be better anyway.
<Infinisil>
otwieracz: Well, not installed in there, just symlinked
<mudri>
Aah, okay, I remember where my problem was. I'll post some stuff...
Guest7639 is now known as grahamc
grahamc has quit [(Changing host)]
grahamc has joined #nixos
grahamc has quit [(Changing host)]
grahamc has joined #nixos
sellout- has joined #nixos
<grahamc>
sphalerite: thank you :)
<grahamc>
sphalerite: cache only serves NARs, not actual files
<sphalerite>
Aaah right so I'd need the hash of the drv that the path came from?
<LnL>
just the store path is enough to substitute something from the cache
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
erictapen has joined #nixos
freeman42y[m] has quit [(Ping timeout: 240 seconds)]
<mudri>
Infinisil: so, I have a bunch of packages listed with ghcWithHoogle, and the resulting compiler goes into a buildEnv package containing all my packages (called ⟨everything⟩). Then I run ⟨nix-env -iA g.everything⟩.
<Infinisil>
mudri: Currently I have some internet troubles, can't test this myself
<sphalerite>
(now on my laptop with a glorious big screen :p )
<disasm>
sphalerite: so that kernel worked? :)
proteusguy has joined #nixos
<sphalerite>
disasm: I noticed that debian has a convenient zfs-dkms package x)
<sphalerite>
thanks though
<disasm>
awesome, glad you got it working!
ryantrinkle has quit [(Ping timeout: 248 seconds)]
<mudri>
Aah, quite possibly. I'll give it a go.
<sphalerite>
disasm: just the kernel wouldn't have helped in fact, unless it was the same one — because all the modules need to be compatible too
<Infinisil>
sphalerite: For the future: you can set `boot.supportedFilesystems = [ "zfs" ]` then `sudo nixos-rebuild switch` while in the live iso to get zfs support
<sphalerite>
nope, also needs hostId :p
<Infinisil>
Ah yes
arximboldi has joined #nixos
odi has joined #nixos
<mudri>
sphalerite: no, that does the looping behaviour again (eating memory).
<sphalerite>
alright. I'm fairly confident that that will solve at least this problem in particular :)
<mudri>
About the looping earlier, it was that it ate all my memory in a few seconds, so I couldn't leave it going any longer.
<sphalerite>
oh haha fair enough
<disasm>
anyone have any ideas how to resolve this? ../../lib/libFreeCADApp.so: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const'
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<sphalerite>
disasm: link against boost-regex would be my guess
<mudri>
I need to read what import does. My use of it at the moment is a bit blind.
<sphalerite>
given a path, it evaluates as the expression in the file at that path
<globin>
cstrahan: could you ping me when you're available for a few minutes?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v58Tf
<NixOS_GitHub>
nixpkgs/master f5dd3b7 Maximilian Bosch: luaffi: init at 2013-11-08
<NixOS_GitHub>
nixpkgs/master 724a69f Maximilian Bosch: weechat-matrix-bridge: init at 2017-03-28
<NixOS_GitHub>
[nixpkgs] afrepues opened pull request #28794: gmime: updated home and description (master...gmime-update-metadata) https://git.io/v58Zq
<fresheyeball>
thats why I did for now, just make a big font on the terminal
<disasm>
fresheyeball: I feel your pain... My solution was to run i3 in a gnome session. I know there are xmonad+gnome configs too people use around here.
<pstn>
OK, so I looked into this bug https://github.com/NixOS/nixpkgs/issues/27314 and did some reading and stuff and I've three ways fixing it. I'd like to hear what would be preferred.
bfrog has quit [(Ping timeout: 246 seconds)]
fresheyeball has joined #nixos
<fresheyeball>
tilpner: hilariously, the dpi setting only scaled the terminal haha
<tilpner>
:/
<pstn>
1. Copy the code from the postgres definition into the hydra function. Ugly and hackish and the same bug will probably need fixing in some other packages.
<pstn>
2. Move the postgres user definition in another nix file (but where would be a good place) and use it in both files. That's a better solution but it's not easy to discover for other devs and might lead to dead code down the way.
<pstn>
3. Rework the postgres User to be a config value with the current function as the default. That would be easier to discover for other devs but users could break stuff by changing it.
<pstn>
Did I overlook a method and what would you advise? /cc gchristensen
mudri has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
<sphalerite>
philipp: keep in mind that long messages will not be relayed verbatim to IRC, and that breaks highlights. Add a highlight after a long message to make sure it reaches its destination :)
<sphalerite>
hyper_ch: you may want to be more specific about the problem you're having (assuming you have a problem). My guess is 99% of the people here are using gtk one way or another :)
tdc has quit [(Read error: Connection reset by peer)]
tdc has joined #nixos
<hyper_ch>
sphalerite: still my thunderbird issue
<hyper_ch>
and chromium
<hyper_ch>
when it open file select dialog, by default it just sorts alphabetically instead of folder first, files second
<hyper_ch>
this is so annyoing
<pstn>
sphalerite: Those were multiple messages <200 chars. THat should be OK, shouldn't it?
gnuhurd has quit [(Ping timeout: 240 seconds)]
<sphalerite>
philipp: whoops, never mind then haha I thought it was a multiline message
<pstn>
sphalerite: I was also pleasently surprised by the nice formatting across multiple messages ;-)
endformationage has joined #nixos
<sphalerite>
hyper_ch: anything in the journal or .xsession-errors (depending on your display manager) about dconf or similar?
<ixxie>
alright, no apparantly environment.variable doesn't set variable for root?
<sphalerite>
ixxie: how are you becoming root? For interactive sessions you should use `sudo -i` or `su -`
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/v58zc
<sphalerite>
the docs for environment.variables say "A set of environment variables used in the global environment. These variables will be set on shell initialisation. The value of each variable can be either a string or a list of strings. The latter is concatenated, interspersed with colon characters. "
<sphalerite>
"will be set on shell initialisation"
<sphalerite>
in the case of invoking a command via sudo, this doesn't happen
<ixxie>
damn
<hyper_ch>
sphalerite: why should there be an error?
<hyper_ch>
it's default configs and I have no idea where to change that
tdc has quit [(Read error: Connection reset by peer)]
<hyper_ch>
since chromium and thunderbird to it, I assume it's some kind of gtk setting somewhere
<sphalerite>
You'll either want to do something like `sudo sh -c '. /etc/profile; stuff'` or (better ;) ) build the script in the system configuration to have the variable baked in
goibhniu has quit [(Ping timeout: 248 seconds)]
<ixxie>
I think I will go for the latter sphalerite
<ixxie>
thanks
fresheyeball has quit [(Ping timeout: 264 seconds)]
<sphalerite>
hyper_ch: it might well be that the change, which should be persistent, is getting discarded because it's using the "memory" GSettings backend or something like that
pie_ has joined #nixos
<sphalerite>
Jun 21 07:40:15 sudoku soffice.bin[26038]: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
<sphalerite>
If you see this error message in either of the aforementioned places, that would confirm my suspicion
<hyper_ch>
gsettings.. no idea what that is
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #28798: darwin-stdenv: Don't use `nativeTools` (staging...darwin-no-nativeTools) https://git.io/v58gl
freeman42x[m] has quit [(Ping timeout: 255 seconds)]
jbgi has joined #nixos
<sphalerite>
hm no thunderbird already has that wrapping
<sphalerite>
so that's not the issue
<sphalerite>
hyper_ch: got it!
<sphalerite>
Use dconf-editor (nix-shell -p gnome3.dconf-editor --run dconf-editor)
<sphalerite>
go to /org/gtk/settings/file-chooser and enable sort-directories-first
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<hyper_ch>
what does nix-shell -p do? install it?
<sphalerite>
no, it will get it but not install it in any profiles
<hyper_ch>
good :)
<sphalerite>
perfect for one-off uses of software :)
<hyper_ch>
but it won't let me change it
<sphalerite>
Which desktop environment are you using?
<hyper_ch>
kde, what else is there to use?
<hyper_ch>
I got that editor
<hyper_ch>
I switch teh slider on the "use default value" then I set custom value to "true", I press the "check mark" on the bottom right but it all gets reversed
<sphalerite>
You may need to install dconf into your profile and log out/back in
<pstn>
gchristensen: It's not quite as simple. Trying a few things.
<hyper_ch>
sphalerite: I have no idea how to do that
<hyper_ch>
and why do I need to install dconf in my profile?
<sphalerite>
nix-env -iA nixos.gnome3.dconf
<sphalerite>
I think it should also work if you put it in the system profile (using environment.systemPackages)
<sphalerite>
You need it in at least one of those because it provides a DBus service which the DBus session daemon needs to pick up for dconf to work
<hyper_ch>
back in the good days, it was all config files
nico202 has joined #nixos
phdoerfler has quit [(Quit: Leaving.)]
<sphalerite>
indeed
ixxie has quit [(Ping timeout: 260 seconds)]
<sphalerite>
on the bright side, this allows the setting to be shared across all the running gtk applications. How awesome is that.
<sphalerite>
(totally worth the complexity, right?)
<hyper_ch>
sounds awesom... so installed dconf system-wide
<hyper_ch>
now I need to reboot?
<hyper_ch>
sphalerite: now that dconf-editor command worked :) yey
<hyper_ch>
and are there really weird people out there that do not want directories to be listed first?
<sphalerite>
rebooting shouldn't be necessary, just logging out and back in should be enough
<sphalerite>
Good question. I don't know of any :p
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<hyper_ch>
can't reboot currently
ertes-w has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie__ has joined #nixos
elninja44 has joined #nixos
nico202 has quit [(Ping timeout: 240 seconds)]
dieggsy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 15 new commits to master: https://git.io/v58rC
<NixOS_GitHub>
nixpkgs/master 43acfe0 wisut hantanong: pythonPackages.tempora : move to separate expression
<NixOS_GitHub>
nixpkgs/master 6ba7b4c wisut hantanong: pythonPackages.hypchat : move to separate expression
<NixOS_GitHub>
nixpkgs/master c043326 wisut hantanong: pythonPackages.smugpy : move to separate expression
NixOS_GitHub has left #nixos []
<dieggsy>
on ubuntu, when i install emacs with nix vs with apt or source build, the cursor changes over the nix-built emacs window - it doesn't seem to be inherited from the DE. this doesn't happen the other ways. Anyone know how i can fix this?
nico202 has joined #nixos
hellrazor has quit [(Quit: WeeChat 1.9)]
<sphalerite>
dieggsy: it might be looking in the wrong places. Try `strace -e file -f -o >(grep /cursors/) emacs` to see where it's looking
<sphalerite>
setting XCURSOR_PATH to /usr/share/icons for the emacs process might help
<dtzWill>
lol went to try 17.09 and for the most part was solid, but then I got "couldn't connect to your authentication agent" (or so), and realized I honestly don't know what's providing that for me now on 17.03 and so restarted to investigate and maybe revisit later hahaha O:)
<dtzWill>
(re:running ssh-add)
<dtzWill>
(this is not a bug report, lol)
griff_ has joined #nixos
gnuhurd has joined #nixos
phdoerfler has joined #nixos
<dieggsy>
sphalerite: 23036 open("/home/diego/.icons/Breeze/cursors/left_ptr", O_RDONLY) = -1 ENOENT (No such file or directory)
<dieggsy>
23036 open("/nix/store/99l134bdbpqzwrpn1zs17rzjv37iw18x-libXcursor-1.1.14/share/icons/Breeze/cursors/left_ptr", O_RDONLY) = -1 ENOENT (No such file or directory)
<dieggsy>
23036 open("/nix/store/99l134bdbpqzwrpn1zs17rzjv37iw18x-libXcursor-1.1.14/share/pixmaps/Breeze/cursors/left_ptr", O_RDONLY) = -1 ENOENT (No such file or directory)
<dieggsy>
<dieggsy>
er, sorry
<dieggsy>
how can i go about installing these though
<sphalerite>
dieggsy: setting XCURSOR_PATH to /usr/share/icons so it uses the ones from Ubuntu is probably the better way to go
<dieggsy>
sphalerite: wouldn't i have to do that every time i open emacs though?
phdoerfler has quit [(Client Quit)]
<sphalerite>
you could wrap it, which is a pretty common thing to do in the nix world
<dieggsy>
sphalerite: that didn't seem to work, actually
<sphalerite>
dieggsy: you can also install the cursor theme through nix, but it doesn't integrate as nicely into the rest of your desktop. It's a matter of personal preference really
<sphalerite>
personally I wouldn't want one application looking in place A for cursors and another in B
<disasm>
gchristensen: so with small, that just means more things are going to build locally than come from the cache, right?
<gchristensen>
yeah
<dieggsy>
sphalerite: i see. I think i'd rather do that for now - could you tell me how?
<dieggsy>
would i need like breeze-icons or breeze-gtk
<sphalerite>
dieggsy: you'll still need to wrap emacs setting XCURSOR_PATH in that case
<sphalerite>
there are lots of ways to do this
<dieggsy>
hmm
<sphalerite>
you could install the icon themes and set XCURSOR_PATH to $HOME/.nix-profile/share/icons, or you could set XCURSOR_PATH to the store path of the icon theme package
<sphalerite>
again, personally I'd just use the ones from Ubuntu for consistency's sake
mudri has quit [(Ping timeout: 260 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
<sphalerite>
That also means that if you change the cursor theme from ubuntu, your nix-installed emacs will adjust accordingly
<dieggsy>
That's true
<dieggsy>
sphalerite: ah, i could also symlink the ubuntu directory to ~/.icons. i'm not opposed to wrappers, i have plenty, i'm just seeing my options. is there a way to build-in the wrapping to the nix package (with an override, maybe?). thanks for the help anyway!
<dieggsy>
I override emacs to install from source anyway is why i ask
pie__ has quit [(Ping timeout: 248 seconds)]
djbeau has joined #nixos
Judson1 has joined #nixos
<sphalerite>
Hm emacs seems to be wrapped with wrapGAppsHook so I don't know how best to stack that with your own wrapping
<Judson1>
If I need extra stuff available to my Vim, I need to do an overlay for it, don't I?
<Judson1>
Or is there something easier?
<sphalerite>
Judson1: for vim specifically there's an easier way
<Judson1>
I'd like to get an lldb plugin to work, but it needs python (and maybe lldb itself)
<pxc>
hey, symphorien! thanks for fixing the issue with boot badness when nixos-rebuild is run and the store is mounted rw
<pxc>
and fpletz, thanks for merging it :-)
arximboldi has joined #nixos
sigmundv__ has joined #nixos
<Judson1>
I notice that neovim.nix in nixpkgs has a config for extraPythonPackages, which might be all I need? (Unless I need LLDB as a build input...) I'd like to use ths in /etc/nixos, sphalerite
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v58MO
<NixOS_GitHub>
nixpkgs/master 40cbf90 Simon Lackerbauer: rstudio: 1.1.216 -> 1.1.351
NixOS_GitHub has left #nixos []
<dieggsy>
Just for reference, how often does nixpkgs-unstable get updated?
jtojnar has quit [(Remote host closed the connection)]
<Lisanna_>
the rpm command can take a prefix argument
<Lisanna_>
so anything in the RPM that depends on other components being at specific absolute paths are just wrong
jtojnar has joined #nixos
<sphalerite>
really? I thought that's only really for setting up chroots, and that absolute paths are a valid assumption to make
<sphalerite>
I mean, if that weren't the case nix wouldn't be such a big deal :p
<sphalerite>
gchristensen: Still struggling with the nvidia issue… Do you think you could share your entire config with me so I can see if a 1:1 copy works?
<gchristensen>
sure
<gchristensen>
around in 1.5hrs?
<sphalerite>
yeah no rush, not sure I'll manage to try it right away then but just in general
<Lisanna_>
sphalerite: it could be that people don't do this even most of the time, but I'm not terribly interested in extracting RPMs that are built that way ^^
<Lisanna_>
e.g. RPMs containing firmware I just want to get at so I can pass it into the nix firmware setting
<sphalerite>
aaah right, yeah fair enough for that use case
<Delta_VII>
Hey, I have a problem with my NixOS installation
<Delta_VII>
My screen brightness is stuck on max
sellout- has quit [(Client Quit)]
jtojnar has quit [(Remote host closed the connection)]
<sphalerite>
philipp: set imports = [ ../../databases/postgresUser.nix ]; in the module where you have what you have there instead
kiloreux has joined #nixos
<deltasquared>
Delta_VII: I think there's a program to handle it, I forget which though (if you want your backlight keys to work that is)
jtojnar has joined #nixos
<deltasquared>
could have sworn someone on here mentioned which one it was at some point
<sphalerite>
Delta_VII: which desktop environment are you using?
<Delta_VII>
I am using KDE
<Delta_VII>
With the X11 Server
<gchristensen>
teozkr: ping
<sphalerite>
Delta_VII: Ok, that should handle the brightness keys for you. Do you have an option for brightness in the panel that pops up when you click on the battery icon?
<sphalerite>
Delta_VII: Alright… What does `ls /sys/class/backlight` say?
sellout- has joined #nixos
<Delta_VII>
It says only "intel_backlight"
fresheyeball has quit [(Ping timeout: 246 seconds)]
<teozkr>
gchristensen not at my computer atm, but if you have any questions then I'll try to answer them
<gchristensen>
teozkr: the perhaps easier alternative is to just download their precompiled one and put a java in the path
civodul has joined #nixos
<dtzWill>
Delta_VII: xbacklight is what I use
<slyfox>
nix does not compile on master: http://dpaste.com/0K55VKG : nlohmann/json.hpp: No such file or directory
Delta_VII has quit [(Remote host closed the connection)]
Lisanna_ has quit [(Ping timeout: 260 seconds)]
Delta_VII has joined #nixos
<tilpner>
slyfox - 4c6a26539c8c5d1163c1a6a6d22caf818376b36a works
Ivanych has quit [(Ping timeout: 240 seconds)]
<sphalerite>
Delta_VII: does the output of cat /sys/class/backlight/intel_backlight/brightness change if you change the brightness using the KDE adjusty thingy?
<teozkr>
uhm
<gchristensen>
ok teozkr I'm just going to call it a day and try again tomorrow :) I'll ping you if I continue having troubles
<sphalerite>
dtzWill: xbacklight uses the same X Backlight extension as KDE AFAIK
<slyfox>
local.mk hints it should be a part of distfiles: 'dist-files += configure config.h.in nix.spec perl/configure src/nlohmann/json.hpp'. alas
<teozkr>
alright, sounds good gchristensen
<teozkr>
good night :p
<gchristensen>
you too :)
<dtzWill>
oh, i'm sure--at least I'm not claiming it's special it's just a simple utility for setting it if doing so is supported
<dtzWill>
i see you were giving better low-level help to investigate, whoops :)
<Delta_VII>
sphalerite: Yes, it does
<sphalerite>
Delta_VII: do you know if it works on other distros?
<matklad>
Hi! How can I fix "unpacker produced multiple directories" problem?
<sphalerite>
Delta_VII: Not sure I can help you then, sorry. You might have some luck with a newer kernel, but IIRC fedora tends to be on the latest everything so I doubt that'll get you very far
<matklad>
I am trying to substitue oraclejdk with jetbrainsjdk
<matklad>
but the tar that jetbrains provides does not have a top-level directory
<Delta_VII>
sphalerite: Thats unfortunealy to hear
<Delta_VII>
But thank you
<matklad>
So what I want is `src = somethingsomethingaddTopLevelDirecotry (fetchUrl { ...}) `
deltasquared has left #nixos ["CPU0 on fire?"]
jellowj has quit [(Ping timeout: 252 seconds)]
<dtzWill>
best past of nixos-17.09 is compton no longer spamming the logs :P
Delta_VII has quit [(Remote host closed the connection)]
<sphalerite>
matklad: the nix pills series is also excellent if you want a fairly in-depth understanding of what's going on https://nixos.org/nixos/nix-pills/
<matklad>
Yeah, that seems promising! I've been using nix for more then a year now I think, but it's still poking random things until it works for me :)
<sphalerite>
looks to me like it is :)
<sphalerite>
gchristensen: found it by searching github for nixcon, it was the 4th result :p
<gchristensen>
:o nice
<gchristensen>
I've come to expect github search to be worthless :/
<matklad>
sphalerite: yeah, the docs talked about `unpackCmd` and it did the trick (at least, I've got a new error now :) ) Thanks a bunch!
<sphalerite>
really? I've found it quite useful, at least for finding repos
<sphalerite>
not so much for finding stuff inside repos
<sphalerite>
matklad: np :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v54TB
<NixOS_GitHub>
nixpkgs/master 86e6e80 Jörg Thalheim: nodePackages.multi-file-swagger: init at 2.2.0...
<sphalerite>
and you need it specifically for the exact one in the profile?
Infinisil has quit [(Ping timeout: 248 seconds)]
<vandenoever>
sphalerite: i need the -dev folder because it has a cmake file needed for compilation
<vandenoever>
CMAKE_PREFIX_PATH should be extended by the package i think
<sphalerite>
vandenoever: just nix-build '<nixpkgs>' -A qt5.qtquickcontrols2.dev then?
<sphalerite>
Of course, if you're building software the recommended way is to write a nix expression for it
<sphalerite>
if that's highly inconvenient it's best to use a nix-shell
<vandenoever>
sphalerite: bingo!
<vandenoever>
i'm in the probably bad habit of going into dev environments via nix-shell
faffolter has joined #nixos
faffolter has quit [(Client Quit)]
mizu_no_oto has joined #nixos
<gchristensen>
I use nix-shell for all sorts of dev environments, it is great for that :)
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<vandenoever>
sphalerite: i had no idea about the .dev suffix to attributes
<sphalerite>
yeah, sounds like a good habit
<vandenoever>
ok :-)
Infinisi1 has quit [(Quit: leaving)]
<sphalerite>
but rather than fiddling about with nix-build what you probably want to do is just add qt5.qtquickcontrols2 to your buildInputs
<vandenoever>
sphalerite: oh, i do not have a nix expression for this path, and rarely use nix-build, i use nix-shell ...
<sphalerite>
then just add it to the stuff you're passing with -p (assuming you're using -p)
<vandenoever>
yes, just did that and that's bingo
<sphalerite>
as for the .dev suffix -- it's just another attribute. A derivation has an attribute for each of its outputs, the name of which matches the output name
uralbash has joined #nixos
<sphalerite>
as for finding the attribute paths of stuff that you want to use, I find nox to be incredibly useful for that -- at least with the interactive prompting thing removed https://github.com/madjar/nox/pull/76
scribbler has joined #nixos
phinxy has joined #nixos
<Sonarpulse>
sphalerite: trying that
takle has joined #nixos
dywedir has joined #nixos
scribbler has quit [(Ping timeout: 240 seconds)]
dieggsy has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
phinxy has left #nixos ["Leaving"]
tmaekawa has quit [(Quit: tmaekawa)]
scribbler has joined #nixos
uralbash has quit [(Ping timeout: 240 seconds)]
pie__ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
<moredhel1>
Indeed, figuring out how to include my own custom packages has taken the longest time. I managed today with overlays to augment nixpkgs. I'm not sure this is the correct way, but meh. Seems to work and is fairly easy to extend.
<moredhel1>
I'm still trying to figure out how to extend my nix.nixPath without have to completely redefine it :p but then, it's probably not necessary. I'll have to check tomorrow when I get in to work
scribbler has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<Infinisil>
Ever since gpg updated the binary name "gpg2" to just "gpg" I haven't been able to sign my commits due to git not finding /nix/store/<hash>-gnupg-2.1.23/bin/gpg2
<Infinisil>
I'm gonna have a look at the git package, but if anybody else has had a closer look already please share your info