<elvishjerricco>
Anyone else use lightdm and xfce? What screen locker do you use / how do you set it up?
hark has quit [Ping timeout: 240 seconds]
<buckley310>
when i have to choose a screen locker, i usually use i3lock. Its rudimentary, but simple and consistent.
dbmikus_ has quit [Ping timeout: 276 seconds]
<elvishjerricco>
buckley310: How do you configure it on NixOS? And do you use lightdm?
Rusty1 has quit [Quit: Konversation terminated!]
hark has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<NoctisLabs>
Is the next release coming soon?
Okinan has joined #nixos
hark has quit [Ping timeout: 264 seconds]
hark has joined #nixos
<{^_^}>
[nixpkgs] @sigma opened pull request #70830 → scc: init at 2.8.0 → https://git.io/JeW2Z
<elvishjerricco>
I really wish I could just use physlock, but physlock doesn't turn off the display. (Neither does i3lock, it seems)
domogled has joined #nixos
domogled has quit [Client Quit]
abathur has quit [Ping timeout: 240 seconds]
<wedens>
I just add `xset dpms force off` to my lockscreen script (uses i3lock internally)
<elvishjerricco>
wedens: Ahh that does the trick.
<elvishjerricco>
Now to figure out how to get xfce's ctrl+alt+L to trigger this...
<samueldr>
you could replace xflock4 in your PATH, or through an overlay
<samueldr>
it used to work when I was using xfce
<buckley310>
ah yeah, i3lock doesnt do any power stuff :\
srl295 has joined #nixos
<buckley310>
the last time i rolled my own screen locker, i built it into a script that set DPMS to 10 seconds. that way it kind of screen-offs quickly when its locked. kind of like windows or gnome
<wedens>
elvishjerricco: appearently you can do `xfconf-query -c xfce4-session -p /general/LockCommand -s "custom-locker-command" --create -t string` (I don't use xfce, just found it on github)
<elvishjerricco>
wedens: That's exactly the conclusion I came to :) Gonna just add that to my displayManager.sessionCommands
<wedens>
buckley310: yeah. I do the same thing and also save/restore previous dpms settings
<buckley310>
WOOOO, i got my 5700XT running on nixos under wayland :D
endformationage has quit [Ping timeout: 264 seconds]
<elvishjerricco>
Aw, `xset dpms force off` doesn't work with physlock
cptchaos83 has quit [Ping timeout: 250 seconds]
soareschen has joined #nixos
<soareschen>
I have managed to setup Hydra to build my project. But when I try to use nix-serve on Hydra to serve the builds as binary cache, I realized the builds stay on the slave machines and never get copied back to the master node. Only the intermediate build steps get synced back to the master node. How can I make Hydra save everything back to master node
<hyper_ch2>
eyJhb: I just adjusted the evdi package to point to the latest commit on github and built it with latest kernel. I did not get any warning or something - so rebuild on nixos was fine, but I need to test if it actually works :)
<elvishjerricco>
Alright, figured out my screen locking issues. `programs.xss-lock` is a bad NixOS option, because the `xss-lock` runs in a systemd user unit instead of the session, so it can't respond to logind's lock event.
<elvishjerricco>
So now I have something that properly responds to dpms, and to loginctl
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
<elvishjerricco>
Where does the stderr / stdout of `displayManager.sessionCommands` go?
schjetne has quit [Ping timeout: 276 seconds]
<clever>
elvishjerricco: `journalctl -f -u display-manager.service` i think
logzet has joined #nixos
<elvishjerricco>
clever: Doesn't look like it. I put `echo foo` in there, rebuilt / restarted display-manager, and do not see that in journalctl -u display-manager.service
<clever>
elvishjerricco: *looks*
<clever>
elvishjerricco: what about ~/.xsession-errors
<elvishjerricco>
Not there either
<clever>
-rw-r--r-- 1 clever users 9.7K Aug 5 2016 .xsession-errors
<srk>
kandinski: that means the downloaded source doesn't match the hash - you can try to update src with the output of nix-prefetch-git https://github.com/supercollider/sc3-plugins
<{^_^}>
[nixpkgs] @liamdiprose opened pull request #70840 → python3Packages.aioinflux: init at 0.9.0 → https://git.io/JeWw8
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
hmpffff has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
xwvvvvwx- has joined #nixos
bahamas has joined #nixos
<bahamas>
anyone using nix with python and pycharm. how do you make pycharm see the dependencies of your project that you installed with nix?
<{^_^}>
[nixpkgs] @FRidh pushed commit from @risicle to release-19.09 « pythonPackages.pandas: 0.25.0 -> 0.25.1 »: https://git.io/JeWww
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
joshuagl has joined #nixos
__monty__ has joined #nixos
Boomerang has joined #nixos
o2 has quit [Quit: WeeChat 2.6]
asymptotically has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
<kandinski>
srk: yeah, I guess the problem is the `fetchSubmodules = True;`, which makes it impossible for the source hash to stay constant even if we reference it by commit hash.
<ajs124>
pie__: it probably fetches 30-50G "sources" and the build directory grows about that much. I recommend using a filesystem that supports reflink copies and a patched version of coreutils.
FRidh has joined #nixos
yumasi has joined #nixos
Astralix9 has joined #nixos
<{^_^}>
[nixpkgs] @peti merged pull request #70515 → gfortran: use version 8 by default to match our C and C++ compiler → https://git.io/JeCB0
nexgen has quit [Remote host closed the connection]
rsoeldner__ has joined #nixos
<{^_^}>
[nixpkgs] @callahad opened pull request #70841 → mariadb: fix builds on darwin → https://git.io/JeWrL
<teto>
bahamas: I run pycharm in a nix-shell with the dependencies
hyper_ch2 has joined #nixos
iqubic has joined #nixos
<teto>
I mean that's what I do with neovim but maybe pychamr introdcues other issues
justanotheruser has joined #nixos
rsoeldner_ has quit [Ping timeout: 268 seconds]
<bahamas>
teto: how do you do that?
<bahamas>
teto: I think my problem is that PyCharm looks for dependencies in a certain place. and nix installs python packages in a non-standard place?
<teto>
bahamas: like I run $ nix-shell -A <PROJECT> then I start nvim. Maybe with pycharm you need to tweak the PYTHONPATH ?
pbb has joined #nixos
<CMCDragonkai>
I'm trying to run this
<CMCDragonkai>
nix-build -A netboot nixos/release.nix
<CMCDragonkai>
But i get an error
<CMCDragonkai>
error: a 'aarch64-linux' with features {} is required to build '/nix/store/2jmvlbsnnk27cbf327jnbm6l83fy6pgi-append-initrd-secrets.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
<CMCDragonkai>
This isn't mentioned in the nixpkgs manual
<CMCDragonkai>
how do I disable trying to build arm achitecture?
<bahamas>
teto: I see. yeah, that won't work for me. because I do the development in a VM, so PyCharm connects to that VM.
<bahamas>
I need to find out exactly how PyCharm looks for packages
pbb has quit [Client Quit]
pbb has joined #nixos
rsoeldner__ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @andir pushed commit from @B4dM4n to release-19.09 « nixos/systemd: fix broken tmpfiles.d symlinks »: https://git.io/JeWoe
<__monty__>
I'm still trying and failing to get 32bit taskell to build on a remote 64bit builder. Why is happy complaining about the "haskell" feature? (I introduced that feature to force haskell builds to the remote host because the local machine is underpowered.)
graf_blutwurst has quit [Ping timeout: 268 seconds]
abbiya has joined #nixos
<srk>
kandinski: GMT+1 :)
felixfoertsch23 has joined #nixos
<kandinski>
srk: cool, that's my timezone of origin! I'm almost at my bedtime, but if you're still interested in running sc3plugins on NixOS I'll keep you posted. Otherwise, I'll spare you the noise.
<kandinski>
srk: my ultimate goal is using tidal-cycles on NixOS. Tidal is packaged because it's in stackage, I guess, but it has a hard dependency on the plugins.
<{^_^}>
[nixpkgs] @athas opened pull request #70846 → ispc: add x86_64-darwin to platforms. → https://git.io/JeWog
<{^_^}>
[nixpkgs] @Moredread opened pull request #70847 → ntfs3g: enable extra utilities → https://git.io/JeWoK
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
fling_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
fling has quit [Ping timeout: 240 seconds]
wfranzini has joined #nixos
iyzsong has joined #nixos
fling_ is now known as fling
<fling>
Should I use nixos?
<Taneb>
fling: I'd like to say yes
<Taneb>
But that depends on your particular circumstances
<Taneb>
It's a bit more of a commitment than most Linux distributions (but so worth the effort, in my opinion)
<fling>
Are any lxd images available?
<srk>
kandinski: yes sure, I think that was the reason I've started to look in to sc3 plugins (to run tidal ;))
<Taneb>
I don't know what "lxd" is
<raboof>
Taneb: i found it more approachable than Arch (though indeed e.g. Debian is easier)
<kandinski>
srk: I'll keep you posted. I don't know what I'm doing, but I figure out having a clear goal is a good way to learn.
<srk>
:) indeed!
feep_ has joined #nixos
feep has quit [Disconnected by services]
soareschen has quit [Remote host closed the connection]
felixfoertsch23 has left #nixos [#nixos]
<raboof>
fling: the easiest way is probably running the livecd in virtualbox (though take my advice with a grain of salt, I've only been using nixos for a week or so :) )
olejorgenb[m] has quit [Ping timeout: 248 seconds]
<qyliss>
wondering if it might have been a typo
zmlww[m] has joined #nixos
sputny[m] has joined #nixos
blitzclone_ has joined #nixos
fulgjon has joined #nixos
Christian[m]4 has joined #nixos
truby has joined #nixos
jtojnar has joined #nixos
GerdFlaig[m] has joined #nixos
boredom101[m]1 has joined #nixos
MilkManzJourDadd has joined #nixos
<gchristensen>
qyliss: :x almost definitely :x :x :x
MichaelEden[m] has joined #nixos
<xwvvvvwx->
Is there a way to pass a pinned version of nixpkgs into modules that I import using `imports = [ ... ]` ?
schmittlauch[m] has joined #nixos
cgm[m] has quit [Ping timeout: 240 seconds]
vvbb[m] has joined #nixos
freddie_freeload has joined #nixos
clacke[m] has joined #nixos
RobinKroonen[m] has joined #nixos
alex[m]18 has joined #nixos
kxlljoyy[m] has joined #nixos
wangoe[m] has joined #nixos
divansantana has joined #nixos
Sascha[m]3 has joined #nixos
seekerus3r[m] has joined #nixos
ck3d[m] has joined #nixos
hpfr[m] has joined #nixos
TravisRt2botio[m has joined #nixos
<xwvvvvwx->
right now they are using the nixpkgs from the search path unless I'm confused?
zmlww[m]1 has joined #nixos
craigevil[m] has joined #nixos
yangm has joined #nixos
cyberwolf[m] has joined #nixos
alj[m] has joined #nixos
frederic_chopwn[ has joined #nixos
olejorgenb[m] has joined #nixos
EuAndreh[m] has joined #nixos
Shyim[m] has joined #nixos
alienpirate5 has joined #nixos
Ericson2314 has joined #nixos
Seb[m] has joined #nixos
kaychaks[m] has joined #nixos
spacekitteh[m] has joined #nixos
pingveno[m] has joined #nixos
rycee has joined #nixos
Moredread[m] has joined #nixos
Woland[m] has joined #nixos
badmutex[m] has joined #nixos
l33[m] has joined #nixos
balsoft[m] has joined #nixos
abbafei[m] has joined #nixos
goibhniu has joined #nixos
escaP[m] has joined #nixos
mariusz-kowalski has joined #nixos
vxzero[m] has joined #nixos
pop[m]1 has joined #nixos
cgm[m] has joined #nixos
arcnmx has joined #nixos
worldofpeace has joined #nixos
musicmatze has joined #nixos
xbreak[m] has joined #nixos
rihardsk[m] has joined #nixos
atopuzov[m] has joined #nixos
<hyperfekt>
xwvvvvwx-: Yes, _module.args is your friend here. But if you want to use a pinned version everywhere you might want to change the NIX_PATH instead with nix.nixPath.
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @Luz to master « librepcb: 0.1.0 -> 0.1.2 (#70538) »: https://git.io/JeWis
<tazjin>
is anyone here running a binary cache mirror? What's the most efficient way of setting them up? I'm trying it with a simple `nix copy` invocation that reads from `store-paths.xz`, but it's progressing very slowly
<wedens>
tazjin: have you tried nix-serve?
sigmundv has quit [Ping timeout: 240 seconds]
<gchristensen>
tazjin: how much of hydra do you want to mirror?
edef has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
edef_ is now known as edef
petar_ has joined #nixos
chkno_ has joined #nixos
jonafato has joined #nixos
marek_ has joined #nixos
tdeo_ has joined #nixos
kriztw_ has joined #nixos
pemeunie1 has joined #nixos
aristid1 has joined #nixos
bpierre_ has joined #nixos
pasukon_ has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
kvda has quit [Ping timeout: 268 seconds]
runciter has quit [Ping timeout: 268 seconds]
swapgs has quit [Ping timeout: 268 seconds]
acceptable has quit [Ping timeout: 268 seconds]
sethetter has quit [Ping timeout: 268 seconds]
pasukon has quit [Ping timeout: 268 seconds]
bpierre has quit [Ping timeout: 268 seconds]
FRidh has quit [Ping timeout: 268 seconds]
fiddlerwoaroof has quit [Ping timeout: 268 seconds]
alex`` has quit [Ping timeout: 268 seconds]
drakonis_ has quit [Ping timeout: 268 seconds]
wucke13 has quit [Ping timeout: 268 seconds]
jluttine has quit [Ping timeout: 268 seconds]
marek has quit [Ping timeout: 268 seconds]
aristid has quit [Ping timeout: 268 seconds]
Maxdamantus has quit [Ping timeout: 268 seconds]
orbekk has quit [Ping timeout: 268 seconds]
roho has quit [Ping timeout: 268 seconds]
nahamu has quit [Ping timeout: 268 seconds]
ivegotasthma has quit [Ping timeout: 268 seconds]
silver_hook has quit [Ping timeout: 268 seconds]
ben has quit [Ping timeout: 268 seconds]
joko has quit [Ping timeout: 268 seconds]
petar has quit [Ping timeout: 268 seconds]
mrus has quit [Ping timeout: 268 seconds]
hellrazor has quit [Ping timeout: 268 seconds]
AnswerGuy has quit [Ping timeout: 268 seconds]
codedmart has quit [Ping timeout: 268 seconds]
AstroBadger has quit [Ping timeout: 268 seconds]
disasm has quit [Ping timeout: 268 seconds]
epta has quit [Ping timeout: 268 seconds]
dfordivam has quit [Ping timeout: 268 seconds]
naominitel has quit [Ping timeout: 268 seconds]
pemeunier has quit [Ping timeout: 268 seconds]
Sargun has quit [Ping timeout: 268 seconds]
eon`_ has quit [Ping timeout: 268 seconds]
kriztw has quit [Ping timeout: 268 seconds]
janneke has quit [Ping timeout: 268 seconds]
elibrokeit has quit [Ping timeout: 268 seconds]
NoctisLabs has quit [Ping timeout: 268 seconds]
delroth has quit [Ping timeout: 268 seconds]
travelion has quit [Ping timeout: 268 seconds]
tokudan has quit [Ping timeout: 268 seconds]
chkno has quit [Ping timeout: 268 seconds]
callahad has quit [Ping timeout: 268 seconds]
jonafato- has quit [Ping timeout: 268 seconds]
shyim has quit [Ping timeout: 268 seconds]
bigvalen has quit [Ping timeout: 268 seconds]
ajp has quit [Ping timeout: 268 seconds]
sigtrm has quit [Ping timeout: 268 seconds]
barrucadu has quit [Ping timeout: 268 seconds]
Mrmaxmeier has quit [Ping timeout: 268 seconds]
laerling has quit [Ping timeout: 268 seconds]
phI||Ip has quit [Ping timeout: 268 seconds]
kandinski has quit [Ping timeout: 268 seconds]
andromeda-galaxy has quit [Ping timeout: 268 seconds]
myme has quit [Ping timeout: 268 seconds]
enteee has quit [Ping timeout: 268 seconds]
nurelin has quit [Ping timeout: 268 seconds]
codezero has quit [Ping timeout: 268 seconds]
kipari has quit [Ping timeout: 268 seconds]
darkf has quit [Ping timeout: 268 seconds]
dev3 has quit [Ping timeout: 268 seconds]
ben has joined #nixos
mightybyte has quit [Ping timeout: 268 seconds]
dbe has quit [Ping timeout: 268 seconds]
lohfu has quit [Ping timeout: 268 seconds]
nervengift has quit [Ping timeout: 268 seconds]
hodapp has quit [Ping timeout: 268 seconds]
sethetter_ has joined #nixos
bpierre_ is now known as bpierre
Maxdaman1us has joined #nixos
pasukon_ is now known as pasukon
Sargun_ has joined #nixos
eon` has joined #nixos
barrucad1 has joined #nixos
alex``` has joined #nixos
barrucad1 has joined #nixos
barrucad1 has quit [Changing host]
enteee has joined #nixos
mrus has joined #nixos
darkf_ is now known as darkf
orbekk has joined #nixos
bigvalen has joined #nixos
hodapp1 has joined #nixos
andromeda-galaxy has joined #nixos
codezero has joined #nixos
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
hellrazo1 has joined #nixos
drakonis_ has joined #nixos
dev3 has joined #nixos
epta has joined #nixos
ivegotasthma has joined #nixos
NoctisLabs has joined #nixos
nurelin has joined #nixos
rsoeldner__ has quit [Ping timeout: 246 seconds]
Mateon2 is now known as Mateon1
joko has joined #nixos
delroth has joined #nixos
helpusobi has joined #nixos
Mateon1 has quit [Remote host closed the connection]
lohfu has joined #nixos
nahamu has joined #nixos
naominitel has joined #nixos
Mateon1 has joined #nixos
Olgierd has joined #nixos
dbe has joined #nixos
disasm has joined #nixos
sigtrm has joined #nixos
<Ilya_G>
Is there a cheat sheet for how standard linux paths are mapped in NixOS? I am looking for a proper place to create a Unix socket file and a proper way to drop a config file that might potentially be changes.
<inkbottle>
NixOS + stack (only, meaning ghc is not available straight from command line, but only through stack): "stack exec -- ghcid -T :main" doesn't work
gagbo has quit [Ping timeout: 276 seconds]
<inkbottle>
the only way I have it working it through a nix-env -p ghcid
erasmas has joined #nixos
<inkbottle>
in that case with typing: ghcid -T :main
schjetne has quit [Ping timeout: 265 seconds]
gagbo has joined #nixos
<inkbottle>
the error I get is taht 'stack' is not found
<clever>
inkbottle: `ghcid -c "runhaskell Setup.hs repl lib:cardano-explorer"` is what i use, and i just ignore stack entirely
<clever>
inkbottle: but if you have a cmd that can convince stack to give you a repl, you can pass that to `ghcid -c "..."`
gxt has quit [Quit: WeeChat 2.6]
<{^_^}>
[nixpkgs] @hrdinka merged pull request #70371 → dovecot: Fix wrong type in configFile option → https://git.io/JecDH
<emily>
because I need to patch in the path to a file I generate :)
<yumasi>
Hi ! I'm trying to use ccache for a custom kernel derivation I am writing for a NixOps deployment but it fails with "permission denied" in a "homeless-shelter" directory. I understand I probably want it to be elsewhere but I can't find a way to actually do it.
<{^_^}>
[nixpkgs] @cameronbriar opened pull request #70869 → terraform-provider-wavefront: init at 2.1.0 → https://git.io/JeWDZ
<gchristensen>
disasm++ sphalerite++
<{^_^}>
disasm's karma got increased to 10, sphalerite's karma got increased to 72
justan0theruser has joined #nixos
drakonis has joined #nixos
<devalot>
Anyone else experiencing 19.03 build failures due to hdf-4.2.14. I can build my system as of .173522.021d733ea3f but fails after I update the channel. I don't see any issues on GitHub and as far as I can tell hdf hasn't changed recently.
drakonis_ has quit [Read error: Connection reset by peer]
ng0_ is now known as ng0
drakonis_ has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
drakonis has quit [Read error: Connection reset by peer]
<__monty__>
gchristensen: Added myself to trusted-users on the remote (is this syntax right? = [ "root" "toonn" ]) no change in output so far.
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
FireFly is now known as FaeFly
alex`` has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 250 seconds]
<gchristensen>
nix.conf is not a .nix file
<gchristensen>
Ithink it is space separated no quotes
<worldofpeace>
ahh mog that numbers is combined from prs I guess too
<mog>
really excited for new gnome and setting my pc to unlock its drive from my gpg key
<drakonis>
i'm excited for upcoming features
<bahamas>
is anyone using PyCharm with Nix and Python? I ask, because I don't know how to make PyCharm see the dependencies in the `result` directory I created by running nix-build
<{^_^}>
[nixpkgs] @vcunat pushed commit from @wodim to release-19.09 « nixos manual: fix typo (#70875) »: https://git.io/JeWSa
erasmas has quit [Quit: leaving]
erasmas has joined #nixos
<hyper_ch>
eyJhb: changing the evdi to latest git commit and using your patch, displaylink works on 5.3 also. However, how can I maintain this after reboot? I seem to be required to run xrandr --setprovideroutputsource 1 0 and xrandr --setprovideroutputsource 2 0 and then xrandr --output DVI-I-1-1 --auto and xrandr --output DVI-I-2-2 --auto everytime I start
<eyJhb>
I run xrandr on each boot :%
<eyJhb>
:p **
wfranzini has quit [Remote host closed the connection]
<catern>
can someone remind me how Nix would deal with a package A which includes B.h from library B which in turn includes C.h from library C?
asymptotically has quit [Quit: Leaving]
<__monty__>
catern: Disregarding caching, lib C is built, lib B is built, package A is built.
<catern>
no, I mean like, does A need to put both B and C into its buildInputs, or just B?
<gchristensen>
it shouldn't need to put C in
<catern>
if A has just B in its buildInputs, how do the headers for C get put on its include path?
<__monty__>
But A doesn't need those headers?
<catern>
does the setup hook walk the whole closure for headers? I thought it just looked at buildInputs, propagatedBuildInputs, etc
<__monty__>
When B is compiled you no longer need the headers for C.
<catern>
__monty__: B.h contains the line '#include "c.h"'
<__monty__>
catern: Yeah, and when B is built. That's in a seperate environment of where A is built.
<__monty__>
C would be in B's buildInputs and therefore available in that environment.
<catern>
package A is a single file A.c which contains the line '#include "B.h"'; package B is a single file B.h which contains the line '#include "C.h"'; package C is a single file C.h.
selfsymmetric-pa has joined #nixos
<devalot>
When booting 19.09 I got a kernel panic. I moved to linuxPackages_latest and it boots, but without any of my network interfaces. What steps should I take to debug this?
<catern>
when compiling A.c, C.h needs to be on the include path - that's how C compilation works
<__monty__>
Does it? I figured the include of C would be expanded and therefore no longer relevant.
<catern>
yes, it does :)
<catern>
C compilation has many infelicities
wfranzini has quit [Remote host closed the connection]
<catern>
so I'm just wondering how that happens. does the setup hook look at B's scraped dependencies?
wfranzini has joined #nixos
pie_ has quit [Ping timeout: 265 seconds]
<catern>
using propagatedBuildInputs would work too, but is that actually how it's done in Nixpkgs?
<gchristensen>
I'm wondering why you want to do this
<gchristensen>
like why would package B have a buildInput that it never uses?
<catern>
well, the realistic scenario is where B and C are libraries, and B uses C
<simpson>
catern: If B exports, say, a pkg-config .pc description, then sure, there's a setup hook that can set everything up.
<gchristensen>
yes, in that case the library is complied already
<simpson>
But nothing in Nix or nixpkgs can do that completely automatically. You have to leave some breadcrumb in order for Nix to do the setup.
<catern>
gchristensen: what if, say, B's headers mention types from C's headers?
<catern>
simpson: I'm not sure about that - pkg-config has deps, but are you supposed to apply all the Cflags: and Libs: flags of all your deps? well... I guess you are, yeah
<bitstream0101>
on a nixos 19.03 system using nix 2, i accidentally ran `nix-env -iA nixos.nix1` as my user; i can't nix-env --rollback because it's an earlier nix-env now, and i can't seem to manually rollback the profile symlinks because it's a read-only filesystem -- does anyone have a clever workaround?
<evax>
hi, I'm getting a iwlwifi related kernel panic on boot (with blinking caps led) when trying to upgrade to 19.09, what's the kernel version there?
va1entin has quit [Remote host closed the connection]
gnidorah has quit [Quit: Connection closed for inactivity]
<evax>
devalot: it looks we have a similar issue
o1lo01ol_ has quit [Remote host closed the connection]
gxt has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<arianvp>
Let me see if it works on nixpkgs-unstable
<arianvp>
so it builds fine on nixpkgs-unstable
<arianvp>
so there is some 'fix' for this that is on unstable but wasn't backported to 19.09 it seems
o1lo01ol1o has quit [Read error: Connection reset by peer]
<arianvp>
hmmph
o1lo01ol1o has joined #nixos
shibboleth has joined #nixos
<arianvp>
ah so this is something something related to containers specifcally. I'mdoing weird funky things
<arianvp>
and its probably odd that it works on unstable but not on 19.09 but this is from a custom nixos module I havent upstreamed yet so isnt really an issue
<arianvp>
so PEBKAC. to some extent. not a bug someone else is likely to run into
freeman42[NixOS] has joined #nixos
shibboleth has quit [Quit: shibboleth]
tokudan has quit [Quit: Dunno.]
Okinan has joined #nixos
freeman42[NixOS] has quit [Ping timeout: 240 seconds]
<manveru>
is my new config, had to tweak the ppd a bit...
<gchristensen>
manveru: *steals* mind throwing that up on the wiki?
<arianvp>
printers and linux being nice? what is this?
doublex_ has quit [Read error: Connection reset by peer]
<hc>
another question, if I log into a nixos machine via ssh to a user that uses fish, none of the paths seem to be working. Workarond: call bash using the full path, then fish again. any better way to solve this?
doublex has joined #nixos
<infinisil>
I love how NixOS allows these kind of abstractions
<infinisil>
Options abstracting stuff :)
<niksnut>
oeh, I also have an HP Envy
<arianvp>
speaking of nice abstractions... many of us are on weechat or irssi I assume. has anybody made a nixos module with actual config part being coverd as well for it?
<gentauro42>
`time.timeZone = "Europe/Copenhagen";` in `/etc/nixos/configuration.nix`. Now I'm in London ... do I really have to make a change and then `nixos-rebuild switch`?
chloekek has quit [Ping timeout: 250 seconds]
virus_dave has quit [Quit: virus_dave]
isHavvy has quit [Read error: Connection reset by peer]
<arianvp>
sooo shall I be brave and do a switch, or do a reboot to 19.09?
<gchristensen>
manveru: are you on Twitter?
<infinisil>
gentauro42: I think so yeah
schjetne has quit [Ping timeout: 265 seconds]
shibboleth has joined #nixos
<niksnut>
gentauro42: maybe not, for instance in KDE you can configure the clock panel widget to show other timezones
<manveru>
gchristensen: in theory, yeah
<infinisil>
gentauro42: For $reasons NixOS patched away the ability for the time to be changed dynamically, not sure why tbh
<gchristensen>
manveru: I'm going to share your config snippet. should I tag you?
<manveru>
gchristensen: i don't mind
<manveru>
not sure what's so great about it :P
<gchristensen>
well it is really cool :)
<manveru>
well, way better than the manual fault-prone config from before, for sure :D
<manveru>
had to compile a custom translator that'd convert ghostscript to whatever crazy commands it understood, then pipe it into the printer port 9100
<infinisil>
But especially when you go abroad you might not have internet so you might not be able to do a rebuild
<infinisil>
Also, maybe you don't even have your configuration.nix on the machine itself (e.g. with nixops, or nixos-rebuild --target-host)
logzet has quit [Remote host closed the connection]
<eacameron>
Is `leaveDotGit = true` from `nixpkgs.fetchgit` *ever* safe to use? It seems you should be able to run some git commands, stick them in a file, and then delete `.git` and everything would be the same as if you had simply not used `leaveDotGit`...but all evidence so far points to this not being the case. I.e. any change to the git repo upstream invalidates the hash for this nix drv.
Jackneill has joined #nixos
<infinisil>
eacameron: leaveDotGit goes to some lengths to make it deterministic
tdeo_ is now known as tdeo
tdeo has joined #nixos
tdeo has quit [Changing host]
<eacameron>
infinisil: O_o how is it not helping....
<infinisil>
Not sure what you mean?
<sauyon>
Ideally I think you would be able to rebuild configurations offline, though I suppose that's probably not feasible in the short to mid-term
<eacameron>
Why does pushing to the upstream repo invalidate the hashes of the nix drv even though we completely delete .git from the resulting $out
<{^_^}>
[nix] @edolstra pushed 10 commits to 2.3-maintenance: https://git.io/JeW7z
<gentauro42>
niksnut: `/etc/localtime` is binary file
<gentauro42>
how would you change that `manually`?
<infinisil>
git repos are not deterministic with the .git
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #70884 → [19.09] nixos/networkmanager: default to internal → https://git.io/JeW7D
<zeta_0>
have the new nixos `stable` and `un-stable` versions been released yet, i heard that they would be released this october ?
<{^_^}>
zeta_0: 2 days, 2 hours ago <worldofpeace> nixos-unstable doesn't have released versions, it's basically a rolling development version of the next stable release. next nixos release is 19.09
<gchristensen>
infinisil: we release once a week or so :)
<infinisil>
Ehhh
<infinisil>
I guess Rust and such do have much more resources/people/time
<gchristensen>
people who want fast changes can use rolling release okay, I think
<gchristensen>
the 6mo release is already kind of fast for some users
<infinisil>
It is?
<gchristensen>
yeah
* infinisil
hasn't heard of that
<gchristensen>
big deployments in more traditional companies
<eacameron>
infinisil: I would vote that `leaveDotGit` get a much scarier name. Backward incompatibility nightmare of course...but it seems way to easy to screw yourself with this.
<infinisil>
Oh doesn't debian have like a stable release only every 2 years?
<gchristensen>
yeah
<infinisil>
eacameron: It's only dangerous in combination with postFetch
<drakonis>
and they version bump stable packages
<drakonis>
but don't include new ones until the next cycle
<eacameron>
infinisil: Really??
<infinisil>
drakonis: What's the reason for that? I'd think it should be the other way around, because updates can break stuff, new packages can't
<infinisil>
Well in the Nix world at least..
<infinisil>
eacameron: Lemme see, depends whether postFetch runs before or after the .git cleansing
<worldofpeace>
infinisil: I wish our release dates were different
<eacameron>
infinisil: Oh it definitely runs *before*
<{^_^}>
[nixpkgs] @tokudan opened pull request #70887 → Update to PR #64267, add missing release notes. → https://git.io/JeW5b
Havvy has joined #nixos
m0rphism has quit [Ping timeout: 245 seconds]
amf has joined #nixos
<amf>
Doing my first upgrade, I had boot.kernelPackages = pkgs.linuxPackages_5_2; but that package is now gone, and switch to just pkgs.linux I now get this error: `error: attribute 'extend' missing`. Nothing was mentioned in the release notes, what kernel package can I use?
stampe has joined #nixos
stampe has quit [Client Quit]
<infinisil>
amf: pkgs.linuxPackages
kleisli has joined #nixos
<infinisil>
amf: Although you probably want to use a newer version than the default
<infinisil>
You could use linuxPackages_latest
<qyliss>
or linuxPackages_latest
<qyliss>
but 5_2 isn't supported because it goes EOL soon
<infinisil>
> :v stable
<{^_^}>
stable = nixos-1903
* infinisil
goes to update nixbot to have the 19.09 channel as stable
bigvalen has quit [Ping timeout: 268 seconds]
<amf>
i have to, brand new hardware, that worked, when do i change the stateVersion in conf.nix?
<qyliss>
amf: never, unless you're told to
<amf>
ah, that's why it's missing from the manual, noted!
<amf>
rebuilding got: `error: stack overflow (possible infinite recursion)`, no other error
<infinisil>
,stateVersion
<{^_^}>
Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<infinisil>
amf: Aw damn, what's the full output with --show-trace?
<drakonis>
you can have package names on a single line btw
<drakonis>
its great for conserving screen space
<infinisil>
Well they have like 50 packages, I wouldn't want those on a single line
<infinisil>
drakonis: Also, one line per package is better for git diffs :)
<drakonis>
oh, certainly!
Havvy has quit [Ping timeout: 240 seconds]
<infinisil>
amf: Alright I can reproduce it thanks, let's see..
<{^_^}>
[nixpkgs] @moaxcp opened pull request #70888 → sshoogr init at 0.9.26 → https://git.io/JeWd0
iqubic has joined #nixos
<amf>
whatever is in there was cobbled together while installing/setting up. i pulled various pieces from the internet, but nix accepted it so i left it
<drakonis>
same as me
<drakonis>
i would suggest you to do a cleanup
<drakonis>
it is nice
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
<waleee-cl>
do the "cdrom" user group actually do anything?
<drakonis>
permissions for reading cds i think?
<drakonis>
some of those things are related to pre udev days i think?
<kyren>
I know this is a bit of a vague description, but has anybody had issues with declarative containers if the containers take a long time to start? For me gitlab is the biggest culprit, gitlab in a container seems to take a very very long time to start. I've set `systemd.services.<containers>.serviceConfig.TimeoutStartSec` to "infinity" but still occasionally (this is the vague part) containers will fail to restart properly
<waleee-cl>
my old laptop with a dvd-burner worked fine without it
<kyren>
I bring this up because I'd like to upgrade to 19.09 and I'd really like to turn on automatic upgrades, but I'm afraid that it'll break my containers all the time
<amf>
i may be remembering wrong, but the cdrom group was what made k3b not complain
<infinisil>
Hm well this stack overflow might just actually be a stack overflow
<infinisil>
I can't find anything that would indicate this being an infinite recursion
simukis_ has quit [Ping timeout: 240 seconds]
<waleee-cl>
ok. I don't remember what I used when burning discs, but I'm pretty sure it worked without me belonging to that user group
alex`` has quit [Quit: WeeChat 2.6]
<drakonis>
which distribution were you on?
avn has quit [Ping timeout: 250 seconds]
<kyren>
I'm looking for advice like "yeah declarative containers take some babying, I wouldn't turn on automatic upgrades" or "there is a better setting that makes upgrades not wait on containers to fully start" or "something is deeply wrong go find it"