sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<{^_^}> [nixpkgs] @marsam merged pull request #61880 → python37Packages.asynctest: 0.12.4 -> 0.13.0 → https://git.io/fj4SQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjB0E
<{^_^}> [nixpkgs] @jonringer closed pull request #61778 → pythonPackages.applicationinsights: init at 0.11.9 → https://git.io/fj4Yg
slack1256 has quit [Ping timeout: 257 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
buffet_ has joined #nixos
Matthieu` has joined #nixos
buffet has quit [Ping timeout: 258 seconds]
Musk_Satoshi has quit [Read error: Connection reset by peer]
Matthieu_ has quit [Ping timeout: 245 seconds]
Musk_Satoshi has joined #nixos
ItsMarlin has quit [Ping timeout: 258 seconds]
ItsMarlin has joined #nixos
shu9 has quit [Remote host closed the connection]
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
<{^_^}> [nixpkgs] @bignaux opened pull request #61982 → xcpc: move libsdk and lesstiff as optional → https://git.io/fjB0r
<genesis> ^ if someone has aarch64
pjan has quit [Quit: さようなら]
<samueldr> just a heads up, it's probably a cross-compilation only issue, as on aarch64 it already was building fine with native build; or an armv6 specific issue
_ris has quit [Ping timeout: 260 seconds]
<genesis> i'd failed build and i thought doing that was not bad idea
<samueldr> (testing cross-compilation of xcpc on all three main arm targets to see what's going on and have a better overview of the situation)
<genesis> but yes, perharps a bit tired i don't read why
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjB0y
<genesis> was just a sha error
<genesis> hash mismatch in fixed-output derivation '/nix/store/51d4dyh8s80y6ic7cvffdnaylf5pw205-dejavu-fonts-full-2.37-armv6l-unknown-linux-gnueabihf
kvda has joined #nixos
<genesis> i bit an bad habit from openembedded, i strip down dependancies on failure
<samueldr> same for armv6, armv7 and aarch64 as cross-compiled; though works fine native... most likely native works fine since it can fetch a cached artifact from cache.nixos.org
<genesis> perharps a pb with my other binary caches.
<samueldr> ideally, unless it is impossible, changing the build for cross vs. native is discouraged; the same features should be available
<samueldr> nah, looks like a real issue
<samueldr> I can reproduce locally
<genesis> then :)
* samueldr checks
<samueldr> I think I know why
<genesis> i've not rasberry, just takes this as the smallest dep package to try something
<genesis> would be interesting to try compiling it with microwindows
<genesis> btw , samueldr : do you advice to use overlay instead ?
<genesis> instead of fix the derivation in nixpkgs.
<samueldr> not sure I follow, but sure an overlay helps in getting things working, and then upstreamed :)
<samueldr> but here the issue is the dejavu-fonts build being... weird
<samueldr> looks like it's (ab)using the fixed-output derivation system to cache a build
<genesis> yes i don't speak about dejavu, i speak about xcpc or other things i try to cross compile.
<genesis> often it pushes too much (vala etc)
<genesis> but i'm looking nixwrt to sucess my tomtom port.
<samueldr> if you have to remove features to cross-compile, probably an overlay is a better solution, unless features are seldom used or really optional
<samueldr> but otherwise, upstreaming fixes for cross-compilation is always good :)
<samueldr> though here it looks like there is _at least_ an issue with dejavu's build
<samueldr> and it's likely not cross-compilation specific
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
<genesis> yeap.
matix has quit [Quit: :q!]
<{^_^}> #61422 (by volth, 1 week ago, merged): data/fonts: fonts made with fontforge are not fixed-output
bsima has joined #nixos
<samueldr> a fix for it already is in staging
<genesis> we"re good :)
<genesis> https://www.picclickimg.com/00/s/OTczWDE2MDA=/z/VF0AAOSwwE5WX1IL/$/TomTom-ONE-XL-Car-43-LCD-GPS-System-_57.jpg the target.
ItsMarlin has quit [Ping timeout: 248 seconds]
<gchristensen> hmm I think I have one of those
<genesis> it's very cheap on second hand
<genesis> since software are not updated.
ItsMarlin has joined #nixos
<samueldr> 30-40$CAD apparently
<genesis> divide by 2 :)
<genesis> ho CAD, i donno
<genesis> i paid mine 20€
<genesis> so we could build navit on it
<genesis> and other thing, but today the only project is https://github.com/navit-gps/NavitTom but it's messy
<genesis> not a lot of patch https://github.com/navit-gps/NavitTom/tree/master/patchs , the things is old kernel without dtb, and we can't really port it since gps chip is a really closed things, they have same pb one open source phone
<genesis> (so we have to use gltt binary from tomtom, so let binary compatibility)
gxt has joined #nixos
judson has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 258 seconds]
Matthieu` has quit [Ping timeout: 258 seconds]
lambda-11235 has joined #nixos
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
bsima has joined #nixos
bt` has quit [Ping timeout: 250 seconds]
jluttine has quit [Ping timeout: 248 seconds]
bsima___ has joined #nixos
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
bsima has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #61964 → kind: 0.2.1 -> v0.3.0 → https://git.io/fjBZh
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @j0xaf to master « kind: 0.2.1 -> v0.3.0 (#61964) »: https://git.io/fjBEt
<gchristensen> oh? looks okay from here
srl295 has joined #nixos
jluttine has joined #nixos
<bsima___> gchristensen: i see you're right, i misunderstood the point of the 'mutable' flag
<bsima___> just needed to read more closely :/
ItsMarlin has quit [Ping timeout: 272 seconds]
ItsMarlin has joined #nixos
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
ItsMarlin has quit [Read error: Connection reset by peer]
Guanin has quit [Remote host closed the connection]
Matthieu` has joined #nixos
bsima has joined #nixos
ItsMarlin has joined #nixos
<DigitalKiwi> why is broadcast 0.0.0.0 in a static ip config? I think that's wrong, but I might be wrong...? and how am I to change if it is?
infinii has joined #nixos
acarrico has joined #nixos
kyren has quit [Ping timeout: 268 seconds]
Matthieu` has quit [Ping timeout: 244 seconds]
bsima___ has quit [Quit: Page closed]
m0rphism has quit [Ping timeout: 258 seconds]
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
alienpirate5 has quit [Changing host]
alienpirate5 has joined #nixos
alienpirate5 has joined #nixos
slack1256 has joined #nixos
bsima has joined #nixos
kisonecat has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 246 seconds]
schjetne has joined #nixos
ItsMarlin has quit [Ping timeout: 272 seconds]
ItsMarlin has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
alex`` has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
dminuoso has quit [Ping timeout: 244 seconds]
toppler`` has quit [Ping timeout: 268 seconds]
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
dminuoso has joined #nixos
bsima has joined #nixos
<DigitalKiwi> also for the thing ottidmes told me earlier (isoImage.contents/storeContents) it doesn't like the permissions of the ssh key (for obvious reasons) what's a good way to solve that?
toppler`` has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
tbenst has quit [Remote host closed the connection]
tbenst has joined #nixos
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
bsima has joined #nixos
Ralith_ has quit [Read error: Connection reset by peer]
clever_ has joined #nixos
<{^_^}> [nixpkgs] @nikuda opened pull request #61983 → confluent-platform: Rename confluent package and update to 5.2.1 → https://git.io/fjBuI
clever has quit [Ping timeout: 244 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
schjetne has quit [Ping timeout: 246 seconds]
clever_ has joined #nixos
clever_ has quit [Changing host]
clever_ is now known as clever
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yakulu has joined #nixos
iqubic has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « wingpanel-indicator-bluetooth: 2.1.2 -> 2.1.3 »: https://git.io/fjBuC
<{^_^}> [nixpkgs] @edef1c pushed to master « androidenv: fix the $out/bin symlink for ndk-bundle »: https://git.io/fjBuW
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « wingpanel-indicator-bluetooth: 2.1.2 -> 2.1.3 »: https://git.io/fjBuR
fusion809 has joined #nixos
Qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wucke13 has quit [Quit: ZNC 1.7.2 - https://znc.in]
kyren has joined #nixos
Qubasa has joined #nixos
Yakulu has quit [Quit: Gateway shutdown]
ayerhart has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61874 → nixos/icingaweb2: Fix environment.etc assignment → https://git.io/fj4Dx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjBuo
monotux has quit [Quit: WeeChat 2.4]
monotux has joined #nixos
<bsima> TIL how to use distributed builds on nix, it's like magic
o1lo01ol1o has quit [Remote host closed the connection]
slack1256 has quit [Ping timeout: 268 seconds]
kvda has joined #nixos
o1lo01ol1o has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
drakonis has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
schjetne has joined #nixos
Supersonic has joined #nixos
hiroshi has quit [Ping timeout: 258 seconds]
shad has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
shad has joined #nixos
reinhardt has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ashy> is there a good wiki page on it?
kvda has joined #nixos
samrose_ has quit [Read error: Connection reset by peer]
mkoenig has quit [Remote host closed the connection]
samrose_ has joined #nixos
schjetne has quit [Ping timeout: 248 seconds]
gchristensen has quit [Quit: Connection closed for inactivity]
<DigitalKiwi> it's decent
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krbtgt has quit [Changing host]
krbtgt has joined #nixos
knupfer has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0ab85f4d872 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
rauno has joined #nixos
wfranzini has quit [Remote host closed the connection]
<greenerworld[m]> btw will it take too long to build if I switch to `-small` channel?
<greenerworld[m]> any way to reduce build times on nix?
<li_matrix> has anyone ever written nix-to-protobuf code?
Ralith_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c89b2de425d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
justanotheruser has joined #nixos
abathur has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 250 seconds]
Myhlamaeus has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
mjrosenb has quit [Ping timeout: 245 seconds]
palo1 has joined #nixos
hiroshi has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
Glider_IRC__ has joined #nixos
justanotheruser has joined #nixos
Glider_IRC_ has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 248 seconds]
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 248 seconds]
mexisme has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @booxter opened pull request #61984 → turses: switch back to python 3.7 → https://git.io/fjBgq
Myhlamaeus has quit [Ping timeout: 248 seconds]
kvda has quit [Client Quit]
max4 has joined #nixos
<dminuoso> [pid 14595] execve("/usr/bin/lpr", ["/usr/bin/lpr", "-PASchaper", "-JJava Printing", "/tmp/javaprint577637815172950977"...], 0x7f18bc1b8820 /* 68 vars */) = -1 ENOENT (No such file or directory)
* dminuoso sighs, so nix can be exhausting, having to fix around programs with so many hardcoded assumptions about where files are located. :(
esmerelda has quit [Ping timeout: 246 seconds]
dansho has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
hyper_ch2 has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
kvda has joined #nixos
schjetne has joined #nixos
esmerelda has joined #nixos
schjetne has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has joined #nixos
wfranzini has joined #nixos
sellout-1 has quit [Read error: Connection timed out]
sigmundv has joined #nixos
<alexarice[m]> Are the docs in https://github.com/NixOS/nixpkgs/tree/master/doc hosted somewhere?
<emilsp> so, with ZoL hitting a very stable 0.8, will that be included in the current stable release for nixos anytime soon? :)
cfricke has joined #nixos
<alexarice[m]> etu: thanks, turns out I was being blind and the section i was looking for was there
<etu> alexarice[m]: No worries :)
srl295 has quit [Quit: Connection closed for inactivity]
kvda has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/0ab85f4d872 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
lambda-11235 has quit [Quit: Bye]
schjetne has joined #nixos
ottidmes has joined #nixos
max4 has quit [Ping timeout: 272 seconds]
max4 has joined #nixos
orbekk has quit [Ping timeout: 248 seconds]
orbekk has joined #nixos
hmpffff has joined #nixos
hmpffff has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61985 → rdma-core: 23 -> 23.1 → https://git.io/fjB2K
kvda has joined #nixos
toppler`` has quit [Ping timeout: 272 seconds]
max4 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61986 → redis: 5.0.4 -> 5.0.5 → https://git.io/fjB2X
toppler`` has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
alter-schjetne has joined #nixos
bpierre has quit [Ping timeout: 252 seconds]
kvda has quit [Client Quit]
v0d1ch has quit [Ping timeout: 276 seconds]
noonien has quit [Read error: Connection reset by peer]
NemesisD has quit [Ping timeout: 276 seconds]
ajmcmiddlin has quit [Read error: Connection reset by peer]
hoek has quit [Ping timeout: 252 seconds]
schjetne has quit [Ping timeout: 248 seconds]
dongcarl has quit [Ping timeout: 276 seconds]
kalbasit has quit [Ping timeout: 276 seconds]
coot has quit [Ping timeout: 276 seconds]
jw358 has quit [Ping timeout: 252 seconds]
gonz_ has quit [Read error: Connection reset by peer]
alunduil has quit [Ping timeout: 252 seconds]
sdier has quit [Ping timeout: 276 seconds]
pasukon has quit [Ping timeout: 252 seconds]
<kuznero[m]> <genesis "homepage "" your uri"> I think I have specified the homepage of the VNote project itself.
c00w has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
georgew has quit [Ping timeout: 245 seconds]
teehemkay has quit [Ping timeout: 252 seconds]
tazjin has quit [Ping timeout: 252 seconds]
oharvey has quit [Ping timeout: 252 seconds]
pasukon has joined #nixos
c00w has joined #nixos
jw358 has joined #nixos
sdier has joined #nixos
v0d1ch has joined #nixos
tazjin has joined #nixos
teehemkay has joined #nixos
oharvey has joined #nixos
NemesisD has joined #nixos
georgew has joined #nixos
kalbasit has joined #nixos
bpierre has joined #nixos
alunduil has joined #nixos
coot has joined #nixos
noonien has joined #nixos
gonz_ has joined #nixos
ajmcmiddlin has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #61987 → ocaml-ng.ocamlPackages_4_08.ocaml: 4.08.0+beta3 -> 4.08.0+rc1 → https://git.io/fjBae
Acou_Bass has quit [Ping timeout: 252 seconds]
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @teh opened pull request #61988 → clickhouse: 18.16.1 -> 19.6.2.11 → https://git.io/fjBaJ
lostman has joined #nixos
<kuznero[m]> <genesis "i mean qt5.callPackage"> And it seems that it is only Telegram and some Git-Tools that uses this approach (in `/pkgs/applications`). Everything else is not. Does it then really make sense for me to do it? What is the strategy going forward?
hoek has joined #nixos
alp has joined #nixos
<lostman> Got a question about switching kernels. It's easy enough to do `boot.kernelPackages = pkgs.liuxPackages_5_1` but that only switches the kernel and not headers. So the system ends up with 5.1 kernel but 4.1.19 headers. That can't be good? It's possible to switch linuxHeaders but it's less straightforward. It also requires re-building almost everything
<lostman> headers -> glibc -> lots of stuff. So what is the best practice here? Don't switch the kernel? Ignore the headers mismatch?
Acou_Bass has joined #nixos
goibhniu1 has joined #nixos
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61989 → roccat-tools: 5.8.0 -> 5.9.0 → https://git.io/fjBas
ajmcmiddlin has quit [Ping timeout: 252 seconds]
ajmcmiddlin has joined #nixos
nix-build has joined #nixos
{^_^} is now known as Guest7513
buffet_ is now known as buffet
georgew has quit [Ping timeout: 250 seconds]
<nix-build> [nixpkgs] @akru opened pull request #61990 → cjdns: 20.2 -> 20.3 → https://git.io/fjBaW
Musk_Satoshi has quit [Ping timeout: 248 seconds]
Guest7513 has quit [Ping timeout: 252 seconds]
duoi has quit [Ping timeout: 252 seconds]
feepo has quit [Ping timeout: 250 seconds]
Elon_Nakamoto has joined #nixos
mankyKitty has quit [Ping timeout: 248 seconds]
georgew has joined #nixos
p_l has quit [Ping timeout: 248 seconds]
nand0p has quit [Ping timeout: 252 seconds]
noonien has quit [Ping timeout: 250 seconds]
mankyKitty has joined #nixos
feepo has joined #nixos
noonien has joined #nixos
johnny101 has quit [Remote host closed the connection]
sdier has quit [Ping timeout: 252 seconds]
johnny101 has joined #nixos
sppky has quit [Ping timeout: 250 seconds]
p_l has joined #nixos
newhoggy has quit [Ping timeout: 248 seconds]
lockshaw has quit [Ping timeout: 252 seconds]
lockshaw_ has joined #nixos
gausby_ has quit [Ping timeout: 248 seconds]
sdier has joined #nixos
cbarrett has quit [Ping timeout: 250 seconds]
sppky has joined #nixos
rotaerk has quit [Ping timeout: 252 seconds]
newhoggy has joined #nixos
nand0p has joined #nixos
rotaerk has joined #nixos
<rauno> Heya
duoi has joined #nixos
<rauno> When defining a service ExecStart, how to avoid quote stripping ?
teehemkay has quit [Ping timeout: 252 seconds]
nix-build has quit [Ping timeout: 252 seconds]
<rauno> for example ".... --param='${cfg.paramval}'..." then these single quotes get stripped
gausby_ has joined #nixos
cbarrett has joined #nixos
jchw has quit [Ping timeout: 252 seconds]
teehemkay has joined #nixos
<bricewge> Similar question to rauno , how to escape `${STATE_DIRECTORY:-/var/lib/monitor-crontab}` from the nix interpretor in systemd.services.<name>.script?
<tilpner> Escaping differs based on whether you're escaping in a "string" or a ''string''
jchw has joined #nixos
<tilpner> It's "\${foo}" and ''''${foo}''
nh2 has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 244 seconds]
<bricewge> Hum that's confusing...
<bricewge> I tired both they didn't worked.
pie_ has quit [Ping timeout: 252 seconds]
<tilpner> Then you need to paste your Nix file and error
nh2 has joined #nixos
<rauno> hum, i'll give few tries :P
<bricewge> Here is part of my file: https://0x0.st/zaHK.nix
<bricewge> I try to to acces $STATE_DIRECTORY from bash not nix.
<tilpner> Yes, so checksum_path=''${STATE_DIRECTORY:-/var/lib/monitor-crontab}/checksum
wucke13 has joined #nixos
<wucke13> Trying to install nix on centos 7, I get an error: https://pastebin.com/vTQiSyaX
esmerelda has quit [Ping timeout: 258 seconds]
<bricewge> tilpner: Thanks! I thought it was " bu it's actually ' 2 times.
esmerelda has joined #nixos
<tilpner> bricewge: Ahh, your font might make that hard to see
mkoenig has joined #nixos
<rauno> tilpner, quess my case is abit different
<tilpner> wucke13: zgrep USER_NS /proc/config.gz
<rauno> tried with as much as possible single quotes but still all of them are stripped
<tilpner> wucke13: If that says =n, you don't have user namespaces, which are required for an enabled-by-default feature in Nix (build sandboxing)
<tilpner> rauno: Paste Nix expression and systemctl cat output
<wucke13> tilpner: gzip: `/proc/config.gz: No such file or directory`
hellrazor has joined #nixos
<tilpner> wucke13: Well, then you have to figure out whether user namespaces are supported on your own
<rauno> ExecStart = "${pkgs.pixiecore}/bin/pixiecore boot ${cfg.kernel} ${cfg.initrd} ${optionalString (cfg.cmdLine != "") "--cmdline='${cfg.cmdLine}'"}
<rauno> this cmdLine might have spaces inside so it should stay quoted inside service but it doesnt
<tilpner> I agree
<tilpner> What's the ExecStart line from systemctl cat?
<wucke13> tilpner: that was it. `echo 10000 > /proc/sys/user/max_user_namespaces` fixed it :)
eliasp_ is now known as eliasp
<rauno> ahaa, its correct..
<rauno> but in systemctl status its wrong
<li_matrix> lostman: the kernel expression is used for header files
<li_matrix> otherwise nobody could override the kernel version
mexisme has joined #nixos
Jetien_ has joined #nixos
<li_matrix> giving steady headers to glibc, like you said, avoids rebuilding a world for every kernel. I doubt it needs bleeding edge functionality from the kernel
hoijui has joined #nixos
Makaveli7 has joined #nixos
leothrix has quit [Remote host closed the connection]
<DigitalKiwi> how can i use a znc module that isn't in nixpkgs? (I added it to the znc modules in nixpkgs so can PR it later but I can't get znc to see it to test...)
leothrix has joined #nixos
ubert has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<genesis> kuznero[m] : make as you wish, fix the others things i told you, i'm sure of that.
<kuznero[m]> genesis: should all be done by now
reinhardt has joined #nixos
<genesis> kuznero[m] : have you try without your configurePhase
<genesis> and if it doesn't find VNote.pro, use cmakeflags
<kuznero[m]> You mean move `qmake` to the `installPhase`?
<kuznero[m]> Why? Does it add some overhead?
<genesis> no i mean let nixos do the cmake
<kuznero[m]> I saw some other packages do `qmake` in `configPhase` also
<kuznero[m]> Ah
<genesis> ho i see another missing
<kuznero[m]> Will need to try that
<genesis> nativeBuildInputs = [ cmake ];
ottidmes has quit [Quit: WeeChat 2.4]
<kuznero[m]> Interesting, how did it work without it before?
ottidmes has joined #nixos
<genesis> because you call it explicitly i guess
<ottidmes> Is there already existing code in nixpkgs (e.g. lib) where you can supply a list of functions and it each function either returns a value or continues with the next function in the list?
<genesis> and btw it's not configphase but buildphase
<genesis> oh i donno know, since it produces the makefile ... btw try like i said.
<genesis> kuznero[m] : dont forget to "" the homepage uri
<kuznero[m]> genesis: I thought that urls are coming without quotes...
<genesis> new requirement sorry
<kuznero[m]> np
<genesis> kuznero[m] you can also use mkdir -p $out/{bin,applications,icons/hicolor/scalable/apps}
justanotheruser has joined #nixos
<genesis> but i let that for the moment, there is more important to have the perfect derivation a first time.
<ottidmes> genesis: what is this about a new requirement about quoting homepage URIs? I was always told to remove them if possible, or is this not some general rule and I am simply missing the context of your conversation?
<genesis> strings has to be double quotes now
<ottidmes> genesis: the documentation still clearly states under strings (i.e. they are valid strings as well) "Finally, as a convenience, URIs as defined in appendix B of RFC 2396 can be written as is, without quotes. For instance, the string "http://example.org/foo.tar.bz2" can also be written as http://example.org/foo.tar.bz2.";
hoijui has quit [Ping timeout: 250 seconds]
<genesis> i don't invent, wait more confident people for you confirms.
<ottidmes> ok
m0rphism has joined #nixos
<genesis> infinisil ? RFC or not ?
<DigitalKiwi> oh hey ottidmes i had a question about your answer earlier (which i was able to make work in a way) how can i give the builder access to a file it doesn't normally have permission to access? right now i copy it to tmp and change the permissions and add the path to the extra-sandbox-paths...all of which seems less than ideal
dansho has quit [Ping timeout: 258 seconds]
pie_ has joined #nixos
<kuznero[m]> genesis: how about this for the `installPhase`: https://pastebin.com/ydAeecaX
dansho has joined #nixos
<genesis> kuznero[m] : seems better yes.
<genesis> kuznero[m] ; but you should runHook pre and post
<genesis> runHook preInstall and runHook postInstall
<genesis> since you're overriding the installPhase, they are not called, and it's not straighforward, but better to call them if you don't know why you're not.
<kuznero[m]> genesis: could you please elaborate on hooks - I don't remember using it at all before
tilpner has quit [Quit: WeeChat 2.4]
<kuznero[m]> What is the default on those hooks?
<genesis> there is phase , when you write explicit installPhase, the default are discard,
<genesis> pre and post also, in post there can be automagically things like patchelf etc
<kuznero[m]> I see, thanks. And to recap: 1) I need to remove `configPhase`, 2) I test if it works without `configPhase` with native dep to cmake, if not - put it back to `configPhase`, right?
tilpner has joined #nixos
<genesis> kuznero[m] qmakeFlags = "VNote.pro";
<genesis> s/cmake/qmake sorry
<kuznero[m]> genesis: ah, that is exactly what was missing in my head
<kuznero[m]> thanks
<pie_> lostman, im curious about the answer as well, though my guess is just that youre gonna have to rebuild
<genesis> kuznero[m] : yes it makes sens since you stil use qtfull in the build, it find it but if you put qmake in native , i'm quite sure you could use just qtbase
<kuznero[m]> `cmakeFlags = [ "VNote.pr" ];`
<genesis> qmakeFlags
jmeredith has quit [Quit: Connection closed for inactivity]
<kuznero[m]> `qmakeFlags = [ "VNote.pro" ];` fixed
xelxebar has quit [Remote host closed the connection]
<kuznero[m]> So, I remove `configPhase`, added `qmakeFlags` and is still running with `installPhase`. Should I now need to add pre/post-hooks?
<genesis> yes
<pie_> yorick, if i want to get some stuff on a remote machine and have a callable executable, is nix-copy-closure + nix-env -i the way to do it?
xelxebar has joined #nixos
<kuznero[m]> genesis: here is an updated pastebin: https://pastebin.com/c9n3Ag7g
<pie_> yorick, i dont understand how the -i would be able to find the package though, and what if there's multiple versions? ideally id want to "install" the specific closure i just copie
<kuznero[m]> @genesis: What is it exactly I need to put into pre-post hooks? Parts of what I already have in `installPhase`? Or there is something else too?
<genesis> not cmake , qmake
<genesis> replace all , hum look pkgs/applications/science/logic/aspino/default.nix
<kuznero[m]> Ah, sorry, fixing
<genesis> i see new things :)
<kuznero[m]> genesis: if I put dependency to `qmake` I get this: error: anonymous function at /home/ba7196/Projects/kuznero/nixpkgs/pkgs/applications/office/vnote/default.nix:1:1 called without required argument 'qmake', at /home/ba7196/Projects/kuznero/nixpkgs/lib/customisation.nix:69:12
<genesis> kuznero[m] : fix your rev to "v${version}"
hoijui has joined #nixos
<kuznero[m]> genesis: https://pastebin.com/C4rby6qu
<genesis> yes i don't find it sinces you doesn't want to qt5 callpackage
<genesis> so you need to precise qt5.qmake
knupfer has joined #nixos
<genesis> and qt5.qtbase
<genesis> look pkgs/development/libraries/qoauth/default.nix
<genesis> and have qt5 in the requirement
<kuznero[m]> instead of qt5Full?
<kuznero[m]> I see now, trying
<kuznero[m]> What do you mean "in the requirement"?
<genesis> first line
<kuznero[m]> yep, it is already there
<kuznero[m]> genesis: it seems that `qmakeFlags` worked out. Building now. (Still no pre/post-hooks though)
<genesis> do you understand why nativebuildinput should have the tool to build since buildInputs the runtime dependancies ?
<kuznero[m]> Yep, had this understanding
mexisme has quit [Ping timeout: 272 seconds]
<kuznero[m]> genesis: updated version: https://pastebin.com/aBzSump5. Hopefully, after tested I could look into pre/post-hooks
<genesis> and try with qt5.qtbase instead of qt5.full plz
<genesis> i don't think your package require qtserial designer and stuff.
<kuznero[m]> ok, will do. One thing though - it seems that it is choosing wrong pro file for qmake for some reason
dansho_ has joined #nixos
dansho has quit [Read error: Connection reset by peer]
hoijui has quit [Quit: Leaving]
<genesis> kuznero[m] : test without any qmakeclags.
<genesis> there is only one pro file in the root directory, it should find it.
knupfer has quit [Ping timeout: 250 seconds]
__monty__ has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
<kuznero[m]> `Project ERROR: Unknown module(s) in QT: webenginewidgets webchannel svg`
<kuznero[m]> I guess I will have to fallback to `qt5.full`?
<genesis> no
Makaveli7 has quit [Ping timeout: 250 seconds]
<genesis> you can add webenginewidget
knupfer has joined #nixos
<genesis> qt5.qtwebengine
<kuznero[m]> ok, testing
Lears has quit [Ping timeout: 244 seconds]
Lears has joined #nixos
dansho_ has quit [Read error: Connection reset by peer]
dansho has joined #nixos
civodul has joined #nixos
Soo_Slow has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
knupfer has quit [Ping timeout: 268 seconds]
nD5Xjz has joined #nixos
Zer0xp has joined #nixos
<Zer0xp> Hey. Does anyone here know how to install Spotify on NixOS ?
<ivan> perhaps nix-env -iA spotify
<lassulus> NIXPKGS_ALLOW_UNFREE=1 nix-env -iA spotify
<ivan> ah right
<Zer0xp> The .deb file is available for download on their website.
<Zer0xp> That package isn't available in the nixpkgs repo
<ivan> I've got
<ivan> alias nix-env='NIXPKGS_ALLOW_UNFREE=1 nix-env'
<ivan> alias nix-build='NIXPKGS_ALLOW_UNFREE=1 nix-build'
<lassulus> living in an unfree world /o\ :D
<Zer0xp> let me try it, i'll get back to you
<Zer0xp> lol
slyfox has quit [Ping timeout: 272 seconds]
jomik has joined #nixos
<jomik> Hey. Is there a super simple way of adding programs to the path of a package? I use home-manager to configure Neovim, and I would like Neovim to have some packages in its path. So I am looking for a sort of `wrap package add to path` expression.
<ottidmes> jomik: wrapProgram should do this for you
<jomik> Isn't that a script? then I need to add to postFixup? ottidmes
<genesis> seems to be a good place to look at overlay ?
<ottidmes> jomik: it results in a script, yes, just search nixpkgs for "--prefix PATH"
slyfox has joined #nixos
<jomik> Sorry, I mean `wrapProgram` is not a nix expression but a sh script, right?
<Zer0xp> Hey I suppose it worked, thanks guys.
Zer0xp has quit [Quit: Page closed]
<ottidmes> Zer0xp: I am on NixOS and am listing Spotify at the moment, I just always use: https://open.spotify.com
<ottidmes> jomik: yes
<jomik> So I need to overrideAttrs and then append to postFixup with a `--prefix PATH : ${makeBinPath}`, I suppose.
<jomik> Thanks. I just wondered if there was a convienience nix expression in `lib` to do that for me :P
zupo has joined #nixos
jomik has quit [Quit: WeeChat 2.4]
ng0 has joined #nixos
<kuznero[m]> genesis: it seems `qt5.qtbase` as well as `qt5.qtwebengine` was enough ;)
<infinisil> ivan: Well it would be simpler just to put { allowUnfree = true; } in ~/.config/nixpkgs/config.nix
lostman has quit [Quit: Connection closed for inactivity]
<infinisil> This effects all commands then
<kuznero[m]> genesis: I think almost everything is in place now except pre/post-hooks. Do you have an example of what you want me to do there? Or is it just bits from `installPhase` to get there?
pukkamustard_ is now known as pukkamustard
<genesis> kuznero[m] look here ... pkgs/development/compilers/coreclr/default.nix
<genesis> since you're the maintainer , you've to understand.
<kuznero[m]> Agree, and I think I got what you meant. Will fix and push.
<kuznero[m]> coincidentally, I am marked as maintainer for coreclr too ;)
<kuznero[m]> Though it was very long time ago
ThatDocsLady has joined #nixos
<genesis> not coincidentally, i rg'ed that .
<genesis> to verify you're in maintainer list.
jomik has joined #nixos
<jomik> Damn, wish I could just add to this binPath here https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/neovim/wrapper.nix#L55 ... It sucks having to build neovim just because I want to wrap the resulting bin :D
<genesis> don't try to package MAME :)
gchristensen has joined #nixos
Makaveli7 has joined #nixos
init_6 has joined #nixos
jomik has quit [Quit: WeeChat 2.4]
hmpffff has quit [Quit: nchrrrr…]
acarrico has joined #nixos
samrose_ has quit [Ping timeout: 258 seconds]
infinii has quit [Quit: WeeChat 2.3]
logzet has joined #nixos
toppler`` has quit [Ping timeout: 248 seconds]
<kuznero[m]> genesis: I pushed all the changes to the PR, please review
<pie_> yorick, forgot to say that i figured out nix-env -i apparently *does* accept store paths
<pie_> can nix configure systemd services on non-nixos systems?
toppler`` has joined #nixos
<andi-> you can render systemd units with nix.. how they end up in the right location is usually not the concern of Nix.
Glider_IRC_ has joined #nixos
<pie_> makes sense
<pie_> how would i do the former?
<andi-> pkgs.writeText :)
<andi-> not sure if you can reuse some of the nixos code
<pie_> i thought you meant i could get something to generate the the service config and then just copy that somewhere mysel
<pie_> the question being how to do the former. can probably do the latter with an activation script or something
Glider_IRC__ has quit [Ping timeout: 248 seconds]
<andi-> I am sure it has been done before but I do not recall where I saw it.
<cocreature> I added "{ allowBroken = true; }" to ~/.config/nixpkgs/config.nix but it doesn’t seem to apply to my nix-shell invocation. any ideas what I might be doing wrong?
esmerelda has quit [Ping timeout: 250 seconds]
romildo has joined #nixos
<cocreature> oh does it not apply if nixpkgs is pinned because I need to pass the config argument manually in that case?
<infinisil> cocreature: Indeed
<infinisil> Eh
<gchristensen> I made an experimental module called `learn` https://github.com/grahamc/network/commit/9bf9103cece7d1cc41c685a46abf392bb3dbd90e#diff-7ffc8d28e74063dc908bc692ff8143dc which creates a file at /run/about.json, which is sync'd back to my nixops deploy host to learn some details about the remote. like, ssh host keys: https://github.com/grahamc/network/commit/9bf9103cece7d1cc41c685a46abf392bb3dbd90e#diff-d0ffa6f93e0c544727d955c8f0ba8bfdL208
<infinisil> Hm i thought that should work too actually
<cocreature> infinisil: adding it to config seems to have worked, thanks!
<romildo> How are nix expressions like `gnome3`, `lxqt`, `mate`, `xorg`, `pythonPackages`, `ocamlPackages`, be called? meta packages? They contain attributes for other packages.
<infinisil> gchristensen: Neat, so combined with automatic key generation on hosts, this solves the key distribution problem?
<ottidmes> romildo: package sets?
<pie_> andi-, any idea where the config.systemd processing code might be?
esmerelda has joined #nixos
<ottidmes> romildo: seems to be the jargon, e.g.: https://nixos.org/nixpkgs/manual/#updating-the-package-set
<gchristensen> infinisil: kind of crappily, but yeah
Maxdamantus has quit [Ping timeout: 244 seconds]
shreyansh_k has quit [Ping timeout: 245 seconds]
thommey has quit [Ping timeout: 245 seconds]
kyren has quit [Remote host closed the connection]
shreyansh_k has joined #nixos
megfault has quit [Ping timeout: 245 seconds]
megfault has joined #nixos
oleks_ has quit [Quit: leaving]
oleks has joined #nixos
Maxdamantus has joined #nixos
siel has quit [Ping timeout: 252 seconds]
kyren has joined #nixos
thommey has joined #nixos
<hyper_ch2> did I hear "wireguard"? :)
mexisme has joined #nixos
<pie_> also I dont suppose nix-env can do activation scripts?
<gchristensen> no
mexisme has quit [Ping timeout: 245 seconds]
siel has joined #nixos
<pie_> aw :(
<pie_> any reason why not?
romildo has quit [Quit: Leaving]
<gchristensen> Nix doesn't "do" stuff
<pie_> i guess. so what would be the nixos-rebuild equivalent for a suer?
<pie_> user
<yorick> pie_: I know about that
q3k has quit [Ping timeout: 252 seconds]
<petercommand> pie_: like, systemd service activation?
<pie_> petercommand, no like nixos activation scripts
<gchristensen> what for?
<pie_> (yorick,) current idea is to try to do deployment via nix copy and (nix-env -i) or (add a systemd user service)
<pie_> trying to figure out the latter
<yorick> pie_: nix-env -i can add store paths, yes :P
<pie_> yorick, yeah i figured that out. doesnt get me to actually running the service though :C , worst case i jsut ssh in and start it
q3k has joined #nixos
ym555 has joined #nixos
lunik18 is now known as lunik1
<infinisil> Well.. https://github.com/infinisil/nix-rts <gchristensen> Nix doesn't "do" stuff
<gchristensen> dangit infinisil
<aanderse> every time i see that link i get disappointed... because i think infinisil wrote either a rts game with a story line based on nix, or an rts in the nix language
<pie_> aanderse, aww :
<pie_> :(
<infinisil> Hehe
<yorick> pie_: our secret sauce is nix-store -r to a symlink, then nixos-rebuild switch
ItsMarlin has quit [Quit: Quit]
<pie_> yorick, i cant rebuild switch because its debian + nix
ItsMarlin has joined #nixos
<yorick> pie_: well don't do that
<gchristensen> how about home-manager
<pie_> yorick, you have me thinking about it but im not sure i could encroach upon the ecosystem that much more
<pie_> guess ill just use a script or something to add the service
<gchristensen> does home-manager do what you want?
<pie_> now if only i could figure out how the module system generates a service
<pie_> gchristensen, not sure, ive only ever used it through configuration.nxi
justanotheruser has quit [Ping timeout: 258 seconds]
q3k has quit [Ping timeout: 248 seconds]
silver has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
<infinisil> > nixos.config.systemd.units."nscd.service"
<infinisil> pie_: ^
<infinisil> RIP {^_^}
q3k has joined #nixos
<gchristensen> what happened, buddy
q3k has quit [Client Quit]
<ar> {^_^} changed its name 4.5 hours ago
{^_^} has joined #nixos
q3k has joined #nixos
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<gchristensen> > nixos.config.systemd.units."nscd.service"
<{^_^}> { _module = <CODE>; aliases = <CODE>; enable = <CODE>; requiredBy = <CODE>; text = <CODE>; unit = <CODE>; wantedBy = <CODE>; }
mjrosenb has joined #nixos
<infinisil> > nixos.config.systemd.units."nscd.service".unit
<{^_^}> "<derivation /nix/store/j671yar0cy31aqly7sf3yifdzp3r75fm-unit-nscd.service.drv>"
sb0 has joined #nixos
<pie_> gchristensen, unless im misunderstanding, thats an example of a config, but I mean I want to be able to get a config file in a...like..normal nix expression
<ottidmes> genesis: thanks for linking to the RFC! (only just now saw your response)
<infinisil> > nixos.config.systemd.units."nscd.service".text # pie_
<{^_^}> "[Unit]\nDescription=Name Service Cache Daemon\nX-Restart-Triggers=/nix/store/qhpc92ip9017c47c6b4hw92svk29s03f-etc-hosts /nix/store/k6g9l73j39pszdwvrnwgw5vyxck9fkii-etc-nsswitch.conf /nix/store/z8p8gd...
<pie_> hm
justanotheruser has joined #nixos
<pie_> oh, i failed to parse. ok that looks promising
reinhardt has quit [Quit: Leaving]
<ottidmes> DigitalKiwi: about giving the builder access to a file, I assume this was about the adding of a SSH key and you do not want it to end up in /nix/store? I generally would then build something that when run does the actual building (e.g. generating a bash script) or would have the file being handles via a systemd service
<{^_^}> [nixpkgs] @Infinisil merged pull request #61948 → coqPackages: fix bignums and equations → https://git.io/fjB3E
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBKY
psyanticy has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62003 → syslogng: 3.20.1 -> 3.21.1 → https://git.io/fjBKZ
ItsMarlin has quit [Ping timeout: 245 seconds]
ItsMarlin has joined #nixos
o1lo01ol1o has joined #nixos
srid63 has quit [Ping timeout: 272 seconds]
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62004 → tautulli: 2.1.28 -> 2.1.29 → https://git.io/fjBKB
iyzsong has joined #nixos
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
srid63 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61930 → hanazono: 20141012 -> 20170904 → https://git.io/fjBJX
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBK6
Xal has quit [Ping timeout: 252 seconds]
otini has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #62005 → vimPlugins: update → https://git.io/fjBKD
Xal has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #62006 → postgresqlPackages.pg_auto_failover: init at 1.0.2 → https://git.io/fjBKb
<{^_^}> [nixpkgs] @Infinisil merged pull request #61938 → Expose makeLinuxHeaders function from nixos/kernel-headers → https://git.io/fjBIr
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBKA
<{^_^}> [nixpkgs] @timokau opened pull request #62007 → home-manager: 2019-04-23 -> 2019-05-24 → https://git.io/fjBKx
Makaveli7 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @Infinisil merged pull request #61934 → cocoapods: define updateScript → https://git.io/fjBU0
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBKh
knupfer has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #61997 → stacks: 2.3e -> 2.4 → https://git.io/fjBrU
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjB6n
camsbury has joined #nixos
zupo has quit [Ping timeout: 248 seconds]
fpob has quit [Max SendQ exceeded]
fpob has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
basvandijk has joined #nixos
lunik1 has quit [Quit: Ping timeout (120 seconds)]
lunik1 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #61924 → shadowfox: 1.7.20 -> 2.0.1 → https://git.io/fjBfi
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjB6S
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61868 → openapi-generator-cli: 3.3.4 -> 4.0.0 → https://git.io/fj4Xb
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjB67
<{^_^}> [nixpkgs] @Infinisil merged pull request #61922 → ocamlPackages.{camlpdf,cpdf}: fix build → https://git.io/fjBfu
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjB6N
<pie_> infinisil, uhhh:
<pie_> nix-repl> nixos
<pie_> «lambda @ /nix/store/jh1l6hjicnd954bx4ccx6gvbrdmf5mgk-nixos-19.03.172604.7cd2e4ebe8c/nixos/pkgs/top-level/all-packages.nix:22662:11
<pie_> its a function...
<pie_> well, im not sure if thats the right thing; nix-repl> :a import <nixpkgs> {}
zupo has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @Ma27 merged pull request #59487 → weechat: install all outputs into the final store path → https://git.io/fjmo4
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjB6h
<pie_> > unsafeGetAttrPos "nixos" pkgs
<{^_^}> undefined variable 'unsafeGetAttrPos' at (string):254:1
<pie_> > builtins.unsafeGetAttrPos "nixos" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 23326; }
<pie_> well thats not necessarily the nixos in the bots scope but idk how to get "the current scope"
<pie_> damn builtins that only work on a specified object :P
<{^_^}> [nixpkgs] @basvandijk merged pull request #61633 → elasticsearch-curator: 5.6.0 -> 5.7.6 & upgrades of dependencies (based on staging) → https://git.io/fj8qR
<{^_^}> [nixpkgs] @basvandijk pushed 9 commits to staging: https://git.io/fjBit
<pie_> oook so i need to pass a configuration to that function. makes sense I guess
<infinisil> > :v nixos
<{^_^}> nixos = import <nixpkgs/nixos> { configuration = nixosConfigBase; }
<infinisil> It's a convenient attribute in nixbot's scope to show nixos stuff
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3efdf45dbd1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<gchristensen> <3 infinisil
<{^_^}> infinisil's karma got increased to 101
<{^_^}> [nixpkgs] @erictapen opened pull request #62008 → opensc: add patch for CVE-2019-6502 → https://git.io/fjBiG
<{^_^}> [nixpkgs] @veprbl merged pull request #61973 → addOpenGLRunpath: only apply to ELF files → https://git.io/fjB4S
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjBil
waleee has joined #nixos
ItsMarlin has quit [Ping timeout: 272 seconds]
<bricewge> How can I override part of a module config without editing it directly?
<worldofpeace> FRidh: perhaps this will fix libical, https://gist.github.com/worldofpeace/7e0ee9349e116a3c033c91316896039a
ItsMarlin has joined #nixos
tput has joined #nixos
<infinisil> bricewge: Unfortunately not really possible without assigning the whole thing
<{^_^}> [nixpkgs] @Infinisil merged pull request #61925 → xterm: 344 -> 345 → https://git.io/fjBfP
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBig
jmeredith has joined #nixos
<bricewge> Arf, I'll go that way then. Thanks.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f7640e352a5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> bricewge: A PR that makes this configurable would be awesome :D
selfsymmetric-pa has quit [Remote host closed the connection]
<bricewge> infinisil: Okay, I will do it.
<bricewge> infinisil: BTW if you have time can you finish your review at https://github.com/NixOS/nixpkgs/pull/58552?
<{^_^}> #58552 (by bricewge, 7 weeks ago, open): nixos/deluge: add autFile, config and port options
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> bricewge: Ah yeah sorry
<bricewge> No problem, thank you for your time.
ItsMarlin has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #61926 → curl: 7.64.0 -> 7.65.0 → https://git.io/fjBfX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to staging: https://git.io/fjBiX
<{^_^}> [nixpkgs] @timokau merged pull request #62005 → vimPlugins: update → https://git.io/fjBKD
<{^_^}> [nixpkgs] @timokau pushed to master « vimPlugins: update (#62005) »: https://git.io/fjBi9
Ariakenom has quit [Quit: Leaving]
coconnor has quit [Ping timeout: 272 seconds]
<pie_> > :v nixosConfigBase
<{^_^}> nixosConfigBase = { boot.loader.grub.device = "nodev"; fileSystems."/".device = "x"; imports = [ nixosConfig ]; }
<pie_> > :v nixosConfig
<{^_^}> nixosConfig = { config, lib, ... }: { config.fileSystems."/foo".options = lib.mkIf (config.fileSystems ? "/foo") [ "foo" ]; }
<pie_> infinisil, did you write :v? or is it in master or something
<pie_> i want this
<infinisil> It's a nixbot exclusive :)
<pie_> damnit
<infinisil> But it's got nothing to do with nix repl
<infinisil> It's a totally separate implementation
<infinisil> > fortune
<{^_^}> "Whom computers would destroy, they must first drive mad."
<pie_> :help doesnt work, so idk how to list commands
<pie_> the "dump the definition of this thing" seems pretty useful though :/
<infinisil> Yeah very much
* pie_ nags infinisil to get something like it upstream
<infinisil> It's like a go-to-definition actually
Yakulu has joined #nixos
<pie_> also my pkgs.nixos {...} doesnt have a .systemd ... it does have a .units though '>_>
<infinisil> Not sure about pkgs.nixos
ottidmes has quit [Quit: WeeChat 2.4]
<infinisil> Ah yeah pkgs.nixos only outputs config.system.build
<pie_> wait so then whats..
<infinisil> So you can't access config.systemd.units
<infinisil> The nixos in the bot is something different than pkgs.nixos :P
<infinisil> Unfortunate naming conflict
<pie_> its apparently nixpkgs/nixps
o1lo01ol1o has joined #nixos
<{^_^}> #32422 (by roberth, 1 year ago, merged): Add pkgs.nixos function
<pie_> this is what i get for not being a guru in how the config stuff works
<infinisil> pie_: You really just need `(import <nixpkgs/nixos> {}).config.systemd.units
o1lo01ol_ has joined #nixos
<pie_> infinisil, and i need to pass a configuration to it
<infinisil> This form implicitly uses /etc/nixos/configuration.nix
<pie_> man nixos is cool but just...so much confusion ugh
<infinisil> But you can pass one like `import <nixpkgs/nixos> { configuration = { boot.loader.... }; }`
<pie_> right, going by the bot output above
init_6 has quit [Ping timeout: 248 seconds]
<roberth> pie_, infinisil: you can get config, options, whatever out of pkgs.nixos by adding a module that exposes those variables in config.system.build
<roberth> it's non-obvious :(
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62009 → texstudio: 2.12.14 -> 2.12.16 → https://git.io/fjBPJ
* pie_ 's brain twists into non-euclidean contortions
* roberth recommends the tardis monad as a vaccine
o1lo01ol_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<pie_> > let conf = { systemd.services.test = { description = "test"; serviceConfig = { ExecStart = "echo hi"; }; }; }; in (import <nixpkgs/nixos> { configuration = conf; }).config.systemd.units.test
<{^_^}> attribute 'test' missing, at (string):254:116
<pie_> what did I miss
Elon_Nakamoto has quit [Quit: So long, and thanks for all the fish! 2.4 Weechat is best Weechat]
<{^_^}> [nixpkgs] @timokau merged pull request #62007 → home-manager: 2019-04-23 -> 2019-05-24 → https://git.io/fjBKx
<{^_^}> [nixpkgs] @timokau pushed to master « home-manager: 2019-04-23 -> 2019-05-24 (#62007) »: https://git.io/fjBPT
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61848 → libdc1394: 2.2.5 -> 2.2.6 → https://git.io/fj4K6
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBPt
fendor has joined #nixos
Copenhagen_Bram has joined #nixos
<pie_> oh its test.service
iyzsong has quit [Ping timeout: 276 seconds]
acarrico has joined #nixos
<pie_> ok so that works, would be nice to just have access to this functionality from a systemd generator or something
Guest12684 has joined #nixos
bennofs has joined #nixos
<pie_> infinisil, uhh actually, without any channels configured <nixpkgs/nixos> is going to be a problem. I think maybe i can just do pkgs.path + stuff though
<infinisil> Every Nix user should have <nixpkgs> available, so that shouldn't be a problem
Guest12684 has quit [Client Quit]
dansho has quit [Quit: Leaving]
<pie_> err, right thats not a channel
* pie_ ponders
<pie_> ah, i was just getting a warning about "warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring" but yeah thats fine
<DigitalKiwi> how do i get znc to see plugin i added to test it?
gchriste1 has joined #nixos
gchriste1 is now known as grahamc
gchristensen has quit []
grahamc is now known as gchristensen
bennofs has quit [Ping timeout: 259 seconds]
eraserhd has quit [Ping timeout: 252 seconds]
eraserhd has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
Ariakenom has joined #nixos
sigmundv has quit [Ping timeout: 248 seconds]
<infinisil> Is there any up-to-date geoip database in nixpkgs?
<infinisil> I can only find geolite-legacy
<infinisil> ,locate GeoIP.dat
<{^_^}> Found in packages: openlierox, geolite-legacy
<infinisil> > openlierox.meta.description
<{^_^}> "Real-time game with Worms-like shooting"
<DigitalKiwi> or should I just do a PR and hope it gets in soon >.> (it builds fine did it like the other plugins)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61798 → aliza: 1.36.3 -> 1.48.10 → https://git.io/fj4n1
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBPb
Jackneilll has quit [Ping timeout: 272 seconds]
<ar> if anyone else on -unstable gets hit by firefox starting with an empty profile, go to about:profiles
o1lo01ol1o has joined #nixos
Jackneill has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62010 → uftp: 4.9.9 -> 4.9.11 → https://git.io/fjBXf
endformationage has joined #nixos
knupfer has joined #nixos
zebradil has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken builds »: https://git.io/fjBXt
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fjBXq
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjBXO
<{^_^}> [nixpkgs] @dhl opened pull request #62011 → aws-sam-cli: 0.14.2 -> 0.16.1 → https://git.io/fjBXZ
<zebradil> Hello here. I'm trying out nix package manager on Mac and I've got a question on how to setup powerline (it's python package). To make it run, I need to invoke powerline.zsh file from my .zshrc. How to get agnostic path to it? Is there a command to get store path of the latest version?
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fjBXW
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjBX4
ricekrispie has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
ricekrispie2 has quit [Ping timeout: 258 seconds]
apaul1729 has joined #nixos
ItsMarlin has joined #nixos
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
ubert has quit [Quit: Leaving]
mexisme has joined #nixos
Copenhagen_Bram has joined #nixos
ixxie has joined #nixos
erasmas has joined #nixos
<infinisil> zebradil: That would be "${pkgs.python3Packages.powerline}/share/zsh/site-contrib/powerline.zsh" in a Nix file
linarcx has joined #nixos
Thra11 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<zebradil> infinisil: is there a way to get it in shell? Something like "$(nix-env --store-path powerline)/.../powerline.zsh".
wfranzini has quit [Remote host closed the connection]
<infinisil> zebradil: Yup, "$(nix-build --no-out-link '<nixpkgs>' -A python3Packages.powerline)/.../powerline.zsh"
pie_ has quit [Ping timeout: 252 seconds]
<DigitalKiwi> infinisil: do you know about my znc question (I think I saw you'd done pull requests related to it)?
<zebradil> infinisil: Thanks a lot! :)
<infinisil> DigitalKiwi: Ah yeah I missed the question
<infinisil> DigitalKiwi: Have you added it to services.znc.modulePackages?
<{^_^}> [nixpkgs] @peti pushed 9 commits to master: https://git.io/fjBXy
basvandijk has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 272 seconds]
LogicAside has quit [Ping timeout: 246 seconds]
<DigitalKiwi> infinisil: I had not, and that fixed it! thank you!
<infinisil> :)
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<DigitalKiwi> if i just nix-env -i it will it find it? right now I have done this https://gist.github.com/Kiwi/c2b62a37a84acf02d79adcae75911581
<DigitalKiwi> I guess I could try...
<infinisil> DigitalKiwi: nix-env -i the new module?
LogicAside has joined #nixos
<infinisil> The NixOS znc module only makes exactly the znc modules available specified in modulePackages
toppler`` has joined #nixos
<DigitalKiwi> so right now in my configuration.nix I have basically duplicated the code that the zncModule uses to add it, but I also added it to nixpkgs, how do I make it use my version from nixpkgs since it's not upstream yet
<{^_^}> [nixpkgs] @kalbasit merged pull request #61967 → buildGoModule: pre-initialize module cache → https://git.io/fjBCi
<{^_^}> [nixpkgs] @kalbasit pushed commit from @johnchildren to master « buildGoModule: pre-initialize module cache (#61967) »: https://git.io/fjBX5
<DigitalKiwi> zncDerivation
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #61966 → qarte: 3.10.0+188 -> 4.6.0 → https://git.io/fjBcG
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBXb
Copenhagen_Bram has joined #nixos
<infinisil> DigitalKiwi: I see, if you just want to use a local nixpkgs for your NixOS, you can use `-I nixpkgs=/path/to/nixpkgs` for a transient change, or set `nix.nixPath = options.nix.nixPath.default ++ [ "nixpkgs=/path/to/nixpkgs" ]; }` and rebuild for a permanent change
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62013 → verilator: 4.012 -> 4.014 → https://git.io/fjB1f
<infinisil> DigitalKiwi: Note that you probably don't want to use master nixpkgs for this, but nixos-unstable + a cherry-pick of your change
<infinisil> or whatever channel you're already using
<DigitalKiwi> hehe yeah i just figured out the -I nixpkgs=
<DigitalKiwi> i usually do a checkout of whatever is here https://releases.nixos.org/nixos/unstable/nixos-19.09pre180443.4dd5c93998d
<DigitalKiwi> or rather the url that goes to there currently...
<infinisil> There's also #59990
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59990 (by basvandijk, 4 weeks ago, open): Support patching nixpkgs
coconnor has joined #nixos
<DigitalKiwi> is doing the checkout a right way to do it
<DigitalKiwi> (it's on the manual i think recommmendation for adding packages)
<infinisil> DigitalKiwi: You could do it with an overlay too actually
<DigitalKiwi> i've never done overlays and they look really confusing to me ;_;
ItsMarlin has quit [Ping timeout: 258 seconds]
ItsMarlin has joined #nixos
<infinisil> As in something like `self: super: { zncModules = super.zncModules // { inherit ((import (fetchTarball <nixpkgs version where your patch is in>) {}).zncModules) myModule; }; }`
<infinisil> They aren't easy to understand yeah
<infinisil> I recently saw the nixos wiki has a nice diagram on overlays: https://nixos.wiki/wiki/Overlays
<DigitalKiwi> (i'm actually really really bad at nix i only figure stuff out through brute force and tenacity and the wiki/manuals/blogs)
<DigitalKiwi> and many hours
<infinisil> I think we all do at the start :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62014 → vim-vint: 0.3.19 -> 0.3.20 → https://git.io/fjB1n
<DigitalKiwi> i've been using it full time since december! on 3+ computers (and in vms and a different computer for a good while before that)
<DigitalKiwi> at least i'm getting a bit better at it i think
<infinisil> Heh, well Nix and co. isn't the easiest to learn admittedly
<DigitalKiwi> anyway i'll do a PR later and get it upstream and for now I can progress
<DigitalKiwi> trying to replace my freebsd server with a nixos one and obviously i want to use a plugin that wasn't packaged yet :)
Alling has joined #nixos
<Alling> Hi channel! I'm trying to install NixOS on a NUC6i5SYK, but the bootable USB doesn't even get past Stage 1.
<Alling> First: squashfs: SQUASHFS error: unable to read id index table
IRCsum has quit [Ping timeout: 248 seconds]
<gchristensen> did you check the hash of the ISO you downloaded?
<Alling> Then: mount: mounting /dev/loop0 on /mnt-root/nix/.ro-store failed: Invalid argument
<Alling> Then: An error occurred in stage 1 of the boot process, which must mount the root filesystem on /mnt-root and then start stage 2.
dftxbs3e has joined #nixos
IRCsum has joined #nixos
stranger___ has joined #nixos
<{^_^}> #57712 (by gnidorah, 9 weeks ago, open): jack module: init
<infinisil> stranger___: I'll take a look
zebradil has quit [Quit: Page closed]
ixxie has quit [Ping timeout: 272 seconds]
<markasoftware> my ~/.nix-defexpr has a symlink, `channels`, which ponits to a directorry with `nixos` in it. How come I can do `nix-env -iA nixos.hello` instead of `nix-env -iA channels.nixos.hello` ? Does it strip off the attribute name when there's only one subfolder of .nix-defexprs?
detran has quit [Ping timeout: 248 seconds]
lsyoyom has joined #nixos
detran has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62015 → vocal: 2.4.0 -> 2.4.1 → https://git.io/fjB1o
ddellacosta has joined #nixos
tput has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos
Myhlamaeus has joined #nixos
drakonis1 has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
acarrico has left #nixos [#nixos]
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
ItsMarlin has quit [Ping timeout: 248 seconds]
ItsMarlin has joined #nixos
Jetien_ has quit [Ping timeout: 252 seconds]
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 259 seconds]
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #62016 → wimlib: 1.13.0 -> 1.13.1 → https://git.io/fjBMU
<infinisil> markasoftware: Yeah I think it strips off everything except the last directory path component
Soo_Slow has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
srid63 has quit [Ping timeout: 248 seconds]
Glider_IRC__ has joined #nixos
MichaelRaskin has joined #nixos
Glider_IRC_ has quit [Ping timeout: 268 seconds]
knupfer has quit [Ping timeout: 250 seconds]
astal has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/c574f7805bb (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
astal has joined #nixos
hmpffff has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
hmpffff has quit [Quit: nchrrrr…]
srid63 has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #58702 → nixos/mysql: fix typing-induced bugs → https://git.io/fjIed
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjBMK
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #62017 → stdmanpages: Use correct fdl12Plus license → https://git.io/fjBMM
ddellacosta has quit [Ping timeout: 272 seconds]
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
<{^_^}> [nixpkgs] @dhruvio opened pull request #62018 → vim_configurable: build against gtk{2,3}-x11 instead of gtk{2,3} to fix builds on darwin → https://git.io/fjBMd
klntsky has joined #nixos
Guest55_ has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #62016 → wimlib: 1.13.0 -> 1.13.1 → https://git.io/fjBMU
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjBMp
<Guest55_> hello, I am looking for help regading nix install on macOS version 10.13.6
<Guest55_> all was well until this step:
<Guest55_> installing 'nss-cacert-3.42'
<Guest55_> building '/nix/store/gb9p61bci0k6032wv5q3dc3rcywbz016-user-environment.drv'...
<Guest55_> error: reading from file: Is a directory
<Guest55_> created 9 symlinks in user environment
<Guest55_> apologies if this is not a good place to ask for help
<infinisil> Guest55_: Can you paste the full log? Or at least the full end of it?
<infinisil> ,paste Guest55_
<{^_^}> Guest55_: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
waleee has quit [Quit: WeeChat 2.4]
<Guest55_> will do, one moment – thanks
ThatDocsLady_ has quit [Remote host closed the connection]
<dmj`> Is there a way to force nixops to do a build on the remote machine
<dmj`> the machine that is getting deployed ot
<dmj`> s/ot/to
<etu> RIP ptpb.pw -- best pastebin :(
freeman42x has joined #nixos
<Guest55_> I don't know why it decided to make the output coffeescript lol
<{^_^}> [nixpkgs] @ryantm merged pull request #62010 → uftp: 4.9.9 -> 4.9.11 → https://git.io/fjBXf
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjBDU
<Guest55_> I forgot to tag you infinisil
<infinisil> Hmm..
andromed1-galaxy is now known as andromeda-galaxy
<infinisil> Guest55_: What does `ls -laa ~/.nix-profile` output?
<infinisil> Guest55_: And `ls -laa ~/.nix-defexpr` as well
<Baughn> So, if I pass default to mkEnableOption... that does not actually set the default?
<infinisil> Baughn: mkEnableOption only takes the name as an argument. You'll have to use mkOption if you want to have a different default
<Baughn> Hmm. It accepted default, though b
<infinisil> Or actually you could do `mkEnableOption "foo" // { default = true; }`, but that's a bit ugly
<infinisil> Baughn: Huh, like `mkEnableOption { default = true; }`?
<Baughn> Yes.
<infinisil> Ah, it will probably throw an error when you try to build the manual
<infinisil> lazy evaluation and such
<Baughn> It did not.
<Baughn> Though I'm unsure if options defined inside of configuration.nix would make it into the manual...
<{^_^}> [nixpkgs] @fpletz merged pull request #58718 → nixos/sshd: validate ssh configs during build → https://git.io/fjIUP
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjBDl
ItsMarlin has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #62003 → syslogng: 3.20.1 -> 3.21.1 → https://git.io/fjBKZ
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « syslogng: 3.20.1 -> 3.21.1 »: https://git.io/fjBD8
_ris has joined #nixos
ItsMarlin has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #61133 → shairport-sync: set sysconfdir to /etc/ → https://git.io/fjcPb
<{^_^}> [nixpkgs] @fpletz pushed commit from @flokli to master « shairport-sync: set sysconfdir to /etc/ »: https://git.io/fjBDE
<jasom> Is there a simple way to locate the file in which a package is defined? I can find it reasonably quickly with some simple find/grep combinations but I want to make sure I'm not missing an easier way of doing it
<MichaelRaskin> nix edit maybe?
esmerelda has quit [Ping timeout: 258 seconds]
<infinisil> Baughn: Oh yeah, they won't by default
<MichaelRaskin> jasom: nix edit -f '<nixpkgs>' hello
<infinisil> Baughn: There is #56020 though
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56020 (by oxij, 13 weeks ago, merged): nixos: doc: include all modules in manual generation
<{^_^}> [nixpkgs] @fpletz merged pull request #51206 → xmonad service: add .config option → https://git.io/fpah4
is_null has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjBDw
erasmas has quit [Quit: leaving]
fusion809 has quit [Remote host closed the connection]
<infinisil> Guest55_: Hm I can't see anything obviously wrong. I suggest also asking your question in #nix-darwin
<Guest55_> ok thanks infinisil
asheshambasta_m has joined #nixos
<infinisil> > builtins.unsafeGetAttrPos "hello" pkgs # <- jasom: You could use this
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 18219; }
<infinisil> Although that doesn't get you the file itself
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62017 → stdmanpages: Use correct fdl12Plus license → https://git.io/fjBMM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjBDP
<infinisil> > pkgs.hello.meta.description # jasom: This does a better job at that
<{^_^}> "A program that produces a familiar, friendly greeting"
<infinisil> > pkgs.hello.meta.location # jasom: This does a better job at that
<{^_^}> attribute 'location' missing, at (string):254:1
<infinisil> > pkgs.hello.meta.position # jasom: This does a better job at that
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/misc/hello/default.nix:15"
<jasom> thanks MichaelRaskin infinisil
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62018 → vim_configurable: build against gtk{2,3}-x11 instead of gtk{2,3} to fix builds on darwin → https://git.io/fjBMd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjBDD
<infinisil> (and nix edit just uses meta.position)
<{^_^}> [nixpkgs] @FRidh merged pull request #61829 → briss: Use makeWrapper so it can take command-line args → https://git.io/fj4g8
<{^_^}> [nixpkgs] @FRidh pushed commit from @league to master « briss: Use makeWrapper so it can take command-line args »: https://git.io/fjBDQ
<{^_^}> [nixpkgs] @jlesquembre closed pull request #61103 → x265: 2.9 -> 3.0 → https://git.io/fjcE4
<{^_^}> [nixpkgs] @jlesquembre opened pull request #62019 → x265: 2.9 -> 3.0 → https://git.io/fjBDA
lord| has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #62020 → lsd: 0.15.0 -> 0.15.1 → https://git.io/fjBDh
esmerelda has joined #nixos
alex`` has quit [Ping timeout: 258 seconds]
ItsMarlin has quit [Ping timeout: 272 seconds]
ItsMarlin has joined #nixos
alex`` has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #62021 → go-tools: 2017.2.2 -> 2019.1.1 → https://git.io/fjByY
abathur has joined #nixos
apaul1729 has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
esmerelda has quit [Ping timeout: 246 seconds]
rfold has joined #nixos
work_ has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8698c2a7d50 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
npmccallum has quit [Quit: npmccallum]
mexisme has joined #nixos
<markasoftware> does nixos-rebuild switch also update packages installed by users through nix-env, or only stuff in systemPackages of configuration.nix
<markasoftware> ?
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
<gchristensen> only systemPackages / configuration.nix stuff
hedning_ has quit [Quit: hedning_]
<markasoftware> oh, is nix-env --upgrade what I want?
<{^_^}> [nixpkgs] @dywedir merged pull request #62020 → lsd: 0.15.0 -> 0.15.1 → https://git.io/fjBDh
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjByF
<markasoftware> crap nix-env --upgrade uses tons of memory
<markasoftware> I added a user to `users.users`. Their home directory and everything is created, but there isn't any `.nix-defexpr` or `.nix-profile`...how do I create them?
asheshambasta_m has quit [Quit: Leaving.]
<samueldr> they'll be created by the tools at first use AFAIK
asheshambasta_m has joined #nixos
esmerelda has joined #nixos
<markasoftware> no, nix-env -iA nixos.hello gives me "error: getting information about '/home/anatoli_bugorski/.nix-defexpr': No such file or directory"
<markasoftware> (that's not my name btw)
o1lo01ol1o has quit [Remote host closed the connection]
<slabity> markasoftware: Can you do a `nix-channel --update`?
o1lo01ol1o has joined #nixos
toppler`` has quit [Ping timeout: 252 seconds]
toppler`` has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ItsMarlin has quit [Ping timeout: 245 seconds]
ItsMarlin has joined #nixos
<markasoftware> that creates .nix-defexpr, but not the main repo...do I have to run `nix-channel --add whatever` for each user?
kalan[m] has left #nixos ["User left"]
hmpffff has joined #nixos
jtojnar has joined #nixos
<slabity> Maybe? Honestly, some of my systems my user just uses the system's channel, and other times I need to explicitly add a user channel. Not sure how to control that behavior
<slabity> I'd like my user accounts to always use the system channel
Smith[m] has joined #nixos
ma27 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @Ma27 merged pull request #62014 → vim-vint: 0.3.19 -> 0.3.20 → https://git.io/fjB1n
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjBSM
kenshinCH has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
<rfold> Ah fun, my executable contains paths to source files so they can end up in exception messages, and now nix-copy-closure also copies the source files. :D
<gchristensen> classic
<gchristensen> there is a way to fix that. I thought it was called nukeReferences, but that one is too aggressive
<rfold> I suppose that's convenient if you want to debug it when you get an exception in production, because you immediately know where to look for that exact version of the source file!
<gchristensen> true!
<{^_^}> [nixpkgs] @dhruvio closed pull request #59335 → [WIP] Add Elm 0.18 and update misc Haskell packages. → https://git.io/fjqQL
<slabity> Just make every source file its own derivation. Problem solved
<gchristensen> there you go
<rfold> Or don't pass absolute paths to the compiler.
<slabity> Actually that would be a pretty neat concept
<rfold> (My build system is duct taped together with Bash and Perl.)
<gchristensen> (aren't they all)
is_null has joined #nixos
<rfold> Some are duct taped together in Java or ECMAScript. ( ͡° ͜ʖ ͡°)
<averell> maybe just strip would do
<slabity> Everything is duct taped in C and shell scripts
<rfold> I love that I can just embed absolute paths to programs I want to invoke as subprocesses in my executable, and I know exactly what executable I will be invoking in production. It's so nice.
<slabity> Thank god `/usr/bin/env` is POSIX specified
<rfold> Ew, depending on the environment.
<slabity> Only absolute path you need
Anton-Latukha has joined #nixos
ItsMarlin has quit [Ping timeout: 258 seconds]
ItsMarlin has joined #nixos
zupo has joined #nixos
camsbury has quit [Ping timeout: 258 seconds]
qyliss^work has quit [Ping timeout: 252 seconds]
kenshinCH has quit [Quit: WeeChat 2.4]
ma27 has joined #nixos
qyliss has quit [Ping timeout: 258 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenshinCH has joined #nixos
Guest55_ has quit [Quit: Textual IRC Client: www.textualapp.com]
qyliss has joined #nixos
qyliss^work has joined #nixos
fendor_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #62022 → sqlite: enable parallel builds → https://git.io/fjB9a
jtojnar has quit [Ping timeout: 268 seconds]
pie_ has joined #nixos
knupfer has joined #nixos
shibboleth has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #62023 → gdbm: enable parallel building and use pname → https://git.io/fjB9M
<markasoftware> slabity: where is the system channel defined, and how do I change it?
<{^_^}> [nixpkgs] @etu merged pull request #61975 → rtl_433: enable soapysdr backend support → https://git.io/fjBBy
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjB99
<markasoftware> oh, it's just the root user's
<pie_> infinisil, how2lernZFS? (also native encryption=
<{^_^}> [nixpkgs] @risicle opened pull request #62024 → [r19.03] libheif: add patch for CVE-2019-11471 → https://git.io/fjB9Q
<infinisil> pie_: I'm sure you'll find lots of tutorials online
<infinisil> encryption maybe not as much, but the man page is pretty good too
<pie_> ok
<infinisil> And there's #zfsonlinux
<{^_^}> [nixpkgs] @etu merged pull request #62000 → stunnel: 5.53 -> 5.54 → https://git.io/fjBoL
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjB95
is_null has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bhipple opened pull request #62025 → zlib: enable check and parallel building → https://git.io/fjB9b
esmerelda has quit [Ping timeout: 248 seconds]
wfranzini has quit [Remote host closed the connection]
kenshinCH has quit [Quit: WeeChat 2.4]
wfranzini has joined #nixos
<DigitalKiwi> pie_: i'll find you some posts
Thra11 has quit [Ping timeout: 252 seconds]
<markasoftware> I've added and updated the channel for the new user, but when I try to install with nix-env -iA it gives me "error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied"
<pie_> DigitalKiwi, oh cool
<infinisil> DigitalKiwi: No! pie_ is already lazy enough!
<pie_> infinisil, i blame it on lack of executive function
<gchristensen> haha infinisil :D
<DigitalKiwi> also this is somewhat helpful even not on os x https://openzfsonosx.org/wiki/Main_Page
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<pie_> most stuff seems to be from 2017 though that seems to be near when the feature showed up, and its been in testing for a year
<pie_> > 2012
<{^_^}> 2012
<DigitalKiwi> yeah a lot of things haven't really changed much ;p
esmerelda has joined #nixos
<DigitalKiwi> that one doesn't have information on native encryption but a lot of other info
<DigitalKiwi> also checkout the oracle docs
moet has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #62026 → libtool2: enable parallel builds → https://git.io/fjB9p
stranger___ has quit [Quit: Connection closed for inactivity]
<DigitalKiwi> this is useful too https://github.com/a-schaefers/themelios
<DigitalKiwi> infinisil: well it's not like i went looking for them most of these are bookmarked there're tons more not helpful results
__monty__ has quit [Quit: leaving]
<DigitalKiwi> booya gigabit switch! my nas can be useful again!
<{^_^}> [nixpkgs] @Infinisil merged pull request #61686 → broadcom_sta: fix build on linux-5.1 → https://git.io/fj8gM
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBHf
<{^_^}> [nixpkgs] @flokli pushed to release-19.03 « shairport-sync: set sysconfdir to /etc/ »: https://git.io/fjBHJ
ddellacosta has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli pushed 0 commits to pr/fix_libglvnd: https://git.io/fjBHU
Alling has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #62027 → boost: run build and install hooks → https://git.io/fjBHk
fendor has quit [Quit: Leaving]
hmpffff has quit [Quit: nchrrrr…]
<pie_> DigitalKiwi, @ thermelios, huuuuh.
m0rphism has quit [Ping timeout: 258 seconds]
knupfer has quit [Ping timeout: 252 seconds]
moet has quit [Quit: leaving]
<{^_^}> [nixpkgs] @veprbl merged pull request #61895 → gildas: 20190401_a -> 20190501_a → https://git.io/fj4dH
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjBHO
gagbo has joined #nixos
bobnormal has joined #nixos
<{^_^}> [nixpkgs] @edef1c opened pull request #62028 → wireshark: include nghttp2 by default → https://git.io/fjBHs
<bobnormal> A few days ago I started having issues with my NixOS install .. specifically, rubggems won't work (previously installed gems have vanished) and KiCad is now segfaulting. I suspect this was after a system-wide update with unstable selected. How can I unselect unstable for ruby and kicad?
<bobnormal> versions are 'kicad-5.1.2' and 'ruby-2.6.3'.
fasd` has joined #nixos
Howto has joined #nixos
copumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Howto> Hello. I wrote a blogsite about how could we easing on our lifes and supporting our well-being, not fluent english but for get the essence with it, it is allright. Available for you on www.howtoprotect.biz, it is completely free. Have a pleasant days to you.
Howto has left #nixos [#nixos]
srid63 has quit [Read error: Connection reset by peer]
<fasd`> I'm trying to build the derivation at https://gist.github.com/disassembler/9c4fad684600d60d9aba2733b315b639, but it fails at ~85% because it can't find glibconfig.h even though glib is in the environment. Does anyone have any ideas?
srid63 has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/3efdf45dbd1 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
hmpffff has joined #nixos
<infinisil> ,locate glibconfig.h
<{^_^}> Found in packages: glib
* infinisil is out of ideas
<pie_> infinisil, ugh that stuff is always fun to figure out
<pie_> fasd`, i have no idea but my shotgun fix attempt would be something something gappshook or enablegappshook or idk???
logzet has quit [Ping timeout: 250 seconds]
logzet_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [nixpkgs] @Infinisil merged pull request #61051 → nixos/prosody: add authentication option (fixes #53134) → https://git.io/fjBHa
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBHV
shibboleth has quit [Quit: shibboleth]
palo has quit [Quit: WeeChat 2.4]
goibhniu2 has joined #nixos
<fasd`> I have no idea what gappshook is and google isn't helping me much unfortunately
palo has joined #nixos
goibhniu1 has quit [Ping timeout: 258 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #62029 → ghostscript: add patches for CVE-2019-3839 → https://git.io/fjBHo
* pie_ tries to find how to use it
<pie_> fasd`, https://search.nix.gsc.io/?q=wrapGAppsHook&i=nope&files=&repos= yeah so idk if this will fix anything but..maaaybe
[Leary] has joined #nixos
<infinisil> I have to say, in Nix land, googling/ducking something usually doesn't yield much
<pie_> infinisil, so its not just me
Lears has quit [Ping timeout: 272 seconds]
<infinisil> Yeah, so usually I don't even try and go to the source directly to figure stuff out
<infinisil> rg is friend
<pie_> if its convenient
<pie_> i dont find it convenient
<pie_> i need to add some shell commands...
Glider_IRC__ is now known as Glider_IRC
<{^_^}> [nixpkgs] @freepotion opened pull request #62030 → harmonist: init at 0.1 → https://git.io/fjBHM
<fasd`> no dice on the GApps thing, unfortunately
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
drakonis has joined #nixos
jlv has joined #nixos
<jlv> Trying out NixOS for the first time. Where can I find previous configuration files? I know how to roll back, but not how to actually see the configuration.
<drakonis> the recommendation is to manage it with a vcs i think?
<infinisil> Indeed, because NixOS doesn't save the config on its own
<jlv> I see. Guess I'm out of luck then.
<drakonis> what would be the problem?
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<jlv> When I booted up this morning I couldn't get sound out of my headphones. Not sure what changed.
<jlv> Last I remember it worked before I shut the computer down.
<jlv> I was hoping to see if I changed anything right before shutting down.
<pie_> wonder if its possible to reasonably diff generations somehow
<pie_> jlv, i guess..have you tested if rolling back to an older generation actually fixes it?
<infinisil> jlv: pie_: There is nix-diff you can use to see changes between generations
<pie_> infinisil, oh neat
<infinisil> Won't be very useful if you did an --upgrade though, because everything will have changed
<pie_> ya
<jlv> I was in the process of rolling back, but most of my configurations didn't have working wifi or any media player, lol
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7755d37eca5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jlv> Pretty sure I didn't do a --upgrade
<jlv> Last night I was having issues with freezing while volume changed. Today I don't have that issue, but no audio from headphones
<infinisil> I sure wish there was a standard way to have a reproducible config, backed by git
<infinisil> And maybe even enable it by default
<drakonis> reproducible configs backed by whatever vcs
<jlv> I assumed the config itself was version controlled since it was saving each configuration
<drakonis> doesnt have to be git only, as to not tie it to anyone
<drakonis> there's a good reason we all keep git repos with our configs ho ho
<infinisil> That being?
<drakonis> rather, do not tie it to any specific vcs, ie: not only git
<drakonis> the reason is that we can roll back and keep a backup
<drakonis> access it from anywhere too
<jlv> Changing configuration doesn't seem to help. What could have changed between reboots without the configuration changing?
gagbo has quit [Ping timeout: 245 seconds]
bobnormal has quit [Ping timeout: 256 seconds]
<immae> Hello there! I have an old system.stateVersion value, and I would like to change its value to the latest one (I know I shouldn’t do that unless told so, but still). Is it safe to assume that if I change the value and no build happens afterwards, then no breaking change happened and I can leave the new value? (I have a postgresql server, which I know is sensitive to that, but I already handle that separately.
<immae> That’s the only one I’m aware of)
rfold has quit [Quit: WeeChat 2.4]
jlv has quit [Ping timeout: 256 seconds]
jlv_ has joined #nixos
<drakonis> jlv_, did you check the volume slider?
<jlv_> Ya, and audio works through the hdmi connection
<infinisil> ,stateVersion immae
<{^_^}> immae: 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.
akapav_ has quit [Ping timeout: 258 seconds]
<jlv_> Just not the headphones
<jlv_> I tested the headphones on another device btw, to rule that out
janneke has quit [Ping timeout: 259 seconds]
<jlv_> I can hear static through the headphones, but no audio
<immae> Ah thanks infinisil, nothing happened it seems
<jlv_> Rolling back to previous configurations doesn't seem to change it. What could have changed overnight without changing the configuration?
<infinisil> immae: But really, there's no reason to change it, especially if the release notes don't mention anything
<infinisil> Why? You'll get into the habit of changing it
<infinisil> :P
akapav has joined #nixos
<immae> infinisil: I know, I’m mostly curious if things can break while nothing got rebuilt when changing the value
<immae> And I prefer to know "now" what can happen than "later" when it’s urgent :p
<infinisil> If nothing got rebuilt, then nothing can be broken, because it's exactly the same system
janneke has joined #nixos
<infinisil> Well, unless in the weird case that you already built that exact thing before
init_6 has joined #nixos
<infinisil> Let me rephrase: The same /nix/store/<...> path means there are no changes
<immae> Ok, cool :)
<immae> Thanks infinisil (and I’ll be careful, I promise, I have a big warning above that value to not change it without thinking, and I know my future self will respect that :p )
<infinisil> I just recently encountered a user who changed stateVersion because they thought it would upgrade their system..
<immae> No, I know it doesn’t do that, don’t worry :)
<infinisil> They set stateVersion to 19.03, but it turned out they were still on 18.03 xD
<immae> :D
<infinisil> So, they thought they were running 19.03, but it was really the release a year ago
<jlv_> Wait, why doesn't changing stateVersion change the version?
<pie_> ( infinisil, ) why does https://nixos.wiki/wiki/NixOS_on_ZFS say "Be sure to also set networking.hostId, see https://nixos.org/nixos/manual/options.html#opt-networking.hostId "
<immae> jlv_: stateVersion changes the "state" version of the system, which is distinct from the systemVersion
<immae> postgresql is the best explanation for what this thing is useful for
<infinisil> pie_: If you don't, you'll get an assertion failure at evaluation time. ZFS requires this for zpool import/exports
hmpffff has quit [Quit: nchrrrr…]
<pie_> uhuhh....
<infinisil> Because it needs to know when the system changed, and it does that via the host's id
<pie_> i dont get it but ok
<averell> do you guys use the installer hostid for that? because otherwise you still have to have at least one forceimport on reboot, right?
<infinisil> pie_: I don't know about the specifics either, but it will probably have a good reason, somehow..
<jlv_> Is there anything that could change between reboots without changing configuration? Like package versions or something?
<infinisil> averell: If you `zpool export` the pool before you reboot, no force import is needed
<immae> jlv_: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/postgresql.nix#L244 if you don’t know postgresql, you only need to know that each big version number is backward incompatible, so using pg 11 on a /var/lib/postgresql built by pg 10 will destroy your database. That’s where stateVersion comes handy to avoid breaks
<infinisil> averell: Even if the hostid changed
ItsMarlin has quit [Ping timeout: 248 seconds]
ItsMarlin has joined #nixos
<pie_> infinisil, also it feels weird for supportedFilesystems to be under boot
<pie_> probably because im misunderstanding it
<infinisil> I think it's got something to do with the kernel needing support for it
<averell> ah, i knew i had trouble on first boot. i thought it was the ssh-unlock env. good to know.
<infinisil> And you need to reboot to change the kernel
<infinisil> jlv_: ^^ This
<pie_> infinisil, i guess kernel support would make some sense
mbrgm_ has joined #nixos
<infinisil> In fact there's /run/booted-system and /run/current-system, where booted-system only changes on reboots
<infinisil> But current-system with every nixos-rebuild switch
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm_ is now known as mbrgm
<DigitalKiwi> infinisil: i did get that nixPath to work but I had to reverse the order of the lists
hhefesto has joined #nixos
<infinisil> Ah yeah earlier entries are (usually) used first
<infinisil> > nixos.config.nix.nixPath
<{^_^}> [ <CODE> <CODE> <CODE> ]
<pie_> infinisil, ended up starting to read FreeBSD Mastery: ZFS again
<infinisil> > :p nixos.config.nix.nixPath
<{^_^}> [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]
<jlv_> infinisil_: Could the kernel have updated without me changing the configuration?
npmccallum has joined #nixos
ItsMarlin has quit [Read error: Connection reset by peer]
ItsMarlin has joined #nixos
esmerelda has quit [Ping timeout: 248 seconds]
<averell> if configuration doesn't include channel/nixpkgs, then yes
o1lo01ol1o has joined #nixos
<infinisil> I don't think it can?
<pie_> maybe if you have automatic updates (?) enabled
<infinisil> Ah true
<pie_> jlv_, but as i asked, did you even try rolling back to see if your sound works again?
<pie_> seems like the easiest way to confirm or rule out system configuration state changes?
<jlv_> pie_, I tried rolling back. Didn't change the sound issue.
<pie_> ok
<pie_> so its probably not a system config problem
<pie_> (assuming you rolled back far enough)
<infinisil> jlv_: Try rebooting into older configs though
work_ has quit [Quit: Connection closed for inactivity]
<infinisil> rebooting broke it, so you probably need to reboot to fix it again
<jlv_> I don't see channel/nixpkgs in my configuration. It's mostly a freshly generated config with a few packages added and whatnot. Just installed last night.
esmerelda has joined #nixos
<jlv_> I rebooted while rolling back.
wfranzini has quit [Remote host closed the connection]
<infinisil> Oh just yesterday, that's not too long ago
<infinisil> jlv_: What's the config?
wfranzini has joined #nixos
<jlv_> Do you have a suggestion for showing the config?
<infinisil> jlv_: Just /etc/nixos/configuration.nix
<pie_> are you sure its not that sound worked in the livecd or somethng
<jlv_> I mean a way to show it to you
<infinisil> Ah
<infinisil> ,paste jlv_
<{^_^}> jlv_: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<jlv_> pie, I was booted onto the disk by the time I was testing sound
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<jlv_> I didn't even have a browser on the livecd, so I know it wasn't that
<pie_> ok
<infinisil> Huh no, use one of those websites to put your configuration.nix in, so you can post a link to it, so we can see it
<infinisil> Ah
<infinisil> sorry I got confused
fasd` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<pie_> jlv_, what does "broken sound" actually mean in this case
<pie_> jlv_, my next guess is to check through all the menus in the sound configurator thingy for whatever you use :(
<pie_> ok, maybe before that
<pie_> since youre about to paste your config
lovesegfault has quit [Ping timeout: 245 seconds]
* pie_ waits intently to see if pulseaudio or whatever is actually enabled
<infinisil> Yeah that would also be my next guess, toggle pulseaudio
<jlv_> There's the config
justan0theruser has joined #nixos
<jlv_> "broken sound" in this case means no sound from my headphones. Sound works through the hdmi device.
<pie_> jlv_, yeah :/ have you checked the usual generic problems? :/
<pie_> is hardware mute on? have you looked through your sound settings?
<jlv_> Sound Devices shows that "Built-in Audio Analog Stereo" has headphone plugged in.
justanotheruser has quit [Ping timeout: 268 seconds]
<infinisil> Did you mess with pulseaudio's setting?
<jlv_> Not sure what you mean by "hardware mute"
<infinisil> In pavucontrol?
<pie_> the year of the linux desktop needs some trouble shooting wizards and this should be one of them lol...common problems
<jlv_> Don't remember touching pulseaudio
<pie_> jlv_, do your headphones have a mute button? does your keyboard have a mute fn key?
<jlv_> Sound isn't muted
<infinisil> jlv_: Yeah so open pavucontrol and click through the settings there, it's the thing that controls your sound
<jlv_> Just basic headphones, not controls
<jlv_> And headphones work on other devices
<jlv_> Even work on this computer on Windows
apaul1729 has joined #nixos
<averell> devices can be muted individually, and also there could be a wrong default output device configured
apaul1729 has quit [Remote host closed the connection]
<jlv_> It is set as default output. Firefox is using it as output. Not muted in either.
<jlv_> Is the sound button on task bar pavucontrol? I get "pavucontrol: command not found" in terminal.
<infinisil> Huh, I'm pretty sure pavucontrol should be installed by default if you have pulseaudio enabled
srid63 has quit [Read error: Connection reset by peer]
srid63 has joined #nixos
<infinisil> jlv_: Are you booted into the latest generation where you know that `hardware.pulseaudio.enable = true;` is set?
<jlv_> infinisil, just rebooted
<jlv_> On latest configuration
<averell> i'm not so sure it's automatic? anyway, it's easy to install and it will tell you if pulse is not running
<infinisil> Oh pavucontrol might not be there automatically after all
<jlv_> Just added pavucontrol
justan0theruser has quit [Quit: WeeChat 2.4]
<infinisil> averell: Yeah I just realized I have pavucontrol in my config. I really think this should be included by default (at least when you have X enabled)
<jlv_> Everything looks good in pavucontrol. Shows headphones as plugged in. Shows sound playing to headphones.
ItsMarlin has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
<jlv_> I feel like either something really weird is going on, or I'm doing something really stupid
ItsMarlin has joined #nixos
<infinisil> That's probably often the case with debugging :)
<infinisil> jlv_: Ohh, try `systemctl --user restart pulseaudio`
<infinisil> I actually remember pulseaudio occasionally not working too, and this fixed it for me
goibhniu2 has quit [Ping timeout: 245 seconds]
<infinisil> (no idea about a permanent fix though or the reason for it)
<pie_> nope <infinisil> Huh, I'm pretty sure pavucontrol should be installed by default if you have pulseaudio enabled
<jlv_> The restart doesn't seem to help
<averell> it would be a nice default though, i agree
<infinisil> Hmm darn
<averell> how are the headphones connected?
<pie_> infinisil, yeah but they rebooted several times, i wouldnt expect a service restart to do much :c (you never know of course lol)
<jlv_> I have a feeling that something changed between last night and rebooting this morning. Last night, I had issues with computer stuttering while volume is changing. This morning I don't have that issues, but now headphones don't work.
<infinisil> jlv_: Check out `journalctl --user -u pulseaudio -e` to see the logs
<averell> i hope it's not bluetooth :)
<jlv_> Not bluetooth XD
<averell> if it's not usb, maybe you have front and back connectors, only one of them live?
<jlv_> Well, something jumps out right away "May 24 17:28:09 nixos pulseaudio[1042]: E: [alsa-sink-CA0132 Analog] alsa-sink.c: Error opening PCM device front:1:> May 24 17:28:09 nixos pulseaudio[1042]: E: [alsa-source-CA0132 Analog] alsa-source.c: Error opening PCM device fron>"
<jlv_> Tried both front and back connectors
<infinisil> (you can use the arrow keys to scroll horizontally)
<infinisil> I'd try googling that
<jlv_> Haven't googled that yet, but there is a definite change between last night and today. That error first showed up while the computer was shutting down last night, and shows up every reboot today.
<jlv_> Logs are completely different between last night and today.
<jlv_> First boot of today also has "pulseaudio.service: Current command vanished from the unit file, execution of the command list won't be resumed."
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #61836 → imagemagick7: 7.0.8-34 -> 7.0.8-46 → https://git.io/fj4wK
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjBQT
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
<jlv_> I'm not an expert on pulseaudio, but it looks to me like pulseaudio got into a bad state and can't recover
<{^_^}> [nixpkgs] @petabyteboy opened pull request #62031 → libcanberra: fix crashes with wayland → https://git.io/fjBQt
<jlv_> Ok. I'm going to try disabling all sound and pulseaudio. Restarting. Re-enabling. Restarting. If there is some state that pulseaudio is carrying around, hopefully that will wipe it out?
<jlv_> Be back soon
<averell> if there were state, that wouldn't remove it. but if sound works without pulse, that would be good information. still, you didn't show the full error earlier
esmerelda has quit [Ping timeout: 246 seconds]
toppler`` has quit [Ping timeout: 258 seconds]
jlv_ has quit [Ping timeout: 256 seconds]