worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
proofofkeags has quit [Remote host closed the connection]
<emily> the former
proofofkeags has joined #nixos
<emily> the latter is deprecated but it's not really documented anywhere except random github issue comments :(
<{^_^}> #71176 (by edolstra, 30 weeks ago, closed): Merge nixpkgs-channels repo into nixpkgs
<evanjs> adisbladis: ahh I didn’t realize those reached howoldis. So is the new status page what’s going to be used moving forward or?
<cole-h> tbh I use nixpkgs-channels just to see if s.no.o agrees with the last time channels updated
<cole-h> evanjs: Yeah, status.nixos.org is the new page for seeing when channels last updated
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jf0rb
proofofkeags has quit [Ping timeout: 240 seconds]
<evanjs> *checks howoldis again* omg I didn't notice it's totally blank somehow :D
<evanjs> alright sounds good, thanks guys
<evanjs> cole-h++ adisbladis++
<{^_^}> cole-h's karma got increased to 53
<{^_^}> adisbladis's karma got increased to 75
<aditsachde> cook thanks yall
<cole-h> evanjs: lol, that's why I was a little confused
<cole-h> "<blank page> is good for tracking channel updates" heh
<evanjs> obviously lol
<evanjs> I think I might've been remembering "I have to expand these to see anything" and falsely applying it to the whole page, until I took a closer look and noticed nothing was there :P
<evanjs> on another note, emily: nixpkgs-channels is deprecated? or just pinning on those?
<aditsachde> I need to learn a lot more about actually using the nix lang and whatnot, but i'm reallly loving nixos and its declarative configs and being able to build everything with CI/CD
<emily> evanjs: the repo is pointless, all the branches exist in the upstream nixpkgs repo
<evanjs> emily: Yeah I figured that much, I just thought there was a point to having a read-only mirror of some sort, idk
<emily> the relevant branches are read-only on github i believe
<evanjs> yeah I'm reading dolstra's comment now. This makes more sense now
<evanjs> Once again, out of date documentation strikes again :D (I'm not blaming anyone right now, I know this is a huge project and am vaguely familiar with the reasons behind the lack of various docs, etc)
<evanjs> No wonder I didn't see anything on this, like emily said, it's just GH comments, and from late last year, at that x_x
<emily> I don't know why the repo description hasn't been updated. maybe I should poke the issue again
MmeQuignon has quit [Ping timeout: 260 seconds]
<kini> dumb question... I can do `nix-shell '<nixos>' -A amarok` to get a shell in the build environment for amarok in my nixos channel, but how can I get the build environment for an override of amarok (e.g. `(amarok.overrideAttrs ...)`)? Since that's not a `.`-separated attribute path, `-A` isn't sufficient. I assume I should be using `-E` somehow...
<emily> kini: something like with import <nixpkgs> {}; amarok.overrideAttrs ...
<emily> or just (import <nixpkgs> {}).amarok.overrideAttrs
proofofkeags has joined #nixos
gustavderdrache has joined #nixos
<kini> emily: Thanks! That seems to work.
<{^_^}> [nixpkgs] @veprbl merged pull request #87846 → openbox: Use python3 instead of python2 → https://git.io/JfBSd
<{^_^}> [nixpkgs] @veprbl pushed commit from @SFrijters to master « openbox: Use python3 instead of python2 (#87846) »: https://git.io/Jf0on
proofofkeags has quit [Ping timeout: 265 seconds]
evils has quit [Quit: Lost terminal]
oxapentane has joined #nixos
hooo has quit [Quit: Connection closed for inactivity]
aswanson has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bfa2cd08845 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4756e2eb0c3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #87995 → ksuperkey: git-2015-07-21 -> 0.4 → https://git.io/Jf0o6
evils has joined #nixos
evils has quit [Client Quit]
evils has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf0oQ
evils has quit [Client Quit]
zaeph1 has joined #nixos
aditsachde has quit [Ping timeout: 245 seconds]
<bdju> I've been "deleting '/nix/store/trash'" for quite a while now. How long could this take?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87996 → adminer: 4.7.6 -> 4.7.7 → https://git.io/Jf0Km
<bqv> Thats tho part doing the actual delete
<bqv> Expect it to be slow
<bdju> Ah, okay. So the earlier text-scrolling was just making the list of stuff then?
zaeph has quit [Disconnected by services]
zaeph1 is now known as zaeph
<bqv> Kinda
<bdju> It's slowing down my computer somewhat, I think.
cr4y1_ has quit [Ping timeout: 256 seconds]
<bqv> IO limits
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87997 → adwaita-qt: 1.1.1 -> 1.1.3 → https://git.io/Jf0Ku
lafrenierejm has quit [Ping timeout: 256 seconds]
fusion809 has joined #nixos
oborot has joined #nixos
shibboleth has joined #nixos
morgrimm has joined #nixos
morgrimm_ has joined #nixos
user_0x58 has quit [Remote host closed the connection]
cmk_zzz has quit [Quit: cmk_zzz]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #87683 → gitAndTools.gitui: 0.2.2 -> 0.2.5 → https://git.io/Jf8K7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf0K2
morgrimm_ has quit [Ping timeout: 258 seconds]
morgrimm has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #87994 → cri-o: 1.18.0 -> 1.18.1 → https://git.io/Jf0rK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf0Kw
<{^_^}> [nixpkgs] @marsam merged pull request #87992 → cargo-about: 0.2.0 -> 0.2.2 → https://git.io/Jf0wP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf0Kr
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #87961 → vscode: 02/2020 backports → https://git.io/Jf04Y
<{^_^}> [nixpkgs] @marsam pushed 6 commits to release-20.03: https://git.io/Jf0KK
zebrag has quit [Ping timeout: 260 seconds]
rogue_koder has quit [Ping timeout: 240 seconds]
rogue_koder has joined #nixos
pjt_014 has quit [Ping timeout: 265 seconds]
proofofk_ has joined #nixos
Ralith_ has quit [Remote host closed the connection]
reallymemorable has joined #nixos
iyzsong has joined #nixos
reallymemorable has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87999 → audacity: 2.3.3 -> 2.4.0 → https://git.io/Jf0KF
evils has joined #nixos
fusion809 has quit [Quit: Leaving]
h0m1 has quit [Ping timeout: 244 seconds]
evils has quit [Client Quit]
evils has joined #nixos
reallymemorable has joined #nixos
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #87893 → govc: 0.21.0 -> 0.22.1 → https://git.io/JfRRX
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jf06J
jgeerds has quit [Ping timeout: 256 seconds]
yasu has quit [Quit: Connection closed for inactivity]
yasuaki has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #88001 → pueue: 0.4.0 -> 0.5.0 → https://git.io/Jf06t
<{^_^}> [nixpkgs] @marsam opened pull request #88002 → lean: 3.10.0 -> 3.13.0 → https://git.io/Jf06c
<{^_^}> [nixpkgs] @marsam merged pull request #87995 → ksuperkey: git-2015-07-21 -> 0.4 → https://git.io/Jf0o6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf06u
<Raito_Bezarius> wow, lean is already bumped to 3.13.0
smatting_ has quit [Ping timeout: 272 seconds]
markus1199 has joined #nixos
shibboleth has quit [Quit: shibboleth]
markus1189 has quit [Ping timeout: 265 seconds]
thc202 has quit [Ping timeout: 260 seconds]
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 246 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/025deb80b24 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @lukegb opened pull request #88003 → mercurial: 5.3.1 -> 5.4 → https://git.io/Jf06j
nixbitcoin_ has quit [Remote host closed the connection]
nixbitcoin has joined #nixos
<infinisil> Small bot feature showcase:
<infinisil> ,escape
<{^_^}> Usage: ,escape <text> to show how to escape the given text in Nix
<infinisil> ,escape '' ''' ${} \ "
<{^_^}> Escape this in " strings with: '' ''' \${} \\ \"
<{^_^}> Escape this in '' strings with: ''' '''' ''${} \ "
iyzsong has joined #nixos
<cole-h> ,escape asdf' ghj
<{^_^}> Escape this in " and '' strings with: asdf' ghj
<cole-h> very cool
chloekek has quit [Ping timeout: 246 seconds]
sigmundv__ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88004 → cargo-flamegraph: 0.2.0 -> 0.3.0 → https://git.io/Jf0i2
gustavderdrache has quit [Quit: Leaving.]
pjt_014 has joined #nixos
leungbk has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
troydm has quit [Ping timeout: 256 seconds]
proofofk_ has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a1ebd821764 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
m0rphism has quit [Ping timeout: 260 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
leungbk has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
morgrimm_ has joined #nixos
morgrimm has joined #nixos
wavirc22 has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @cdepillabout closed pull request #84985 → Fix the error of making symlink in setupCompilerEnvironmentPhase. → https://git.io/Jvh6T
morgrimm has quit [Ping timeout: 246 seconds]
morgrimm_ has quit [Ping timeout: 246 seconds]
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos
wavirc22 has quit [Client Quit]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 is now known as felixfoertsch
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @leungbk opened pull request #88005 → pythonPackages.ptvsd: init at 4.3.2 → https://git.io/Jf0PF
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos
lord| has quit [Ping timeout: 265 seconds]
lord| has joined #nixos
kayg04 has quit [Ping timeout: 246 seconds]
ris has quit [Ping timeout: 265 seconds]
Vikingman has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
kim0 has quit [Quit: Connection closed for inactivity]
shafox has joined #nixos
Ralith_ has joined #nixos
hooo has joined #nixos
kayg04 has joined #nixos
salumu has joined #nixos
sMuNiX has quit [Ping timeout: 256 seconds]
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
<hyper_ch> yey, nixos unstable caught up
ojon has joined #nixos
oborot has quit [Ping timeout: 260 seconds]
slightlyq[m] has joined #nixos
<{^_^}> [nixpkgs] @lihop opened pull request #88006 → godot: add mono support → https://git.io/Jf0Xx
<energizer> ,escape ${x}
<{^_^}> Escape this in '' strings with: ''${x}
<{^_^}> Escape this in " strings with: \${x}
<c00w> I must be missing something - is there a way to update all packages in nix-env after nix-channel --update?
<drakonis> hmm
<drakonis> is this nix or nixos?
<slightlyq[m]> ``"\${pkgs.bluez}/libexec/bluetooth/bluetoothd --noplugin=avrcp"``?
<slightlyq[m]> That still will not work
<{^_^}> [nixpkgs] @vbgl merged pull request #87582 → ocamlPackages.ocurl: 0.9.0 → 0.9.1 → https://git.io/JflL6
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocurl: 0.9.0 → 0.9.1 »: https://git.io/Jf01J
tom39291 has quit [Quit: WeeChat 2.7.1]
<slightlyq[m]> * That still will not work, I am using nixos if you were talking to me
<c00w> drakonis: I'm also on nixos if you're talking to me
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
<jophish> Is it just me, or have Haskell builds become much slower recently
<jophish> I'm seeing machine loads of 100+ compiling haskell packages, when I wasn't before
<energizer> did you add pandoc? it does that
<energizer> erm misread your comment completely
<energizer> nevermind :)
<jophish> energizer: pandoc might be in there actually
ojon has left #nixos [#nixos]
<drakonis> c00w: oh i see
<drakonis> its easier to do that if you're doing it declaratively
morgrimm has joined #nixos
morgrimm_ has joined #nixos
<c00w> Heh - I actually did make it declarative, I have a little nix-channel shim which overrides to a specific commit.
<c00w> But yeah, these are packages which are too large for me to want them to live in configuration.nix
<c00w> Since 2 or 3 copies is like 30-40G
<jophish> perhaps it was ccb81f56cf6b5f1769c32b3638783717c7746694
<c00w> drakonis: Worse comes to wrose I'll uninstall + reinstall everything.
<c00w> I was just checking if I was misunderstanding something.
orivej has joined #nixos
dm9 has joined #nixos
agsdheidjd has joined #nixos
<drakonis> you're imperatively managing your packages
<c00w> What's the per user way to do it declaratively ?
morgrimm_ has quit [Ping timeout: 256 seconds]
<energizer> home-manager
morgrimm has quit [Ping timeout: 258 seconds]
<c00w> I assume it picks up nixos from nix-channel?
<energizer> hm has its own channel
KendyChat has left #nixos [#nixos]
oida has quit [Remote host closed the connection]
oida has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<jophish> yeah, definitely ccb81f56cf6b5f1769c32b3638783717c7746694
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @mudrii opened pull request #88007 → Pulumi 1.12.0 > 2.2.1 and packages gcp, aws, ranbdom, and kubernetes → https://git.io/Jf01z
<{^_^}> [nixpkgs] @cdepillabout merged pull request #87972 → haskellPackages.tart: unmark as broken → https://git.io/Jf0u0
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jf01r
drakonis has quit [Quit: WeeChat 2.8]
palo1 has joined #nixos
morgrimm_ has joined #nixos
morgrimm has joined #nixos
<la-s> colemickens: is it normal for your nixpkgs-wayland repo not to update for 4 days?
palo1 is now known as palo
palo has quit [Ping timeout: 260 seconds]
morgrimm_ has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b47873026c7 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
morgrimm has quit [Ping timeout: 256 seconds]
<mac10688> hi all, i have recently update my nixos channel and tried to update all my packages but it seems nothing is updating
orivej has quit [Quit: No Ping reply in 180 seconds.]
<mac10688> does anyone have any suggestions or ways to figure this out?
<hyper_ch> how did you try to update?
<energizer> mac10688: sudo?
orivej has joined #nixos
<hyper_ch> sudo nixos-rebuild boot (or switch) --upgrade?
<mac10688> yeah i tried that
<mac10688> trying it again
<hyper_ch> also, what channel are you on?
<energizer> sudo nix-channel --update
<hyper_ch> (are we talking about nix or nixos?)
<mac10688> nixos
<mac10688> and i want to update everything in my configuration.nix file
<mac10688> especially neovim
<hyper_ch> nix-channel --list
<hyper_ch> what channel are you on?
<mac10688> [mac10688@nixos:~]$ nix-channel --list
<mac10688> Y
<hyper_ch> neovim probably won't get version update in stable channel
<mac10688> on the website it lists neovim as version 0.4.3
<hyper_ch> but I don't know for sure
<hyper_ch> whcih website?
<mac10688> and i'm on version 0.3.4
<mac10688> nix packages
<hyper_ch> where?
<mac10688> nixos.org/nixos/packages.html?channel=nixos-20.03
<hyper_ch> that's been there for a long time.. so no recent commit
fabianhjr has quit [Quit: Leaving.]
<hyper_ch> so, nixos-rebuild boot --upgrade --> does it pull new packages?
alexherbo2 has joined #nixos
<mac10688> unpacking channels.. building Nix... building the system configuration...
<mac10688> and it stops there
<hyper_ch> pastebin?
<mac10688> ok
<hyper_ch> well, with boot it should generate new boot entry and set it to default after reboot... switch should change environment directly... I prefer to use boot in general
<slightlyq[m]> Don't worry about earlier, I'll go install arch now. Thanks for the support
slightlyq[m] has left #nixos ["User left"]
<mac10688> omg i don't know how to copy from urxvt
<mac10688> i know shift + insert will paste into the terminal
<mac10688> ugh
orivej_ has joined #nixos
<ben> selecting text copies it?
<mac10688> i guess no
<mac10688> I fail
<mac10688> very frustrated now, i can't even copy from terminal
<mac10688> i'm just gonna go back to dotnet
<mac10688> and windows
orivej has quit [Ping timeout: 258 seconds]
<energizer> haha
slack1256 has quit [Ping timeout: 265 seconds]
<hyper_ch> mac10688: --> To upload to sprunge from your terminal, use: <command> | curl -F 'sprunge=<-' http://sprunge.us #
<hyper_ch> (I have an own little pastebin script for my pastebin that I like to use)
<energizer> it's funny how nixos can be so bad it makes people give up linux altogether after years :-)
<energizer> but it can also be so good!
<mac10688> i just want to break my laptop, i'm so pissed right now
<mac10688> spent all day just trying to update my neovim
<hyper_ch> mac10688:
<hyper_ch> cat tabconfig.conf | curl -F 'sprunge=<-' http://sprunge.us
<hyper_ch> (if you have curl installed)
<hyper_ch> mac10688: may I suggest to use nixos-unstable instead of stable? sometimes it does break but that's where nixos atomic upgrades come in.. you can boot into an older generation if needed
<mac10688> no such file or directory http://sprunge.us/US1i1X
<mac10688> ok i'll switch to unstable
<hyper_ch> nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<hyper_ch> nixos-rebuild boot --upgrade
<energizer> just tried urxvt, it seems highlighting text copies it into the "primary selection" and middle-click will paste from there
<srhb> I'm late to the party. Why are we going to unstable?
<mac10688> ok i'm on unstable now but it seems like nothing really upgraded from that command
virus_dave has joined #nixos
<srhb> mac10688: If I read the backlog correctly it seems we're trying to get you a new neovim, is that correct?
<hyper_ch> because unstable is fun :)
<mac10688> yes
<srhb> mac10688: The first course of action if you're seeing a package "not update" is to determine by which method it was installed. The first clue is to check from whence the binary is coming
<mac10688> thanks energizer, I tried to highlight and click but there was nothing to paste into pastebin
<srhb> mac10688: `which neovim`
<mac10688> which: no neovim in (/home/mac10688/bin:/run/wrappers/bin:/home/mac10688/.nix-profile/bin:/etc/profiles/per-user/mac10688/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin)
<mac10688> oh that worked
<energizer> mac10688: then i'm not sure, never used urxvt before
reallymemorable has quit [Quit: reallymemorable]
virus_dave has quit [Client Quit]
<srhb> mac10688: How do you normally launch neovim from a terminal? I'm guessing it's not `neovim`
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<mac10688> i launch it with `nvim`
<mac10688> from the terminal
<srhb> Ah, `which nvim` then
<hyper_ch> mac10688: nixos-rebuilding piping to curl/sprunge does not work indeed... too bad :)
iyzsong has joined #nixos
<mac10688> [mac10688@nixos:~]$ which nvim
<mac10688> /run/current-system/sw/bin/nvim
<srhb> mac10688: Alright, so that does look like environment.systemPackages.
<mac10688> that's not good!
<srhb> mac10688: What does nixos-version say?
<mac10688> it's in my configuration.nix file
<mac10688> mac10688@nixos:~]$ nixos-version
<mac10688> 19.03.173691.34c7eb7545d (Koi)
<srhb> mac10688: So you're on 19.03
<srhb> mac10688: Please check the output of `nix-channel --list` and `sudo nix-channel --list`
kayg04 has quit [Ping timeout: 264 seconds]
reallymemorable has joined #nixos
kayg04 has joined #nixos
<mac10688> [mac10688@nixos:~]$ nix-channel --list
<mac10688> [mac10688@nixos:~]$ sudo nix-channel --list
<mac10688> why are they different?!?!
<srhb> Get rid of your user channel
<srhb> Delete the root one too
<srhb> Then recreate the root one, called nixos, with 20.03
<srhb> Then you should be good to upgrade.
<mac10688> ok now i'm rebuilding and booting and upgrading. things are looking promising!
<srhb> Good. :)
<srhb> Channels, especially multiple channels can be confusing. I recommend only using one, that root owns, called nixos, which points to the current stable release.
<srhb> That way you'll avoid most channel headaches in the future
<mac10688> yeah i had no idea there was a user channel and a root channel
<mac10688> i'm flabbergasted
<srhb> Yeah, it does bite a lot of people unfortunately.
<energizer> next up: there are three manuals
<mac10688> thanks for the help energizer hyper_ch and srhb. I have some build errors in my configuration script that i'm working through. If I can't figure these out on my own, I'll ask in the channel tomorrow
<srhb> mac10688: You're very welcome. :)
<hyper_ch> mac10688: what errors?
<srhb> mac10688: The release notes might help you too.
<mac10688> i18n.consoleKeyMap has been renamed to console.keyMap, I renamed it and then it said the option console doesn't exist lol. And there's a dmenu2 package that I want that doesn't seem to be available anymore
<mac10688> it says it's an undefined variable
<srhb> dmenu2 was indeed dropped as unmaintained, unfortunately.
<energizer> that consoleKeymap thing totally happened to me before, i forget what i did about it
<hyper_ch> console is easy
<mac10688> ok i fixed the console problem, there's no more i18n. I got that fixed
<hyper_ch> they just maed it more logical
<mac10688> yeah it's nicer now
<mac10688> i think i was using dmenu for xmonad somehow
<hyper_ch> no idea about dmenu
<srhb> I am too, yeah.
<srhb> I did the ugly thing and brought in the package in my own overlay.
<mac10688> ok well then I'm about to drop xmonad for a few weeks until i figure out how to resolve that. One problem at a time. I'm just going to drop dmenu
<mac10688> thanks srhb
<srhb> Sure thing.
<energizer> i use rofi instead of dmenu
<srhb> energizer: Thanks, I'll check it out.
reallymemorable has quit [Quit: reallymemorable]
<mac10688> i don't know what dmenu did. I was just throwing a bunch of stuff at it to get stuff to work. Now i'm trying to clean things up
kayg049 has joined #nixos
<srhb> mac10688: It's a bar that you can pop up to type in an application name to launch
<srhb> mac10688: If that rings a bell
<srhb> mac10688: You could probably just get rid of that instead of all of xmonad.
<mac10688> ah! i know what it is now
kayg04 has quit [Ping timeout: 264 seconds]
kayg049 is now known as kayg04
<mac10688> I will be trying to do more hacking on my xmonad config. It's a lot but I've been learning haskell for a long time (5+ years now). It's time I do some hacking
<srhb> Cool. :)
<hyper_ch> mac10688: updating works now?
<mac10688> yeah i took out dmenu and it's doing a lot of updating now
<hyper_ch> (still, using unstable is fun)
orivej_ has quit [Ping timeout: 256 seconds]
<srhb> But unstable means you will get delayed security fixes and will have to follow git development to keep up with breaking changes.
orivej has joined #nixos
<mac10688> I'm going with stable until I think I need unstable. I don't like the idea of things breaking on me
<mac10688> that would make me angry again
<hyper_ch> as said, the good thing about nixos are the atomic upgrades... if you're not happy, go back to an earlier generation
user_0x58 has quit [Quit: Leaving]
maxdevjs has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #87974 → Gnome more updates → https://git.io/Jf0u7
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to master: https://git.io/Jf0Dl
iqubic has joined #nixos
philr has joined #nixos
mac10688 has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/873e114cf49 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @jtojnar pushed to master « wpa_supplicant_gui: fix build with Inkscape 1.0 »: https://git.io/Jf0D9
<colemickens> <la-s "colemickens: is it normal for yo"> There's a recent issue about it. I3status-rust has started blocking the repo multiple times a day and I haven't had time to fix it
drakonis has quit [Read error: Connection reset by peer]
philr_ has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #87674 → trilium: 0.42.1 -> 0.42.2 → https://git.io/Jf8aW
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/Jf0yI
mac10688 has joined #nixos
lord| has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
cole-h has quit [Quit: Goodbye]
lord| has joined #nixos
orivej_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixos-hardware] @Mic92 opened pull request #165 → make tests less verbose → https://git.io/Jf0SW
<{^_^}> [nixos-hardware] @Mic92 merged pull request #165 → make tests less verbose → https://git.io/Jf0SW
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/Jf0S6
noudle has joined #nixos
Heirlung has quit [Read error: Connection reset by peer]
Heirlung- has joined #nixos
Heirlung- is now known as Heirlung
<{^_^}> [nixos-hardware] @Mic92 pushed 0 commits to cleanup-swanky: https://git.io/Jf0SH
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/873e114cf49 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
alexherbo2 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-hardware] @Mic92 opened pull request #166 → README.md: add missing link → https://git.io/Jf0S5
alexherbo2 has joined #nixos
<JJJollyjim> srhb: could you elaborate on the security thing? i thought fixes were commited to unstable then backported
orivej has quit [Ping timeout: 256 seconds]
<hyper_ch> I also tend to think security fixes end up in unstable quicker
<srhb> JJJollyjim: unstable is generally broken more often than stable, so while the commits do land in master there first, the actual channel bump is much, much slower.
<srhb> (on average)
<JJJollyjim> ah right
khar0n has joined #nixos
<srhb> Even when unbroken, it's more busy building.
<JJJollyjim> yeah, a security fix to 20.03 is less likely to rebuild stdenv i guess :P
<srhb> Right. stdenv should land in staging branches regardless though
alexherbo2 has quit [Ping timeout: 258 seconds]
<srhb> If you build your own system straight from master, none of the channel logic applies, of course.
<JJJollyjim> right, so hydra does somewhat fair scheduling between the different jobs?
<srhb> And then "unstable" may indeed be faster for fixes.
<srhb> JJJollyjim: There's a weighting system for it.
<JJJollyjim> sweet
kharon has quit [Ping timeout: 260 seconds]
khar0n is now known as kharon
<hyper_ch> unstable --> almost latest and bestest software :)
<JJJollyjim> yeah i get the tradeoff now
<srhb> It's definitely an evaluation thing, it depends on your use case.
smatting_ has joined #nixos
marsh has joined #nixos
smatting_ has quit [Ping timeout: 256 seconds]
mallox has joined #nixos
<JJJollyjim> one day i will remember to look for "trunk-combined" on hydra instead of staring blankly when i can't see "unstable"
<srhb> JJJollyjim: If you go there from status.nixos.org it might be easier.
<JJJollyjim> ty
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
avn has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<hadrian[m]> <srhb "Jamie: If you go there from stat"> A complete break in protocol, I'm aware. You've all selflessly devoted your time to me and my family for many hours - and i cannot thank you enough. I'll absolutely repay this kindness someday - i promise you this - and i want to learn to do this the right way; but i also want you to have your lives too. Can someone please just nudge me into building this build so you can all get
<hadrian[m]> some rest and Ill review docs tomorrow morning and would like to debrief with SOMEONE because i still havent a clue as to whats actually afoot sans a conversation or two with the FBI.
pjt_014 has quit [Ping timeout: 256 seconds]
zaeph1 has joined #nixos
zaeph has quit [Disconnected by services]
zaeph1 is now known as zaeph
pistache has quit [Ping timeout: 264 seconds]
<srhb> hadrian[m]: Sorry, I feel like I've been dumped into the middle of a conversation without context. What's broken?
pistache has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<hyper_ch> why do I keep getting this warning: unable to download 'https://nixos.org/channels/nixos-unstable': HTTP error 302 (curl error: Couldn't resolve host name); retrying in 268 ms ?
orivej has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<srhb> hyper_ch: Presumably you're having periodic troubles resolving the host name.
codygman has joined #nixos
<hyper_ch> srhb: weird thing is, it's only my server... on my notebook it's fine... same lan
<srhb> hyper_ch: Same upstream resolver? Same dns setup locally?
<hyper_ch> server uses systemd
<hyper_ch> and I use normal router
<srhb> That sounds like a difference to investigate.
<hyper_ch> that systemd is just so annyoting but I don't know how to turn it off
<srhb> systemd-resolved, you mean?
<hyper_ch> yes
<hyper_ch> they also point to different ips for nixos.org for some reason
<srhb> services.resolved.enable = false?
<srhb> That's normal
ilikeheaps has quit [Ping timeout: 240 seconds]
<hyper_ch> why is that normal?
<srhb> Because it does have multiple IPs
<srhb> hyper_ch: (And you're served one of the A records)
<hyper_ch> but the routher should have cached it
ilikeheaps has joined #nixos
<srhb> Sure, but it doesn't have a long TTL
<hyper_ch> since both ask the router eventually, they both should get the same
<kyren> is there an easy way to run activationScripts after mounting filesystems? is the best way to handle this just to make a systemd service to do it?
<c00w> Probably?
codygman has quit [Ping timeout: 260 seconds]
<srhb> hyper_ch: Right, if every component you have respects the TTL, they should end up with the same IP _at any given time_ - I agree with that.
<srhb> hyper_ch: If you're not seeing that, maybe some component is not respecting TTL.
<hyper_ch> let's see if disabling resolved breaks things :)
<niso> i can't declare a submodule as a type right?
codygman has joined #nixos
avn has joined #nixos
<srhb> niso: Depends what exactly you mean. An option type can indeed be a submodule.
<niso> srhb: i'd like to check if file is of type fileOpts https://github.com/NixOS/nixpkgs/pull/87973/files#r426187435
<kyren> oh right, I forgot about systemd 'RequiresMountsFor', that's perfect
<srhb> niso: The easy way is to have the new thing be nullable and have it take precedence if it's not null
<srhb> niso: I think that's quite common.
<srhb> niso: (Instead of rolling it into a big either)
<niso> srhb: means i'd need two options (e.g. file and fileSettings). i did use that before, however it seemed uselessly verbose
<hyper_ch> srhb: ok, I'm still fighting wit that
<srhb> niso: Well, I think you've bumped into the place where it might show that it's not useless, because bolting on more types and eithers and oneofs is difficult without algebraic datatypes
<hyper_ch> I did disable systemd resolved but my resolv.conf only has nameserver 127.0.0.1 and options edns0 as entries
<srhb> hyper_ch: Check which process is listening for dns on 127.0.0.1? :)
<srhb> hyper_ch: Maybe you have some other resolver running.
<hyper_ch> having options set for nameservers should add them to /etc/resolv.conf IMHO
<niso> srhb: i see, thanks. as is the linked solution works (however the check for isAttrs and isDerivation seemed like a hack/workarround). means you'd refactor it back to file and fileSettings? or leave it the way it is now? (usability wise i like the current solution better, however i'm not sure on things like how the auto-generated docs will look)
<srhb> niso: Without having reviewed the entire thing, my gut feeling is that I'd prefer old way and new way to be separate options. Explicit > implicit is my reasoning. And then they could be mutually exclusive.
<hadrian[m]> Aren't my DNS requests being routed thru my hackers? I can see that on my side periodically, want me to kill them off again?
<srhb> (Via an assertion, say)
<hyper_ch> srhb: here's also the bridging section https://paste.simplylinux.ch/view/raw/b735ffa2
orivej_ has joined #nixos
<hadrian[m]> I'm not sure what you can and cannot see on your side.
<srhb> hyper_ch: Like I said, check which process is listening for dns locally. It's probably the one moving your original resolv.conf away.
<hyper_ch> srhb: and how to do that?
<JJJollyjim> hm, if a derivation file in nixpkgs takes systemd as an argument (but only uses it if `stdenv.isLinux`), will it fail to build on darwin?
<srhb> hyper_ch: `ss -tlnp | grep 23` might do it
<hyper_ch> 23? I thought dns is 53
<srhb> hyper_ch: Yes, you're right.
<JJJollyjim> and if so, what's the best approach? take pkgs as an argument and query it directly?
<srhb> JJJollyjim: As long as the attribute exists on $othersystem it's OK to pass it as an argument as long as you don't use it
<srhb> JJJollyjim: Because laziness.
<JJJollyjim> ty
orivej has quit [Ping timeout: 256 seconds]
<JJJollyjim> makes sense
<hyper_ch> srhb: dnsmasq is listening there but I don't have anything dnsmasq related in my configuration.nix
<srhb> hyper_ch: Presumably it's being transitively enabled by something else then.
<JJJollyjim> how frequently does ryantm check for updates?
<niso> srhb: i see where you are comming from. my reasoning was that one could leverage the typesystem instead, which would save a few lines of documentation/code. Guess i'll think it over another time
<clever> JJJollyjim: due to lazyness, it wont eval the pkgs.systemd, and will just ignore it
<{^_^}> [nixpkgs] @gnidorah opened pull request #88008 → gmemusage: init at 0.2 → https://git.io/Jf07n
<{^_^}> [nixpkgs] @gnidorah closed pull request #88008 → gmemusage: init at 0.2 → https://git.io/Jf07n
emacsomancer has quit [Read error: Connection reset by peer]
<srhb> niso: Yeah, pros and cons for sure. It is a very weak type system, if it were stronger I would probably agree with you.
<srhb> niso: (Like if I could pattern match on some constructor, say)
<niso> srhb: are there any plans on improving the type system?
<srhb> There have been a number of attempts, and there's an ADT library out there, but I don't think any serious plans, no.
orivej has joined #nixos
codygman has quit [Ping timeout: 272 seconds]
orivej_ has quit [Ping timeout: 258 seconds]
<niso> srhb: i see, thanks
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
morgrimm_ has joined #nixos
morgrimm has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87865 → vdirsyncer: Convert to a python module → https://git.io/JfRks
<{^_^}> [nixpkgs] @FRidh pushed commit from @doronbehar to master « vdirsyncer: Convert to a python module (#87865) »: https://git.io/Jf07l
<hyper_ch> srhb: it's getting worse and worse
<hyper_ch> now I can't ping anything
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/025deb80b24 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<hadrian[m]> I just shut down another block filter
<srhb> hadrian[m]: I still feel like we're seeing like 10% of your conversation and none of it makes any sense to me yet. :-)
<hyper_ch> srhb: now I can't even do a rebuild anymore and enable it again
<simpson> I think that they're playing some sort of immersive video game?
<srhb> hyper_ch: Roll back and start over? :)
<srhb> simpson: That might explain something.
emacsomancer has joined #nixos
morgrimm_ has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
<simpson> TBH that's how I feel about Nix sometimes. A very complex video game with unclear goals. And of course it's an 80s-era game, because it comes with a massive instruction manual that has all the answers.
<hyper_ch> srhb: the whole thing is totally f****.... without me declaring anything different nameserver services get set and when trying to add what nameserver to use they just refuse
<hadrian[m]> <srhb "hadrian: I still feel like we're"> @srhb You're probably right.
<srhb> hyper_ch: Yes, implicit settings can be frustrating.
alexherbo2 has joined #nixos
<hyper_ch> why isn't there a simple way to just add thigns to resolv.conf?
avn has quit [Ping timeout: 260 seconds]
avn has joined #nixos
<srhb> hyper_ch: PResumably it already is. dnsmasq is just imperatively moving your file out of the way
<srhb> hyper_ch: Likely it's there in /etc just under a different name
<hyper_ch> well, first it was systemd
<hyper_ch> then dnsmasq springs into line
<srhb> hyper_ch: Probably /etc/dnsmasq-resolv.conf
<hyper_ch> I did add services.dnsmasq.servers = [ ... ]; and then nothing can be resolved
<hyper_ch> IMHO it's just one big mess
<srhb> hyper_ch: Maybe go back to a simpler, non-messy configuration.
<srhb> Eg. find out where dnsmasq is coming from and get rid of it.
<hyper_ch> it's only lately that this configuration is having issues
<hyper_ch> I've used systemd-bridge for a long time now
<hyper_ch> and systemd-bridge did enable systemd-resolved
<srhb> I don't imagine that it used to be fine helps you in this moment.
maddo has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
NeoCron has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @JJJollyjim opened pull request #88009 → redis: handle changes to systemd support → https://git.io/Jf07o
<{^_^}> [nixpkgs] @adisbladis merged pull request #87975 → pkger: init at 0.16.0 → https://git.io/Jf0ud
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jf07X
<{^_^}> [nixpkgs] @nlewo merged pull request #87960 → cue: 0.1.1 -> 0.1.2 → https://git.io/Jf04q
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/Jf079
<JJJollyjim> as a random person who opened a PR am I able to ask ofborg to run a test?
<JJJollyjim> or is that a privileged operation?
<niso> JJJollyjim: only running tests for darwin is privileged
<{^_^}> [nixpkgs] @mudrii opened pull request #88010 → maintainers: add mudrii → https://git.io/Jf07F
<JJJollyjim> sweet
<JJJollyjim> does it want the name of a package that it'll look at the passthrough of, or the name of an attribute under nixosTests?
<srhb> JJJollyjim: nixosTests iirc, passthru ones will run during.. Build, I think?
<JJJollyjim> tybm
<srhb> Unless something changed, let me just verify.
janneke_ has joined #nixos
<pie_> anyone know how to add extra files to a netboot image in some user accessible path? trying to use pathsToLink doesnt seem to add anything, but im rerunning my process just in case its still running th eold image or something
<srhb> JJJollyjim: "test" is nixos/release.nix -A tests.$name, "build" takes passthru.tests as well.
<JJJollyjim> got it
<JJJollyjim> ty
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
janneke has quit [Ping timeout: 260 seconds]
janneke_ is now known as janneke
<JJJollyjim> oh no
<niso> where/how are manpages of modules created?
<JJJollyjim> i just noticed by chance that a pull request of mine that was merged 40 days ago broke a package on hydra :/
o1lo01ol1o has joined #nixos
<srhb> JJJollyjim: Don't worry too much about it. Especially if you can fix it. :D
<clever> niso: this will iterate over the entire options tree, convert it to json, and then further convert that to various doc format
<clever> s
<niso> clever: thanks!
salumu has quit [Quit: WeeChat 2.8]
<JJJollyjim> ah it looks like upstream accidentally broke 32-bit
<JJJollyjim> didn't notice it was just i686 that failed
o1lo01ol1o has quit [Ping timeout: 265 seconds]
hmpffff has joined #nixos
knupfer has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
o1lo01ol1o has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #88009 → redis: handle changes to systemd support → https://git.io/Jf07o
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jf05R
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch has joined #nixos
hyper_ch has quit [Remote host closed the connection]
hyper_ch has joined #nixos
__monty__ has joined #nixos
smatting_ has joined #nixos
<pie_> yeah dunno how to get the netboot thingy to do what i want
<pie_> cc clever <pie_> anyone know how to add extra files to a netboot image in some user accessible path? trying to use pathsToLink doesnt seem to add anything, but im rerunning my process just in case its still running th eold image or something
<{^_^}> [nixpkgs] @JJJollyjim opened pull request #88011 → redis: 6.0.1 -> 6.0.3 → https://git.io/Jf05o
choward has quit [Ping timeout: 272 seconds]
<hyper_ch> pie_: netboot thingy?
packer has quit [Quit: ByeBye]
quinn has quit [Ping timeout: 256 seconds]
mallox has quit [Quit: WeeChat 2.8]
<clever> pie_: i would just use /etc/
<clever> 22 environment = {
<clever> 34 etc.busybox.source = pkgs.busybox;
<clever> pie_: now /etc/busybox points to the derivation, but its not in PATH, so the dozen utils i didnt want dont break things
<hadrian[m]> Something just happened :-/
mallox has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
quinn has joined #nixos
<bqv> Again?
<hadrian[m]> 3 minutes ago my phone just rang voicemail (on its own) - just prior to your message. A seemingly innocous message from mum and my notification log lit up.
ixxie has quit [Ping timeout: 256 seconds]
<bqv> I hate it when thing happen
asymptotically has joined #nixos
o1lo01ol1o has joined #nixos
<hadrian[m]> Approx 02:18 am PDT. I believe it's Bluetooth initated and done via pedestrian or vehicle in front of my home.
<hadrian[m]> Happens regularly. Front door wireless lock keeps unlatchig as well.
<hyper_ch> what wireless lock?
<hyper_ch> been pondering to add a smart lock
<simpson> Turn on front porch lights to establish dominance.
thc202 has joined #nixos
<hadrian[m]> <hyper_ch "been pondering to add a smart lo"> Lol you have no idea ;)
dithered_diapens has joined #nixos
<hyper_ch> not a good idea?
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<pie_> hyper_ch: clever: for some reason my client isnt alerting about higlights, ill have a repo up in a bit. meanwhile, wonder why these dont show up in the options search https://github.com/NixOS/nixpkgs/blob/1ccc512b39a439fc9fc24945ffb9b94284dd70bd/nixos/modules/profiles/clone-config.nix#L60 (I can guess but i didnt check)
<hadrian[m]> Its a Yale YRD256 zwave (no bluetooth module installed). Free app on F-Droid opens it like butter :(
<pie_> clever: re: etc: well sure i guess, thanks. etc seems like a kinda awkward place to put it but who cares eh
<hyper_ch> hadrian[m]: well, if it keeps unlatching I'm not sure it's one to recommend ;)
<clever> pie_: clone-config.nix isnt in the list of default nixos modules, so it wont show in the docs
<clever> pie_: you have to add <nixpkgs/nixos/modules/profiles/clone-config.nix#L60 (I can guess but i didnt check)
<pie_> clever: ahh ok makes sense
<clever> 2020-05-17 06:28:33 < hadrian[m]> Its a Yale YRD256 zwave (no bluetooth module installed). Free app on F-Droid opens it like butter :(
<clever> oops
<clever> pie_: you have to add <nixpkgs/nixos/modules/profiles/clone-config.nix> to the imports, before it will show up
<clever> pie_: most things under profiles work like that
mallox has quit [Client Quit]
jgeerds has joined #nixos
mallox has joined #nixos
packer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
quinn has quit [Ping timeout: 260 seconds]
avn has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 240 seconds]
quinn has joined #nixos
<hadrian[m]> No. Had no discuss
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
o1lo01ol1o has joined #nixos
dm9 has quit [Quit: WeeChat 2.8]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
potong has joined #nixos
linarcx has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @TheBrainScrambler opened pull request #88012 → webbrowser: init at 29.0.0rc1 → https://git.io/Jf0dl
<potong> installed 20.03 as a vm using qemu kvm but when trying to alter the screen setting the system settings is a black screen
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #88011 → redis: 6.0.1 -> 6.0.3 → https://git.io/Jf05o
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/Jf0dR
mallox has quit [Client Quit]
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
dhess has joined #nixos
<potong> kcmshell5 kscreen does work but systemsettings5 does not
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
<{^_^}> [nixpkgs] @mudrii opened pull request #88013 → Pulumi Update 1.12.0 > 2.2.1 → https://git.io/Jf0dw
<{^_^}> [nixpkgs] @mudrii closed pull request #88007 → Pulumi 1.12.0 > 2.2.1 and packages gcp, aws, ranbdom, and kubernetes → https://git.io/Jf01z
mallox has quit [Client Quit]
mallox has joined #nixos
<potong> newbie here, is the right place to pose this type of question?
<ixxie> yes potong
<{^_^}> [nixpkgs] @Profpatsch opened pull request #88014 → fdtools: init at 2020.05.04 → https://git.io/Jf0dy
fendor has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
Maxdamantus has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<potong> is this a known problem? where do I go to review known issues?
avn has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
morgrimm has joined #nixos
morgrimm_ has joined #nixos
<ixxie> potong: which setting are you changing?
Maxdamantus has joined #nixos
<ixxie> potong: Issues are tracked in github.com/nixos/nixpkgs
<{^_^}> [nixpkgs] @alexarice opened pull request #88015 → Agda pkg init → https://git.io/Jf0FU
<potong> I wanted to change the screen resolution, which I can by using the kcmshell5 but other settings might need altering and I can't see the gui at all
ris has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
morgrimm_ has quit [Ping timeout: 265 seconds]
chloekek has joined #nixos
<potong> Ah! found a --list option to kcmshell5 but I'd rather configure this kind of thing without resulting to the gui
<potong> nixos, nix and kde combined is a tough learning curve!
<ixxie> potong: perhaps you can set it using the NixOS option: https://nixos.org/nixos/options.html#xserver.res
<ixxie> this will set resolution in xserver
<ixxie> potong: in NixOS one typically tries to configure such things declaratively
<{^_^}> [nixpkgs] @kini opened pull request #88016 → amarok: add last.fm support, bump version → https://git.io/Jf0Fm
<ixxie> potong: I don't know about KDE but you may be able to configure it declaratively as well
Maxdamantus has quit [Ping timeout: 246 seconds]
<adisbladis> ixxie: KDE is one of the worst offenders when it comes to statefulness
Maxdamantus has joined #nixos
kyren has left #nixos ["User left"]
<ixxie> well, that doesn't bode well for declarative configuration then, potong :P
<potong> That was my intention, I prefer working on the CL , found an issue #82141 which mentions kscreen but my version of 20.03 doesn't even show screen at all.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/82141 (by schmittlauch, 9 weeks ago, closed): kscreen: display configuration lacks screen layout settings
<{^_^}> [nixpkgs] @SCOTT-HAMILTON closed pull request #87938 → Added shamilton to maintainers list (sorted) → https://git.io/Jf03a
<potong> ixxie, I will try the options you mentioned. Thanks everyone for their input, I'll probably be back asking daft questions, forgive me in advance.
pistache has quit [Ping timeout: 264 seconds]
<gentauro> I've disabled `hardware.bluetooth.enable = false;` on my `/etc/nixos/configuaration.nix`. Is there a way to `bypass` the 5-10 seconds the boot process looking for `bluetooht`?
<gentauro> it's a bit annoying on restarts and power-on
<gentauro> (why is it even looking for BT when it's disabled in the first place?)
<bqv> services.blueman.enable = fales?
ixxie has quit [Quit: Lost terminal]
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
andreas303 has quit [Remote host closed the connection]
mallox has joined #nixos
<gentauro> bqv: is that installed by default?
<bqv> dunno
andreas303 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1ccc512b39a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
MmeQuignon has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
aveltras has joined #nixos
<Mic92> evanjs: nix-review does
<Mic92> gentaur: what process does block for Bluetooth?
meck has quit [Quit: ZNC 1.7.5 - https://znc.in]
meck has joined #nixos
meck has quit [Remote host closed the connection]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
o1lo01ol_ has joined #nixos
<{^_^}> [nixpkgs] @roberth opened pull request #88017 → [20.03] backport haskell/generic-builder.nix: Fix C lib multiple inclusions → https://git.io/Jf0bt
o1lo01ol1o has quit [Ping timeout: 256 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
avn has quit [Read error: Connection reset by peer]
m0rphism has joined #nixos
chiastre has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos
avn has joined #nixos
meck has joined #nixos
Diogo7 has quit [Quit: The Lounge - https://thelounge.chat]
Diogo has joined #nixos
KeiraT has quit [Excess Flood]
chiastre has joined #nixos
KeiraT has joined #nixos
<Yaniel> hmm firefox keeps starting in xwayland instead of native wayland for some reason
agsdheidjd has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos
<betaboon> evils: around ?
<betaboon> Yaniel: do you have `MOZ_ENABLE_WAYLAND=1` ?
<Yaniel> where should that go?
<Yaniel> also if I can override the resolution of xwayland that'd be nice
<Yaniel> re environment variables, not sure where they are supposed to be set when sway is launched from sddm
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #88017 → [20.03] backport haskell/generic-builder.nix: Fix C lib multiple inclusions → https://git.io/Jf0bt
<{^_^}> [nixpkgs] @roberth pushed 2 commits to staging-20.03: https://git.io/Jf0b4
<betaboon> Yaniel: (for global env-vars you would use `environment.variables.XYZ = "foo";` ofc
<{^_^}> [nixpkgs] @etu merged pull request #87980 → [20.03] phpPackages.phpstan: 0.12.4 -> 0.12.25 → https://git.io/Jf0zy
<{^_^}> [nixpkgs] @etu pushed 2 commits to release-20.03: https://git.io/Jf0bz
thc202 has quit [Ping timeout: 260 seconds]
<Yaniel> thanks, somehow I confused the "default" and "example" fields
<betaboon> Yaniel: you're welcome
<{^_^}> [nixpkgs] @etu merged pull request #87977 → [20.03] phpPackages.composer: 1.9.1 -> 1.10.6 → https://git.io/Jf0zB
<{^_^}> [nixpkgs] @etu pushed 2 commits to release-20.03: https://git.io/Jf0ba
<{^_^}> [nixpkgs] @roberth pushed 91 commits to staging-20.03: https://git.io/Jf0bo
smatting_ has quit [Quit: WeeChat 2.4]
smatting has joined #nixos
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @Elyhaka opened pull request #88018 → sway: fix gtk wrapper → https://git.io/Jf0b5
<betawaffle> i feel like i asked this before, but where can i find all the "special" derivation attributes, the ones that have some meaning to nix besides just being passed to the builder as env vars?
captn3m0 has quit [Ping timeout: 256 seconds]
<betawaffle> it seems like the documentation doesn't include all of them
<betawaffle> as an example `__structuredAttrs`
c0c0 has quit [Quit: WeeChat 2.7.1]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/025deb80b24 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @risicle opened pull request #88019 → aflplusplus: 2.64c -> 2.65c → https://git.io/Jf0NU
chloekek has quit [Ping timeout: 265 seconds]
<betawaffle> another example is `buildInputs`, which seems to be used in a few examples but not documented/explained
observer_alpha[m has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
<betaboon> zimbatm: i just saw you mention creating a #nixos-wayland back in 2018. i was looking for that as well. seems like that never happened. anyhow I'm in there now
mallox has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jf0NO
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #87953 → glpaper: init at unstable-2020-03-30 → https://git.io/Jf0WY
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/Jf0Ns
hmpffff has quit [Client Quit]
jgeerds has quit [Ping timeout: 260 seconds]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdamantus has joined #nixos
troydm has joined #nixos
zupo has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<hexagoxel> nix repl does not handle some escapes correctly (home/end keys don't work) for me. How to fix?
Maxdamantus has quit [Ping timeout: 265 seconds]
<clever> hexagoxel: thats also been bothering me for months
<delan> g’day 👋 has anyone found that their boot.postBootCommands stopped running after upgrading to 20.03?
<hexagoxel> oh and nix repl behaves mildly unexpectedly if you :l files that have unclosed parens. it just hangs, presumingly waiting for the closing parens. Should it not try to parse the file as one syntactically valid block, instead of pretending you pasted it to stdin?
Darkmatter66_ has quit [Ping timeout: 272 seconds]
<bqv> engineer fix: you could >> the closing paren to the file to make nix happy
Darkmatter66 has joined #nixos
<{^_^}> [nixos-homepage] @lukegb opened pull request #427 → Fix comma-separated list on /learn.html → https://git.io/Jf0NN
<hexagoxel> bqv: I won't know what fix to apply if it does not give an error message
tom39291 has joined #nixos
<tom39291> Given a set s and a variable v="foo" how do I look up v in s? s.v looks for a key called "v", I want to look for key "foo".
<tom39291> In JS I'd s[v] but that isn't valid Nix. :)
<hexagoxel> s.${v}
o1lo01ol_ has quit [Remote host closed the connection]
<bqv> i was being entirely facetious, i don't expect that'd actually even work
<tom39291> hexagoxel: Thanks!
<bqv> rlwrap might fix the escape issue though
o1lo01ol1o has joined #nixos
Maxdamantus has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
eoli3n__ has joined #nixos
ohhaimark has joined #nixos
<gentauro> 13:08 < Mic92> gentaur: what process does block for Bluetooth?
<ohhaimark> Hi. I'm trying to get i3status into my home-manager configuration, but it isn't in my local version despite being pulled in a couple of days ago. I have a channel for home-manager from the github master release. Should this not be the lastest or do I not understand something?
<gentauro> I don't recall, but it's at the boot process
<gentauro> (something like: "Waiting for Bluetooth device")
<gentauro> even though it's disabled
ddellacosta has quit [Ping timeout: 265 seconds]
<gentauro> it's a bit annoying cos it might be the part that takes the most of the `fast` NixOS booting ...
<gentauro> :)
Maxdamantus has quit [Ping timeout: 272 seconds]
<ohhaimark> I guess I could just keep a git submodule, but I'd rather have that managed by having a channel instead.
Maxdamantus has joined #nixos
morgrimm has joined #nixos
morgrimm_ has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
Maxdamantus has quit [Ping timeout: 265 seconds]
zupo has quit [Ping timeout: 265 seconds]
philr has quit [Ping timeout: 256 seconds]
Maxdamantus has joined #nixos
cosimone has joined #nixos
zupo has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maxdamantus has quit [Ping timeout: 256 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Rusty1 has joined #nixos
fendor has quit [Remote host closed the connection]
Maxdamantus has joined #nixos
rodrigo_ has joined #nixos
dm9 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7ca97fcde8a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<pie_> ok cloneconfigincludes is not being good
Maxdamantus has quit [Ping timeout: 240 seconds]
<pie_> ok so it doesnt even copy anything just sticks them in the configuration.nix , disappoint
Maxdamantus has joined #nixos
teto has joined #nixos
reallymemorable has joined #nixos
never_released has quit [Ping timeout: 272 seconds]
<lunik1> If I've made some requested changes to a PR should I manually request another review?
smatting has quit [Ping timeout: 272 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
zupo has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
<pie_> clever can im make squashfs builds faster somehow? or just not use squashfs and get something faster
<pie_> re: netboot image iteration takin me forever
<clever> pie_: already have the answer! lol
<pie_> clever: but how
<clever> finding the gist...
<pie_> oh thats what you meant ok lol
<pie_> i thought you meant i already figured it out
<pie_> clever: i need to get you to write a book soon
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> pie_: https://gist.github.com/cleverca22/c099a3e413b6e9622653e70c66a5efed i was asked that exact question, 4 months ago
<clever> pie_: the direct_stage_2 attr, will skip the squashfs entirely, and just put stage2 directly into the initrd
<keithy[m]> If anyone is interested I started a nix language defn for the bluefish editor (needed an editor for the pinebook pro)
<clever> the main thing missing from that, is importing a db.sqlite backup
<clever> pie_: currently, nix will consider everything in /nix/store as garbage, and try to GC itself to death
<pie_> lol
<bqv> wow
<pie_> clever: is there no reasonably programmable interface for sqlite stuff
alp has joined #nixos
never_released has joined #nixos
chloekek has joined #nixos
<clever> pie_: in this case, the util for generating a squashfs, also made a nix-path-registration file
<clever> pie_: and upon "first boot", this will restore db.sqlite from that file
<pie_> aha
<clever> tricking nix into thinking those paths had been added as normal
<clever> pie_: and this generates a fake db.sqlite backup, that represents the closure of a list of paths
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<clever> pie_: and you want $closure/nix-path-registration, which is no longer available due to this revert
fendor has joined #nixos
<pie_> i cant tell how custom_initrd gets included into something
<pie_> seems like just some attrset that contains it
<clever> pie_: you may want to try reverting that 2-year-old revert, and see if its now working better
<clever> and then you can get a closure within the initrd
<pie_> not horribly concerned about gc-to-death yet
<clever> pie_: without that data, nix is also unable to grab store-paths from the squashfs
<pie_> clever: peeve: reverted issues/prs should automatically be reopened
<clever> pie_: and it will be forced to either download everything again from cache.nixos.org, or rebuilt
<pie_> aha
<keithy[m]> Hi, if I am on Mac OS, how should I have the channels set up... is this ok darwin https://github.com/LnL7/nix-darwin/archive/master.tar.gz
<pie_> maybe i will just add this whole thing to my todo
<keithy[m]> ah I upgraded to High Sierra..
vyorkin has joined #nixos
<vyorkin> is it possible to use cachix for 2 different hosts with 2 different binary caches?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<vyorkin> I'm asking because I don't see how I can generate 2 keypairs
<vyorkin> it seems there is no way to do this for now
<vyorkin> When I try to run cachix generate-keypair mysecondbincachenamehere it says: Public signing key already exists. It's currently not possible to override or add multiple signing keys. However, this feature is planned
orivej has joined #nixos
Neo-- has quit [Ping timeout: 272 seconds]
Maxdamantus has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
<keithy[m]> ok how does one reset nix and start again
<pie_> clever: btw any idea why pathstolink doesnt seem to do anythig in netboot?
<clever> pie_: how did you try using it? with what args?
<zimbatm> betaboon: colemickens and I were in #nixos-wayland for a while too coordinate the work. Nowadays most of that work has been merged into nixpkgs so that channel isn't really needed anymore.
graf_blutwurst has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #88020 → canta-theme: 2020-01-31 -> 2020-05-17 → https://git.io/Jf0p7
<keithy[m]> sudo rm -rf /nix
alexherbo2 has joined #nixos
<pie_> clever: well this is the junk i have left in my file https://bpa.st/IACA
<betaboon> zimbatm: i just feel bad spamming in here asking for a nixos+sway specific problem again and again xD
<clever> pie_: and where do you expect those links to show up?
<keithy[m]> always getting permission errors
fling has quit [Ping timeout: 272 seconds]
<clever> keithy[m]: `chmod -R +w /nix`
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<clever> keithy[m]: `rm -f` wont give itself write permissions to a dir, you have to chmod first
<zimbatm> betaboon: don't :-p
<pie_> clever: i think /run/current-system/sw it was?
<zimbatm> betaboon: (feel bad I mean). You could also post on https://discourse.nixos.org/
<clever> pie_: pathsToLink must be a list of strings, not store paths
<keithy[m]> im gonn just keep deleting stuff until the original install works
<pie_> clever: well, one of them is a string
<clever> pie_: for each package in systemPackages, it will link that path
<clever> pie_: so if you set pathsToLink = [ "/foo" ];, then the $out/foo of everything in systemPackages will be merged together, creating /run/current-system/sw/foo
<pie_> oh lol
<pie_> smh
<pie_> i remember that now
<betaboon> zimbatm: I'm so used to irc since forever. not yet used to this discourse stuff xD
<zimbatm> it's useful if you want more structured responses
<zimbatm> IRC is not so great if the topic is larger than a few lines of text
<pie_> otoh every discourse page i open lags my firefox for 20 seconds
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7ca97fcde8a (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
hmpffff has joined #nixos
vyorkin has quit [Quit: WeeChat 2.7.1]
<MichaelRaskin> pie_: some of them are better without JS
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<edef> pie_: i just avoid anything on Discourse
<edef> imo it's not usable software, and anyone who can bear posting there must already have sufficient brain worms that i'm not interested in the content
<MichaelRaskin> Well, it is _almost_ usable by replying to emails
<edef> "almost"
<edef> presumably this means i get emails that are just bad enough that using the accursed web UI is an improvement in usability
<edef> quietly wishing our mailing list weren't a wasteland
waleee-cl has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
morgrimm_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #87590 → nvi: fix linux build → https://git.io/JflGU
proofofkeags has joined #nixos
aveltras has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « nvi: mark as broken »: https://git.io/Jf0hi
<softinio[m]> Hi all I am using nix in conjunction with nix-darwin on my macos .... how do I upgrade nix itself (not the channels)? Thank you !
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdamantus has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #164 → lenovo/thinkpad/x1/7th-gen: init → https://git.io/Jf0aP
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/Jf0hQ
<hsngrmpf[m]> Hey guys, Is there a way to tell `autoPatchelfHook` to just ignore symbols which it cannot find a library for? The background to this is that some python manylinux1 wheels break the spec and link against `libcuda.so.1`. I'd like to just ignore that since the cuda functionalitty is not required. I cannot use `dontAutoPatchelf` variable, since i execute this on many projects with distinct directory structures.
<{^_^}> [nixos-hardware] @Mic92 merged pull request #166 → README.md: add missing link → https://git.io/Jf0S5
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/Jf0h7
<clever> hsngrmpf[m]: i would just do a manual patchelf
proofofkeags has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 265 seconds]
proofofkeags has joined #nixos
orivej has joined #nixos
<dngray> someone should create a nixos container image for https://us.images.linuxcontainers.org/
jjakob has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
alp has quit [Ping timeout: 260 seconds]
dm9 has quit [Quit: WeeChat 2.8]
Maxdamantus has quit [Ping timeout: 264 seconds]
dm9 has joined #nixos
dm9 has quit [Client Quit]
Maxdamantus has joined #nixos
jjakob has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @lourkeur opened pull request #88021 → xpra: avoid double-wrapping → https://git.io/Jf0jU
<infinisil> softinio[m]: There's https://nixos.org/nix/manual/#ch-upgrading-nix, which also indicates that the Nix usually comes from the channel
<softinio[m]> infinisil: ty
KeiraT has quit [Remote host closed the connection]
teto has quit [Ping timeout: 260 seconds]
KeiraT has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<betaboon> wtf. i found the reason for my sway-gtk3-antialiasing problem ... `xdg.portal.gtkUsePortal = true;` was causing it ... took 2 weeks to figure out
proofofkeags has quit [Remote host closed the connection]
morgrimm has joined #nixos
morgrimm_ has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 opened pull request #167 → fix toshiba/swanky evaluation → https://git.io/Jf0jO
alp has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
morgrimm_ has quit [Ping timeout: 256 seconds]
<prusnak> has it been already decided whether "unstable" belongs to ${pname} or into ${version}?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c19fa9be5ef (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<hyper_ch> is nixos available in China?
dingenskirchen has quit [Ping timeout: 244 seconds]
Maxdamantus has quit [Ping timeout: 264 seconds]
dingenskirchen has joined #nixos
<betaboon> worldofpeace: #65449 seems to be a bad idea
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65449 (by worldofpeace, 42 weeks ago, merged): nixos/xdg: disable portals (again, again)
Maxdamantus has joined #nixos
cr4y1_ has joined #nixos
<hyper_ch> I ask regarding china because of https://www.apache.org/licenses/exports/ --> embargoed destinations. With Trumps latest decree (?) I tend to think software under apache licence can't be made available anymore in China
<{^_^}> [nixpkgs] @remunds closed pull request #87801 → write_stylus: updated broken icon hash → https://git.io/JfBmM
<simpson> hyper_ch: Hilarious if true. It may suffice for us to not mirror ASF tarballs.
<hyper_ch> simpson: not sure to how many other US based/originated FLOSS this also goes...
<hyper_ch> betaboon: not that
Maxdamantus has quit [Ping timeout: 256 seconds]
<hyper_ch> betaboon: although, I think that still applies :) thx
Maxdamantus has joined #nixos
<simpson> hyper_ch: In the 90s, the feds attempted to punish people merely for publishing FLOSS code which happened to be available to various nation-states. They backed off. https://en.wikipedia.org/wiki/Phil_Zimmermann is a good example coder.
<betaboon> hyper_ch: how about this thread: http://mail-archives.apache.org/mod_mbox/www-legal-discuss/201905.mbox/<CAMAfNmHKPMwoHsTqZY57rO0ezMq2Y21aZYEPgMTbhR9WRS3PYA@mail.gmail.com>
<simpson> I'd be more concerned with following whatever policies ASF asks of downstream distros, including ports trees like ours.
cole-h has joined #nixos
<clever> simpson: i saw a comment on a recent youtube video, where the topic was cracking DRM in abandoned games, to preserve them
<clever> simpson: and they mentioned that even discussing such things can be illegal in some areas
__monty_1 has joined #nixos
__monty_1 has quit [Client Quit]
<clever> simpson: there is also the weird edge cases, like somebody buying the full rights to a once abandoned game, but the source has since been lost
<clever> now what? lol
<betaboon> clever: in germany we have this very stupid law since 2007 https://de.wikipedia.org/wiki/Vorbereiten_des_Ausspähens_und_Abfangens_von_Daten so called "hackerparagraph"
<simpson> clever: Yeah, it's a real problem. In the USA, discussion is usually not illegal, as long as the discussion doesn't involve explaining how to go do illegal things. But since information is so easy to transmit and copy, it's so hard to do things like avoid talking about forbidden chemistry or cryptography.
<hyper_ch> betaboon: wouldn't curl be considered a hackertool?
<clever> betaboon: another edge case, is what ive been doing with the rpi4 lately
<clever> betaboon: the rpi4 boot process, involves loading a blob from SPI flash and running it
<betaboon> hyper_ch: some ppl were arguing that ping might be considered a hackertool, thus making the sheer fact of owning a windows-pc illegal
<niso> hyper_ch: maybe, stuff like dissasamblers and wireshark definitly is :/
<clever> betaboon: that blob will enable the ddr4 controller, then load a start4.elf blob from SD, and execute it
<hyper_ch> ssh allows you to break into remote computers... clearly a hackertool
<clever> betaboon: and wanting to get as much open-source as possible, i wanted to replace both stages with open-source software
<clever> betaboon: everything sounds fine so far, right?
<sasyctu[m]> Is there documentation anywhere on how I can add a custom keyboard mapping to xkb?
<betaboon> clever: the stupidest thing i ever saw was the blizzard-vs-glider lawsuit: https://en.wikipedia.org/wiki/MDY_Industries,_LLC_v._Blizzard_Entertainment,_Inc. search for "ram copying" and have a laugh
<sasyctu[m]> Like I have a file that would go under /usr/share/X11/xkb/symbols, but I'm not sure how to go about getting that to work under nix.
<betawaffle> i've got something currently using `pkgs.writers.writeCBin`, how do i convert that to a "normal" derivation?
<betawaffle> ie. i've got a single-file C project
<betaboon> sasyctu[m]: maybe this is what you're looking for: https://nixos.org/nixos/options.html#xkb
mallox has quit [Quit: WeeChat 2.8]
<betawaffle> i'm not super familiar with the C ecosystem in general
<clever> betaboon: after a few days of stumlbing around and my custom binary always being ignored, i opened a ticket, and eventualy discovered, the 1st stage of the bootloader is signed
<clever> betaboon: so only authentic firmware can run!
<clever> betaboon: "ram copying", lol, so now memcpy() is illegal? :D
<clever> betaboon: (also, i did "ram" copying to solve the rpi4 issue...)
<sasyctu[m]> Thanks betaboon!
<sasyctu[m]> Ah, I could set xkbDir
<simpson> sasyctu[m]: To add to betaboon's link, you want the `services.xserver.extraLayouts` family. Also, if you need to experiment with the mapping, `xorg.xmodmap` is where xmodmap is hidden. (ji'a coi)
<sasyctu[m]> Ah, that makes more sense.
<d4rkshad0w> Hi. How can I add elements to a list in my configuration from two different imports?
<sasyctu[m]> coi la simpson
<betaboon> clever: yeah basically. they cited another case (linked there) which has "The court determined that a copy of a program made from a hard drive into RAM for purpose of executing the program was, in fact, a copy under the Copyright Act."
<clever> betaboon: so, just running a program, is now illegal? lol
<betaboon> clever: nono. only when you have to _copy_ it from harddrive to ram. if you buy the program on a ram-stick everything is fine XD
<clever> lol
<betaboon> i think thats what they call ramdisk xD
<clever> betaboon: once i knew that the 1st-stage of the rpi4 boot was signed, i set to work cracking it!, i knew the address of the mask rom, and was able to easily dump that and begin disassembly
<sasyctu[m]> Is there any way I can scope such xkb layouts to a particular user of the machine?
<clever> betaboon: and with the hint of hmac-sha1 from another user who had already cracked things, i found the routines and eventually the full keys
<simpson> That's a good question. I am lazy and just call xmodmap; I bet that there's a way to call xmodmap from the per-user xsession file.
<clever> betaboon: and now i can sign my own boot files, and run them on an rpi4
<clever> betaboon: which parts of that fall under the copyright act?....
<sasyctu[m]> je'e
<simpson> I think also home-manager has options for xkb.
zupo has joined #nixos
<betaboon> clever: i have no clue. all of them ? XD
<clever> betaboon: it also makes basically zero sense why the 1st-stage of the boot process is signed, it has never been signed on any other model
<clever> betaboon: and it doesnt validate signatures for the 2nd stage, so any hope of secureboot style stuff is toast
<sasyctu[m]> Yeah, I want to use home-manager eventually, but since this machine is just the result of me clobbering a borked arch installation with nix, my home directory is really chaotic and I haven't set about to cleaning it up yet.
<clever> betaboon: the email in this tweet claims the signatures are required for "safety certifications" ....???
<simpson> No worries; my homedir is still messy from changing from Gentoo from years ago. There's no shame in having a messy room; it means that you do things.
<betaboon> clever: i have given up on trying to understand secure-boot, tpm and all the certificatoin bs surrounding that
<sasyctu[m]> Yeah, my point was more when I looked at home manager it said it was likely to do bad things if you don't configure it right, and I haven't backed up everything off here that I need to yet. I'll get to it eventually though.
<clever> betaboon: the basic idea with secureboot is just to ensure that no binary in the boot chain is ever modified without permission from some user or group of users
<sasyctu[m]> tangentially, does anybody here do much with wine? I was trying to run Scrivener today and it failed saying wine failed to load kernelbase.dll. I have the normal wine-wow-5.0 packages, so I don't know what could be causing that.
<clever> betaboon: for a typical x86 machine, the bios would maybe be signed, and validated by the maskrom in the cpu/management engine (optional steps)
<clever> betaboon: then the bios will validate the .efi binary is correctly signed
quinn has quit [Ping timeout: 258 seconds]
<clever> betaboon: and then its up to the user with the keys, to ensure that efi binary can only ever execute more code, that has been signed with approved keys
quinn has joined #nixos
<betaboon> clever: yeah i know how it is supposed to work. at a past employer we discussed if we should use tpm or not. but then came all the attacks on tpm...
ddellacosta has joined #nixos
<clever> betaboon: and the end result, is that everything in kernel mode and your drivers are all signed and can be trusted, so you dont have to worry about kernel level rootkits
<clever> betaboon: tpm is a seperate thing, parallel to secureboot
<clever> betaboon: i think the main thing you would have wanted is measured boot, where instead of restricting what runs, you just report the hash of each thing that runs (to the tpm), before passing on control
<clever> betaboon: and if you can replay the same sequence of hashes, the tpm unlocks itself, and then you can use secrets
<clever> betaboon: if the chain of hashes is wrong, you must reset both the cpu and tpm, and its up to the motherboard&bios to ensure you can never reset only the tpm
<clever> betaboon: and then it relies on the bios being authentic, so the logs get reported correctly
<{^_^}> [nixpkgs] @prusnak opened pull request #88023 → treewide: split name into pname/version for unstable packages → https://git.io/JfEe8
<clever> betaboon: but you can always just rip the tpm off the board, and then play a fake log to it directly
afontaine[m] has joined #nixos
<clever> then its just down to the tpm being configured to self-destruct when you get it wrong too many times, and if you know what the right hashes where ahead of time
<clever> betaboon: i dont really see any way to stop things if the attacker has physical access, so this is mostly just a software restriction
<clever> betaboon: in theory, you could also implement a lot of the above on an rpi4, if the per-device key wasnt burnt into it
<clever> betaboon: and with the right docs, you could maybe even make it more secure then all of the above, to the point where not even physical access can beat it
vidbina has joined #nixos
<betaboon> clever: yeah in theory secureboot etc is a nice idea. but then you run into: producers of firmware not caring, making huge mistakes, a truckload of working attacks on secureboot over the years. and woosh gone is the trust. which is like 1/3 of tpm :D
<clever> betaboon: basically, there is a per-device signing key in the OTP memory, so if i got a "blank" cpu, i could program my own key, and then only a bootcode.bin i trust can ever run
aleph- has quit [Quit: WeeChat info:version]
<clever> betaboon: my custom bootcode.bin can then implement the TPM functionality, and also block the arm from ever reading OTP, and ensure all VPU firmware is also signed by a key i trust
<clever> betaboon: and boom, you now have secureboot and tpm, on an rpi4, and physical access suddenly requires MUCH higher skills, because the keys are on the same silicon as the cpu
<clever> betaboon: at this point, you need to melt the epoxy off the cpu with acid and start probing the bare die, or use undocumented vpu jtag stuff
morgrimm has joined #nixos
morgrimm_ has joined #nixos
aleph- has joined #nixos
<clever> betaboon: the rpi4 is basically setup to have videogame console level security, and if the firmware was done right, you could make it a nightmare to crack
<clever> betaboon: but due to them half-assing it (turning it on, but then throwing security out the window), they have forced me unto RE'ing it more, and now half the secrets are out of the bag :P
<clever> betaboon: though, from what i hear, most of this security code has been around since the rpi1, and others have already cracked it back then
bqv has quit [Quit: WeeChat 2.8]
oborot has joined #nixos
afontaine[m] is now known as sparogy
bqv has joined #nixos
kim0 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bqv has quit [Client Quit]
<{^_^}> [nixpkgs] @ryantm merged pull request #87996 → adminer: 4.7.6 -> 4.7.7 → https://git.io/Jf0Km
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfEeN
bqv has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #88024 → pythonPackages.pdfminer: 20200402 -> 20200517 → https://git.io/JfEvv
MmeQuignon has quit [Ping timeout: 272 seconds]
<sasyctu[m]> Is there an easy way to get nixos to reload a custom keyboard map that I gave it a directory for? I loaded it to make sure it'd work, and it does, but I made some changes and I'd like to reload them without logging out of x
reallymemorable has quit [Quit: reallymemorable]
numkem has joined #nixos
litschi has quit [Quit: WeeChat 2.7.1]
litschi has joined #nixos
<numkem> I'm trying to understand what `niv` does and it looks interesting, but if I understand correctly it makes you able to pin specifc commits inside the channel and also import packages on github. From my exploration with `nix repl` it seems like what you add to niv through github needs to have a `default.nix` am I wrong?
reallymemorable has joined #nixos
<clever> numkem: niv just provides a path to whatever you added
<clever> numkem: you can then do `import sources.thing` to load the default.nix or `import "${sources.thing}/foo.nix"` to load foo.nix
zupo has joined #nixos
<numkem> clever: that's what I understand. What puzzles me is why are they putting jq as the example when it doesn't have a default.nix inside the repo
<clever> numkem: can you link that example?
<betawaffle> hmm, why is nix-shell not doing backspace correctly...
<clever> numkem: thats a bit of a bad example, the most you can do with that is then `pkgs.jq.overrideAttrs (old: { src = sources.jq; })`
<cole-h> Does NixOS have a cups module, and if so what is its name?
<betawaffle> i could have sworn it was working earlier today
<clever> numkem: to replace the source of the jq package thats already in nixpkgs
<numkem> clever: I guess it could be used inside an overlay definition, to not have to write it by hand
<numkem> clever: since it does the sha256 by itself
<clever> numkem: the main thing niv offers there, is making it trivial to update the rev/sha256, you just `niv update jq` and it will get the latest commit on the current branch
<clever> numkem: or `niv update jq -a branch=testing`
<numkem> clever: good, I understand than :)
<clever> numkem: it becomes a lot more powerful if you point it to something with actual nix files, then you can import them
<betaboon> cole-h: i have had success with `services.printing.enable = true; services.printing.drivers = with pkgs; [ ... ];`
<numkem> clever: I've just started looking at my own overlay and see how I could build/distribute it, sounds like it would be useful
<{^_^}> [nixpkgs] @SRGOM opened pull request #88025 → [WIP] nixos/open-with: init → https://git.io/JfEvF
<cole-h> betaboon++ Thanks, I'll have to check that out.
<{^_^}> betaboon's karma got increased to 4
<betaboon> cole-h: iirc i had to do `services.avahi.enable = true;` and `services.avahi.nssmdns = true;` as well. i dont use that setup atm tho. so cant check
<cole-h> Cheers, thanks.
fling has joined #nixos
<pie_> clever: somehow nixos-install puts stuff in the target store and then cant find it
<clever> pie_: its using local?root=/mnt/ to fake a chroot
<clever> pie_: but there are some bugs in the IFD stuff, where its looking on the host instead
<pie_> ok this i weird, in nixos-enter it complains about some write not allowed
<pie_> thats..possible
<clever> pie_: you need to `nix copy --from local?root=/mnt /nix/store/foo` to copy it back out to the host
<pie_> * i was using nixos-rebuild for the nixos-enter part
<clever> nixos-enter is using namespacing to set things up, and that also has bugs that break the nix sandbox, --option sandbox false
<pie_> blegh
<pie_> is this stuff at least fixable in theory
<clever> yeah
<pie_> ill still maybe need to do store copying if it intends to build the kernel
<pie_> lets hope it just works
<pie_> well - it wont work if it hasnt copied into the target store yet and i imagine it hasnt
<clever> pie_: have you seen my remote chroot idea?
<pie_> dont think so
<pie_> sounds amusing
<{^_^}> nixops#1189 (by cleverca22, 39 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
MmeQuignon has joined #nixos
<pie_> stuff like chroot on an sshfs or something?
<clever> pie_: that lets you build the entire nixos on one machine, then copy it over ssh to /mnt/ on a remote box
<clever> nix copy --to ssh://root@target?remote-store=local?root=/mnt /nix/store/hash-nixos
gnidorah has joined #nixos
<clever> pie_: `ssh://root@target` tells nix to ssh into target, and run nix on the remote box to access the store
<gnidorah> hi! merge please #86219
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86219 (by gnidorah, 2 weeks ago, open): asf: init at 4.2.0.6
<clever> `?remote-store=` changes the URI the remote nix uses
<clever> pie_: then the local?root=/mnt works as usual, but against the remote nix
<clever> pie_: so you can now copy a storepath from one machine to another, but the destination is /mnt/nix/store/
<clever> pie_: if you then pre-build a nixos from a given config, you can copy it over, and then just tell nixos-install to fix the bootloader and your done!
<pie_> uhuh
<pie_> i kinda get it
<pie_> would be cool
<pie_> would also be cool if those ancy urls get some documentation because they didnt have any last i looked at them :P
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<clever> pie_: one sec
<clever> pie_: i went thru all of my irc logs, to get every example i could find, and then began documenting the ones that looked interesting
nschoe has joined #nixos
<pie_> lmao nice
<pie_> The True Nix Way
<cole-h> betaboon: lol, I just scrolled down in the generated configuration and it has a CUPS comment... That's what I get for not reading the entire thing.
<pie_> so im doing nix copy --from local?root=/mnt /nix/store/v1mww... and it says path is not in the nix store
<clever> pie_: does it exist at /mnt/nix/store/foo?
<pie_> clever: lol i made a typo i think sorry sigh
<pie_> clever: did /mmnt -_-
morgrimm_ has quit [Ping timeout: 256 seconds]
<betaboon> cole-h: i think the wiki page does a fine job explaining: https://nixos.wiki/wiki/Printing :D
<clever> pie_: thatll do it
<clever> pie_: also, /mmnt may now exist...
<pie_> 'xD
morgrimm has quit [Ping timeout: 265 seconds]
<pie_> clever: IT LIVES - well, its being brought to life
<pie_> 2 days to patch a kernel? ehh not sure if worth it
<pie_> though i know a bit about netboot now and can cannibalize your code
<pie_> i waste sooo much time on builds
ohhaimark has quit [Ping timeout: 245 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Quit: knupfer]
inkbottle has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
inkbottle has joined #nixos
<pie_> clever: well i think most things worked because now the touchscreen doesnt bug out immediately :D
<clever> nice
alexherbo2 has quit [Ping timeout: 260 seconds]
<kayg04> when adding an ipv6 route, how do I add a type selector? I want to do the declarative equivalent of:
<kayg04> `ip route add local <ip>/<prefix> dev <device>`
<kayg04> I've tried setting `ipv6.routes.options.to = "local"` but it doesn't work.
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
JH17 has joined #nixos
JH17 has quit [Remote host closed the connection]
alexherbo2 has joined #nixos
<clever> pie_: if you know the full layout of the hw, and your also in control of the partitioning, you could pre-build the configuration.nix/nixos in the same container
<clever> pie_: and then `nix copy` it over, after another script (like justdoit) has partitioned things
<pie_> yeah but idk if i wanna do repartitioning here
<pie_> oh but sure i dont see why i couldnt nix copy stuff over
<clever> pie_: if your only formatting, you can still set a label, and use LABEL= in the configuration
<pie_> repartitioning/formatting/destructive update :P
alp has quit [Ping timeout: 265 seconds]
dugur has quit [Ping timeout: 260 seconds]
mallox has joined #nixos
gcoakes[m] has joined #nixos
morgrimm has joined #nixos
morgrimm_ has joined #nixos
shibboleth has joined #nixos
alp has joined #nixos
drakonis has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1ccc512b39a (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
morgrimm_ has quit [Ping timeout: 265 seconds]
morgrimm has quit [Ping timeout: 265 seconds]
asbachb has joined #nixos
sylv-io has joined #nixos
<asbachb> Anyone setup letsencrypt via dns auth? Do I need to open incoming port 53?
<sylv-io> asbachb: I do. No, you don't need to do this
<cole-h> Is it possible to nixos-rebuild without accessing the network?
<srhb> cole-h: Yes, as long as you don't need anything from the network, the network won't be used.
<cole-h> (Because I forgot to add networking.defaultGateway and cannot access the internet... lol)
<cole-h> Darn, it's trying to download stuff. Time to boot back to the ISO.
<srhb> cole-h: If that's all you need you can just manipulate your gateway manually
<betaboon> cole-h: couldnt you just add defaultroute with iproute ?
<srhb> cole-h: Underneath all the NixOS there's a standard Linux ;-)
<cole-h> I could, but I don't know how :D
<srhb> ip route add via $ip-of-your-gateway
<srhb> er, ip route add default via $ip
<asbachb> Mhhh. I guess the problem might be that the service is running inside a container. https://gist.github.com/asbachb/d70fb27ad6492644d0ec2267c1febc90
user_0x58 has joined #nixos
<cole-h> <3 srhb
<{^_^}> srhb's karma got increased to 106
<cole-h> My savior
<srhb> :)
<betaboon> cole-h: if you need to reach that ip via a specific interface you can append `dev $interface` to that command
vidbina has quit [Ping timeout: 265 seconds]
<betaboon> cole-h: to check if its working as intended you could run `ip route get $some_internet_ip`
zupo has joined #nixos
<cole-h> Or I could run the previously-failing `nixos-rebuild` :P
<betaboon> cole-h: sure XD
endformationage has joined #nixos
<cole-h> So, does `nixos-rebuild switch` switch the current and all future boots to this new config?
<betaboon> cole-h: iirc only if it succeeds. (and wasnt there some delay after build success?)
jb55 has quit [Ping timeout: 240 seconds]
<cole-h> Well, let's check with a reboot :^)
<cole-h> Appears to have worked!
<betaboon> cole-h: \o/
zupo has quit [Client Quit]
jb55 has joined #nixos
<asbachb> `nix-shell -p bind`, but I get `The program ‘dig’ is currently not installed. You can install it by typing`.
<betaboon> asbachb: `nix-shell -p bind.dnsutils`
<asbachb> betaboon: Thanks.
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-05-11 -> 2020-05-16 »: https://git.io/JfET3
dermetfan has joined #nixos
smatting has joined #nixos
sylv-io has quit [Quit: leaving]
ddellacosta has quit [Ping timeout: 240 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
cole-h_ has joined #nixos
cole-h_ has quit [Client Quit]
philr has joined #nixos
teto has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @puckipedia opened pull request #88026 → linux: Enable fbcon deferred takeover when possible → https://git.io/JfETy
<{^_^}> [nixpkgs] @etu merged pull request #84952 → nixos/zoneminder: fix evaluation with new php refactor → https://git.io/JvhlF
<{^_^}> [nixpkgs] @etu pushed 3 commits to master: https://git.io/JfETS
cjpbirkbeck has joined #nixos
<cole-h> When installing a package that has $out/etc as a systemPackage, the contents get linked to /etc, right?
<MichaelRaskin> Nope
EatThem has joined #nixos
<MichaelRaskin> Only to /run/current-system/sw/etc
<EatThem> hi, someone who runs nixos in wsl as a rootfs package?
<cole-h> MichaelRaskin: I see. Does, for example, pam look in /run/c-s/sw/etc/pam.d as well as /etc/pam.d?
sylv-io has joined #nixos
<EatThem> wsl --exec vim isn't working and don't know why, bash doesn't seems to be invoked when i use exec to run a command. Normal shell access with only "wsl" works as accepted..
<MichaelRaskin> No
<MichaelRaskin> (as far as I remember)
xelxebar has quit [Remote host closed the connection]
<cole-h> Alright, thanks.
<MichaelRaskin> cole-h: maybe you want https://nixos.org/nixos/options.html#security.pam.services ?
xelxebar has joined #nixos
rardiol has joined #nixos
<rardiol> I installed nvidiaLegacy340 (updated to 340.108 myself), but nothing opengl related seems to work. xpdyinfo does show GLX and NV-GLX active. There's a libGL.so on /run/current-system/lib. nvidia-settings says "failed to query the glx server vendor". glxinfo says "couldn't find RGB GLX visual or fbconfig". lsmod shows the "nvidia" driver loaded . kernel 5.4. Are the messages saying "nvidia_drm" and "nvidia_modesetting" weren't loaded important?
<{^_^}> [nixpkgs] @primeos merged pull request #88018 → [20.03] sway: fix gtk wrapper → https://git.io/Jf0b5
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JfETF
<cole-h> MichaelRaskin: Thanks, I'll take a look.
fling has quit [Ping timeout: 256 seconds]
<cole-h> Does anybody know how one would add to mkinitcpio's MODULES array? I'd like to set `MODULES="nouveau"` so I can get early KMS.
<cole-h> Is that `boot.initrd.kernelModules`?
<cole-h> Or just `boot.kernelModules`
fling has joined #nixos
ddellacosta has joined #nixos
alp has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Former
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/31dcaa5eb67 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
<MichaelRaskin> The latter is stage-2 list of modules
<cole-h> Thanks again. MichaelRaskin++
<{^_^}> MichaelRaskin's karma got increased to 36
<cole-h> Kinda feels nice being the one asking the newbie questions.
<aanderse> i have a kodi plugin that is complaining it doesn't have access to some pycrypto package
<aanderse> i'm not sure the best way i can add a python dependency to kodi like that on nixos
<aanderse> when i look online i see most distros say "just pip install pycrypto module system wide and you're good to go"
<MichaelRaskin> The question is called a newbie question if it concerns NixOS configuration and I _still_ remember the answer?
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<cole-h> :D
<evanjs> Mic92: okay yeah its’s weird, I was initially getting a _ton_ of failed builds, even after https://github.com/NixOS/nixpkgs/pull/77714/commits/575abb8d2493ecb4d3d8c32631a56972aa36770b, but the nixpkgs-review I have running now seems to be going much smoother since I pushed
<evanjs> So I wasn’t sure if nixpkgs-review was ignoring `doCheck = false` or if it was a byproduct of something else I was doing
<MichaelRaskin> aanderse: did you try just adding it to plugins list?
ddellacosta has quit [Ping timeout: 260 seconds]
graf_blutwurst has quit [Remote host closed the connection]
<aanderse> MichaelRaskin: i did not, but now that i have tried it i get an error about "attribute 'extraRuntimeDependencies' missing...
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #88027 → mutt: 1.14.0 -> 1.14.1 → https://git.io/JfEkO
<aanderse> i think plugins need to be specifically built for kodi...
<aanderse> sorry, not "built"... "packaged"
<{^_^}> [nixpkgs] @cole-h opened pull request #88028 → doas: enable timestamp by default and set pamdir → https://git.io/JfEks
rodrigo_ has quit [Remote host closed the connection]
<MichaelRaskin> Hmmm. I would try just //-ing an empty list
<MichaelRaskin> Brute force!
<evanjs> Wait is there a method aside from brute-force? 😝 My coworkers might disagree, at least considering my usual methods lol
<evanjs> And on the note of //... I swear I mix up // and ++ way too often haha
<evanjs> Idk if it’s just the way I read the error messages but I typically get stumped for _way_ too long
<evanjs> Error messages in nix do typically sorta drive me crazy, even with --show-trace and etc
<evanjs> though I’m aware of at least one open issue on the matter
<cole-h> Good thing we got somebody working on the machinery to make it better :D
<evanjs> Yesssss. Wait, who? lol
slack1256 has joined #nixos
<drakonis> it got merged already
<evanjs> Wait wot
<evanjs> what was the issue again? 😓
<evanjs> **😅
<cole-h> The stuff implementing the machinery got merged. Now there's an open PR for moving the current errors to that.
<{^_^}> nix#3590 (by bburdette, 3 days ago, open): nix errors phase 2
<evanjs> Ahhh gotcha!
<evanjs> Okay it’s in the nix errors series, as I figured. Thanks!
<evanjs> Hard to keep track of all the issues at times lol
<cole-h> Unrelated: how do you point nixpkgs to the head of a PR? e.g. -I nixpkgs=https://github.com/....
<evanjs> Might have something to do with #77714 being in the back of my head for the past 4 months lol. Soon!
<{^_^}> https://github.com/NixOS/nixpkgs/pull/77714 (by evanjs, 17 weeks ago, open): pythonPackages.pillow: 6.2.1 -> 7.1.2
nikivi has joined #nixos
matthiaskrgr has joined #nixos
<evanjs> You can do it on the commit but I figure that’s not what you want
<cole-h> I'd rather not have to type out the entire hash lol
<evanjs> I figured
fabianhjr has joined #nixos
<evanjs> I know you can get patches/diffs from a PR, I wonder if commits have similar functionality
<evanjs> And I’m assuming you want to do this without external tools like gh or even git, right? Like I’m assuming you’re just curious if you can do it with a specific url
teto has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @symphorien opened pull request #88029 → pdfarranger: 1.5.1 -> 1.5.3 → https://git.io/JfEkz
<cole-h> Well, it's related to the PR I just submitted above... doas currently doesn't allow the persist setting to work because it wasn't enabled :D
<aanderse> MichaelRaskin: epic! thanks for the advice, worked perfectly
<aanderse> MichaelRaskin++
<{^_^}> MichaelRaskin's karma got increased to 38, it's a crit!
<cole-h> And I want persist so I don't have to type my password every time lol
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<cole-h> omg I love NixOS so much
<drakonis> oohhh
<cole-h> ping adisbladis -- would be real cool if my doas PR could get merged ASAP, so it can get into unstable ASAP... ;^)
slack1256 has quit [Remote host closed the connection]
<cole-h> I wonder: is it possible to load a module even before stage 1? I'm imaging not, but happy to be proven wrong.
slack1256 has joined #nixos
<adisbladis> cole-h: Pong
<adisbladis> Which PR ?
<cole-h> #88028
<{^_^}> https://github.com/NixOS/nixpkgs/pull/88028 (by cole-h, 18 minutes ago, open): doas: enable timestamp by default and set pamdir
<cole-h> Without it, persist doesn't work x)
<adisbladis> cole-h: Is there a reason you'd ever want to build without timestamp ?
<adisbladis> I'm wondering if we even need `withTimestamp ? true`
<evanjs> cole-h: it’s funny, I’m seeing a ton of stuff re “list prs associated with commit” but not the other way around lol
EatThem has quit [Ping timeout: 246 seconds]
alp has joined #nixos
<cole-h> Fair enough. I just figured some people might not want timestamps since it might be trivial to mess with them
<adisbladis> Tbh I'd rather just not add an option unless there is a clear use case for doing so
* cole-h reboots to his set-up machine to remove that
<cole-h> Ack. Pushing in a minute.
<adisbladis> I'm checking if upstream has some documented reason for not enabling it by default
cole-h_ has joined #nixos
<cole-h> I don't think we have a toggle for sudo, so I think it should be fine to remove here as well.
* cole-h verifies
<adisbladis> Idk, I could easily be convinced the option is the correct choice here
opthomasprime has joined #nixos
opthomasprime has quit [Remote host closed the connection]
<adisbladis> cole-h: I'm gonna leave this one up to you ;)
<cole-h> Heh.
orivej_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
Neo-- has joined #nixos
opthomasprime has joined #nixos
fabianhjr has quit [Ping timeout: 265 seconds]
dermetfan has joined #nixos
<cole-h> adisbladis: I say shipit as-is. It doesn't really affect the package for anybody other than the hypothetical people who wouldn't enable it in the first place.
<cole-h> And if those hypothetical people don't want it, there's now a toggle for them.
xxlpitu has joined #nixos
<adisbladis> Alright
chloekek has quit [Ping timeout: 258 seconds]
gustavderdrache has joined #nixos
aswanson has joined #nixos
opthomasprime has quit [Remote host closed the connection]
EatThem has joined #nixos
opthomasprime has joined #nixos
<cole-h> adisbladis: btw that x86_64-linux test isn't going to happen any time soon. ofborg on network maintenance
<cole-h> Just FYI
fabianhjr has joined #nixos
<evanjs> cole-h: found a way 😃
simba1 has joined #nixos
<cole-h> evanjs: Let's hear it :D
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0e2a4780df7 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/28c2c0156da (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<cole-h> adisbladis: And evaluators are down, also :P
opthomasprime has quit [Remote host closed the connection]
<adisbladis> *Sigh* I have to run it manually then like some kind of Flintstone
alp has quit [Ping timeout: 272 seconds]
<cole-h> Haha. I'm also running outpaths.nix. We can compare answers ;^)
Shell has left #nixos ["WeeChat 2.8"]
cole-h_ has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @adisbladis merged pull request #88028 → doas: enable timestamp by default and set pamdir → https://git.io/JfEks
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfEIB
opthomasprime has joined #nixos
<cole-h> <3 adisbladis Thank you! Now I can continue setting up my system in hopes that it will work its way into unstable :D
<{^_^}> adisbladis's karma got increased to 76
<{^_^}> [nixpkgs] @adisbladis merged pull request #87999 → audacity: 2.3.3 -> 2.4.0 → https://git.io/Jf0KF
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfEIE
cfinch has joined #nixos
<evanjs> oh. I used up my requests. no wonder it wasn’t working 😅
morgrimm has joined #nixos
morgrimm_ has joined #nixos
<evanjs> cole-h: dunno if you need the full attr path at the end tho
aswanson has quit [Quit: WeeChat 2.7.1]
Fulgen has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #87988 → [20.03] Backport SOF → https://git.io/Jf0ae
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to release-20.03: https://git.io/JfEIX
morgrimm_ has quit [Ping timeout: 272 seconds]
morgrimm has quit [Ping timeout: 272 seconds]
aswanson has joined #nixos
Fulgen has joined #nixos
asymptotically has quit [Quit: Leaving]
teto has joined #nixos
nschoe has quit [Quit: No Ping reply in 180 seconds.]
domogled has quit [Quit: domogled]
xxlpitu has quit [Remote host closed the connection]
nschoe has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
zaeph1 has joined #nixos
Maxdamantus has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @mjlbach opened pull request #88031 → Bump cudatoolkit in pycuda derivation, remove boost dependency → https://git.io/JfEIj
Maxdamantus has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
reallymemorable has quit [Quit: reallymemorable]
<quinn> i am looking to bump my stateVersion, and per the release notes of for 19.09, apparently i need to be on stateVersion 19.03 to keep timesyncd working? is there any way i can fix this?
<clever> quinn: i think theres something like just deleting a state file or rebooting to fix that?
shafox has quit [Remote host closed the connection]
<EatThem> someone running nixos in wsl2?
<EatThem> wsl --exec vim isn't working and don't know why, bash doesn't seems to be invoked when i use exec to run a command. Normal shell access with only "wsl" works as accepted..
<EatThem> *expected
reallymemorable has joined #nixos
o1lo01ol1o has joined #nixos
reallymemorable has quit [Client Quit]
<quinn> clever: i'm not sure but the related issue #64922 seems to indicate it's probably an easy fix
<{^_^}> https://github.com/NixOS/nixpkgs/issues/64922 (by yorickvP, 43 weeks ago, open): systemd-timesyncd fails at step STATE_DIRECTORY on semi-clean install
<quinn> i'll just try it and report back for posterity
<energizer> do dependencies of a poetry2nix application get built in parallel?
pbb_ has joined #nixos
pbb has quit [Ping timeout: 272 seconds]
<energizer> (adisbladis)
mac10688 has quit [Quit: WeeChat 2.7.1]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
mac10688 has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
mac10688 has quit [Client Quit]
<adisbladis> energizer: Yes
<energizer> adisbladis: thanks
quinn has joined #nixos
reallymemorable has joined #nixos
<adisbladis> energizer: Under the hood it's just regular python builds
<adisbladis> It's still using buildPythonPackage
<energizer> mhmm
reallymemorable has quit [Client Quit]
reallymemorable has joined #nixos
oborot has quit [Ping timeout: 265 seconds]
cmk_zzz has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
cfinch has quit [Quit: Leaving]
<sasyctu[m]> So I've been trying out wine on nixos and I'm getting an error that it can't load kernelbase.dll. I haven't been able to find anything about this either in nixos related things, or in wine related things, so I'm curious if this is something some people have run into, or if it's an issue I need to open.
CitadelCore has joined #nixos
<teto> random question in case someone has an idea but it seems like google can access my microphone only in incognito mode. Any hint ?
morgrimm has joined #nixos
<clever> teto: if you click the padlock, you should see options for things like media in there, for that specific domain
<CitadelCore> Hello, I am trying to build a NixOS 20.03 image for ARM with nix on Ubuntu 20.04, and getting this error:
<CitadelCore> "while setting up the build environment: executing '/nix/store/2d9hsg0c4afx1galgfmz2jhgwgcaqsx8-bash-4.4-p23/bin/bash': No such file or directory"
<CitadelCore> even though that binary 100% exists...
opthomasprime has left #nixos [#nixos]
<clever> citadelcore: what does file say about the binary?
<quinn> for posterity: bumped stateVersion 19.03 -> 20.03, systemctl --failed is empty
<CitadelCore> clever: "/nix/store/2d9hsg0c4afx1galgfmz2jhgwgcaqsx8-bash-4.4-p23/bin/bash: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /nix/store/l6pd77qpfb2930qs35z8ri9vfyyybhvz-glibc-2.30/lib/ld-linux-aarch64.so.1, for GNU/Linux 2.6.32, not stripped"
<clever> citadelcore: and are you on an arm system?
<CitadelCore> no, I'm using binfmt via QEMU
<clever> citadelcore: did you tell nix to allow the qemu-user-aarch64 binary into the nix sandbox?
<teto> clever: I checked several timesm enabled it etc, I enabled it again because you asked and only now it works. this is crazy xD ty
<CitadelCore> what I've done is so far is set extra-platforms in nix.conf & passed --argstr system aaarch64-linux to nix-build
<clever> citadelcore: the problem, is that binfmt-misc changed argv[0] to your qemu-user binary
<clever> citadelcore: and its the qemu-user binary that was not found
<clever> extra-sandbox-paths = /run/binfmt /nix/store/pax822l4mrxj5naiyv3qayvqrnhl0as3-qemu-user-aarch64-3.1.0 /etc/nsswitch.conf /etc/protocols /usr/bin/env=/nix/store/9v78r3afqy9xn9zwdj9wfys6sk3vc01d-coreutils-8.31/bin/env
<CitadelCore> ahh
<clever> citadelcore: you need to add the qemu-user to this field in nix.conf
<CitadelCore> thanks, will give that a shot
cfinch has joined #nixos
<CitadelCore> what's the best way to find out the path of qemu-user?
<CitadelCore> (in /nix/store)
<cole-h> `readlink $(which qemu-user)` should work I think
slack1256 has quit [Ping timeout: 260 seconds]
dugur has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #88032 → nixos/scripted-networking: use udev to configure link MACAddress and MTUBytes → https://git.io/JfELp
Negher has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<CitadelCore> alright - it's working now, for anyone with the same problem, this is my extra-sandbox-paths line:
<CitadelCore> extra-sandbox-paths = /usr/bin/qemu-aarch64 /etc/nsswitch.conf /etc/protocols /usr/bin/env=/usr/bin/env
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
dugur has quit [Quit: Leaving]
reallymemorable has joined #nixos
xorxof101101 has joined #nixos
xorxof101101 has quit [Remote host closed the connection]
andreas303 has quit [Write error: Connection reset by peer]
<clever> citadelcore: i'm guessing your qemu-aarch64 is also a static binary?
<CitadelCore> Yeah.
andreas303 has joined #nixos
<clever> citadelcore: if it was dynamic, youd also have to let /lib and /usr/lib in, since nix cant track the deps of a non-nix binary
<clever> citadelcore: though, a dynamic qemu-user also breaks ldd, because the host ld.so responds and prints host-deps instead!
seku has joined #nixos
<CitadelCore> ah, that makes sense, interesting.
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @Trundle opened pull request #88033 → skaffold: 1.8.0 -> 1.9.1 → https://git.io/JfEtB
<clever> citadelcore: if ld.so discovers that you set the env var LD_TRACE_LOADED_OBJECTS=1, it will print the libs and exit without running main()
<clever> citadelcore: ldd is just a shell script to run ld.so on a binary, with that env var set
gnidorah has quit [Quit: Connection closed for inactivity]
<CitadelCore> Huh
<clever> and ld.so is the interpreter (its a field in the ELF file), so running a binary normally also runs ld.so on it
<clever> the same way #!/bin/sh runs sh on the shell script
<clever> citadelcore: try `LD_TRACE_LOADED_OBJECTS=1 ls` and youll see what i mean
<CitadelCore> oh yeah, it prints its deps
<CitadelCore> nice
<clever> and if that var was set, when qemu-aarch64 got ran, it would print the x86 deps and exit
<clever> rather then emulating the arm ld.so
<clever> a static qemu-aarch64 cant do that, so the var properly leaks into the guest
<CitadelCore> ... should I be concerned about this?
<CitadelCore> "error while reading directory /nix/store: Cannot allocate memory"
zupo has joined #nixos
<CitadelCore> seems to be non-fatal, as it went ahead and finished the build
orivej has quit [Quit: No Ping reply in 180 seconds.]
mac10688 has joined #nixos
orivej has joined #nixos
cfinch has quit [Ping timeout: 260 seconds]
<mac10688> hi all, i recently upgraded nixos. After the update, I find that the font in all my consoles are spaced too far apart. Any clue how to fix?
<mac10688> I have looked at the configuration file and the urxvt .Xresources file but I don't see anything to fix it
<mac10688> exit
<mac10688> ugh! sorry!
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
o1lo01ol1o has joined #nixos
<mac10688> and nvm btw, I think the system font has changed the style I was using for urxvt. I think I can solve this by changing my urxvt .Xresources files
alp has joined #nixos
agsdheidjd has quit [Ping timeout: 265 seconds]
linarcx has quit [Quit: WeeChat 2.8]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4d20bbc3608 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
Negher has quit [Quit: Leaving ...]
philr has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
mac10688 has quit [Quit: WeeChat 2.7.1]
orivej has quit [Ping timeout: 272 seconds]
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #86214 → obs-studio: 25.0.3 -> 25.0.8, use addOpenGLRunpath → https://git.io/Jfmli
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfEqI
Negher has joined #nixos
choward has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<colemickens> <la-s "colemickens: is it normal for yo"> this should be fixed, btw. well, barring other normal breakage.
umachan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #77438 → portfolio: init at 0.46.3 → https://git.io/Jvv9B
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfEqO
EatThem has quit [Quit: Leaving]
primeos has quit [Quit: WeeChat 2.8]
mallox has quit [Quit: WeeChat 2.8]
orivej_ has quit [Ping timeout: 265 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
mac10688 has quit [Quit: WeeChat 2.7.1]
mac10688 has joined #nixos
morgrimm_ has joined #nixos
morgrimm1 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #88027 → mutt: 1.14.0 -> 1.14.1 → https://git.io/JfEkO
<{^_^}> [nixpkgs] @teto pushed commit from @matthiasbeyer to master « mutt: 1.14.0 -> 1.14.1 (#88027) »: https://git.io/JfEqF
morgrimm_ has quit [Ping timeout: 256 seconds]
magnetophon has quit [Read error: Connection reset by peer]
morgrimm1 has quit [Ping timeout: 256 seconds]
magnetophon has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
almostvoid has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #86075 → minor tweaks to develop on luaPackages.mpack → https://git.io/JftAW
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JfEmI
ericsagnes has quit [Ping timeout: 244 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @teto closed pull request #59250 → networkmanager-l2tp: 1.2.12 -> 1.7.0-dev → https://git.io/fjqf8
<unclechu> hey, how do i customize font rendering settings? i don't like default rgba subpixel hinting, i'd like to keep grayscale antialiassing only
almostvoid has quit [Remote host closed the connection]
knupfer has quit [Client Quit]
knupfer has joined #nixos
charukiewicz has joined #nixos
<mac10688> Are you talking about in the terminal unclechu ?
<unclechu> mac10688: about everything, in gtk, qt applications
reallymemorable has joined #nixos
<charukiewicz> Two questions: when defining a pkgs source in something like a Haskell package I'm developing (using builtins.fetchGit), is it better to use the nixos/nixpkgs repo or the nixos/nixpkgs-channels repo, and on each of those is it better to use the nixos-unstable or the nixpkgs-unstable branch? Or does it not really make a difference?
<mac10688> unclechu: sorry I am no help to you then
ericsagnes has joined #nixos
<betawaffle> i'm so confused
<{^_^}> [nixpkgs] @marsam merged pull request #87991 → capstone: 4.0.1 -> 4.0.2 → https://git.io/Jf0wV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfEmQ
<{^_^}> [nixpkgs] @marsam merged pull request #88001 → pueue: 0.4.0 -> 0.5.0 → https://git.io/Jf06t
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfEmF
<maralorn> unclechu: Have you looked at all font related options in nixpkgs?
numkem has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<unclechu> <maralorn "unclechu: Have you looked at all"> i'm looking actually right now at `fontconfig.nix`
__monty__ has quit [Quit: nn]
<maralorn> Okay, good luck!
<betawaffle> can anyone give me guidance on starting a new project using nix to build it?
<evils> charukiewicz: they're all points on the same nixpkgs repo, nixpkgs-unstable should be a bit ahead of nixos-unstable
rardiol has quit [Ping timeout: 264 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<c00w> betawaffle: What language are you writing your project in?
<betawaffle> C
<betawaffle> Right now it’s a single c file
<betawaffle> I was trying to use the most “normal” thing I can, but I don’t have any tooling set up yet.
<betawaffle> And I don’t have much experience with standard c build tooling.
<c00w> No great advice from me, I've only set up python + go. I'd start with another c project that's similar to you. For a single file you might be able to do it in a couple lines using https://github.com/NixOS/nixpkgs/blob/eadb9c822b3ffe13c461c086400f3d0584893b5c/pkgs/build-support/trivial-builders.nix and runCommandCC
dermetfan has quit [Ping timeout: 260 seconds]
<c00w> i.e. runCommandCC "program" {} '' cc main.c
<c00w> '';
<clever> c00w: cc ${./main.c} -o $out
<betawaffle> That’s what I was using before, but I need to link to a library, and I’m out of my depth a bit.
<clever> betawaffle: cc ${./main.c} -o $out -lfoo, and add foo to { buildInputs = [ foo ]; }
simba1 has quit [Ping timeout: 240 seconds]
fendor has quit [Remote host closed the connection]
<betawaffle> I could have sworn I tried that, but maybe I screwed it up.
smatting has quit [Ping timeout: 265 seconds]
<betawaffle> It seemed like the cflags weren’t getting passed. Maybe I was using $CC instead of cc?
<betawaffle> Ohhh
<betawaffle> I see
asbachb has quit [Remote host closed the connection]
<betawaffle> Yeah, I was missing -lfoo
<betawaffle> clever++
<{^_^}> clever's karma got increased to like 426, I think
<evils> {^_^} is losing track, it's too much karma...
o1lo01ol1o has quit [Remote host closed the connection]
seku has quit [Quit: Connection closed]
gerschtli has quit [Quit: WeeChat 2.7.1]
knupfer has quit [Ping timeout: 260 seconds]
gerschtli has joined #nixos
hooo has quit [Quit: Connection closed for inactivity]
Fare has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<betawaffle> hmm... clever: `.../bin/ld: cannot find -lwayland`
<clever> betawaffle: did you add wayland to buildInputs?
<betawaffle> yep
<betawaffle> sec, lemme gist my default.nix
<clever> $ nix-build '<nixpkgs>' -A wayland -o wayland
<clever> $ ls wayland/lib
<clever> betawaffle: there is no libwayland.so, only libwayland-client.so
<clever> and server, and others
<betawaffle> ah, ok, sec
<{^_^}> [nixpkgs] @9999years opened pull request #88034 → processing: 3.5.3 -> 3.5.4 | fix / refactor → https://git.io/JfEYQ
<clever> so you want -lwayland-client
<clever> (probably)
<betawaffle> woo!
jmeredith has joined #nixos
<betawaffle> clever++
<{^_^}> clever's karma got increased!
<betawaffle> lolwat
<clever> evils: yeah, its definitely loosing track, lol
teej has joined #nixos
<betawaffle> gchristensen: what kind of karma bot can't keep track of karma
primeos has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4d20bbc3608 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
sigmundv__ has joined #nixos
<evils> ,karma clever
<clever> betawaffle: the karma feature is managed by infinisil
alexherbo2 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<evanjs> Anybody else see direnv complaining after finishing a nixpkgs-review?
<evanjs> “direnv: Argument list too long”
<evanjs> This seems similar but idk https://github.com/hlissner/doom-emacs/issues/2335
<{^_^}> hlissner/doom-emacs#2335 (by bkchr, 18 weeks ago, closed): [BUG] direnv argument list to long
<Gaelan> is there an equivalent to nix-instantiate for flake outputs?
fling has quit [Ping timeout: 256 seconds]
<Gaelan> i.e. a way to get the .drv file for an output from a flake
maddo has quit [Quit: See ya]
pjt_014 has joined #nixos
<infinisil> betawaffle: Mystery karma!
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6feee80de09 (from 42 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
drakonis_ has quit [Ping timeout: 260 seconds]
NeoCron has quit [Ping timeout: 240 seconds]
fling has joined #nixos
drakonis_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
noudle has quit []
Fare has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
shabius has quit [Ping timeout: 272 seconds]
alp has quit [Ping timeout: 272 seconds]
user_0x58 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @NickHu opened pull request #88036 → zsh-prezto: 2019-03-18 -> 2020-05-02 → https://git.io/JfEOM
<NickHu> Hi, would anyone be able to look at a couple of small PRs I have that have stalled?
kvda has joined #nixos
<{^_^}> #88036 (by NickHu, 1 minute ago, open): zsh-prezto: 2019-03-18 -> 2020-05-02
<{^_^}> #85898 (by NickHu, 3 weeks ago, open): rmapi: init at 0.0.11
<{^_^}> #81440 (by NickHu, 11 weeks ago, open): vimPlugins.fruzzy: init at 2019-10-28
<NickHu> I don't think anything here would be particularly contentious
<energizer> i accidentally killed ssh-agent and now x11-askpass is full-screen prompting me every couple minutes. i figure there's some process(es) that has the old agent pid in its environment. do i need to reboot in order to restore sanity or is there a less drastic action?
<cole-h> Do you have an ssh-agent systemd service (user or system)? Try restarting it.
philr has joined #nixos
rardiol has joined #nixos
<energizer> i have keychain (https://github.com/rycee/home-manager/blob/115e76ae12a81bce5dcd19714cdeaaa8d5ca3ce8/modules/programs/keychain.nix) running in my .zshrc which is running ssh-agent
fusion809 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ashy> hmm, i have nscd disabled and my configuration.nix is now failing to build on the nixos-unstable channel, is nscd a hard requirement now?
<Ashy> i have it disabled because my only interaction with it is having it cache bad dns info and cause headaches on multiple machines without ever noticing any benefit from it
<Ashy> nixos-rebuild fails with: Failed assertions: - Loading NSS modules from system.nssModules (/nix/store/fwaclgpjqbrz2dwq3alm49swzzrvv4p7-systemd-245.5/lib), requires services.nscd.enable being set to true.
<Ashy> ah i see the doco "strongly discourages" disabling nscd, :/
<{^_^}> [nixpkgs] @7c6f434c merged pull request #86843 → Enhanced support for Gerbil, Gambit → https://git.io/JfGWn
<{^_^}> [nixpkgs] @7c6f434c pushed 7 commits to master: https://git.io/JfE3O
MmeQuignon has quit [Ping timeout: 260 seconds]
<clever> Ashy: nscd is needed for avahi .local domains and systemd .machine domains
<clever> Ashy: without nscd, you have no local dns cache, and no dns plugins
<Ashy> yeah i've enabled it again
morgrimm_ has joined #nixos
morgrimm1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6feee80de09 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<colemickens> Ashy: I also had it disabled.
shibboleth has quit [Quit: shibboleth]
<colemickens> I also have had to re-enable it due to some change in nixpkgs.
<colemickens> I don't feel good about it but it's low on my list.
<colemickens> (nscd contributes to dns leaks in netns-isolated-based scenarios)
<colemickens> (And I don't like that something changed underneath the covers in nixpkgs/nixos on me)
morgrimm1 has quit [Ping timeout: 256 seconds]
morgrimm_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88033 → skaffold: 1.8.0 -> 1.9.1 → https://git.io/JfEtB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfE3o
<{^_^}> [nixpkgs] @mweinelt opened pull request #88037 → ansible: v2.9.7 → v2.9.9, v2.8.11 → v2.8.12, v2.7.17 → v2.7.18, drop v2.6.x → https://git.io/JfE3X
shabius has joined #nixos
proofofkeags has joined #nixos
Reisen is now known as Reiser
mbrgm has quit [Ping timeout: 260 seconds]
<NickHu> Is there a way to see OfBorg's build queue? I'm just curious to see whether I'm using it correctly or not
<Ashy> colemickens: yeah it's a little annoying, i've seen multiple comments online about nscd being unreliable and not used by many distros too
mbrgm has joined #nixos
oxahexane has joined #nixos
proofofkeags has quit [Remote host closed the connection]
kvda has joined #nixos
proofofkeags has joined #nixos
reallymemorable has joined #nixos