worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
<{^_^}> [nixpkgs] @mweinelt merged pull request #119322 → tmux: 3.1c -> 3.2 → https://github.com/NixOS/nixpkgs/pull/119322
dsrt^ has quit []
Qwerky has quit [Remote host closed the connection]
Qwerky has joined #nixos
tmciver has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @kmicklas opened pull request #119380 → mpvacious: 0.12 -> 0.14 → https://github.com/NixOS/nixpkgs/pull/119380
nrh^ has joined #nixos
tmciver has joined #nixos
h0m1 has quit [Quit: WeeChat 3.1]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @samuela opened pull request #119381 → vscode: 1.55.0 -> 1.55.2 → https://github.com/NixOS/nixpkgs/pull/119381
pushqrdx has joined #nixos
ddellaco_ has joined #nixos
Serus has quit [Ping timeout: 268 seconds]
<pie_> im a little teapie_
MatrixBot25 has joined #nixos
ddellaco_ has quit [Ping timeout: 240 seconds]
aaabbbbbbbbbb has quit [Ping timeout: 252 seconds]
MatrixBot25 has quit [Quit: Bridge terminating on SIGTERM]
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #119383 → geoclue2: Use our own API key → https://github.com/NixOS/nixpkgs/pull/119383
globin has joined #nixos
<{^_^}> [nixpkgs] @JamieMagee opened pull request #119384 → jetbrains.rider: 2021.1 -> 2021.1.1 → https://github.com/NixOS/nixpkgs/pull/119384
Qwerky has joined #nixos
mcornick has quit [Quit: ZNC 1.8.1 - https://znc.in]
mcornick has joined #nixos
<dotdotok> pie_: how good are you with spreadsheets?
Qwerky has quit [Remote host closed the connection]
<pie_> i am a meat popsickle
freecoupo has joined #nixos
<freecoupo> Hello my friends! Claim up to US $24 in coupons now!
<freecoupo> https://a.aliexpress.com/_m0XtOXd Not spam, not virus, just coupons! ;)
<freecoupo> Your $24 in coupons are here!
<pie_> well, i can click around them
<pie_> dotdotok: is there an issue or pr for it yet or something
<freecoupo> no
<dotdotok> don't believe so, its a bit obscure, i was hoping someone here may have built it themselves, dont have much experience working with cmake (or really anything that required more work than `make install`)
<dotdotok> (i tried but with little success)
<gchristensen> A/msg chanserv op #nixos
freecoupo was banned on #nixos by gchristensen [*!*@185.200.34.249]
freecoupo was kicked from #nixos by gchristensen [freecoupo]
<dotdotok> ah ha, well, thats interesting, the site where it was hosted is actually down atm.. thats not very good, thankfully i downloaded the source yesterday
<pie_> xD wow
<{^_^}> [nixpkgs] @drewrisinger closed pull request #119024 → vscode: 1.55.0 -> 1.55.1 → https://github.com/NixOS/nixpkgs/pull/119024
ahmed_elgabri has joined #nixos
<dotdotok> i suppose ill try and build it more in the morning, tired tired
Serus has joined #nixos
justan0theruser has quit [Ping timeout: 250 seconds]
ahmed_elgabri has quit [Ping timeout: 258 seconds]
Dr8128 has quit [Ping timeout: 265 seconds]
figgyc has quit [Quit: No Ping reply in 180 seconds.]
lsix has quit [Ping timeout: 260 seconds]
figgyc has joined #nixos
<aleph-> Hmm, what would be the proper way to generate a wireguard interface and import it into a nixOS container?
rawtaz has quit [Quit: bailing]
rawtaz has joined #nixos
rawtaz has joined #nixos
rawtaz has quit [Changing host]
<aleph-> Ah see there's an issue around a open system pr
<aleph-> systemd*
alexherbo2 has quit [Ping timeout: 240 seconds]
nixperson has quit [Quit: Connection closed]
dotdotok has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
wallacer has joined #nixos
<aleph-> Hmm, maybe I need net cap admin...
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
zeta_0 has joined #nixos
<DigitalKiwi> gchristensen: what's the matter don't you like saving money
rajivr has joined #nixos
Serus has quit [Ping timeout: 268 seconds]
Tv` has joined #nixos
<colemickens> nix: error: unexpected end-of-file
<colemickens> sometimes, I uh I dunnoi
<aleph-> Hmm, nixOS containers are containers ya? Meaning they should be using the kernel of the host machine?
<veleiro> how do i show just what the output path will be from nixos-rebuild?
<veleiro> i want to copy the system closure for a new build on my laptop to a faster machine, and build it there
<veleiro> without downloading it again
<aaronjanse> Correct aleph- (afaik)
<aleph-> Huh
<aleph-> Because I have 5.8~ on the host but 5.4~ in the fresh container.
Serus has joined #nixos
<aaronjanse> Huh
<Tv`> Hi. I'm making a tarball for use in a container, and need /etc/passwd etc created in the tarball already, not at first boot. tar tvf result/tarball/nixos-system-x86_64-linux.tar.xz |grep ' etc/' shows the etc/ dir is empty in the tarball. any ideas?
<aleph-> Iirc /etc is effectively null on first usr
<aleph-> There's no need for it
<aleph-> use*
<Tv`> should i be looking at actually triggering all activationScripts, or somehow kludging just the update-users-groups.pl thing
<Tv`> aleph-: the container infrastructure demands /etc/passwd etc to be in place
<aleph-> Thinking.
<aleph-> Could just `touch` it yah?
<Tv`> mighty ugly but possible
<aleph-> End goal is you want a nixOS container right?
<Tv`> yeah. specifically, nixos in crostini (ChromeOS)
<Tv`> it works, but i'm trying to automate the steps
<aleph-> Hmm. Thinking some more.
<Tv`> (right now needs an `lxc exec` workaround before the crostini infrastructure starts working)
<aleph-> So this is very outdated, but might give you some ideas if you haven't seen it yet
<aleph-> Written by tazjin here
<Tv`> that was my starting point i believe
<Tv`> so the good news is *it works*, i have wayland, x11 etc all going
<Tv`> but i still have to clean up some kludges ;)
vidbina has joined #nixos
<aleph-> Ah got it.
<aleph-> Hmm, could I see your source?
<Tv`> i haven't pushed anything yet, just editing local files
<Tv`> but it's basically nothing more than `nix-build -E '(import <nixpkgs/nixos/release.nix> {}).containerTarball.x86_64-linux'`, a few workarounds, and systemd units for the googly tools to run inside the container
<aleph-> Hmm, got it
theDon has quit [Ping timeout: 240 seconds]
<aleph-> Hmm can you use nixOS modules when creating this container?
<Tv`> workarounds are 1) security.nesting=true in lxc 2) lxc launch instead of vmc container (because missing /etc/passwd etc) 3) there's a 5 second sleep to avoid a race
alexherbo2 has quit [Ping timeout: 240 seconds]
<aleph-> Could use the environment.etc.<file> module
theDon has joined #nixos
<Tv`> aleph-: i think that'd result in a symlink though, which would probably break other things
<aleph-> Hmmm. Quite possibly yeah.
gustavderdrache has quit [Quit: Leaving.]
<Tv`> i don't understand what `system.build.tarball = ...` actually does
<Tv`> like, it's assigning an option i think, but i haven't been able to locate the definition
<Tv`> or use
<aleph-> A good question and one I'll leave to my seniors, I don't recall every using it
<Tv`> but it seems like make-system-tarball.nix would let me control the contents of the tarball more explicitly, if i can figure out the plumbing to that
<{^_^}> [nixpkgs] @xrelkd opened pull request #119386 → mdbook-mermaid: init at 0.8.1 → https://github.com/NixOS/nixpkgs/pull/119386
ahmed_elgabri has joined #nixos
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Tv`> https://nixos.org/manual/nixos/stable/#sec-building-parts <-- no system.build.tarball documented, and that doesn't explain the assignment part at all
AlpineLlama has joined #nixos
ahmed_elgabri has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @branwright1 opened pull request #119387 → river: init at master → https://github.com/NixOS/nixpkgs/pull/119387
marusich has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
riksteri has joined #nixos
pushqrdx_ has joined #nixos
pushqrdx has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
Supersonic112 has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
zie has quit [Quit: ZNC 1.8.1 - https://znc.in]
zie has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
infinisil has quit [Ping timeout: 246 seconds]
wucke13 has quit [Ping timeout: 265 seconds]
infinisil has joined #nixos
mzan has quit [Ping timeout: 268 seconds]
snowflake has quit [Ping timeout: 240 seconds]
wucke13 has joined #nixos
fooker has quit [Ping timeout: 246 seconds]
snowflake has joined #nixos
eyenx has quit [Ping timeout: 240 seconds]
eyenx has joined #nixos
iMatejC has quit [Ping timeout: 268 seconds]
iMatejC has joined #nixos
fooker has joined #nixos
mupf has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
lawt has joined #nixos
pinkieval has quit [Excess Flood]
hke has quit [Ping timeout: 245 seconds]
hke has joined #nixos
pinkieval has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.9]
fresheyeball has joined #nixos
wunderbrick has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @marsam opened pull request #119388 → postgresqlPackages.timescaledb: 2.1.1 -> 2.2.0 → https://github.com/NixOS/nixpkgs/pull/119388
waleee-cl has quit [Quit: Connection closed for inactivity]
zie has quit [Quit: ZNC 1.8.2 - https://znc.in]
zie has joined #nixos
<fresheyeball> Is there any way to make a temporary one time file change in the nix store for debugging purposes?
<{^_^}> [nixpkgs] @marsam opened pull request #119389 → postgresql_9_5: drop → https://github.com/NixOS/nixpkgs/pull/119389
Heirlung has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ilya-fedin opened pull request #119390 → kotatogram-desktop: 1.2 -> 1.4 → https://github.com/NixOS/nixpkgs/pull/119390
berberman has quit [Ping timeout: 250 seconds]
berberman_ has joined #nixos
Heirlung has joined #nixos
ahmed_elgabri has joined #nixos
ahmed_elgabri has quit [Ping timeout: 260 seconds]
eacameron has quit [Quit: Connection closed for inactivity]
exfalso has joined #nixos
palo has quit [Ping timeout: 252 seconds]
mcdviii has joined #nixos
palo has joined #nixos
sangoma has joined #nixos
endformationage has quit [Quit: WeeChat 2.9]
beertoagunfight has joined #nixos
<elvishjerricco> fresheyeball: On NixOS? Not without messing around with mounts, since /nix/store is mounted as readonly
<simpson> Hm. I wonder who I can talk to about https://github.com/NixOS/nixpkgs/issues/79204
<{^_^}> #79204 (by deliciouslytyped, 1 year ago, open): Packaging Request: Sandstorm.io
sangoma has quit [Ping timeout: 252 seconds]
<simpson> Having the sinking feeling that it might be just me and the folks in #sandstorm.
nly has joined #nixos
novafacing has quit [Quit: novafacing]
novafacing has joined #nixos
nly has left #nixos [#nixos]
<elvishjerricco> fresheyeball: I *think* you can do `sudo mount -o remount,rw,bind /nix/store` to make it writable, then root can modify anything.
mzan has joined #nixos
lambdaman has joined #nixos
<lambdaman> Trying to get good ol' simple local mail (mailutils) working on my system and it's driving me batty. I have mailutils installed and thought I might need postfix too. Whatever I do seems not to let me use mail to send to myself. No error, but not mail either.
nixer has joined #nixos
<nixer> Hi, I want to install latest version of VSCode in my user environment, so I understand I need to create an overlay, how do I extract the current vscode configuration to put in the ovrlay ?
<nixer> or is there a nice guide for how to use latest version of some package
beertoagunfight1 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #119391 → ocamlPackages.labltk: fix ocamlbrowser by wrapping; remove legacy versions → https://github.com/NixOS/nixpkgs/pull/119391
<nixer> also i've added i3wm but how do I activate it (i'm getting gnome3 shell now)
beertoagunfight has quit [Ping timeout: 240 seconds]
beertoagunfight1 is now known as beertoagunfight
respawn_ has joined #nixos
noonien6 has joined #nixos
sangoma has joined #nixos
noonien has quit [Ping timeout: 252 seconds]
noonien6 is now known as noonien
<LinuxHackerman> nixer: do you still have gnome 3 active in your config as well? You should have a choice at the login screen
<nixer> yes i do, and no i do not
<{^_^}> [nixpkgs] @samuela opened pull request #119392 → vscodium: 1.55.0 -> 1.55.2 → https://github.com/NixOS/nixpkgs/pull/119392
<nixer> gnome3 is set in config as desktopManager and i3 as widnowManager
<nixer> also how do i add my user to sudoers in nix ?
jarkad has joined #nixos
turlando has joined #nixos
Dotz0cat has quit [Ping timeout: 252 seconds]
fresheyeball has quit [Quit: WeeChat 2.9]
beertoagunfight has quit [Ping timeout: 268 seconds]
hiro98 has joined #nixos
evanjs has quit [Ping timeout: 252 seconds]
hiro98 has quit [Client Quit]
hiro98 has joined #nixos
ilyaigpetrov has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
attila_lendvai has joined #nixos
thc202 has joined #nixos
davidtwco has quit [Ping timeout: 246 seconds]
Tritlo has quit [Ping timeout: 246 seconds]
raboof has quit [Ping timeout: 245 seconds]
acertain has quit [Read error: Connection reset by peer]
steveeJ has quit [Read error: Connection reset by peer]
eddyb[legacy] has quit [Read error: Connection reset by peer]
dmj` has quit [Read error: Connection reset by peer]
thoughtpolice has quit [Read error: Connection reset by peer]
lambdaman has quit [Remote host closed the connection]
visl has quit [Ping timeout: 245 seconds]
midchildan has quit [Ping timeout: 245 seconds]
pittma has quit [Ping timeout: 245 seconds]
jmercouris has quit [Ping timeout: 245 seconds]
thc202 has quit [Max SendQ exceeded]
lambdaman has joined #nixos
mpickering has joined #nixos
Tritlo has joined #nixos
davidtwco has joined #nixos
scoates has joined #nixos
thc202 has joined #nixos
sam_w has joined #nixos
hamishmack has joined #nixos
zot has joined #nixos
thoughtpolice has joined #nixos
steveeJ has joined #nixos
dmj` has joined #nixos
acertain has joined #nixos
robmyers has joined #nixos
jmercouris has joined #nixos
eddyb[legacy] has joined #nixos
raboof has joined #nixos
nick_h has joined #nixos
thc202 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jojosch opened pull request #119393 → jellyfin-mpv-shim: 1.10.3 -> 1.10.4 → https://github.com/NixOS/nixpkgs/pull/119393
pittma has joined #nixos
gluegadget has joined #nixos
midchildan has joined #nixos
visl has joined #nixos
lvrp16 has joined #nixos
<nixer> LinuxHackerman?
thc202 has joined #nixos
lambdaman has quit [Ping timeout: 265 seconds]
ahmed_elgabri has joined #nixos
jarkad has left #nixos [#nixos]
jarkad has joined #nixos
jarkad has quit [Quit: jarkad]
cfricke has joined #nixos
jarkad has joined #nixos
wnklmnn has joined #nixos
nixer has quit [Quit: Connection closed]
cole-h has quit [Ping timeout: 240 seconds]
saschagrunert has joined #nixos
nixer has joined #nixos
nrh^ has quit []
novafacing has quit [Quit: novafacing]
novafacing has joined #nixos
<nixer> guess this is not support firnedly hours :)
orivej has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/dec334fa196 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [nixpkgs] @hzeller opened pull request #119394 → timg: init at v1.4.0 → https://github.com/NixOS/nixpkgs/pull/119394
orivej has quit [Ping timeout: 252 seconds]
ollijh[m] has joined #nixos
ollijh[m] is now known as liff
<{^_^}> [nixpkgs] @karolchmist opened pull request #119395 → devilutionx: 1.2.0 -> 1.2.1 → https://github.com/NixOS/nixpkgs/pull/119395
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
attila_lendvai has quit [Ping timeout: 246 seconds]
lsix has joined #nixos
<{^_^}> [nixpkgs] @TredwellGit opened pull request #119396 → glibc: 2.32-40 -> 2.32-46 → https://github.com/NixOS/nixpkgs/pull/119396
respawn_ has quit [Quit: Leaving]
jarkad has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
<LinuxHackerman> nixer: the "wheel" group has sudo access by default, so the typical way is to do users.users.nixer.extraGroups = ["wheel"];
nschoe has quit [Client Quit]
<LinuxHackerman> I'm not sure why i3 wouldn't show up on the list in that case. Maybe try restarting display-manager (will kill any graphical sessions!) using sudo systemctl restart display-manager
alexherbo2 has joined #nixos
<nixer> i tried reboot, didn't help
<nixer> anyhow, I want to make an overlay which updates vscode to latest version, any tips on how to do that ?
<LinuxHackerman> huh ok
<nixer> now sure what to write in my injection script
<LinuxHackerman> and you did apply the new config using nixos-rebuild switch?
<nixer> yep, I think the i3 wiki page has tips on how to make it work, i'll look into it later
<nixer> now i'm trying to get newer versions of packages I want in the stable tree
avaq has joined #nixos
sofus[m] has joined #nixos
jimmiehansson has joined #nixos
<nixer> any ideas on how to upgrade vscode via a patch overlay ?
evanjs has joined #nixos
aaabbbbbbbbbb has joined #nixos
<etu> sofus[m]: Could you please stop editing the message? It looks like spam on IRC because we get a new link every time
<etu> sofus[m]: Also, I may have things to help you :)
<sofus[m]> <etu "sofus: Also, I may have things t"> Sorry. I had some issues in copying the code
<etu> sofus[m]: This is my sway related configs, this line may be of interest to you: https://github.com/etu/nixconfig/blob/main/modules/my-sway.nix#L502-L503
<nixer> wow, this is so hard :)
<nixer> can't figure out how to patch the version and hashs :/
jarkad has joined #nixos
<slby[m]> Is there a way to specify the location of the flake.lock file?
<{^_^}> [nixpkgs] @dotlambda opened pull request #119397 → postfix: 3.5.9 -> 3.5.10 → https://github.com/NixOS/nixpkgs/pull/119397
griff__ has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
<sofus[m]> <etu "sofus: This is my sway related c"> This is actually the blog post that i started to follow.
<{^_^}> [nixpkgs] @Mic92 merged pull request #103228 → nixos/k3s: Update service to match upstream → https://github.com/NixOS/nixpkgs/pull/103228
griff__ has quit [Client Quit]
zupo has joined #nixos
evanjs has joined #nixos
<etu> sofus[m]: Oh :D
<etu> sofus[m]: Maybe it's broken for me then :D
<etu> yep, seems to be broken for me, it used to work :/
<sofus[m]> damn
jonringer has quit [Ping timeout: 258 seconds]
<sofus[m]> But thanks for the help anyways. Really appreciate it :)
jarkad has quit [Quit: jarkad]
<{^_^}> [nixpkgs] @vcunat pushed 616 commits to staging-next: https://git.io/JO3xF
rawtaz has left #nixos [#nixos]
<etu> sofus[m]: The problem I seem to have is that my wlr portal doesn't start properly
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
<attila_lendvai> what is the policy regarding LLVM? i wish there was an LLVM unstable package that contains the bleeding edge, and is updated every once in a while and built on hydra so that i can grab a rather recent LLVM binary...
alexherbo2 has quit [Ping timeout: 240 seconds]
saschagrunert has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat opened pull request #119398 → Staging next → https://github.com/NixOS/nixpkgs/pull/119398
<attila_lendvai> or maybe have an llvmPackages_13 set up very early, even before 12 has been released
<sofus[m]> <etu "sofus: The problem I seem to hav"> Please let me know if you find a solution. Thanks! :)
devhell has quit [Quit: leaving]
srk has joined #nixos
saschagrunert has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #117468 → cri-o: 1.20.1 -> 1.21.0 → https://github.com/NixOS/nixpkgs/pull/117468
saschagrunert has quit [Read error: Connection reset by peer]
saschagrunert has joined #nixos
meh` has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119400 → [20.09] panotools: 2.9.19 -> 2.9.20 → https://github.com/NixOS/nixpkgs/pull/119400
vidbina has joined #nixos
h0m1 has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @primeos opened pull request #119401 → chromium: 89.0.4389.114 -> 89.0.4389.128 → https://github.com/NixOS/nixpkgs/pull/119401
h0m1 has joined #nixos
avaq has quit [Ping timeout: 252 seconds]
Satyasheel[m] has quit [Quit: Idle for 30+ days]
dev-kcw[m] has quit [Quit: Idle for 30+ days]
<{^_^}> [nix] @edolstra merged pull request #4708 → Fix registerDrvOutput with the daemon → https://github.com/NixOS/nix/pull/4708
<{^_^}> [nix] @edolstra merged pull request #4707 → EvalSettings::getDefaultNixPath: respect {restrict,pure}Eval → https://github.com/NixOS/nix/pull/4707
exfalso has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119402 → gnome3.file-roller: 3.38.0 -> 3.39.1 → https://github.com/NixOS/nixpkgs/pull/119402
exfalso has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has joined #nixos
teasea has quit [Quit: teasea]
dotdotok has joined #nixos
pushqrdx_ has quit [Remote host closed the connection]
teasea has joined #nixos
sss2 has quit [Quit: Leaving]
<gianarb> Hello!! :) I am missing something obvious here https://discourse.nixos.org/t/running-pipewire-on-20-09/12195 I am trying to follow this post but I get the message nixos-unstable undefined variable
<gianarb> I have added the nixos-unstable channel to nix and that's why `<nixos-unstable/nixos/modules/services/desktops/pipewire/pipewire.nix>` works fine I suppose
<gianarb> I am not sure how I can reference nixous-unstable in configuration.nix
hke has quit [Quit: bye]
hke has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @rien opened pull request #119403 → jetbrains.jdk: 11.0.10-b37 -> 11.0.10-b1427 → https://github.com/NixOS/nixpkgs/pull/119403
avaq has joined #nixos
<gianarb> That's it yaymukund !! Thanks.. Now I know where to look for more information like this I suppose! :D Thanks
h0m1 has quit [Quit: WeeChat 3.1]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #119404 → ytfzf: 1.1.2 -> 1.1.3 → https://github.com/NixOS/nixpkgs/pull/119404
seanparsons has quit [Ping timeout: 265 seconds]
ris has quit [Ping timeout: 260 seconds]
Noisytoot has quit [Ping timeout: 240 seconds]
Noisytoot has joined #nixos
BlackBeans has joined #nixos
seanparsons has joined #nixos
veehaitch has joined #nixos
ris has joined #nixos
<{^_^}> [nixpkgs] @roberth opened pull request #119405 → openapi-generator-cli: Use headless jre → https://github.com/NixOS/nixpkgs/pull/119405
fuiltilt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @stigtsp merged pull request #118122 → perlPackages.Mojolicious: 9.10 -> 9.17 → https://github.com/NixOS/nixpkgs/pull/118122
sss2 has joined #nixos
zupo has joined #nixos
hiro98 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119406 → lib/attrsets: make toDerivation x always work when isStorePath x → https://github.com/NixOS/nixpkgs/pull/119406
nixer has quit [Ping timeout: 240 seconds]
sss2 has quit [Quit: Leaving]
veehaitch has quit [Ping timeout: 240 seconds]
turlando has quit [Remote host closed the connection]
ij has left #nixos ["WeeChat 2.9"]
turlando has joined #nixos
veehaitch has joined #nixos
turlando has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veehaitch has quit [Ping timeout: 252 seconds]
avaq has quit [Ping timeout: 260 seconds]
Dr8128 has joined #nixos
veehaitch has joined #nixos
veehaitch has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #119397 → postfix: 3.5.9 -> 3.5.10 → https://github.com/NixOS/nixpkgs/pull/119397
lambdaman has joined #nixos
sss2 has joined #nixos
beertoagunfight has joined #nixos
zupo has joined #nixos
lambdaman has quit [Ping timeout: 260 seconds]
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #119408 → [20.09] postfix: 3.5.6 -> 3.5.10 → https://github.com/NixOS/nixpkgs/pull/119408
veehaitch has joined #nixos
<{^_^}> [nixpkgs] @239 opened pull request #119409 → gradle: 7.0-rc-2 -> 7.0 → https://github.com/NixOS/nixpkgs/pull/119409
respawn_ has joined #nixos
<asymmetric> has anyone successfully configured more than one wireguard vpn using the wireguard module?
Dotz0cat has joined #nixos
<asymmetric> whenever i add more than one subnet to wireguard.interfaces.wg0.ips, one of them takes over, meaning taking over the src ip on all other wireguard subnets
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<{^_^}> [nixpkgs] @flokli merged pull request #119368 → rl-2105: Document /etc/systemd-mutable/system -> boot.extraSystemdUnitPaths → https://github.com/NixOS/nixpkgs/pull/119368
Dotz0cat_ has joined #nixos
Dotz0cat has quit [Ping timeout: 240 seconds]
<LinuxHackerman> asymmetric: huh? What do you mean by taking over?
<asymmetric> simply that routes are incorrect somehow, and the src ip of a subnet is used when sending packets on another subnet
<asymmetric> so wireguard at the other end discards the packet as having an incorrect src
avaq has joined #nixos
<LinuxHackerman> could you show your config and what routes you would expect and what you observe?
<{^_^}> [nixpkgs] @239 opened pull request #119410 → kotlin: 1.4.21 -> 1.4.32 → https://github.com/NixOS/nixpkgs/pull/119410
Qwerky has joined #nixos
<asymmetric> LinuxHackerman: yes, i'll create a discourse post. can i tag you there?
hiro98 has joined #nixos
<LinuxHackerman> sure
Qwerky has quit [Remote host closed the connection]
hiro98 has quit [Remote host closed the connection]
<pie_> asymmetric: doesnt really help but have you looked at the module source
hiro98 has joined #nixos
beertoagunfight has quit [Quit: beertoagunfight]
beertoagunfight has joined #nixos
<{^_^}> [nixpkgs] @mikesperber opened pull request #119411 → tensorflow-haskell: Unbreak / update to Tensorflow 2.4 → https://github.com/NixOS/nixpkgs/pull/119411
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nickli has quit [Quit: cd /dev/null]
rprije has quit [Ping timeout: 240 seconds]
Qwerky has joined #nixos
turlando has joined #nixos
meh` has quit [Ping timeout: 268 seconds]
Nickli has joined #nixos
Qwerky has quit [Ping timeout: 265 seconds]
beertoagunfight has quit [Remote host closed the connection]
domogled has joined #nixos
dsrt^ has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @ilian opened pull request #119412 → oci-cli: init at 2.23.0 → https://github.com/NixOS/nixpkgs/pull/119412
turlando has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @cheriimoya opened pull request #119413 → super-productivity: 1.10.45 -> 6.5.2 → https://github.com/NixOS/nixpkgs/pull/119413
troydm has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #118134 → coqPackages update → https://github.com/NixOS/nixpkgs/pull/118134
<{^_^}> [nixpkgs] @vbgl closed pull request #73075 → coqPackages.InteractionTrees: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/73075
Qwerky has joined #nixos
sss2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119380 → mpvacious: 0.12 -> 0.14 → https://github.com/NixOS/nixpkgs/pull/119380
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119384 → jetbrains.rider: 2021.1 -> 2021.1.1 → https://github.com/NixOS/nixpkgs/pull/119384
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #119415 → jetbrains: fix url literal → https://github.com/NixOS/nixpkgs/pull/119415
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119386 → mdbook-mermaid: init at 0.8.1 → https://github.com/NixOS/nixpkgs/pull/119386
cyris212 has quit [Quit: ZNC 1.8.1 - https://znc.in]
cyris212 has joined #nixos
<{^_^}> [nixpkgs] @lukegb opened pull request #119416 → factorio-experimental: 1.1.30 -> 1.1.31 → https://github.com/NixOS/nixpkgs/pull/119416
HaserWolf has quit [Remote host closed the connection]
HaserWolf has joined #nixos
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOszy
sss2 has joined #nixos
<{^_^}> [nixpkgs] @zakame opened pull request #119417 → [20.09] perlPackages.Mojolicious: 8.58 -> 9.17 → https://github.com/NixOS/nixpkgs/pull/119417
berberman_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
berberman has joined #nixos
lsix has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/JOsa0
dotdotok has quit [Ping timeout: 252 seconds]
DerHorst_ is now known as DerHorst
<{^_^}> [nixpkgs] @jlesquembre closed pull request #113872 → step-ca: 0.15.6 -> 0.15.8 → https://github.com/NixOS/nixpkgs/pull/113872
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119415 → jetbrains: fix url literal → https://github.com/NixOS/nixpkgs/pull/119415
meh` has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119393 → jellyfin-mpv-shim: 1.10.3 -> 1.10.4 → https://github.com/NixOS/nixpkgs/pull/119393
faffolter has joined #nixos
<{^_^}> [nixpkgs] @larsr opened pull request #119418 → coqPackages.ITree: changed pname to InteractionTrees → https://github.com/NixOS/nixpkgs/pull/119418
jophish has joined #nixos
Dr8128 has quit [Ping timeout: 240 seconds]
jophish1 has quit [Ping timeout: 268 seconds]
<pheoxy> whats the correct way to create a system user for managing some software
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119404 → ytfzf: 1.1.2 -> 1.1.3 → https://github.com/NixOS/nixpkgs/pull/119404
<pheoxy> users.users.<name>.isSystemUser = true
<pheoxy> I'm thinking its a good idea to use uid and gid
<pheoxy> but whats the range I should be using them in nixos? below 1000 or above?
<{^_^}> [nixpkgs] @primeos pushed to master « chromium: get-commit-message.py: Deduplicate the CVE list »: https://git.io/JOsrI
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #119409 → gradle: 7.0-rc-2 -> 7.0 → https://github.com/NixOS/nixpkgs/pull/119409
faffolter has quit [Quit: Leaving]
MatrixBot25 has joined #nixos
<dutchie> pheoxy: `isSystemUser = true;` allocates uids from 400 to 999: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/update-users-groups.pl#L63
<qyliss> it's usually better to avoid assigning a uid for a system user if you can, because they're fairly scare
<qyliss> *scarce
<asymmetric> when doing a nixos-rebuild to a remote host, i'm getting this error:
<asymmetric> error: cannot add path '/nix/store/49pvy648ncl0dcgrnw355h4rb90szl3d-initrd-linux-5.4.105' because it lacks a valid signature
<asymmetric> nixos-rebuild --use-remote-sudo
<asymmetric> i assume the remote host is refusing store paths built by my non-root user
<aleph-> So figured I'd ping here again, gchristensen maybe you know. NixOS/systemd-nspawn containers. Those should be relying on the kernel of the host right? Because I've got a host with a 5.8~ kernel now and when I generate a container and upload via nixops it seems to want to use a 5.4~ kernel.
<gchristensen> you need to be connecting to the remote host as a user which is trusted by nix, usually that means root
<aleph-> Half wondering if this is due to my pinned version of nixpkgs for nixops...
<gchristensen> aleph-: right
<gchristensen> I suspect the container won't use the kernel you're sending
philr has joined #nixos
<asymmetric> gchristensen: is it sufficient to add my user to the remote's trusted-users in nix.conf
<gchristensen> it has to be the user you're logged in as on the remote side
<gchristensen> and that should be enough
<aleph-> Huh... but it's a container? A glorified chroot, by default it should just use the kernel of the root. And having looked through the nixos-container module def nothing pops out to say otherwise. :/
<aleph-> kernel of the host.*
<gchristensen> aleph-: right, for whatever reason you depend on a kernel in your closure, but it won't be used
<supersandro2000> qyliss: why do you revert an update and after that mark it as broken?
<qyliss> supersandro2000: because prior to the update it was broken
<supersandro2000> so its broken anyway?
<aleph-> Hmm, bizarre.
<supersandro2000> also that comment is not linked in the commit
<qyliss> the commit message explains it
<{^_^}> [nixpkgs] @vbgl merged pull request #119418 → coqPackages.ITree: changed pname to InteractionTrees → https://github.com/NixOS/nixpkgs/pull/119418
<qyliss> the update changed it from failing to build to broken at runtime
<qyliss> (when used with the NixOS module)
<aleph-> Could I set a kernel to be used for a container... setting boot.kernelPackage(s) in the container config doesn't work. Maybe if I override the module definition...
<supersandro2000> containers do not have kernels
<supersandro2000> they use cgroups and sit in the host kernel
<qyliss> supersandro2000: aleph-'s previous messages demonstrates that they know that
<aleph-> Aye.
<gchristensen> aleph-: is there an issue here beyond it being annoying that you depend on a kernel?
<supersandro2000> didn't read that
<qyliss> then maybe don't assume ignorance before you've read five lines up
jrm has quit [Read error: Connection reset by peer]
<aleph-> gchristensen: Yeah the root issue is I'm trying to get wireguard working in a container. Which given I'm stuck on 5.4~ in the container means I'm missing the kernel driver. Might just override the module def for containers and include the wg driver that way.
jrm2 has joined #nixos
<supersandro2000> at the beginning of the day I just scroll down to the end and ignore everything above
alexherbo2 has joined #nixos
<gchristensen> hrm, I'm not sure nixos containers can load kernel modules
<supersandro2000> well I look for mentions but nothing else
jrm2 is now known as jrm
<aleph-> gchristensen: Well it'll be a fun day finding out! :)
<gchristensen> hehe
<aleph-> The end goal being I want to do a mesh vpn set up internally using a module for https://github.com/jwhited/wgsd that I have a module written for.
* V assumes supersandro2000's IRC client is 4 lines tall
<das_j> aleph-: Don't the modules get propagated when loading them on the host?
ddellacosta has joined #nixos
<edef> aleph-: the container won't be able to modprobe/insmod wireguard anyway
<aleph-> All true things.
lsix has joined #nixos
<edef> i'm not sure if the mechanism for loading interface drivers is pure userspace, or if it goes through the kernel's modprobe helper path
<aleph-> I believe the latter iirc
<edef> or if containers can even trigger the latter
<aleph-> So should be fun finding out
<edef> right, in which case it presumably does that in the root netns
<supersandro2000> V: I am just lazy
<aleph-> Worst comes to worst maybe I can just write a func to generate my wg devices in the root and just import them into each container.
<qyliss> supersandro2000: in cases like this, your laziness is rude to other people
<supersandro2000> at least docker can do that if you give the container enough permission
<supersandro2000> I assume you can do the same for nspawn container
<edef> aleph-: that will affect how they work, fwiw
<aleph-> Oh?
<edef> aleph-: they retain the UDP socket from the netns they were created in
<edef> ie underlay traffic will be from the host netns
<edef> but just loading the module on the host should work fine
<mewra> aleph-: you can create wg interfaces inside namespaces just fine, you only need to make sure the host kernel has already loaded the module
<supersandro2000> you can give the docker container the SYS_MODULE cap to achieve that
<{^_^}> [nixpkgs] @Mic92 merged pull request #119392 → vscodium: 1.55.0 -> 1.55.2 → https://github.com/NixOS/nixpkgs/pull/119392
<gchristensen> this is a nixos container :)
<aleph-> mewra: Yeah that's what I thought. Probably need to fiddle some more as my container gives off an error device not found/unknown when I try a `ip link add dev wg0 type wireguard`
<mewra> even after you run modprobe wireguard on the host?
<supersandro2000> gchristensen: which is just a systemd-nspawn container which also uses cgroups so it should be similar
<aleph-> mewra: Eyarp
<edef> giving a container SYS_MODULE is effectively giving it root
<edef> i would not do that in most circumstances.
<asymmetric> gchristensen: do the usernames have to match between the two hosts?
ddellacosta has quit [Ping timeout: 252 seconds]
<asymmetric> my local username and the one i ssh with are different
<gchristensen> asymmetric: no, the sending side has nothing to do with it
respawn_ has quit [Quit: Leaving]
<mewra> aleph-: That's odd. Can you create wg interfaces on the host?
<mewra> Also, what's the exact error message? "Error: Unknown device type."?
<aleph-> Okay there we go somehow missing the closures for the wireguard device package. Grumble.
<aleph-> From the host
<gchristensen> asymmetric: unless you're rebuildinglocally, using a remote machine as a builder?
<asymmetric> gchristensen: yes, that's what i'm doing, because apparently remote building is broken
<gchristensen> oh I see
<gchristensen> what is remote building doing?
<asymmetric> nixos-rebuild switch --target-host wireguard-gateway --build-host localhost --flake ..#wireguard-gateway --use-remote-sudo
<{^_^}> [nixpkgs] @mweinelt opened pull request #119421 → Merge staging-next into staging → https://github.com/NixOS/nixpkgs/pull/119421
<{^_^}> [nixpkgs] @Mic92 pushed commit from @cheriimoya to master « super-productivity: 1.10.45 -> 6.5.2 »: https://git.io/JOsio
<gchristensen> oh then the user you're using on each machine needs to be trusted
<gchristensen> a user needs to be trusted to receive build products
<{^_^}> [nixpkgs] @Mic92 closed pull request #119413 → super-productivity: 1.10.45 -> 6.5.2 → https://github.com/NixOS/nixpkgs/pull/119413
<asymmetric> leaving out --build-host localhost, i get https://paste.rs/liw
<asymmetric> gchristensen: so i'd need to also add my local user (the one that bulids) to trusted-users ?
<gchristensen> asymmetric: if your remote user on wireguard-gateway is foo and your local user on localhost is bar, bar needs to be trusted by localhost, and foo needs to be trusted by wireguard-gateway
turlando has joined #nixos
freeman42x has joined #nixos
freeman42x has left #nixos [#nixos]
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @expipiplus1 closed pull request #111399 → WIP: haskellPackages.tensorflow: 2020-05-22 -> 2020-11-14 → https://github.com/NixOS/nixpkgs/pull/111399
<{^_^}> [nixpkgs] @alyssais opened pull request #119422 → mailman-web: fix build → https://github.com/NixOS/nixpkgs/pull/119422
ddellacosta has joined #nixos
<asymmetric> gchristensen: they are, and it still doesn't work
<asymmetric> for the record, this is on GCE, which uses os-login, so technically, the user i login with doesn't exist in /etc/passwd
<gchristensen> sounds like an issue, what user do you appear to be on the system?
<asymmetric> (not sure if you're familiar with os-login)
<asymmetric> i'm a user created by gce
<gchristensen> yeah but does your UID / GID have a name?
<asymmetric> yes, it does
<gchristensen> and what is that name?
<asymmetric> ext_foo_gmail_com
<gchristensen> because that needs to be trusted :)
<gchristensen> it is dynamically added to the system?
<asymmetric> with foo being my actual name
<gchristensen> like getent can see it?
<asymmetric> yep
<gchristensen> should work then
ddellacosta has quit [Remote host closed the connection]
<gchristensen> asymmetric: but it doesn't work?
alexherbo2 has quit [Ping timeout: 252 seconds]
<asymmetric> no, it doesn't
orivej has quit [Ping timeout: 260 seconds]
rj has joined #nixos
ddellaco_ has joined #nixos
Dr8128 has joined #nixos
<asymmetric> gchristensen: any idea what the error at https://paste.rs/liw is saying?
layerex has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
<asymmetric> nix.conf@remote: trusted-users = root @wheel ext_foo_gmail_com asymmetric
<asymmetric> nix.conf@localhost: trusted-users = root asymmetric ext_foo_gmail_com
<{^_^}> [nixpkgs] @mweinelt opened pull request #119423 → python3Packages.pywemo: disable flaky test → https://github.com/NixOS/nixpkgs/pull/119423
<gchristensen> sorry asymmetric, I've run out of time at the moment :(
<asymmetric> k, thanks!
freeman42x has left #nixos [#nixos]
avaq has quit [Ping timeout: 268 seconds]
aleph- has quit [Quit: WeeChat info:version]
avaq has joined #nixos
Dr8128 has quit [Ping timeout: 265 seconds]
<chvp> asymmetric: remote building with flakes is broken atm
<chvp> adding `--build-host localhost` to the params should fix that
ddellacosta has joined #nixos
<gchristensen> how is remote building with flakes broken? :/
<chvp> you get the error asymmetric posted
<chvp> I'm not sure on the specifics
<gchristensen> :(
Qwerky has quit [Remote host closed the connection]
<chvp> wiki says the same thing: https://nixos.wiki/wiki/Flakes
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<chvp> I thought I saw an issue at some point, but I can't find it right now
<{^_^}> [nixpkgs] @alyssais merged pull request #119422 → mailman-web: fix build → https://github.com/NixOS/nixpkgs/pull/119422
aleph- has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #119424 → buildah: 1.20.0 -> 1.20.1 → https://github.com/NixOS/nixpkgs/pull/119424
<asymmetric> there's this discourse post (by me) if anyone has more info: https://discourse.nixos.org/t/building-a-flake-based-nixos-system-remotely/11309
<aleph-> Okay yeah weird, needed a reboot. For some reason my host wasn't loading the wg driver.
<aleph-> And there for I can use wg in my nixOS containers fine woot
_d0t has joined #nixos
<_d0t> ohai! Is there an operator in nix that returns the first argument if it isn't null, otherwise returns the second one?
<_d0t> I have a lot of code that looks like `if x == null then y else x` :(
domogled has quit [Quit: domogled]
<dutchie> x ? y
<dutchie> > null ? 42
<{^_^}> error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):494:8
<dutchie> um
vidbina has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
gustavderdrache has joined #nixos
<_d0t> yeah
<LambdaDu1k> How do you figure out which `darwin.apple_sdk.frameworks` a program needs when packaging it for macos?
<_d0t> that one is for attrsets
Qwerky has joined #nixos
<asymmetric> lib.mapNullable?
<asymmetric> > lib.mapNullable (x: x) null
<{^_^}> null
<asymmetric> > lib.mapNullable (x: x) "foo"
<{^_^}> "foo"
<lukegb> LambdaDu1k: it depends, if it's a C program you'll get told that it's missing headers named <SomethingKit/Awesome.h>, and in that case you need, well, SomethingKit
<simpson> asymmetric++
<{^_^}> asymmetric's karma got increased to 7
meh` has quit [Ping timeout: 252 seconds]
tru_tru has quit [Ping timeout: 260 seconds]
Qwerky has quit [Ping timeout: 240 seconds]
rj has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rj has joined #nixos
<LambdaDu1k> lukegb: Thanks! If it doesn't complain during the compilation, it is fine?
<lukegb> _Probably_, yes.
BlackBeans has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @alyssais opened pull request #119425 → mailman-web: 2019-09-29 -> 2021-04-10 → https://github.com/NixOS/nixpkgs/pull/119425
<{^_^}> [nixpkgs] @onixie opened pull request #119426 → nixos/kubernetes: allow merging multiple definitions of extraOpts → https://github.com/NixOS/nixpkgs/pull/119426
<_d0t> asymmetric: I don't think this looks better. I'll probably define my own function somewhere.
<asymmetric> agreed :)
<LambdaDu1k> Now I have problems with /nix/store/prgrm/MyProgram.app/bin/appname is looking for a library in /nix/store/prgrm/lib instead of /nix/store/prgrm/MyProgram.app/lib where it actually is. Do you have any idea what would cause this/how to solve it? It is a QT-app that uses macdeployqt.
vidbina has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellacosta has joined #nixos
sangoma has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @talyz opened pull request #119427 → tengine: Add modules to passthru → https://github.com/NixOS/nixpkgs/pull/119427
zupo has joined #nixos
catern has joined #nixos
<catern> hmmm trying to upgrade to 20.09 on my little digital ocean VPS with 1GB of RAM and I'm getting "error: unable to fork: Cannot allocate memory"
<{^_^}> [nixos-hardware] @Mic92 merged pull request #241 → Add profiles for AMD GPUs → https://github.com/NixOS/nixos-hardware/pull/241
<catern> am I screwed? do I need to upgrade the VPS?
<catern> er as in buy more RAM
ddellacosta has quit [Remote host closed the connection]
<hexa-> is it trying to build something from source while that happens?
tru_tru has joined #nixos
ddellaco_ has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @hzeller opened pull request #119428 → maintainers: add hzeller → https://github.com/NixOS/nixpkgs/pull/119428
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119429 → ocamlPackages.wayland: init at 0.2 → https://github.com/NixOS/nixpkgs/pull/119429
hiro98 has quit [Ping timeout: 240 seconds]
<catern> hexa-: no, it happens right after printing the list of derivations to build
<catern> (I'm running nixos-rebuild build to be specific)
BlackBeans has joined #nixos
<qyliss> sterni++
<{^_^}> sterni's karma got increased to 9
<hexa-> catern: tough.
<hexa-> my smallest nixos machines run with 2 GB ram
<hexa-> and I don't do evals on them
avaq has quit [Ping timeout: 240 seconds]
<hexa-> if the machine doesn't have to handle the rebuild it can be lower end
cfricke has quit [Quit: WeeChat 3.1]
<hexa-> if you are however relying on autoUpgrades that is not really feasible
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/dec334fa196 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
orivej has joined #nixos
hiro98 has joined #nixos
rj has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 246 seconds]
jonringer has joined #nixos
Dr8128 has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119430 → netbsd: take fetchcvs from buildPackages to fix eval → https://github.com/NixOS/nixpkgs/pull/119430
rj has joined #nixos
<sterni> qyliss: hope this motivates someone to depend on that library as well :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @mweinelt merged pull request #119423 → python3Packages.pywemo: disable flaky test → https://github.com/NixOS/nixpkgs/pull/119423
<qyliss> omg sterni++ again for fixing pkgs.netbsd
<{^_^}> sterni's karma got increased to 10
meh` has joined #nixos
<qyliss> sterni: I'll probably package wayland-virtwl-proxy at some point if nobody beats me to it
endformationage has joined #nixos
<gchristensen> anyone with a non-zfs volume, how long does `git status` take in a nixpkgs checkout?
meh` has quit [Read error: Connection reset by peer]
<sterni> qyliss: oh there is already something? I just checked opam and thought okay not really
<dutchie> on btrfs: git status 0.09s user 0.39s system 115% cpu 0.412 total
<gchristensen> what kind of disk, dutchie ?
<hexa-> git status 0.06s user 0.14s system 163% cpu 0.126 total
zupo has joined #nixos
<ajs124> gchristensen: with it in the cache or without? and on what storage medium?
<hexa-> btrfs, zstd compressed, nvme 870 evo plus
<dutchie> gchristensen: inside vmware workstation pro on a laptop ssd
<qyliss> sterni: yeah, that's the program it was written for
<dutchie> (possibly not hugely helpful for that reason)
<ajs124> git status 0,05s user 0,09s system 143% cpu 0,093 total
<hexa-> git status 0.03s user 0.12s system 150% cpu 0.100 total
<ajs124> on xfs + lvm and some samsung nvme
<qyliss> sterni: https://roscidus.com/blog/blog/2021/03/07/qubes-lite-with-kvm-and-wayland/ since you're in #spectrum I think you'll be interested in it too!
<hexa-> best of 3 :D
<gchristensen> thanks y'all
<hexa-> gchristensen: whats the conclusion
hke has quit [Quit: bye]
<sterni> qyliss: unfortunately the column build fails now (but should be easy to fix it's about stat usage)
<qyliss> yeah that's probably one of the fixes I have queued up already tbh
<gchristensen> zfs is slower but faster once it is cached
<sterni> qyliss: yeah I've skimmed over that article before it's pretty cool stuff
<gchristensen> maybe
<hexa-> ok
ddellaco_ has quit [Remote host closed the connection]
meh` has joined #nixos
hke has joined #nixos
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #119430 → netbsd: take fetchcvs from buildPackages to fix eval → https://github.com/NixOS/nixpkgs/pull/119430
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dec334fa196 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
Qwerky has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119421 → [staging-next] python3Packages.woob: fix eval → https://github.com/NixOS/nixpkgs/pull/119421
hiro98 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119431 → fcft: 2.3.2 -> 2.3.3 → https://github.com/NixOS/nixpkgs/pull/119431
human28 has joined #nixos
<human28> does anyone here use zvol as swap or do you have a swap partition
<gchristensen> swap partition
<gchristensen> using zfs for swap is a bit shady
<gchristensen> but can be done
<human28> yeah i read about that
<human28> swap part seems the most stable out of all the options
<gchristensen> yeah
<gchristensen> I have in a pinch created a swap file in my /boot partition
<human28> why tho lol
<gchristensen> because I needed swap and had no partition to put it on
<human28> fair enough
growpotkin has joined #nixos
<human28> where do i mount the root partition during the initrd
<human28> i have a more weird setup in mind that requires commands in the initrd
lambdaman has joined #nixos
<SumnerEvans[m]> ,locate linux-vdso.so.1
<{^_^}> Couldn't find in any packages
human28 has quit [Quit: Connection closed]
gustavderdrache has quit [Quit: Leaving.]
human28 has joined #nixos
gustavderdrache has joined #nixos
lambdaman has quit [Ping timeout: 240 seconds]
ddellaco_ is now known as ddellacosta_
<pie_> human28: i use zvol as swap and i have issues but i dont know if its zvol as swap's fault
saschagrunert has quit [Remote host closed the connection]
jboy- is now known as jboy
rj has quit [Ping timeout: 240 seconds]
<BlackBeans> is there an equivalent of `build-essential` on NixOS ?
<hexa-> no
<hexa-> packages have their dependencies explicitly set
max[m]3 has joined #nixos
<BlackBeans> well, turns out `rustup` doens't
human28 has quit [Quit: Connection closed]
<BlackBeans> it doesn't mark `gcc` as a dependency, even though it relies on the `cc` linker
oxalica1 has joined #nixos
erasmas has joined #nixos
<lukegb> there's stdenv
rj has joined #nixos
<catern> hexa-: thanks for the confirmation, I just upped the RAM to 2GB and it works fine. yeah I should really be doing the builds from a larger machine and distributing them over, do you have a suggestion on the easiest way to do that?
<lukegb> so that's arguably similar to build-essential, but there's also things like stdenvNoCC, which doesn't include gcc, etc.
<hexa-> catern: morph, krops, deploy-rs etc.
<hexa-> there is a world of tooling around that approach
<hexa-> ,deploy
<hexa-> ugh … what was it
<hexa-> idk
attila_lendvai_ has joined #nixos
attila_lendvai has quit [Ping timeout: 240 seconds]
nixusr has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @talyz merged pull request #119427 → tengine: Add modules to passthru → https://github.com/NixOS/nixpkgs/pull/119427
dev_mohe has joined #nixos
BlackBeans has quit [Quit: Connection closed]
oxalica1 has quit [Ping timeout: 246 seconds]
dev_mohe has quit [Remote host closed the connection]
veehaitch has quit [Ping timeout: 268 seconds]
proofofkeags has joined #nixos
Qwerky has quit [Remote host closed the connection]
eacameron has joined #nixos
<ambroisie> Hello people
<ambroisie> I'm trying to package podgrab, and add it as a module
<ambroisie> However it relies on some assets being present at the root of its working directory
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119400 → [20.09] panotools: 2.9.19 -> 2.9.20 → https://github.com/NixOS/nixpkgs/pull/119400
<ambroisie> What is the best way to deal with this?
<eacameron> I have a cachix GitHub action that needs to clone a private repo via Nix (builtins.fetchGit). Does anyone have a trick for this?
tutitau[m] has quit [Quit: Idle for 30+ days]
<gchristensen> eacameron: it'd be solved just like any other `git clone` of a private repo: builtins.fetchGit runs that clone out of the sandbox
<ambroisie> I would assume to add a `postInstall` hook to copy the assets to `$out/share`, and then link those before running the service
<eacameron> gchristensen: GitHub actions usually use a checkout action to do this. But I'd like Nix to do it. I'll look into other ways. Maybe a personal access token
eila has joined #nixos
eila has quit [Client Quit]
marusich has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @06kellyjac opened pull request #119432 → starboard: 0.9.2 -> 0.10.0 → https://github.com/NixOS/nixpkgs/pull/119432
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #119428 → maintainers: add hzeller → https://github.com/NixOS/nixpkgs/pull/119428
veehaitch has joined #nixos
ahmed_elgabri has quit [Ping timeout: 258 seconds]
mallox has joined #nixos
<{^_^}> [nixpkgs] @ooesili opened pull request #119434 → Add Firefox libs to beginning of LD_LIBRARY_PATH → https://github.com/NixOS/nixpkgs/pull/119434
<supersandro2000> ambroisie: fetch them and symlink them preBuild/postInstall
<ambroisie> supersandro2000: won't a symlink potentially refer to stale files?
<ambroisie> Do sources get removed when GC is run?
waleee-cl has joined #nixos
rj has quit [Ping timeout: 240 seconds]
<supersandro2000> ambroisie: they shouldn't be removed when you have a symlink into them
<clever> ambroisie: any symlinks in $out create extra runtime dependencies for your build product
<clever> so the thing your linking cant be deleted until your product is first deleted
<supersandro2000> a symlink also points to some store paths so they shouldn't be out of date
ram19890 has joined #nixos
<ambroisie> Alright good, I wasn't sure
<ambroisie> And to make sure they're in the working directory of the service, I'll symlink them back from the package to the configured working directory then
<ambroisie> Alright thanks, I might come back later to learn about nixos' tests
rj has joined #nixos
slack1256 has joined #nixos
<afontain_> hmm, I installed GNOME with the configuration.nix option. I'm trying to get file-roller to be useful
vidbina has joined #nixos
<afontain_> I've got unzip, zip, minizip, libzip installed, but it can't seem to display the content of an archive
<afontain_> no output on the terminal
lambdaman has joined #nixos
Qwerky has joined #nixos
<afontain_> anyone got this GNOME program that handles archives working?
<{^_^}> [nixpkgs] @primeos opened pull request #119435 → lf: 21 -> 22 and remove myself as maintainer → https://github.com/NixOS/nixpkgs/pull/119435
<{^_^}> [nixpkgs] @alyssais merged pull request #119425 → mailman-web: unstable-2019-09-29 -> unstable-2021-04-10 → https://github.com/NixOS/nixpkgs/pull/119425
mcdviii has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @twhitehead opened pull request #119436 → llvm_11: Correct path for TLI-musl patch → https://github.com/NixOS/nixpkgs/pull/119436
veehaitch has quit [Ping timeout: 240 seconds]
veehaitch has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #118128 → curl: 7.74.0 -> 7.76.1 → https://github.com/NixOS/nixpkgs/pull/118128
alexherbo2 has joined #nixos
ahmed_elgabri has joined #nixos
sangoma has quit [Quit: WeeChat 3.1]
<f0x> hmm I wanted to run an NFS share over wireguard, but even though nfs4 doesn't require rpcbind it will always get started on both server and client (and always listens on 0.0.0.0?)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118685 → materialize: init at 0.7.1 → https://github.com/NixOS/nixpkgs/pull/118685
Qwerky has quit [Ping timeout: 240 seconds]
veehaitch has quit [Ping timeout: 252 seconds]
ahmed_elgabri has quit [Ping timeout: 250 seconds]
<gchristensen> anyone know of a way to ask Nix to delete some (or all) build logs?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119416 → factorio-experimental: 1.1.30 -> 1.1.31 → https://github.com/NixOS/nixpkgs/pull/119416
attila_lendvai_ is now known as attila_lendvai
attila_lendvai has quit [Changing host]
attila_lendvai has joined #nixos
domogled has joined #nixos
MatrixBot25 has quit [Quit: Bridge terminating on SIGTERM]
veehaitch has joined #nixos
<lukegb> gchristensen: I think you just have to rm the logs yourself
ManiacOfMadness has joined #nixos
<lukegb> they're stored in /nix/var/log/nix/drvs, so, eh
ahmed_elgabri has joined #nixos
fendor_ has joined #nixos
beertoagunfight has joined #nixos
<gchristensen> yeah I'm doing this from within a test, and I'm ab it anxious about using rm -rf, and also anxious about encoding exact paths
<rmcgibbo[m]> It seems like this might be a useful thing for nix-collect-garbage to optionally do.
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #119437 → wezterm: set version number → https://github.com/NixOS/nixpkgs/pull/119437
veehaitch has quit [Ping timeout: 252 seconds]
<gchristensen> yeah
<gchristensen> also, seems a bit weird to be collecting logs forever
* lukegb looks at the size of his /nix/var/log/nix/drvs
<lukegb> eh, 1.4G is basically nothing
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119432 → starboard: 0.9.2 -> 0.10.0 → https://github.com/NixOS/nixpkgs/pull/119432
fendor has quit [Ping timeout: 265 seconds]
Izorkin has quit [Ping timeout: 260 seconds]
Dr8128 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119352 → gradle: 7-rc-2 -> 7, bumping latest 6.8.3 -> 7 → https://github.com/NixOS/nixpkgs/pull/119352
rj has quit [Ping timeout: 240 seconds]
<gchristensen> lukegb: my precious inodes though
<lukegb> don't you use zfs :p
<gchristensen> okay fine not *my* inodes, but a hypothetical ext4 user's inodes :)
ahmed_elgabri has quit [Ping timeout: 248 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
<lordcirth__> 50MB here
lordcirth__ is now known as lordcirth
<gustavderdrache> gchristensen: why would you call me out like that
diamondbond has joined #nixos
<gchristensen> see? poor gustav
<gustavderdrache> we can't all use future technology from [checks notes] a decade ago
<{^_^}> [nixpkgs] @asymmetric opened pull request #119438 → slither-analyzer: remove from maintainers → https://github.com/NixOS/nixpkgs/pull/119438
rj has joined #nixos
_d0t has quit [Quit: Konversation terminated!]
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOG08
veehaitch has joined #nixos
hiro98 has joined #nixos
eeva has joined #nixos
duckonomy_ has joined #nixos
raghavgururajan has joined #nixos
<scoates> is `--darwin-use-unencrypted-nix-store-volume` no longer needed on macOS for the nix installer? https://nixos.org/download.html doesn't seem to mention it, so I guess it's just part of the main script?
<{^_^}> [nixpkgs] @Luflosi opened pull request #119441 → pythonPackages.surt: init at 0.3.1 → https://github.com/NixOS/nixpkgs/pull/119441
veehaitch has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119293 → jellyfin-media-player: init at 1.3.1 → https://github.com/NixOS/nixpkgs/pull/119293
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #114507 → vimiv-qt: init at 0.8.0 → https://github.com/NixOS/nixpkgs/pull/114507
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119327 → butane: 0.10.0 -> 0.11.0 → https://github.com/NixOS/nixpkgs/pull/119327
sangoma has joined #nixos
beertoagunfight1 has joined #nixos
veehaitch has joined #nixos
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119387 → river: init at unstable-2021-04-08 → https://github.com/NixOS/nixpkgs/pull/119387
attila_lendvai_ has joined #nixos
attila_lendvai has quit [Read error: Connection reset by peer]
ram19890 has quit [Ping timeout: 252 seconds]
beertoagunfight has quit [Ping timeout: 258 seconds]
beertoagunfight1 is now known as beertoagunfight
bgamari_ is now known as bgamari
veehaitch has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b3d70196ea1 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
veehaitch has joined #nixos
<{^_^}> [nixpkgs] @Ambroisie opened pull request #119443 → Add podgrab package and module → https://github.com/NixOS/nixpkgs/pull/119443
<pie_> scoates: lacking other input, might check the issue tracker
<ambroisie> Oooh my first ping on this channel by {^_^} \o/
<pie_> ambroisie: thank you for contributing \o/ :D
<ambroisie> pie_: of course, gotta give back to the community
<pie_> unrelated, does --arg only work with functions that take attrset arguments? seems so
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119437 → wezterm: set version number → https://github.com/NixOS/nixpkgs/pull/119437
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOGaX
attila_lendvai_ has quit [Quit: Leaving]
attila_lendvai has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119438 → slither-analyzer: remove from maintainers → https://github.com/NixOS/nixpkgs/pull/119438
<__monty__> Any tips on debugging infinite recursion?
<__monty__> Maybe a way to better see what is causing the recursion? An extra step through the loop as it were?
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos
cyrinux has joined #nixos
<pie_> __monty__: well with regards to extra steps, what comes to mind off the top of my head is traceValSeqN, but i dont know if that actually helps any
<pie_> i suppose if the issue is a data structure it should help you see where its unfolding too much if you can hit the right spot
<pie_> not sure about that either though
<pie_> other than that...bisect? :I
<pie_> we really should get a debugging tips thread going or something
<{^_^}> [nixpkgs] @lorenzleutgeb opened pull request #119444 → gradle: Decouple gradleGen and JDK → https://github.com/NixOS/nixpkgs/pull/119444
<etu> sofus[m]: Relevant issue for you: https://github.com/NixOS/nixpkgs/issues/119445
<{^_^}> #119445 (by etu, 39 seconds ago, open): sway (1.6) / wlroots (0.13.0) broke screen sharing and gnome3 pinentry popups
clever has quit [Ping timeout: 248 seconds]
fendor_ is now known as fendor
clever has joined #nixos
clever has joined #nixos
clever has quit [Changing host]
<pie_> __monty__: also not sure if any of those help, because infrec detection is done by checking if thunks get revisited
xourt has joined #nixos
veehaitch has quit [Ping timeout: 268 seconds]
vidbina has quit [Ping timeout: 240 seconds]
<__monty__> pie_: I'll see if I can use that next time. Of course I made a little bit of progress right after I asked -_-
veehaitch has joined #nixos
xourt has quit [Client Quit]
<{^_^}> [nixpkgs] @evils closed pull request #97481 → probe-run: init at 0.1.8 → https://github.com/NixOS/nixpkgs/pull/97481
rubm has joined #nixos
ahmed_elgabri has quit [Ping timeout: 250 seconds]
cole-h has joined #nixos
jimmiehansson has quit [Remote host closed the connection]
<{^_^}> [hydra] @grahamc opened pull request #912 → Notifications: Test behavior of the queue runner → https://github.com/NixOS/hydra/pull/912
meh` has quit [Ping timeout: 240 seconds]
<pie_> __monty__: :(
<pie_> * :)
veehaitch has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #119447 → igraph: 0.9.1 -> 0.9.2 → https://github.com/NixOS/nixpkgs/pull/119447
Jd007 has joined #nixos
veehaitch has joined #nixos
rj has quit [Ping timeout: 240 seconds]
layerex has quit [Quit: Leaving]
rj has joined #nixos
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/59763ff16ab (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<__monty__> Cried too soon. And traceValSeqN didn't work for me because of the infinite recursion >.<
<{^_^}> [nixpkgs] @nlewo merged pull request #119314 → terraform-providers.keycloak: 1.20.0 -> 3.0.0 → https://github.com/NixOS/nixpkgs/pull/119314
rg3376 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @nlewo merged pull request #119161 → simplenote: 2.8.0 -> 2.9.0 → https://github.com/NixOS/nixpkgs/pull/119161
mallox has quit [Quit: WeeChat 3.1]
<{^_^}> [hydra] @grahamc merged pull request #912 → Notifications: Test behavior of the queue runner → https://github.com/NixOS/hydra/pull/912
alexherbo2 has quit [Ping timeout: 240 seconds]
<pie_> __monty__: well that also tells you something about where the infrec is happening, i think? xD
<pie_> i guess it doesnt really help if it's not in control of the recursion
<pie_> you could try implementing your own accumulator if you know where the infrec is and can pass the accumulator? and then short-circuit it yoursekf?
<pie_> probably easier said than done
<afontain_> supersandro2000: I've got this error to finish my PR for Unvanquished (that FPS game): /nix/store/dypppr5bnf7ilq9jq97xb74rs8h2bcxh-Unvanquished.desktop/share/applications/Unvanquished.desktop: error: file contains key "PrefersNonDefaultGPU" in group "Desktop Entry", but keys extending the format should start with "X-"
<afontain_> any idea where the checker is located?
<sshow> any tips on getting past the `switch-to-configuration use: command not found` issue when I have to previous generations to roll back to?
ambroisie has joined #nixos
<afontain_> (found it)
<{^_^}> [nixpkgs] @woffs opened pull request #119449 → nncp: 6.2.0 -> 6.3.0 → https://github.com/NixOS/nixpkgs/pull/119449
<{^_^}> [nixpkgs] @nlewo merged pull request #118862 → clickhouse-cli: init at 0.3.7 → https://github.com/NixOS/nixpkgs/pull/118862
alexherbo2 has joined #nixos
lsix has quit [Ping timeout: 258 seconds]
<clever> sshow: what is the full path to the switch-to-configuration? what cpu arch are you on?
superherointj has joined #nixos
ajs124 has quit [Quit: Bridge terminating on SIGTERM]
das_j has quit [Quit: Bridge terminating on SIGTERM]
cheriimoya has quit [Quit: Bridge terminating on SIGTERM]
Scriptkiddi has quit [Quit: Bridge terminating on SIGTERM]
mrpi has quit [Quit: Bridge terminating on SIGTERM]
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #119450 → inotify-tools: 3.20.2.2 -> 3.20.11.0 → https://github.com/NixOS/nixpkgs/pull/119450
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119436 → llvm_11: Correct path for TLI-musl patch → https://github.com/NixOS/nixpkgs/pull/119436
<veleiro> is 'sudo nix-channel' considered just another user channel, and not a global one?
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
mrpi has joined #nixos
cheriimoya has joined #nixos
das_j has joined #nixos
ScottHDev has joined #nixos
<clever> veleiro: all channels on root are global
<samueldr> both root's and global channels
<{^_^}> [hydra] @grahamc opened pull request #913 → Notifications: write up some docs → https://github.com/NixOS/hydra/pull/913
<samueldr> (in default configurations)
rj has quit [Ping timeout: 240 seconds]
<veleiro> that's what i thought
meh` has joined #nixos
superherointj has quit [Quit: Leaving]
<veleiro> so as a user 'sudo nix-channel' should provide channels for you, and 'nix-channel --list' is empty
rj has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @dbirks opened pull request #119451 → vscode-extensions.foxundermoon.shell-format: init at 7.1.0 → https://github.com/NixOS/nixpkgs/pull/119451
sangoma has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118610 → macs2: init at 2.2.6 → https://github.com/NixOS/nixpkgs/pull/118610
rubm has quit [Ping timeout: 246 seconds]
futile has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119095 → googleearth-pro: init at 7.3.3.7786 → https://github.com/NixOS/nixpkgs/pull/119095
beertoagunfight has quit [Ping timeout: 240 seconds]
lsix has joined #nixos
veehaitch has quit [Ping timeout: 252 seconds]
sangoma has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119412 → oci-cli: init at 2.23.0 → https://github.com/NixOS/nixpkgs/pull/119412
le0taku has joined #nixos
<MarcWeber> I tried creating a nixos test to understand split brain mdadm raid1 behavior.
<MarcWeber> I don't get why I cannot even write on the md0 array (mkfs.ext3 fails with io errors or suc).
leotaku has quit [Ping timeout: 265 seconds]
fuiltilt has joined #nixos
zupo has joined #nixos
Izorkin has joined #nixos
veehaitch has joined #nixos
alexherbo2 has joined #nixos
<exarkun> Huh. The revision of the deploy_nixos Terraform module I pinned seemed to instantiate derivations a few days ago and today it seems not to. :/
ddellacosta has joined #nixos
ddellacosta_ has quit [Ping timeout: 252 seconds]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
Qwerky has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
Dr8128 has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOGHO
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119451 → vscode-extensions.foxundermoon.shell-format: init at 7.1.0 → https://github.com/NixOS/nixpkgs/pull/119451
hiro98 has quit [Remote host closed the connection]
quinn has joined #nixos
<{^_^}> [nixpkgs] @symphorien merged pull request #115332 → nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} → https://github.com/NixOS/nixpkgs/pull/115332
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
<{^_^}> [nixpkgs] @dlesl opened pull request #119452 → [WIP] rebar3: attempt at new packaging system → https://github.com/NixOS/nixpkgs/pull/119452
turlando has quit [Ping timeout: 240 seconds]
<exarkun> Dang nope it works the same, I just accidentally benefited from residual state before :/
aleph- has quit [Ping timeout: 240 seconds]
ForgottenPackage has quit [Ping timeout: 240 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<futile> does `nix-env -iA <pkg>` not work anymore when using a flake for system configuration?
<futile> or is there an alternative?
Lord_of_Life_ has joined #nixos
<{^_^}> [nixpkgs] @ajeetdsouza opened pull request #119453 → zoxide: remove imports → https://github.com/NixOS/nixpkgs/pull/119453
<bpye> If I wanted to do cross compilation in a flake - I still need to use pkgsCross right?
rj has quit [Ping timeout: 240 seconds]
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
exfalso has quit [Ping timeout: 240 seconds]
<veleiro> futile: you can do "nix run 'github:nixos/nixpkgs#<pkg>'" if you just want to run it
<veleiro> or nix shell too
<{^_^}> [nixpkgs] @petabyteboy merged pull request #119403 → jetbrains.jdk: 11.0.10-b37 -> 11.0.10-b1427 → https://github.com/NixOS/nixpkgs/pull/119403
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<futile> welll... after I did `sudo nix-channel --remove nixos`, `nix-shell -p` doesn't really wanna work anymore either :P
<futile> nix run works though, ty
<futile> does that use the version from master?
<{^_^}> [nixpkgs] @midchildan opened pull request #119454 → mikutter: 4.0.0 -> 4.1.4 → https://github.com/NixOS/nixpkgs/pull/119454
<veleiro> yeah, you can specify a different version if you want
<veleiro> i meant you can do "nix shell 'github:nixos/nixpkgs#<pkg>'" too, without the -
<futile> ah ok
snowflake has quit [Ping timeout: 240 seconds]
<{^_^}> [hydra] @grahamc closed pull request #674 → Test hydra notify → https://github.com/NixOS/hydra/pull/674
rj has joined #nixos
<futile> mhhm where can I say what's in my flake registries?
<attila_lendvai> is there a way to tell fetchgit to ignore the sha256? i'm using it in a local build and i wish specifying a commit were enough...
<{^_^}> [hydra] @grahamc closed pull request #264 → fix a sendEmail problem → https://github.com/NixOS/hydra/pull/264
<futile> because `nix run nixpkgs#htop` works too, and I'm wondering which branch that is using
<veleiro> https://nixos.wiki/wiki/Flakes#Input_schema if you want to know different branches to specify, or rev
<veleiro> ah i forgot you don't need github:nixos for nixpkgs
<{^_^}> [nixpkgs] @Stunkymonkey opened pull request #119455 → numix-icons-theme{,-circle,-square}: {20.06.07,20.09.19,20.09.19}-> 21.04.14 → https://github.com/NixOS/nixpkgs/pull/119455
ahmed_elgabri has joined #nixos
<futile> fun, `nix run nixpkgs/release-20.09#htop` works too
penguin has joined #nixos
WilliButz has quit [Remote host closed the connection]
<veleiro> yep
penguin is now known as Guest64407
<futile> do you know where I can see all the flake registries, i..e, shortcuts like `nixpkgs` instead of `github:nixos/nixpkgs` and what they resolve to?
<{^_^}> [hydra] @grahamc merged pull request #596 → Update prompt for Local path input to indicate a URL is also valid. → https://github.com/NixOS/hydra/pull/596
<futile> ah, just `nix registry list`
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @oxalica opened pull request #119456 → dotnetCorePackages.sdk_5_0: 5.0.200 -> 5.0.202 and fix build failure of `osu-lazer` and `ryujinx` → https://github.com/NixOS/nixpkgs/pull/119456
Qwerky has quit [Remote host closed the connection]
<futile> ohh there is `nix profile install` now?
freecoupo has quit [K-Lined]
<{^_^}> [nixpkgs] @ethancedwards8 opened pull request #119457 → godot: clean up code → https://github.com/NixOS/nixpkgs/pull/119457
<{^_^}> [nix] @mprimi opened pull request #4710 → Minor correction to macOS installation guide → https://github.com/NixOS/nix/pull/4710
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #119424 → buildah: 1.20.0 -> 1.20.1 → https://github.com/NixOS/nixpkgs/pull/119424
Qwerky has quit [Ping timeout: 240 seconds]
futile has quit [Quit: Connection closed]
<veleiro> futile: cool, wasnt aware
<sshow> clever: /nix/store/9la7w2d567cvi71pgiy4ydzhg1lrbhss-nixos-system-prodigy-21.05pre282432.311ceed827f/bin/switch-to-configuration
justan0theruser has joined #nixos
<sshow> clever: Linux prodigy 5.4.108 #1-NixOS SMP Wed Mar 24 10:26:46 UTC 2021 x86_64 GNU/Linux
<{^_^}> [nixos-common-styles] @samueldr pushed 4 commits to update: https://git.io/JOGFO
futile has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
Qwerky has joined #nixos
<sshow> sorry for the late reply :/
<veleiro> how do you pass a --flag to nix in nixos-rebuild
rj has quit [Ping timeout: 240 seconds]
Guest64407 has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @vbgl merged pull request #118759 → ocamlPackages.postgresql: 4.6.3 → 5.0.0 → https://github.com/NixOS/nixpkgs/pull/118759
ij has joined #nixos
tejing has quit [Ping timeout: 252 seconds]
rj has joined #nixos
tejing has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #119457 → godot: clean up code → https://github.com/NixOS/nixpkgs/pull/119457
tejing has quit [Ping timeout: 240 seconds]
tejing has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #119112 → scummvm: support darwin → https://github.com/NixOS/nixpkgs/pull/119112
<{^_^}> [nixpkgs] @nagy opened pull request #119458 → ocrmypdf: 11.6.0 -> 11.7.3 → https://github.com/NixOS/nixpkgs/pull/119458
<{^_^}> [nixpkgs] @nagy opened pull request #119459 → python3Packages.pikepdf: 2.8.0 -> 2.11.1 → https://github.com/NixOS/nixpkgs/pull/119459
<thibm> I thought we have a lib function/builtins to get the hash (hash part of a store path) from a string (or a derivation, or an attribute, maybe?) but I can't find it. Do we?
srk has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ryantm opened pull request #119460 → corosync: 2.4.5 -> 3.1.2; kronosnet: init at 1.20 → https://github.com/NixOS/nixpkgs/pull/119460
isHavvy has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #119461 → python3Packages.karton-config-extractor: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/119461
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119462 → MIDIVisualizer: 6.3 -> 6.4 → https://github.com/NixOS/nixpkgs/pull/119462
riksu-raksu has joined #nixos
Havvy has joined #nixos
Qwerky has quit [Remote host closed the connection]
riksteri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jacereda opened pull request #119463 → sysbench: avoid using flags specific to the build machine → https://github.com/NixOS/nixpkgs/pull/119463
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #110634 → aws-azure-login: init at 3.3.0 → https://github.com/NixOS/nixpkgs/pull/110634
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119464 → alertmanager-irc-relay: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/119464
abathur has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119455 → numix-icons-theme{,-circle,-square}: {20.06.07,20.09.19,20.09.19}-> 21.04.14 → https://github.com/NixOS/nixpkgs/pull/119455
virkony has quit [Ping timeout: 246 seconds]
Qwerky has joined #nixos
virkony has joined #nixos
BEDLAM02 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bachp merged pull request #119458 → ocrmypdf: 11.6.0 -> 11.7.3 → https://github.com/NixOS/nixpkgs/pull/119458
Qwerky has quit [Ping timeout: 240 seconds]
rj has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119459 → python3Packages.pikepdf: 2.8.0 -> 2.11.1 → https://github.com/NixOS/nixpkgs/pull/119459
rj has joined #nixos
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @bachp merged pull request #119381 → vscode: 1.55.0 -> 1.55.2 → https://github.com/NixOS/nixpkgs/pull/119381
meh` has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
<clever> sshow: what does `head -n1 /nix/store/9la7w2d567cvi71pgiy4ydzhg1lrbhss-nixos-system-prodigy-21.05pre282432.311ceed827f/bin/switch-to-configuration` report?
Qwerky has quit [Ping timeout: 240 seconds]
<sshow> clever: #! /nix/store/qvxis52mkj257iyav1sd2jyybjr018wl-perl-5.32.1-env/bin/perl
vidbina has quit [Ping timeout: 240 seconds]
<sshow> and that file exists, but it's empty!
<clever> sshow: and `head -n1` on that perl?
<clever> oh, empty!!
<clever> sshow: did you have an improper shutdown recently?
<sshow> uhm. yes, actually
ericsagn1 has quit [Ping timeout: 248 seconds]
<clever> sshow: ext4 loves to silently truncate files that where not fully written
ericsagnes has joined #nixos
<lukegb> nix-store --repair-path /nix/store/qvxis52mkj257iyav1sd2jyybjr018wl-perl-5.32.1-env? :P
<clever> lukegb: that will probably do it
<lukegb> nix-store --verify --check-contents might help check for other broken things, right
<sshow> and yes, I'm on ext4 ;)
<clever> lukegb: exactly!
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #119465 → fetch{cvs,svn}: Hack around splicing annoyance → https://github.com/NixOS/nixpkgs/pull/119465
<qyliss> Ericson2314, sterni: ^
<clever> sshow: by default, ext4 is only using the journal to protect metadata, so the FS wont catastrophically fail, but data can be lost
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #119465 → fetch{cvs,svn}: Hack around splicing annoyance → https://github.com/NixOS/nixpkgs/pull/119465
<sshow> I should maybe delete my old generations and clean up my nix store before running the --verify on the store.. this seems to take some time
<clever> sshow: it will hash the contents of every single file in /nix/store
Qwerky has quit [Ping timeout: 265 seconds]
<sshow> but if the repair of the truncated perl file makes my system build again, do I really need to check everyting else?
<clever> sshow: other things could also have been corrupted
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @fabaff opened pull request #119466 → python3Packages.spotipy: 2.17.1 -> 2.18.0 → https://github.com/NixOS/nixpkgs/pull/119466
wnklmnn has quit [Quit: Leaving]
aleph- has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #119467 → tests.vim: init (moved from vim-utils.nix) → https://github.com/NixOS/nixpkgs/pull/119467
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119468 → koka: take C compiler from targetPackages → https://github.com/NixOS/nixpkgs/pull/119468
<sshow> my system now builds again with the repaired perl file. so I'll clean up my store and run `nix-store --repair` to let it fix the rest then?
ericsagnes has quit [Ping timeout: 258 seconds]
PyroLagus has joined #nixos
<clever> nix-store --verify [--check-contents] [--repair]
<clever> sshow: it can also auto-repair anything it finds as it scans
tetdim has joined #nixos
pingiun has joined #nixos
Mic92 has joined #nixos
f0x2 has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #119469 → pulseaudio-dlna: unstable-2017-11-01 -> unstable-2021-01-21 → https://github.com/NixOS/nixpkgs/pull/119469
<sshow> ok. great! I'll test it out :) thanks! clever++ lukegb++
<{^_^}> clever's karma got increased to 572
<{^_^}> lukegb's karma got increased to 16
Mav85 has joined #nixos
<Mav85> Hey guys, anyone here experienced with autoPatchelfHook and want to help a desperate newcomer?
<{^_^}> [nixpkgs] @fabaff opened pull request #119470 → python3Packages.pykmtronic: 0.0.3 -> 0.3.0 → https://github.com/NixOS/nixpkgs/pull/119470
wiki_me has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<afontain_> Mav85: ask anyway
<afontain_> otherwise, nobody will answer :P
* afontain_ isn't an expert
ahmed_elgabri has quit [Ping timeout: 260 seconds]
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos
ericsagnes has joined #nixos
<Mav85> =) I have a binary lib to package. It has a couple of .so in it. At runtime, it tries to dynamically load libusb and fails to find it. I've aded autoPatchElf hook and it runs through, but it leaves the RPATH of the main .so empty. So I've added runtimeDependencies = [ libusb ]; expecting it to always add libusb to RPATH. But it doesnt: it still
<Mav85> leaves libusb out of RPATH. Why?
cole-h has quit [Ping timeout: 246 seconds]
<afontain_> do you have a paste of the output?
<afontain_> huh, wait
<afontain_> runtimeDependencies?
zupo_ has joined #nixos
<Mav85> yes. They should be added by autoPatchelfHook unconditionally if I read correctly
wiki_me has quit [Quit: Connection closed]
<Mav85> automatically fixing dependencies for ELF files
<Mav85> searching for dependencies of /nix/store/rk6xhdc2l5ag05ippn3j0cwb80qxdjkc-andor-sdk-2.104.30000.0/lib/libUSBI2C.so.2.104.30000.0
<Mav85>   libusb-1.0.so.0 -> found: /nix/store/36h0azc3gqwy44hb1grc712iizvdknb1-libusb-1.0.23/lib/libusb-1.0.so.0
<Mav85>   libstdc++.so.6 -> found: /nix/store/c10296m7xgm3ksibcklb2xf48jr635x3-gcc-9.3.0-lib/lib/libstdc++.so.6
<Mav85> setting RPATH to: /nix/store/36h0azc3gqwy44hb1grc712iizvdknb1-libusb-1.0.23/lib:/nix/store/c10296m7xgm3ksibcklb2xf48jr635x3-gcc-9.3.0-lib/lib
<Mav85> searching for dependencies of /nix/store/rk6xhdc2l5ag05ippn3j0cwb80qxdjkc-andor-sdk-2.104.30000.0/lib/libandor.so.2.104.30000.0
<Mav85> searching for dependencies of /nix/store/rk6xhdc2l5ag05ippn3j0cwb80qxdjkc-andor-sdk-2.104.30000.0/lib/libatsifio.so.2.104.30000.0
<Mav85>   libstdc++.so.6 -> found: /nix/store/c10296m7xgm3ksibcklb2xf48jr635x3-gcc-9.3.0-lib/lib/libstdc++.so.6
Mav85 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<tpw_rules> runtimeDependencies isn't a thing i don't think
<afontain_> just in case, try replacing "runtimeDependencies" by "propagatedBuildInputs"
<{^_^}> [nixpkgs] @Uthar opened pull request #119472 → libselinux: fix build with musl → https://github.com/NixOS/nixpkgs/pull/119472
<lukegb> runtimeDependencies is a thing for the autoPatchelfHook
zupo has quit [Ping timeout: 260 seconds]
Mav53 has joined #nixos
<Mav53> Sorry, pasting logs does not seem to play well with the spam protection :-/
<lukegb> Yeah, in general you probably want to paste those into a pastebin of some sort, I wonder
<lukegb> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119473 → cargo-crev: 0.19.1 -> 0.19.2 → https://github.com/NixOS/nixpkgs/pull/119473
ericsagnes has quit [Ping timeout: 250 seconds]
<Mav53> ty lukegb, I'll do next time. Anyway, to the hook: there is something weird in auto-patchelf.sh. It seems to only apply $runtimeDependencies if isExecutable returns true. My best guess is it returns false for a library. But (1) Why, if the whole point is to add unconditionally and (2) how to work around it?
rj has quit [Ping timeout: 240 seconds]
<throwaway740928[> I've installed nixos 20.09 and am reading through the manual. Unfortunately, while the manual explains sets and lists and importing, etc. it doesn't explain my default configuration.nix
<lukegb> Mav53: I'm not really sure that the rpath will do what you want if it's truly loaded dynamically - is it dlopen'ed?
<throwaway740928[> That is, my config imports = [ <some/path> ];
cole-h has joined #nixos
<throwaway740928[> and the docs don't explain what <> is
<Mav53> I think it's dloaded. libusb is not showing in ldd, but strace says it is searching for and failing.
<Mav53> *dlopen'ed I mean
<lukegb> throwaway740928[: ah, that's a Nix ism which pretty much means "use NIX_PATH"
tejing has quit [Ping timeout: 240 seconds]
<lukegb> throwaway740928[: https://nixos.org/manual/nix/stable/#idm140737322057376 under "Paths"
<lukegb> Mav53: yeah, so dlopen _won't_ search through the rpath of loaded SOs, iirc
<{^_^}> [nixpkgs] @fabaff opened pull request #119475 → python3Packages.twitterapi: 2.6.10 -> 2.7.1 → https://github.com/NixOS/nixpkgs/pull/119475
<Mav53> lukegb what's the point of havin an rpath in an so then? The thing is, the library itself is then used from python....
<afontain_> to my knowledge, rpath is mostly a hint for the dynamic loader, and dload doesn't use that
tejing has joined #nixos
<lukegb> yeah, the so's rpath will be used for resolving dynamic libraries at load time, but not at runtime (iirc)
<Mav53> 20.09 Manual says: You can also specify a runtimeDependencies variable which lists dependencies to be unconditionally added to rpath of all executables. This is useful for programs that use dlopen(3) to load libraries at runtime. "
<afontain_> I'm interested in the answer though, last time I ended up using etc/ld-nix.so.preload
<lukegb> Right, _all executables_
<lukegb> You'd have to add it to your Python's rpath
<lukegb> You can _probably_ do something with propagatedBuildInputs and setup hooks to get it to work, but, urgh
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/59763ff16ab (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
ddellacosta has quit [Read error: Connection reset by peer]
<Mav53> Hmm. Any chance I can propagate an addition to LD_LIBRARY_PATH?
ericsagnes has joined #nixos
<Mav53> coz making a new derivation of python itself seems a bit.... expensive... If I understand correctly. (PS I've chosen a great first package, didn't I? ;) )
erasmas has quit [Quit: leaving]
Izorkin has joined #nixos
<throwaway740928[> lukegb: NIX_PATH looks like a nix set, not a traditional PATH
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119476 → carla: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/119476
<lukegb> throwaway740928[: hmm, it should look like "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels"
<throwaway740928[> so if <some/path> does it look in the path with the "some" key?
<lukegb> right, yeah
<lukegb> or, failing that, if there's a nameless element I think it looks in that for the full path
<lukegb> although I don't really use <this/syntax> personally for anything
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @wd15 opened pull request #119477 → python3Packages.pydantic: 1.8 -> 1.8.1 → https://github.com/NixOS/nixpkgs/pull/119477
Mav53 has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @fabaff opened pull request #119478 → python3Packages.mcstatus: 5.1.2 -> 5.1.4 → https://github.com/NixOS/nixpkgs/pull/119478
abathur has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahmed_elgabri has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
ddellaco_ has quit [Remote host closed the connection]
futile has quit [Quit: Connection closed]
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #119475 → python3Packages.twitterapi: 2.6.10 -> 2.7.1 → https://github.com/NixOS/nixpkgs/pull/119475
<throwaway740928[> my stock configuration.nix is--unsurprisingly--a rabbit hole
Mav40 has joined #nixos
Mav40 has quit [Client Quit]
lambdaman has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt merged pull request #119466 → python3Packages.spotipy: 2.17.1 -> 2.18.0 → https://github.com/NixOS/nixpkgs/pull/119466
<throwaway740928[> just to get my feet wet, I want to swap out iptables for nftables
Qwerky has joined #nixos
<throwaway740928[> But I'm baffled at where to start
<{^_^}> [nixpkgs] @sternenseemann opened pull request #119479 → llvmPackages_7: never override libunwind for libcxxabi → https://github.com/NixOS/nixpkgs/pull/119479
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #119480 → [gnome-40] vala_0_52: 0.52.0 -> 0.52.2 → https://github.com/NixOS/nixpkgs/pull/119480
<throwaway740928[> nix-env tells me iptables is -PS
snowflake has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119334 → todofi.sh: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/119334
ddellaco_ has quit [Ping timeout: 240 seconds]
<throwaway740928[> which I take to mean that it is not installed
<throwaway740928[> but it is present
<throwaway740928[> I'm confused about how it is present and running, but not installed
<throwaway740928[> I'm also confused about why nix-env reports it twice. once as -PS and once as --S, same version
seku has quit [Quit: Connection closed]
ddellaco_ has joined #nixos
ddella___ has joined #nixos
<throwaway740928[> I don't know how to remove it if it isn't installed in the first place
ddella___ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fabaff opened pull request #119481 → python3Packages.pulsectl: 20.5.1 -> 21.3.4 → https://github.com/NixOS/nixpkgs/pull/119481
<{^_^}> [nixpkgs] @primeos merged pull request #119401 → chromium: 89.0.4389.114 -> 89.0.4389.128 → https://github.com/NixOS/nixpkgs/pull/119401
ddellacosta has quit [Ping timeout: 268 seconds]
ericsagnes has joined #nixos
lambdaman has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #119478 → python3Packages.mcstatus: 5.1.2 -> 5.1.4 → https://github.com/NixOS/nixpkgs/pull/119478
veehaitch has quit [Ping timeout: 265 seconds]
<throwaway740928[> could somebody please explain how to remove iptables from a new stock install?
<{^_^}> [nixpkgs] @maxeaubrey opened pull request #119482 → go_1_16: 1.16.2 -> 1.16.3 → https://github.com/NixOS/nixpkgs/pull/119482
<qyliss> removing the iptables command is going to be difficult, but you can disable the firewall with networking.firewall.enable = false
<throwaway740928[> I want to remove it completely and replace it with something else
<throwaway740928[> this is difficult?
<hexa-> network.firewall.enable is the way to go
<qyliss> yeah
<hexa-> set it to false, you will have no iptables
<hexa-> alas, you might need to reboot after disabling it, for it to take effect
<throwaway740928[> I want a "firewall", just not iptables
<hexa-> because some kmods can't be proplery unloaded
<hexa-> yes, possible
<hexa-> nftables
<qyliss> "firewall" in this case means the default iptables firewall
<hexa-> or ferm (iptables wrapper)
<hexa-> probably many others
<qyliss> you can set up your own firewall if you disable it
<throwaway740928[> I'm guessing that iptables is just setup to look at network.firewall.enable
ddellaco_ has quit [Remote host closed the connection]
<qyliss> not really
<qyliss> it's more like, if networking.firewall.enable is set, then some default iptables commands will be run at boot
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « chromiumBeta: 90.0.4430.70 -> 90.0.4430.72 »: https://git.io/JOZLn
civodul has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #119481 → python3Packages.pulsectl: 20.5.1 -> 21.3.4 → https://github.com/NixOS/nixpkgs/pull/119481
<throwaway740928[> qyliss: there is some package that is looking for this. that package is not iptables but assumes iptables?
<qyliss> I don't understand what you're asking
<throwaway740928[> why is it so hard to remove iptables?
<{^_^}> [nixpkgs] @primeos opened pull request #119483 → chromium: 89.0.4389.128 -> 90.0.4430.72 → https://github.com/NixOS/nixpkgs/pull/119483
ahmed_elgabri has quit [Ping timeout: 258 seconds]
<qyliss> why is the presence of the iptables command such a big deal to you?
<qyliss> anyway, if you disable the firewall it should be gone
<qyliss> did you try that?
<throwaway740928[> qyliss: some executable is checking network.firewall... at startup. You are saying that it is not part of the iptables packages, so it is some other package. But it starts up iptables? What package assumes iptables?
<qyliss> no package does that
<{^_^}> [nixpkgs] @mweinelt merged pull request #118937 → python3Packages.systembridge: init at 1.1.1 → https://github.com/NixOS/nixpkgs/pull/118937
ddellacosta has quit [Ping timeout: 252 seconds]
<qyliss> the firewall systemd service does that
<qyliss> if you set networking.firewall.enable = false, that service will be removed
Qwerky has quit [Remote host closed the connection]
<tpw_rules> and that service doesn't check that configuration option. whether the service exists in the first place is controlled by that option
<qyliss> exactly
<tpw_rules> in fact nothing "checks" configuration.nix
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #119464 → alertmanager-irc-relay: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/119464
<throwaway740928[> something is keying off network.firewall.enable. What is that something?
aleph- has quit [Ping timeout: 240 seconds]
<qyliss> the firewall systemd service
<{^_^}> [nixpkgs] @primeos pushed to release-20.09 « chromium: 89.0.4389.114 -> 89.0.4389.128 »: https://git.io/JOZLP
<throwaway740928[> what is it the starts the iptables service in systemd if network.firewall.enabled = true?
<qyliss> and some other things
lambdaman has quit [Remote host closed the connection]
<tpw_rules> nixos-rebuild creates a system where that service is started if that option is set
<tpw_rules> (well it's not nixos-rebuild that does it technically)
<{^_^}> [nixpkgs] @mweinelt pushed 61 commits to staging-next: https://git.io/JOZLH
<{^_^}> [nixpkgs] @sternenseemann merged pull request #119431 → fcft: 2.3.2 -> 2.3.3 → https://github.com/NixOS/nixpkgs/pull/119431
<throwaway740928[> I can systemctl enable/disable a service
<throwaway740928[> that is just part of systemd
<qyliss> not on NixOS
<{^_^}> [nixpkgs] @jtojnar merged pull request #119480 → [gnome-40] vala_0_52: 0.52.0 -> 0.52.2 → https://github.com/NixOS/nixpkgs/pull/119480
<qyliss> try it
<throwaway740928[> hmm
<qyliss> you need to use configuration.nix
<qyliss> and in this case, what you want to do is set networking.firewall.enable = false
<qyliss> and then you can write your own systemd service that sets up whatever custom firewall you want
<throwaway740928[> how do I see the current status of networking.firewall.enable
<throwaway740928[> ?
ericsagnes has quit [Ping timeout: 258 seconds]
thc202 has quit [Ping timeout: 258 seconds]
ericsagnes has joined #nixos
Qwerky has joined #nixos
philr has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119484 → dnsproxy: 0.37.0 -> 0.37.1 → https://github.com/NixOS/nixpkgs/pull/119484
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ddellac__ has joined #nixos
<qyliss> throwaway740928[: nixos-option networking.firewall.enable
<qyliss> it defaults to true
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
JJ has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
Qwerky has quit [Ping timeout: 246 seconds]
<JJ> Hi
<qyliss> ,ask JJ
<{^_^}> JJ: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<throwaway740928[> qyliss: but how do I see its current value?
<throwaway740928[> oh. nm
<throwaway740928[> Struggling to read matrix traffic
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119485 → doctl: 1.58.0 -> 1.59.0 → https://github.com/NixOS/nixpkgs/pull/119485
<infinisil> qyliss: Imo the "look at other ways ..." part of that message should probably be removed. Always felt a bit rude to me
ddellac__ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #119462 → MIDIVisualizer: 6.3 -> 6.4 → https://github.com/NixOS/nixpkgs/pull/119462
veehaitch has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
<qyliss> infinisil: agree. do you want to fix that?
<throwaway740928[> nixos-option tells me I can networking.nftables.enable
<qyliss> yep
<throwaway740928[> https://nixos.org/manual/nixos/stable/index.html#sec-firewall is a bit disappointing reading
aaabbbbbbbbbb has quit [Ping timeout: 240 seconds]
<infinisil> ,ask = Just ask your question. It's the best way to know if anybody can help
<{^_^}> ask redefined, was defined as Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<throwaway740928[> is there more docs on how to do more sophisticated configuration for iptables or nftables?
<hexa-> unlikely
<hexa-> at least not within nixos
<lukegb> Yeah, a good way of finding out about the available options is search.nixos.org/options
<hexa-> networking.nftables.ruleset requires you to learn about nftables
<{^_^}> touch defined
<lukegb> The firewall documentation could probably use a bit of love, or at least pointing at the available options
<throwaway740928[> hexa-: I know iptables and nftables. But I don't know how to configure them in nixos
<lukegb> throwaway740928[: yeah, I'd recommend using search.nixos.org/options for "firewall" or "nftables"
<throwaway740928[> networking.nftables.rulesetFile defaults to "nftables-rules"
<throwaway740928[> what path would that be in?
tokudan has quit [Remote host closed the connection]
<lukegb> it's just a path to your ruleset; it could be e.g. `./nft-rules` if you put your ruleset in a file called nft-rules next to your nixos configuration.nix
<conkker> Is the nixos.wiki site using mediawiki? If not, what wiki software is it using?
tokudan has joined #nixos
<qyliss> I believe it's mediawiki
<throwaway740928[> lukegb: so the default value would be relative to the directory for configuration.nix?
<lukegb> throwaway740928[: the default value is a bit of a lie; if you look in the linked .nix file you can see that it's a file that's populated with the content from 'ruleset'
<throwaway740928[> is the .. at the beginning of the file some nix thing?
<conkker> thanks
<throwaway740928[> the eample contains quote marks. Won't those need escaped in a nix string?
<throwaway740928[> * the example contains quote marks. Won't those need escaped in a nix string?
<infinisil> ,escape ?
<{^_^}> Escape this in " and '' strings with: ?
<infinisil> Apparently not!
<{^_^}> [nixpkgs] @Radvendii opened pull request #119486 → macdylibbundler: deleted duplicate dylibbundler → https://github.com/NixOS/nixpkgs/pull/119486
lambdaman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119487 → entt: 3.7.0 -> 3.7.1 → https://github.com/NixOS/nixpkgs/pull/119487
<Cadey> how do i tell a nixos system to use a custom kernel i have made a derivation for with pkgs.linuxManualConfig?
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-40: https://git.io/JOZmP
rubm has joined #nixos
<throwaway740928[> infinisil: I didn't understand how you reached your conclusion
orivej has quit [Ping timeout: 265 seconds]
<infinisil> ,escape
<{^_^}> Usage: ,escape <text> to show how to escape the given text in Nix
<infinisil> The bot has this command to show how to escape a text with nix, but for ? it just replied with ?, meaning no escaping needed
<samueldr> I think throwaway740928[ was concerned about quotation marks
<samueldr> not question marks
<infinisil> Ohh
<infinisil> I can't read
<samueldr> Cadey: you'll need to wrap it with linuxPackagesFor to use it then with boot.kernelPackages
<throwaway740928[> ,escape "
<{^_^}> Escape this in " strings with: \"
<{^_^}> Escape this in '' strings with: "
<Cadey> samueldr: do you have an example of that handy?
<infinisil> But yeah, no need to escape " inside '' strings
<samueldr> throwaway740928[: if you don't have a monospaced font, here's a hint: there's "double single quote strings" and "double quote strings"
<samueldr> Cadey: not really, give me a lil' help and tell me: how do you refer to this derivation?
<samueldr> is it added to the package set through an overlay?
<throwaway740928[> the docs say that all strings must be in double quotes
<throwaway740928[> not true?
<samueldr> if so, next to your `myCoolLinux = callPackage ...` you could add `myCollLinuxPackages = linuxPackagesFor myCoolLinux;` before/after
<samueldr> XelinuxPackages = linuxPackagesFor Xelinux; unless I'm mistaken
<throwaway740928[> what does pkgs.writeScript do?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119488 → exoscale-cli: 1.27.1 -> 1.27.2 → https://github.com/NixOS/nixpkgs/pull/119488
<samueldr> oh, since it's not rec, Cadey, you'd need `linuxPackagesFor self.Xelinux` I guess
<samueldr> (and it is perfectly fine for it to not be rec)
<Cadey> i made it rec
<samueldr> (it probably shouldn't be rec)
<JJ> Could someone please help me with some basic math
supersandro2000 is now known as Guest45104
Guest45104 has quit [Killed (card.freenode.net (Nickname regained by services))]
supersandro2000 has joined #nixos
mbrgm_ has joined #nixos
<Cadey> JJ: how basic?
griff__ has joined #nixos
<JJ> I'll send it now
<samueldr> 10 GOTO MATHS;
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<JJ> No one is responding there now
<JJ> Part B: Factorising x^2 + bx + c, with a ≠ 1
<JJ> The method that will be developed in part B to factorise a general quadratic expression ax^2 + bx + c is similar to the method used in part A
<JJ> Given the quadratic expression: 2x^2 - x - 6
<JJ> 1. write down the values of a and c
<JJ> 2. calculate a x c
<JJ> 3. Write down all the possible pairs of integers that has a product equal to the value of a x c
<JJ> 4.  Write down the value of b in the expression. Add each pair of integers that you have listed in question 3. Which of the pairs have a sum equal to b?
<JJ> Part B: Factorising x^2 + bx + c, with a ≠ 1
<JJ> The method that will be developed in part B to factorise a general quadratic expression ax^2 + bx + c is similar to the method used in part A
<JJ> Given the quadratic expression: 2x^2 - x - 6
<JJ> 1. write down the values of a and c
<JJ> 2. calculate a x c
<JJ> 3. Write down all the possible pairs of integers that has a product equal to the value of a x c
<JJ> 4. Write down the value of b in the expression. Add each pair of integers that you have listed in question 3. Which of the pairs have a sum equal to b?
JJ has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<jess> hmm
<samueldr> yeah
<samueldr> I can summon you with my thoughts!
<samueldr> I was writing up about how this was off-topic for #nixos, too
<Cadey> samueldr: now i'm getting "attribute 'name' missing": https://gist.github.com/Xe/3186111e9e806811df0834cc24e3b4d1
<jess> easier to op up and message sigyn than it is to unkline, especially from mobile
<samueldr> haha :)
<Cadey> (thank you for helping with this btw, it's really appreciated, you're helping me do very cursed things with kernel space rust for my own amusement)
<samueldr> jess: your services are appreciated here
<jess> more than welcome
<samueldr> Cadey: can you share the default.nix with the derivation too?
<samueldr> (if you elide parts, make it obvious with e.g. /* [...] */)
* colemickens sees keywords he likes
<samueldr> I have a gut feeling about the issue, but cannot form words
<Cadey> i figure it's something really simple lol
<Cadey> colemickens: don't worry, just implementing /dev/printerfact, all is well
<samueldr> oh duh, the repo was already shared before, I assumedi t was a gist link too :)
ddellacosta has joined #nixos
<samueldr> ah!
<samueldr> I see what you were doing
<samueldr> this is what linuxPackagesFor will do for you!
<Cadey> lol
* Cadey fixes
dotdotok has joined #nixos
<samueldr> that was one of the two things I had in mind from my gut feeling: it probably was not a derivation (the value exported from default.nix), and indeed, it was an attrset
<samueldr> so it was looking for `name` on that
<samueldr> why was it looking for name? parsing the version of the kernel package to enable/disable packages accordingly
<samueldr> linuxPackagesFor (in all-packages.nix) is not that involved, if you want a better idea about what it does
<samueldr> I'd link to it, but GitHub is not cooperating with all-packages.nix
<Cadey> ah it assumes you're holding it right?
gustavderdrache has quit [Ping timeout: 258 seconds]
<samueldr> Cadey: github? well, you see, serving a couple thousand lines of text is an unsolved problem in the web space
ddellacosta has quit [Ping timeout: 265 seconds]
<throwaway740928[> I need to understand pkgs.writeScript first
gustavderdrache has joined #nixos
<Cadey> i mean both work :D
dotdotok has quit [Read error: Connection reset by peer]
dotdotok has joined #nixos