andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<niso> selfsymmetric-mu: i think with nix-build it does tell you if it got an attrset or a function - but like bqv[m] saied, it's rarely useful
<selfsymmetric-mu> While I'm griping…I don't like this spurious Steam warning either.
<selfsymmetric-mu> niso: You're saying that the fact that I'm feeling pain is NOT due to the error messages?
<selfsymmetric-mu> What's it due to, then? The lack of types in the first place?
<niso> selfsymmetric-mu: i'm saying that nix lacks a propper typesystem
<selfsymmetric-mu> Gotcha. And yeah, I have to agree with you there.
Pwnna has quit [Quit: Bye]
<{^_^}> dhall-lang/dhall-haskell#902 (by matthew-piziak, 50 weeks ago, closed): Is `dhall-to-nix` suitable for NixOS system administration?
Pwnna has joined #nixos
<selfsymmetric-mu> ^ I wonder if there's a way to get types into the mix for users who want them while still allowing a shared common Nix language and workable NixOS administration.
<niso> selfsymmetric-mu: and if you don't like the error message go fix it :) https://github.com/NixOS/nixpkgs/blob/3a15a13354f83d1d1247b285da99e71e6b69ddac/pkgs/games/steam/chrootenv.nix#L236
<selfsymmetric-mu> niso++
<{^_^}> niso's karma got increased to 6
<selfsymmetric-mu> Good call. I'll try that reboot now.
selfsymmetric-mu has quit [Remote host closed the connection]
<energizer> what software do you use to avoid having to re-enter ssh-key dencryption passwords? gnome-keyring, ssh-agent, something else?
<bqv[m]> gpg agent
__monty__ has quit [Quit: leaving]
sigmundv_ has quit [Ping timeout: 260 seconds]
selfsymmetric-mu has joined #nixos
wavirc22 has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
<selfsymmetric-mu> Hey, a reboot fixed steam. I have a file that I put previously fixed errors into. This one said `just reboot, usually`. Thanks, file!
ddellacosta has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
vika_nezrimaya has quit [Ping timeout: 256 seconds]
maddo has quit [Quit: See ya]
<{^_^}> [nixpkgs] @marsam merged pull request #84530 → netdata: 1.20.0 -> 1.21.0 → https://git.io/JvAsY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxTu
thc202 has quit [Ping timeout: 260 seconds]
michalrus has joined #nixos
<michalrus> Hey, if I have an env built with `pkgs.buildEnv`, can I somehow load it dynamically in a shell script?
<michalrus> To set profileRelativeEnvVars correctly etc.
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
toasty_avocados has joined #nixos
<tA_> howdy, whats the easiest way to get a program to run as if it was in a non-nix distro? Im trying to get GOG stuff running
johnw` is now known as johnw
samrose has quit [Ping timeout: 250 seconds]
peelz has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #84678 → xonsh: 0.9.15 -> 0.9.16 → https://git.io/JvxTo
jumper149 has joined #nixos
zeta_0 has quit [Remote host closed the connection]
<jumper149> How can I get the hash and url to pin nixpkgs to the version that I am currently using in my nix-env?
<{^_^}> [nixpkgs] @marsam opened pull request #84679 → vault: 1.3.4 -> 1.4.0 → https://git.io/JvxTK
<{^_^}> [nixpkgs] @ryantm closed pull request #84641 → teamspeak_server: 3.11.0 -> 3.12.1 → https://git.io/JvAFB
zeta_0 has joined #nixos
<zeta_0> how do i set the ~/.msmtprc file's permissions to 0 for group and others?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvxTD
<zeta_0> niso: ^
<energizer> bqv[m]: niso: does using gpg-agent for ssh keys require you to have gpg keys?
cybrian has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault opened pull request #84680 → linuxPackages.nvidia_x11: 440.64 -> 440.82 → https://git.io/JvxTH
<tA_> michalrus: mutce ckire do noi pendo
<tA_> worked a charm
<niso> energizer: oh, my bad: i'm using gpg-agent for my passwords/secrets and ssh-agent for ssh
<michalrus> Happy to hear that. =)
<niso> zeta_0: what do you meant by permission 0?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84645 → [20.03] haskellPackages.pandoc-crossref: downgrade to latest working → https://git.io/JvAbm
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to release-20.03: https://git.io/JvxT5
cybrian has quit [Ping timeout: 265 seconds]
jlv has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #84681 → xpra: 3.0.7 -> 3.0.8 → https://git.io/JvxTA
<niso> zeta_0: you can't (incase you are refering to the generated file) -> it's in the nix store, thus public for everyone
<jlv> Does anyone know why alsa keeps dropping the volume on my usb dac when it is plugged in, and how I can get it to remember the volume? The weird thing is, sometimes it works and sometimes it doesn't.
<niso> zeta_0: that's why you shouldn't store secrets in there
scalar has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
m0rphism has quit [Ping timeout: 256 seconds]
OrangeTetra has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #84368 → freetds: 1.1.6 -> 1.1.26 → https://git.io/JvN4b
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvxkT
<huevo5050> notgne2 finally i cant get to build trought release.nix but solved the lfs way fetching the 3 lfs files sideways with fetchurl and composing new source dir. Building well now. Thanks a lot for your support!
<{^_^}> [nixpkgs] @jonringer merged pull request #84657 → libbass: fix sha → https://git.io/JvAAZ
<{^_^}> [nixpkgs] @jonringer pushed to master « libbass: fix sha »: https://git.io/Jvxkc
ottidmes has quit [Ping timeout: 256 seconds]
wavirc22 has quit [Ping timeout: 265 seconds]
h0m1 has quit [Ping timeout: 265 seconds]
h0m1 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/39247f8d04c (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
cosimone has quit [Ping timeout: 256 seconds]
aleph- has quit [Read error: Connection reset by peer]
aleph- has joined #nixos
scalar has quit [Ping timeout: 240 seconds]
<tA_> what package would provide libssl for the sec-fhs environments? openssl and libressl didnt seem to
silver_hook has quit [Ping timeout: 250 seconds]
<zeta_0> niso: in the An easy alternative: MSMTP section(last line), it says that i need to do that http://darcs.net/Using/Send
<zeta_0> this msmtp has been to much of a hassle, i think i might give up on it
reallymemorable has quit [Quit: reallymemorable]
michalrus has left #nixos ["WeeChat 2.6"]
reallymemorable has joined #nixos
silver_hook has joined #nixos
<tA_> ok update: i have libssl.so.1.1 and i need libssl.so.1.0.0 in order to run this, is there a way to symlink one to the other or something?
jlv has quit [Remote host closed the connection]
<niso> zeta_0: did you try it? does it error out? also: the configuration i showed you does not invlove a ~/.msmtprc file (it generates the config in ~/.config/msmtp/conf)
<{^_^}> [nixpkgs] @jonringer opened pull request #84683 → [staging] Revert "perlPackages.XMLParser: 2.46 -> 2.44" → https://git.io/JvxkA
OrangeTetra has joined #nixos
OrangeTetra has quit [Client Quit]
OrangeTetra has joined #nixos
<zeta_0> yes i set this home.nix option: https://rycee.gitlab.io/home-manager/options.html#opt-programs.msmtp.enable , but it's still not working: https://dpaste.org/qLqM
<niso> zeta_0: whats the error message if you try to send a mail with sendmail directly?
<niso> zeta_0: i mean msmtp
johnny101m has quit [Read error: Connection reset by peer]
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to release-20.03: https://git.io/JvxIt
<{^_^}> [nixpkgs] @cdepillabout merged pull request #84571 → [nixos-20.03] haskellPackages.amqp-utils: fix amqp-0.19 dependency → https://git.io/JvABf
<zeta_0> niso: there's no msmtp command, i thougt home.nix installs it when it's the msmtp option is enabled
<zeta_0> niso: what command do i run?
<{^_^}> [nixpkgs] @jonringer merged pull request #78772 → python3Packages.qiskit: 0.14.0 -> 0.17.0 → https://git.io/JvYbF
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to master: https://git.io/JvxIO
<zeta_0> niso: does msmtp work with protonmail? that's what i set it to
<zeta_0> niso: ok the msmtp command does work, what args do i pass it?
<niso> zeta_0: msmtp should be in your path (just execute msmtp --versioN"
<{^_^}> [nixpkgs] @marsam merged pull request #84594 → shfmt: 3.0.2 -> 3.1.0 → https://git.io/JvArw
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvxIZ
johnny101m2 has joined #nixos
<zeta_0> niso: ok, it's there, sorry , it didn't have autompletion, so i thought is was not installed
<niso> zeta_0: about protonmail: i don't know - i wasn't aware that it offers smtp at all
<niso> zeta_0: about sending a mail: i'd have to lookup the docs too - it's been a while
<zeta_0> niso: strange, when i ran it again, the error is gone: https://dpaste.org/b1X5
<zeta_0> niso: maybe, it is working
<{^_^}> [nixpkgs] @marsam merged pull request #84656 → stress-ng: 0.11.02 -> 0.11.07 → https://git.io/JvAN5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxIB
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
<selfsymmetric-mu> zeta_0: I think I had ran into this myself.
hoplaahei has quit [Quit: Konversation terminated!]
<zeta_0> selfsymmetric-mu: trying to setup mailing with darcs is painful, i'm not even sure if it's working or not
<selfsymmetric-mu> Ah, nah, mine was with mbsync: https://github.com/rycee/home-manager/issues/371
<{^_^}> rycee/home-manager#371 (by matthew-piziak, 1 year ago, open): mbsync.service not found
<selfsymmetric-mu> zeta_0: I have `protonmail-bridge` installed and for some reason I have `tmux` installed with the comment `protonmail-bridge daemon workaround support`.
<selfsymmetric-mu> I wonder what I was doing there…
<selfsymmetric-mu> Oh, huh. `tmux new-session -d -s mail 'protonmail-bridge --cli'`
<selfsymmetric-mu> zeta_0: Darcs the version control system? How is that related to mailing?
<{^_^}> [nixpkgs] @jonringer merged pull request #84678 → xonsh: 0.9.15 -> 0.9.16 → https://git.io/JvxTo
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « xonsh: 0.9.15 -> 0.9.16 »: https://git.io/JvxIa
<zeta_0> the error: No working sendmail instance on your machine! ,went away: https://dpaste.org/jDvC https://dpaste.org/b1X5 , so maybe it is working now?
<zeta_0> selfsymmetric-mu: http://darcs.net/Using/Send
<{^_^}> [nixpkgs] @jonringer merged pull request #84679 → vault: 1.3.4 -> 1.4.0 → https://git.io/JvxTK
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « vault: 1.3.4 -> 1.4.0 »: https://git.io/JvxIV
<niso> zeta_0: i looked it up for you: echo "hello there username." | msmtp -a default username@domain.com
<zeta_0> selfsymmetric-mu: my home.nix configuration smsmtp part: https://dpaste.org/MeWC
<zeta_0> niso: thanks: https://dpaste.org/uCdr
<niso> lolz
<zeta_0> niso: it doesn't recognize the host, so i'm thinking i'm going to have to use my gmail email address instead, and change host to smtp.gmail.com
mexisme has joined #nixos
<niso> zeta_0: well, selfsymmetric-mu mentioned a bridge before - i assume it's required?
<zeta_0> i think so, but i'd have to pay for that bridge right selfsymmetric-mu ? anyways, i have a gmail accound so i'll just change it to that
<zeta_0> or i have to be a subscriber to protonmail in order to use it, right now i'm using the free version
<zeta_0> niso: i'll make those gmail changes real quick, i'll be back in a bit
peelz has quit [Remote host closed the connection]
fresheyeball has joined #nixos
<fresheyeball> looks like my apl keyboard problem is totally reproducible https://github.com/NixOS/nixpkgs/issues/82763
<{^_^}> #82763 (by Fresheyeball, 3 weeks ago, open): APL keyboard layout not accessible
<zeta_0> niso: ok, after changing it to gmail, it's trying to work, but it's throwing an error now? https://dpaste.org/x5to
<selfsymmetric-mu> zeta_0: I pay for protonmail, but not for the bridge. I don't think…
<zeta_0> selfsymmetric-mu: if i read correctly, we need to be a subscriber in order to be able to use the bridge
<niso> zeta_0: how is the error unclear?
<zeta_0> selfsymmetric-mu: so i'm pretty sure there is a pay wall
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<selfsymmetric-mu> zeta_0: Gotcha. That sounds correct.
dansho has joined #nixos
<DigitalKiwi> https://protonmail.com/bridge/ it even puts it in bold
<zeta_0> niso: i've never configured dbus, so i don't understand that error
<selfsymmetric-mu> DigitalKiwi: Straight from the horse's yelling mouth. Well there ya go.
<zeta_0> ya that sucks, that's why i had to switch to gmail for this darcs email use case
<niso> zeta_0: line 5: msmtp: authentication failed (method PLAIN)
<niso> zeta_0: line 6: msmtp: server message: ... Username and Password not accepted. Learn more at (line 7) <link where google explains the issue)
<DigitalKiwi> there's probably a setting in gmail that you have to enable for insecure logins
<zeta_0> niso: oh, ok, the accounds.email.accounts.<name>.msmtp option has way to many options, i'll set it up as quick as i can
<selfsymmetric-mu> I have a question that's probably easy. I have this simple service declaration: https://gist.github.com/7491ddc11acf8408a5a99766aeff11f6
<selfsymmetric-mu> But I need to start it with `systemctl --user start plex-mpv-shim`.
<selfsymmetric-mu> How can I get it to start on boot automatically?
<{^_^}> [nixpkgs] @jonringer merged pull request #84372 → flrig: 1.3.49 -> 1.3.50 → https://git.io/JvNB9
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « flrig: 1.3.49 -> 1.3.50 »: https://git.io/JvxLq
<niso> zeta_0: so you switched your configuration from writing the rc file to generating the conf file with nix instead?
<zeta_0> niso: yes, i have everything setup in home.nix
<zeta_0> niso: i use the home-manager
<niso> zeta_0: how does your configuration look like?
<{^_^}> [nixpkgs] @jonringer merged pull request #84371 → fldigi: 4.1.09 -> 4.1.11 → https://git.io/JvNBa
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « fldigi: 4.1.09 -> 4.1.11 »: https://git.io/JvxLm
<{^_^}> [nixpkgs] @jonringer merged pull request #84411 → libmediainfo: 19.09 -> 20.03 → https://git.io/JvNrb
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libmediainfo: 19.09 -> 20.03 »: https://git.io/JvxLY
GrimSleepless has joined #nixos
<selfsymmetric-mu> hmm. Maybe I need `wantedBy`.
<niso> selfsymmetric-mu: that would have been my guess too
<selfsymmetric-mu> niso: What would you set it to? `[ "multi-user.target" ]`?
<niso> zeta_0: thats not using the configurations you mentioned
OrangeTetra has quit [Quit: Leaving]
<niso> zeta_0: that's just writing the rc-file
<zeta_0> niso: i need to finish this setting up this option: https://rycee.gitlab.io/home-manager/options.html#opt-accounts.email.accounts
<zeta_0> niso: i was hoping i wouldn't have to, it's going to be a nightmare
<zeta_0> way too many options
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/JvxLC
<{^_^}> [mobile-nixos] @samueldr merged pull request #123 → Add a supported way to include from system configuration → https://git.io/JvAZa
<niso> zeta_0: no, those are two different files
<niso> msmtp.extraConfig generates ~/.msmtprc
anirrudh has joined #nixos
<niso> the configurations configured by accounts.* are linked to .config/msmtp/conf
anirrudh has quit [Client Quit]
<selfsymmetric-mu> Well, this doesn't work: https://gist.github.com/7a17d1d38c300087b4b3770f1154cc87
<selfsymmetric-mu> I get `error: The option `services.plex-mpv-shim.wantedBy'` doesn't exist.
<zeta_0> ok, but i set up all of the options in programs.msmtp, the option to change that `plain` setting is over here: https://rycee.gitlab.io/home-manager/options.html#opt-accounts.email.accounts._name_.msmtp.enable
<zeta_0> niso: ^
<selfsymmetric-mu> What does it _mean_, "doesn't exist". It's literally in `commonUnitOptions`.
<selfsymmetric-mu> Those aren't common to all units?
<niso> zeta_0: is the plain the issue? not the google-settings? or a wrong password? did you look it up?
dansho has quit [Quit: Leaving]
<zeta_0> niso: i'm pretty sure that's not the problem, but let me double check with my gmails password
<zeta_0> niso: i think i'm going to call it a day, i'll try again tomorrow, i'm going in circles
<zeta_0> niso: thank you for the help
<zeta_0> niso++
<{^_^}> niso's karma got increased to 7
<niso> zeta_0: alright, yw, gn8
hoplaahei has joined #nixos
<zeta_0> niso: i'll contact the darcs people again tomorrow, maybe they'll be able to point me in the right direction
<niso> zeta_0: you have a problem with sending an email - this isn't darcs related
<niso> zeta_0: in fact since you configured everything so far in msmtp.extraConfig it's not even nixos related - you could just write the config file on any Linux and copy&paste it into extraConfig
<{^_^}> [nixpkgs] @jonringer merged pull request #84366 → fwts: 20.02.00 -> 20.03.00 → https://git.io/JvN83
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « fwts: 20.02.00 -> 20.03.00 »: https://git.io/JvxLz
<zeta_0> niso: i just got an email that says: sign in was blocked, maybe gmail is blocking
<{^_^}> [nixpkgs] @jonringer opened pull request #84687 → linuxPackages_testing_bcachefs.fwts-efi-runtime: remove failing patch → https://git.io/JvxLa
<zeta_0> niso: the only option i did not set was this: The ~/.msmtprc file needs to have permissions set to 0 for group and others, otherwise msmtp will refuse to send any mail.
<niso> zeta_0: you got an authentication error - means msmt works fine, and the permission didn't matter
<niso> zeta_0: you can re-try darcs once you know that it's dependencies (in this case: msmtp) work
<zeta_0> niso: ok, i understand that, but does that dbus error mean?
pjt_014 has joined #nixos
<niso> zeta_0: i'm not sure, for now i'd just assume that it will be resolved once you manage to loginto your google account
bridge[evilred] has quit [Remote host closed the connection]
<niso> zeta_0: you might want to tripple-check your google-settings (or maybe try to use another mailclient to see if msmtp works with them)
bridge[evilred] has joined #nixos
red[evilred] has joined #nixos
felixfoertsch23 has joined #nixos
<hoplaahei> hi. KDE5 is overriding the keyboard variant set in configuration.nix. I uncheck 'Configure layouts' and click apply, but the checkbox gets ticked again. For now, I can set the variant through kde, but does anyone have a fix for this?
<zeta_0> niso: i need to replace username@domain.com with my gmail address, correct?
felixfoertsch has quit [Ping timeout: 256 seconds]
felixfoertsch23 is now known as felixfoertsch
<niso> zeta_0: yes, that should work.
reallymemorable has joined #nixos
<DigitalKiwi> oops sorry
<niso> fixed :P
<zeta_0> hoplaahei: i tried a custom keyboard variant with kde and gnome, and it overrided the custom keyboard layout, but i got it to work with xmonad by itself, in home.nix, i set the option: keyboard = null; so it would not get overrided
<zeta_0> niso: ok i'm troubleshooting now
<zeta_0> niso: i give up for now, i'll try again tomorrow
<hoplaahei> zeta_0: thanks for the info
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<zeta_0> hoplaahei: your welcome, and i can paste bin my custom keyboard configuration, if you want to see how i setup mine
aw has joined #nixos
ddellacosta has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to haskell-updates « haskellPackages.llvm-hs: Use LLVM 9 »: https://git.io/Jvxte
spacefrogg has joined #nixos
<hoplaahei> zeta_0: yes thanks
reallymemorable has quit [Quit: reallymemorable]
<zeta_0> home.nix(home-manager): sessionVariables.keyboard = null; and here's my custom keyboard layout setup in configuration.nix: https://dpaste.org/aJRz
<zeta_0> hoplaahei:
jumper149 has quit [Quit: WeeChat 2.7]
<zeta_0> hoplaahei: i have it as a separate keymap.nix file, which i import into configuration.nix
<hoplaahei> zeta_0: nice. Thanks.
andydarcyjewell2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
marcusr has quit [Remote host closed the connection]
andydarcyjewell has joined #nixos
andydarcyjewell2 has joined #nixos
marcusr has joined #nixos
jbrock has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
peelz has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash closed pull request #81612 → ruby-modules: eliminate BUNDLE_PATH → https://git.io/Jvatb
<selfsymmetric-mu> Drat, this wasn't sufficient to get my service to start on boot: https://gist.github.com/a1fd0ba833cf0149bbd7f83c23e31864
<selfsymmetric-mu> How do I get Nix to do the equivalent of `systemctl --user start plex-mpv-shim`?
vanillaicecream has joined #nixos
wavirc22 has joined #nixos
<vanillaicecream> Hi all! I'm trying to build a package of mine which uses the npm module `katex`. `katex` isn't found in nodePackages, and I've been having no luck trying to generate a build file for it using node2nix.
<evils> selfsymmetric-mu: you want `services.plex-mpv-shim.wantedBy = [ "multi-user.target" ];`
<{^_^}> [mobile-nixos] @samueldr opened pull request #125 → Fix evaluation failure where aarch64-linux outputs are accidentally x86_64-linux → https://git.io/Jvxt2
<evils> selfsymmetric-mu: unless there's something about `--user start` that's not covered by that
<vanillaicecream> The end goal is to be able to run the `katex` binary while building another package (a website). I've been using an overlay to define both the website package and the (dysfunctional) katex package.
<selfsymmetric-mu> evils: Oh I see, I need to _define_ `options.services.plex-mpv-shim.wantedBy` and then _invoke_ `services.plex-mpv-shim.wantedBy` to the same thing?
<selfsymmetric-mu> How did you know this? I'd have a hard time figuring that out without your help.
<selfsymmetric-mu> evils++
<{^_^}> evils's karma got increased to 3
<evils> selfsymmetric-mu: i looked at existing modules that define services and imitated them
<selfsymmetric-mu> A true programmer.
<peelz> Is there a way I could make a module that changes some home-manager config options for all `home-manager.users` entries? I'm using `<home-manager/nixos>`
<evils> selfsymmetric-mu: lol i missed that you had a `wantedBy` line in your gist, you'll want to move line 9 to the block that contains line 14
<selfsymmetric-mu> Do I still need `services.plex-mpv-shim = {enable = true; wantedBy = [ "multi-user.target " ];}`?
<evils> selfsymmetric-mu: no, you'll only need `enable = true;`
<selfsymmetric-mu> evils: Fabulous. Okay I'll try that now.
<evils> selfsymmetric-mu: if you wanted that attribute user configurable (kinda seems odd), you'd want to make an option for it, and use that option's value in the service definition, around line 13
<selfsymmetric-mu> Oh I see. I agree, I don't want that.
<peelz> rycee: sorry for the ping but I thought you might know the answer to my question :P
<selfsymmetric-mu> So I just need the `mkEnableOption` and that's it for configurability
<selfsymmetric-mu> Rebooting, brb.
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [mobile-nixos] @samueldr merged pull request #125 → Fix evaluation failure where aarch64-linux outputs are accidentally x86_64-linux → https://git.io/Jvxt2
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/Jvxqe
anirrudh has joined #nixos
selfsymmetric-mu has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<evils> selfsymmetric-mu: if starting the unit with systemctl works, you shouldn't have to reboot to start it with nixos-rebuild
<selfsymmetric-mu> evils: Hm. It's not working.
<selfsymmetric-mu> I have `services.plex-mpv-shim.enable = true;`.
<selfsymmetric-mu> And `systemd.user.services.plex-mpv-shim.wantedBy = ["multi-user.target "];`
<selfsymmetric-mu> Hm, whoops, I have an extra bit of whitespace there.
<selfsymmetric-mu> The service is still loaded but inactive.
<selfsymmetric-mu> Upon rebuild, that is.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84161 → linuxPackages.ddcci-driver: 0.3.2 -> 0.3.3 → https://git.io/JvF1n
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvxqk
<selfsymmetric-mu> It works when it's started manually.
jlv has joined #nixos
<evils> selfsymmetric-mu: what's pkgs.unstable?
<selfsymmetric-mu> Oh that's just a pinned unstable channel.
<selfsymmetric-mu> I can make it pkgs.
<selfsymmetric-mu> Oh, no, I can't. plex-mpv-shim is fairly new.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81693 → uvcdynctrl: fix udev files → https://git.io/JvaPt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvxqm
<jlv> Can I not use `overrideAttrs` on a Rust package? It looks like I can't override `cargoSha256` to fix the has mismatch.
<selfsymmetric-mu> evils: Here's how I set up `pkgs.unstable`: https://gist.github.com/70e9616cdbfb802703e15d2fb8dfbbfa
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84185 → scmpuff: init at 0.3.0 → https://git.io/JvFxa
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jvxqs
<blibberblob> hi, can anyone give me advice on patching an ELF file? I have a pre-built binary in a node package which I need to run. When I try to run it directly, it says "no such file or directory: <path to file>" even though the file exists. When I run `ldd` on it, the output is here: https://gist.github.com/adnelson/b1dfcd93b2e7a3eacdf6cfad202fa8af
<blibberblob> I'm not really familiar with how dynamic linking works, but from what I gather from ldd, it seems like three out of four dynamic libraries referenced in the ELF are able to find a path, except for `linux-vdso.so.1`. I can't find much mention of that in nixpkgs, so I'm not sure what this is supposed to point to.
<evils> selfsymmetric-mu: i'm quite unfamiliar with channel pinning, sure you don't mean nixpkgs.unstable? and maybe (though i don't think this is wrong) it shouldn't be lib.mkIf since that block is already `with lib;`; maybe check systemctl status plex-mpv-shim after a nixos-rebuild test?
<selfsymmetric-mu> evils: For `systemctl status plex-mpv-shim` I get `Unit plex-mpv-shim.service could not be found.` as expected.
<selfsymmetric-mu> And for `systemctl --user status plex-mpv-shim` I get loaded but inactive.
<selfsymmetric-mu> So maybe I'm just not enabling it properly?
<selfsymmetric-mu> `services.plex-mpv-shim`…does that work for user services?
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
<selfsymmetric-mu> Or do I need like `services.users.<my_user>.plex-mpv-shim` or something like that?
Supersonic112 is now known as Supersonic
<selfsymmetric-mu> Right now I just have `services.plex-mpv-shim.enable = true`;
anirrudh has quit [Quit: Leaving.]
<selfsymmetric-mu> Huh, you're right, it builds with just `mkIf`. Weird that `lib.lib.mkIf` was apparently working. :/
<selfsymmetric-mu> `nixos-rebuild only runs a daemon-reload for each user with running user services.`
zeta_0 has left #nixos ["rcirc on GNU Emacs 26.3"]
<selfsymmetric-mu> I don't know what I'm doing wrong…this just points me back to wantedBy.
<evils> i don't think it was trying `lib.lib`, it was just using `lib.mkIf`, but it finds `mkIf` since attributes from `lib` are in scope
<selfsymmetric-mu> Ah, okay.
<evils> i'm not familiar with user services...
<selfsymmetric-mu> Ah well. I guess I can just drop this into a @reboot cron job and call it a day.
zeta_0 has joined #nixos
<evils> selfsymmetric-mu: does it have to be a user service?
<zeta_0> what is the linux command to give full permissions to a file?
<evils> zeta_0: `man chmod`
<selfsymmetric-mu> evils: Nope, it doesn't. It can be system-wide, but it needs to launch mpv in such a way that my user can see it.
<zeta_0> the manually can be very cryptic, i just need a quick command, oh well
<zeta_0> uhh, lets see
<zeta_0> i think this is the correct command, right? chmod 777 my_app
<zeta_0> i didn't think that this msmtp pkg would give me so much trouble, i really need that functionality so darcs can automatically email patches through the terminal
<AmandaC> That'll let anybody on the system read, write, and execute it, zeta_0
<zeta_0> AmandaC: An easy alternative: MSMTP, bottom section:
<zeta_0> The ~/.msmtprc file needs to have permissions set to 0 for group and others, otherwise msmtp will refuse to send any mail. , http://darcs.net/Using/Send
<zeta_0> AmandaC: i'm just trying to troubleshoot an error i'm getting
<AmandaC> So you want x00
<zeta_0> i'm not even sure if that chmod command will help with my issue
<AmandaC> With x, being the right bit mask got what you need
<AmandaC> I'm about to pass out tough, good luck
<zeta_0> AmandaC: ok i'll try out: chmod x00
<zeta_0> AmandaC: thanks for the help, later
zeta_0 has quit [Quit: i give up for today]
<selfsymmetric-mu> I made it a system-wide service but with `User = "matt"` (yours truly) in the `serviceConfig`. Now it's starting with `services.plex-mpv-shim.enable = true`, and it's connecting as intended. Thanks for your help!
kleisli has quit [Remote host closed the connection]
<selfsymmetric-mu> Yuck, or so I thought.
kleisli has joined #nixos
<selfsymmetric-mu> It appears that although it's starting and Plex is discovering it, it's not actually launching mpv. Bleh.
<vanillaicecream> Say I do `services.nginx......root = pkgs.websitePackage`, will that have unintended effects, or will the root be set to the store path of websitePackage?
morgrimm_ has quit [Ping timeout: 265 seconds]
chagra_ has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
knupfer has joined #nixos
anirrudh has joined #nixos
revtintin has joined #nixos
cybrian has joined #nixos
jlv has quit [Remote host closed the connection]
linarcx has joined #nixos
anirrudh has quit [Quit: Leaving.]
<pjt_014> hey I got a question
cybrian has quit [Ping timeout: 256 seconds]
<pjt_014> sooo I have a pr that has not yet been merged
<pjt_014> and I have a bug that's ready to be fixed elsewhere
<pjt_014> I want to make another nixpkgs fork so that I can make a PR for it, but Doing so just redirects me to the existing fork I already have
<evils> you want another branch on your fork
<pjt_014> Hm. Guess that makes sense
<pjt_014> Btw any idea how long till 20.03? I'm using that as a gauge for when I should bother people about my pr again
<pjt_014> and I got maybe two more in the works
<pjt_014> one option I wanna implement that's within my skillset, and one package that's broke that should be removed
<evils> seems like the few blocking issues for 20.03 are fairly specific, so i think you're safe bothering people, though these things don't go very fast
casaca has quit [Remote host closed the connection]
ehmry_ has joined #nixos
<pjt_014> If I were to ask for a package to be marked as broken that'd be comparably quick right?
<pjt_014> I don't know how likely it'll be fixed and there's a similar package that ofers the same functionality anyway sooooo :shrug:
<pjt_014> If you/anyone else wants to test it, the broke one to maybe remove is greg and the one that'd supersede it is castget
drakonis has quit [Quit: WeeChat 2.7.1]
<pjt_014> woah
<pjt_014> other python packages have this exact problem
<pjt_014> hmmm
c0c0 has quit [Ping timeout: 256 seconds]
andydarcyjewell has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
andydarcyjewell2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
andydarcyjewell2 has joined #nixos
andydarcyjewell has joined #nixos
revtintin has quit [Ping timeout: 265 seconds]
endformationage has quit [Ping timeout: 260 seconds]
plutes has quit [Quit: See ya around!]
morgrimm has joined #nixos
revtintin has joined #nixos
<{^_^}> [nixpkgs] @angerman closed pull request #71216 → Wine series3 → https://git.io/Je4k2
<peelz> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
morgrimm has quit [Ping timeout: 256 seconds]
<vanillaicecream> any idea why I can't connect to a nixos machine created by nixos-infect on DigitalOcean? curl etc gives me timeouts.
ehmry is now known as ehmry[m]
ehmry_ is now known as ehmry
ehmry[m] has left #nixos ["User left"]
<steell> how can i override the package set for a NixOS module listed in my imports in configuration.nix?
<steell> just for the one module, i know setting nixpkgs.overlays will affect *all* modules
c0c0 has joined #nixos
<hyper_ch> you're trying to get a different (older) package?
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<srhb> steell: If the module doesn't expose a package option, this is not trivially possible
<srhb> steell: Depending on the module it _may_ be possible by overriding just an ExecStart or something in the systemd service, if it's only used there, say.
linarcx has quit [Ping timeout: 265 seconds]
<srhb> vanillaicecream: Did you open the firewall?
<vanillaicecream> srhb: I did not; quick hint on how to do that?
<srhb> vanillaicecream: In general, only ssh auto-opens to try to prevent you from locking yourself out.
<srhb> (port 22, that is)
<vanillaicecream> so I add 80 and 443. Rebuilding now, thank you!
<srhb> vanillaicecream: Sure thing
<vanillaicecream> that worked, thank you!
palo1 has joined #nixos
<srhb> vanillaicecream: Welcome. :)
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @matthewbauer opened pull request #84689 → kwallet-pam: just provide plugin path for qtbase → https://git.io/JvxmF
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
sjkelly1 has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
xO1 has joined #nixos
anirrudh has joined #nixos
anirrudh has quit [Client Quit]
anirrudh has joined #nixos
revtintin has quit [Ping timeout: 265 seconds]
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
sjkelly1 has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
Guest24897 has quit [Quit: ZNC 1.7.3 - https://znc.in]
kaychaks has joined #nixos
kaychaks is now known as Guest85123
Guest85123 has quit [Client Quit]
linarcx has joined #nixos
oranginal has joined #nixos
<oranginal> Is there a way to turn the bash bell off with the nix config file?
<etu> It's more up to your terminal emulator
<oranginal> is it? Most things I find say to set something in .inputrc
<etu> I think it is, but not 100% sure though :)
<oranginal> I'll check my term, real quick...
<srhb> oranginal: I think readline will read /etc/inputrc too, so you can use the etc. options to generate that.
<srhb> By default NixOS will not touch any user files (you can check home manager for that) but you can create global ones.
<oranginal> I would prefer a global one, yeah..
FRidh has joined #nixos
eoli3n__ has joined #nixos
<oranginal> srhb: So that was setting etc configs with configuration.nix?
linarcx has quit [Quit: WeeChat 2.8]
<srhb> oranginal: Yes.
<srhb> oranginal: `environment.etc.inputrc.text = ''foo'';`
revtintin has joined #nixos
<srhb> oranginal: That will create /etc/inputrc containing "foo"
<notgne2> on one of my servers, there seems to be an issue with `boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];` and I can't seem to figure out why
<notgne2> it works on everything else
<notgne2> error: The option value `boot.extraModulePackages.[definition 1-entry 1]' in `/home/notgne2/ops/nixfiles/modules/ezwg.nix' is not of type `package'.
<oranginal> srhb: I'll give it a try, thanks.
<srhb> oranginal: But again, that's only for stuff that's readline-determined, like say tab completion in bash.
anirrudh has quit [Quit: Leaving.]
<srhb> oranginal: For disabling all bells, it's your terminal emulator as etu said.
<oranginal> I think that is okay, then. etu was right. My terminal also has a config for it.
<notgne2> it looks like on this machine, linuxPackages_latest.wireguard is null
<srhb> notgne2: Instead of "this machine" we probably need a nixpkgs commit or channel to know what to say about that. :)
<srhb> notgne2: Unless you suspect architecture issues.
<notgne2> NixOS unstable @ 39247f8d04c04b3ee629a1f85aeedd582bf41cac, x86_64
anirrudh has joined #nixos
<notgne2> oh, looks like I found my own answer
<srhb> notgne2: Ah yes. Is it that wireguard got upstreamed?
<notgne2> yup
ToxicFrog has quit [Ping timeout: 240 seconds]
<srhb> Great. :)
iqubic has joined #nixos
<peelz> which one takes precedence in `with builtins; with lib;` ?
<srhb> peelz: Innermost (last)
<peelz> okay thanks srhb++
<{^_^}> srhb's karma got increased to 97
<srhb> peelz: And you should try to avoid those encompassing too much scope
<peelz> yeah I'll stick with builtins and lib lol
anirrudh has quit [Ping timeout: 265 seconds]
<peelz> is there a `lib.any` for attrsets?
jakobrs has joined #nixos
<srhb> peelz: Don't think so. You can make one with foldAttrs
<srhb> or filterAttrs,
<peelz> hmm aight
<srhb> Depends what you need exactly.
ToxicFrog has joined #nixos
<peelz> uh well I'm trying to check if any users in `home-manager.users` have a specific package installed
<lovesegfault> can I get clangStdenv with lld?
<srhb> peelz: Then `any` sounds like what you want anyway, since `attrValues home-manager.users` is a list.
<peelz> srhb: okay, will look into it
opthomasprime has joined #nixos
Naptra has joined #nixos
<lovesegfault> worldofpeace: god bless you
<lovesegfault> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 99
hoplaahei has quit [Quit: Konversation terminated!]
linarcx has joined #nixos
OrangeTetra has joined #nixos
<jakobrs> If I right click on obs in the application launcher and choose "launch in terminal", obs works correctly
broccoli has quit [Ping timeout: 256 seconds]
<jakobrs> but if I just run it normally, it crashes
<jakobrs> is that normal?
evertedsphere has joined #nixos
<peelz> is there a function for `lib.length x == 0` ?
OrangeTetra has quit [Client Quit]
<srhb> peelz: == []
<peelz> oh. haha
luna has joined #nixos
<jakobrs> I don't think the run in terminal window option should source anything
<peelz> of course!
<srhb> peelz: ;)
<evertedsphere> hmm. the new nixos-unstable version refuses to build on my system
mauli has joined #nixos
broccoli has joined #nixos
<srhb> evertedsphere: With which error?
<evertedsphere> one moment
<evertedsphere> is there a #nixos-approved paste service
oranginal has quit [Ping timeout: 258 seconds]
<srhb> Not really. gist is fine, say.
<pjt_014> 0x0 is quite nice.
mexisme has quit [Ping timeout: 265 seconds]
<pjt_014> works with curl and therefore on any ultra-minimal system you might have
mallox has joined #nixos
opthomasprime has quit [Remote host closed the connection]
<pjt_014> I can't count the number of times I've typed out cat whatevr | curl -F file=@- 0x0.st
opthomasprime has joined #nixos
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
<evertedsphere> http
<evertedsphere> err
<{^_^}> [nixpkgs] @peti merged pull request #84638 → shotcut: 20.02.17 -> 20.04.01 → https://git.io/JvAdZ
<evertedsphere> http://0x0.st/iS8L.txt
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/Jvx3K
<evertedsphere> i think it's my linuxPackages_latest that i got in a desperate attempt to rid myself of a kernel bug
<evertedsphere> or the nvidia drivers? not sure
revtintin has quit [Ping timeout: 260 seconds]
opthomasprime has left #nixos [#nixos]
fusion809 has joined #nixos
anirrudh has joined #nixos
revtintin has joined #nixos
cr4y1_ has joined #nixos
<Emantor> evertedsphere: both. It's the nvidia driver not being compatible with the latest kernel.
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
<evertedsphere> ah let me try just getting rid of the kernel override then
zaeph1 has joined #nixos
Diogo has joined #nixos
luna has quit [Quit: Leaving]
<lovesegfault> Does anyone know how to get clangStdenv to use lld
lsix has joined #nixos
evax has joined #nixos
kaychaks has joined #nixos
anirrudh has quit [Ping timeout: 258 seconds]
zaeph has quit [Ping timeout: 256 seconds]
kaychaks is now known as Guest50566
<peelz> srhb: I'm trying to do this interactively: https://github.com/rycee/home-manager/blob/master/nixos/default.nix#L87 but `home-manager.users.peelz` evaluates to this: https://termbin.com/8lhr
<cole-h> lovesegfault: I don't know, but maybe it has a flag like there is for Rust: `-C link-arg=-fuse-ld=lld`
<cole-h> Something to look for
<lovesegfault> Yeah, there is that; but the clangStdenv doesn't even come with lld
<lovesegfault> which imo is odd
<{^_^}> [nixpkgs] @vbgl opened pull request #84691 → ocamlPackages.dns-client: init at 4.4.1 → https://git.io/JvxsJ
<srhb> peelz: Your configuration is not callPackage-able. There's a function called eval-config.nix that's necessary to do the module system shenanigans
<peelz> srhb: ah...
<peelz> srhb: how can I call eval-config?
<cole-h> lovesegfault: Hope you find a solution, I'm heading out
<srhb> peelz: you may also be able to use nixos-option home-manager.users.peelz
revtintin has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
<evertedsphere> okay i went back to the default kernel package and it still won't work
<evertedsphere> is there a --jobs 1 for nixops
gulplante has joined #nixos
gulplante has quit [Client Quit]
gulplante has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<peelz> srhb: I was trying to debug why my expression wasn't working as expected
<peelz> srhb: filter (user: any ({ pname ? null, ... }: pname == "zsh") user.home.packages) (attrValues config.home-manager.users) != []
<peelz> srhb: turns out I had a typo somewhere... idk; rewrote it and it works now lol
<peelz> srhb++ thanks :D
<{^_^}> srhb's karma got increased to 98
<srhb> peelz: eval of nixos works something like this: nix eval -f '<nixpkgs/nixos>' config.environment.etc.bashrc.text
<srhb> Just as an example.
<peelz> ah
mexisme has joined #nixos
<srhb> (the nixos default.nix will do the eval-machine stuff on your current configuration.nix
revtintin has joined #nixos
<peelz> ahhh that makes more sense
<srhb> You can look at it if you want to dive deeper into how eval-config.nix is used
<peelz> insightful
lsix1 has quit [Ping timeout: 260 seconds]
<evertedsphere> why is my computer compiling what appears to be glibc, does nixos-unstable not have binary caches ready yet
<srhb> evertedsphere: Yes, if the channel is bumped, it means the evaluation is complete. Everything that will build has been built (barring transient failures that are not blocking the channel)
<srhb> Which means: The only things that paths that can be added are either manual reruns or identical paths that suddenly succeed in some other evaluation.
<srhb> So to a first approximation, no more paths will be added to the cache once the channel is bumped.
morgrimm has joined #nixos
<peelz> srhb: do you know if there's a way to get home-manager to to find shell completion files from packages installed in `home.packages`? This is my current solution (host-wide): https://termbin.com/0dkj ... thought it won't work if I deploy my home-manager config on a non-NixOS machine
evertedsphere has quit [Remote host closed the connection]
<srhb> peelz: It should work out of the box iirc
<peelz> srhb: huh? well it's not finding them unless I have zsh enabled globally
<srhb> What you're doing is unnecessary. Something else is up if it's not working.
<srhb> Or at least, I'm pretty sure that's the case.
<peelz> srhb: the zsh "programs" module relies on `environment.pathsToLink = [ "/share/zsh" ];`, which makes shell completion scripts available in `/run/current-system/sw/share/zsh/site-functions`
FRidh2 has joined #nixos
rauno has joined #nixos
FRidh has quit [Ping timeout: 258 seconds]
<srhb> peelz: And I believe the same should be true for ~/.nix-profile
<mlatus[m]> what does the experimental-feature ca-references do?
cfricke has joined #nixos
<peelz> srhb: oh right... uhh
morgrimm has quit [Ping timeout: 265 seconds]
phreedom has quit [Ping timeout: 240 seconds]
<peelz> srhb: I guess I have to rely on the host to make system autocompletion things available (like systemd and stuff)... hmm
logzet has joined #nixos
<srhb> peelz: I'm pretty sure I have completions come in from both /run/current-system and ~/.nix-profile without doing anything really special.
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
<peelz> my ISP has been so unstable lately ._.
revtintin has quit [Ping timeout: 256 seconds]
remirol has joined #nixos
lorimer has quit [Ping timeout: 265 seconds]
<peelz> srhb: yeah, if you set `programs.zsh.enable = true;`, completion scripts "just work": https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/zsh/zsh.nix
blibberblob has quit [Ping timeout: 246 seconds]
<peelz> but I was trying to see if it would be possible to keep the zsh stuff in the user config
blibberblob has joined #nixos
<srhb> peelz: Sure, as long as they also install systemd etc. :P
<peelz> srhb: this is the best I could do: https://termbin.com/8vn7
linarcx has quit [Quit: WeeChat 2.8]
<srhb> I don't like it. :P But hey, if you're happy.
<peelz> lol
<peelz> yeah it's a bit hacky :P
linarcx has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<srhb> It seems like a lot of conditional work to avoid just enabling it globally.
<peelz> yeah that's true
<srhb> Which costs basically a few files in etc.
* srhb shrugs
<peelz> but I'm still learning out how to do nix stuff
<peelz> I'm sure I'll get around to doing things "the nix way" lol
gulplant1 has joined #nixos
gulplant1 has quit [Client Quit]
m0rphism has joined #nixos
domogled has quit [Quit: domogled]
gulplante has quit [Ping timeout: 240 seconds]
fusion809 has quit [Remote host closed the connection]
zupo_ has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
phreedom has joined #nixos
gulplante has joined #nixos
anirrudh has joined #nixos
vanillaicecream has quit [Remote host closed the connection]
zeenk has joined #nixos
knupfer1 has joined #nixos
<colemickens> I'm pretty desperate.
<lovesegfault> colemickens ?
<colemickens> I can't get pulseaudio working on this raspberry pi. I don't know what I'm doing wrong.
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @nlewo merged pull request #84388 → searx: 0.15.0 -> 0.16.0 → https://git.io/JvNuH
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvxGZ
anirrudh has quit [Ping timeout: 256 seconds]
jakobrs has quit [Quit: WeeChat 2.7.1]
<sevanspowell> I'm wanting to do something maybe a little unusual: get the packages/haskellPackages specified in an overlay.
<sevanspowell> I've thought about creating an empty package set/haskellPackage set and applying the overlay to it.
<sevanspowell> This was easy enough to achieve for the package set, but more difficult for the hackage package set, as I use the "override" function in the specification of my overlay.
<sevanspowell> Does anyone have any ideas for getting the attribute names out of a haskellPackages overlay?
<srhb> sevanspowell: Out of an overlay? Aside from the overlay collecting them itself via naming the attrset that's eventually merged in, I don't think there's a way.
<sevanspowell> This is so I can build just the projects specified in the overlay.
revtintin has joined #nixos
<srhb> sevanspowell: (as in: let packages = ...; in packages // { specialOverlayPackages = packages }
fusion809 has joined #nixos
<sevanspowell> Thanks srhb, I think I'll just do that.
mexisme has quit [Ping timeout: 246 seconds]
max34 has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
<srhb> sevanspowell: It's a bit simple/stupid, but I think it's the cleanest way to do it from within the overlay like that. :)
<Profpatsch> selfsymmetric-mu: use the overlay.nix
LysergicDreams has quit [Ping timeout: 250 seconds]
<Profpatsch> dhall-flycheck = (import "${(fetchgit …)}/overlay.nix" pkgs pkgs).dhall-flycheck;
LysergicDreams has joined #nixos
iqubic has quit [Ping timeout: 260 seconds]
revtintin has quit [Ping timeout: 256 seconds]
jdelStrother has joined #nixos
<jdelStrother> Heya
<Profpatsch> The readme is a bit outdated I guess
<jdelStrother> What's the best / easiest way of trying a nix PR locally? (Specifically, https://github.com/NixOS/nixpkgs/pull/81442)
<{^_^}> #81442 (by manveru, 5 weeks ago, open): bundler: 1.17.3 -> 2.1.4
<srhb> jdelStrother: The simplest is probably nix-build . -A yourPackage from within the checkout
<srhb> jdelStrother: There are tools like nix-review and nixpkgs-review that might simplify things
<Profpatsch> selfsymmetric-mu: though feel free to open an issue, I’ll take a look … oh, you did
<srhb> (especially wrt. checking reverse dependencies)
iqubic has joined #nixos
<colemickens> worldofpeace_
<colemickens> worldofpeace: were you actually able to test the webrtc change btw? It builds but I don't have gnome around, nor am I familar with xdg portal stuffs.
spinus has quit [Ping timeout: 256 seconds]
<worldofpeace> what is alt worldofpeace_ doing here?
<worldofpeace> like hun, you can't sis with us
<worldofpeace> it's not you're moment
<{^_^}> [nixpkgs] @euank opened pull request #84693 → k3s: fix build for aarch64 → https://git.io/JvxGQ
<srhb> worldofpeace: Harsh!
<worldofpeace> Cole Mickens: care to show pr link?
<worldofpeace> (I look at soo many, it's hard)
<worldofpeace> srhb: it was supposed to be my moment :D
<worldofpeace> but really though, I'm not even running that irc client
<srhb> worldofpeace: ;-)
<{^_^}> [nixpkgs] @hedning opened pull request #84694 → Gnome 3.36.1 → https://git.io/JvxGd
<worldofpeace> yeah hedning with gnome 3.36.1 ✨
<{^_^}> #84233 (by colemickens, 4 days ago, open): firefox: add pipewire patch for wayland users
<colemickens> IT seems like the xdg-desktop-portal-wlr PR has some usage instructions, and I pkg it already in my overlay, so maybe I can give it a shot with sway.
<worldofpeace> does anyone know how I can check who is identified as who and such? I need to find out whyworldofpeace_ is here
<worldofpeace> Cole Mickens: I tried building it and it actually failed weirdly
<worldofpeace> (firefox)
<hyper_ch> whois worldofpeace_
maddo has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #84695 → Gnome 3.36.1 staging → https://git.io/JvxZk
<{^_^}> [nixpkgs] @jonringer closed pull request #84669 → python3Packages.py3to2: fix metadata for repology → https://git.io/JvAjM
dermetfan has joined #nixos
mallox has quit [Quit: WeeChat 2.7.1]
mallox has joined #nixos
<pjt_014> hey I made a nice thing
<pjt_014> ls /nix/var/nix/gcroots/auto/ -g | grep -Eo '/.*' | sort | xargs -I _ sh -c 'echo _ -\>; realpath _; echo'
<pjt_014> tadaaaaa~aaa
<pjt_014> slightly ugly but the output is pretty and that's what matters :))
<Emantor> Lots of no such file or directory D:
<leonardp> pjt_014: i get a lot of "no such file or directory"
<pjt_014> is realpath telling you that?
<Emantor> indeed.
est31 has quit [Remote host closed the connection]
<pjt_014> does it do the same thing if you replace it with readlink?
est31 has joined #nixos
<pjt_014> readlink seems to not care about errors as much
<andydarcyjewell> Hi, I'm reading throught the nix pills, but can't seem to run the repl. It's a fresh install, but ~/.nix-profile/etc/profile.d/nix.sh won't run, and obviously I need to use this to progress through the "Pills".
<{^_^}> [nixpkgs] @hedning opened pull request #84697 → gnome3.gnome-remote-desktop: 0.1.7 -> 0.1.8 → https://git.io/JvxZz
linarcx has quit [Quit: WeeChat 2.8]
toasty_avocados has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #84675 → nixos/gnome-remote-desktop: enable pipewire → https://git.io/JvxJn
<{^_^}> [nixpkgs] @jtojnar pushed commit from @worldofpeace to master « nixos/gnome-remote-desktop: enable pipewire »: https://git.io/JvxZw
asheshambasta has joined #nixos
<pjt_014> andydarcyjewell: where are you in them?
<asheshambasta> I'm trying to override the compiler used in a derivation, is there a wiki on this?
<andydarcyjewell> pjt_014: I've just started chapter 5, but first noticed it in chapter 4, thinking I'd solve it later. I guess later has arrived ;-)
linarcx has joined #nixos
snicket has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #84698 → gnome2 cleanups → https://git.io/JvxZM
<{^_^}> [nixpkgs] @vbgl merged pull request #83994 → alt-ergo: 2.3.1 → 2.3.2 → https://git.io/Jvd0Z
<{^_^}> [nixpkgs] @vbgl pushed to master « alt-ergo: 2.3.1 → 2.3.2 »: https://git.io/JvxZH
isHavvyGhosting has quit [Read error: Connection reset by peer]
<pjt_014> asheshambasta: there is this page which *may* be obsolete because nothing I know of links to it: https://nixos.wiki/wiki/NixOS:Properties
isHavvyGhosting has joined #nixos
chloekek has joined #nixos
<pjt_014> but anyway if you know how to define something (for example as foo = "bar";) you change that to foo = mkOverride 0 "bar";
<pjt_014> you *may* need to make that pkgs.lib.mkOverride or something too. Sorry, I've only ever done this like twice. :\
<pjt_014> andydarcyjewell: what does `nix repl` do?
<andydarcyjewell> Ah! that's it. I thought it had a dash in it. Working now, thanks for your patience.
<andydarcyjewell> Sometimes you just can't see for looking.
thc202 has joined #nixos
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « alt-ergo: 2.3.1 → 2.3.2 »: https://git.io/JvxnU
zaeph1 is now known as zaeph
orivej has joined #nixos
kolby_ has joined #nixos
kolbycrouch has quit [Ping timeout: 252 seconds]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
rauno has quit [Remote host closed the connection]
drvirgilio has quit [Remote host closed the connection]
<xfix> interesting, the newest April Fools xkcd comic used Nix for deployment purposes (using dockerTools to create a Docker image)
doublej472 has quit [Ping timeout: 246 seconds]
doublej472 has joined #nixos
drvirgilio has joined #nixos
o1lo01ol1o has joined #nixos
arjen-jonathan has joined #nixos
magnetophon has joined #nixos
max34 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Valodim[m]> nice :)
__monty__ has joined #nixos
<asheshambasta> https://github.com/lspitzner/brittany/blob/master/release.nix - if I want to override compiler and I use import "${src}/release.nix" { compiler = "ghc865" }; and nix reports the attribute "ghc865" is missing what am I doing wrong?
<typetetris> Where can I look, wether a package was already built by hydra on release-20.03?
<xfix> https://github.com/xkcd/maple - curiously, according to GitHub, there is more Nix code than Haskell code
<asheshambasta> and what does the attribute-missing error mean?
<xfix> but I guess that's mostly due to automatically generated `node-packages.nix`
o1lo01ol1o has joined #nixos
<asheshambasta> from reading the release.nix derivation, I can see that it is an anon. function that accepts a compiler attribute as an optional string which has a default value of "ghc822"
domogled has joined #nixos
thibm has joined #nixos
huevo5050 has quit [Ping timeout: 240 seconds]
Neo-- has quit [Ping timeout: 265 seconds]
linarcx has quit [Quit: WeeChat 2.8]
noudle has joined #nixos
turion has joined #nixos
<turion> Do firefox screenshots work for you?
<{^_^}> [nixpkgs] @nyanloutre opened pull request #84699 → nginx-sso: 0.24.0 -> 0.24.1 → https://git.io/Jvxc4
morgrimm has joined #nixos
<thibm> I noticed something strange: command-not-found.pl hardcodes the channel as `nixos' in the output messages. The database is configurable and defaults to root's nixos channel database
<thibm> But: I've found a program (lutris) which is in the database, but not available in this channel
<{^_^}> [nixpkgs] @gebner merged pull request #84583 → qalculate-gtk: 3.8.0 -> 3.8.0a → https://git.io/JvAgZ
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JvxcR
<thibm> Looking manually in the database shows entry for this program, but nix-env -iA nixos.lutris fails.
morgrimm has quit [Ping timeout: 258 seconds]
bukkitgerman860 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Profpatsch opened pull request #84700 → Bazel fix test file paths → https://git.io/JvxcV
notgne2 has quit [Quit: ZNC 1.7.4 - https://znc.in]
notgne2 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #84701 → cheat: 3.8.0 -> 3.9.0 → https://git.io/JvxcX
<{^_^}> [nixpkgs] @hedning merged pull request #84697 → gnome3.gnome-remote-desktop: 0.1.7 -> 0.1.8 → https://git.io/JvxZz
<{^_^}> [nixpkgs] @hedning pushed to master « gnome3.gnome-remote-desktop: 0.1.7 -> 0.1.8 (#84697) »: https://git.io/JvxcD
<jtojnar> is it possible to use expressions with nix run? Like `nix-shell -p '(python3.withPackages (pp: with pp; [ requests ]))'`
<{^_^}> [nixpkgs] @Mic92 merged pull request #84595 → zfs: fix build against 5.6 → https://git.io/JvArX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvxcy
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to zfs: https://git.io/JvxcS
<jtojnar> I can do that by inserting `with import <nixpkgs> {};` into the expression but that is verbose
<jtojnar> for my taste
<{^_^}> [nixpkgs] @Mic92 merged pull request #84701 → cheat: 3.8.0 -> 3.9.0 → https://git.io/JvxcX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvxcF
civodul has joined #nixos
markus1189 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #84702 → bettercap: 2.26.1 -> 2.27 → https://git.io/JvxCT
<{^_^}> [nixpkgs] @purcell opened pull request #84703 → docker-credential-gcr: 1.4.3 -> 2.0.1 → https://git.io/JvxCL
revtintin has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
sigmundv_ has joined #nixos
rauno has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
anirrudh has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
anirrudh has quit [Ping timeout: 260 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.32.3 -> 1.33.0 »: https://git.io/JvxCi
bukkitgerman860 has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #84705 → [20.03] signal-desktop: 1.32.3 -> 1.33.0 (backport) → https://git.io/JvxCQ
<{^_^}> [nixpkgs] @Mic92 pushed to acpi-call « linuxPackages.acpi-call: switch to nix-community fork »: https://git.io/JvxC7
ottidmes has joined #nixos
xelxebar has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noudle has quit []
fendor has quit [Ping timeout: 250 seconds]
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #84706 → jellyfin: 10.5.2 -> 10.5.3 → https://git.io/JvxWB
<{^_^}> [nixpkgs] @zowoq opened pull request #84707 → [20.03] gitAndTools.gh: 0.5.3 -> 0.6.4 → https://git.io/JvxW2
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 4.0.0.12 -> 4.0.0.13 »: https://git.io/JvxWi
<{^_^}> [nixpkgs] @nlewo merged pull request #84436 → minizincide: 2.4.2 -> 2.4.3 → https://git.io/JvN1r
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvxW9
<{^_^}> [nixpkgs] @primeos pushed to master « gns3-{gui,server}: 2.2.6 -> 2.2.7 »: https://git.io/JvxWH
zupo has joined #nixos
pbogdan has joined #nixos
anirrudh has joined #nixos
Neo-- has joined #nixos
<wedens[m]> I'm using lorri and I'm trying to define a shell function in shellHook in shell.nix. I've added `eval "$shellHook"` to .envrc but function is not defined. If I put `echo` in the hook, it prints
fendor has joined #nixos
<wedens[m]> it probably uses different shell after .envrc execution without propagating definitions. is there a workaround?
anirrudh has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #84400 → nomad: 0.10.2 -> 0.10.5 → https://git.io/JvNaU
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/Jvxlk
jjakob has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<wedens[m]> alright, I'll just make derivation with the script and add it to buildInputs
<{^_^}> [hydra] @basvandijk opened pull request #733 → Separate the build IDs in the build_finished payload with tabs → https://git.io/Jvxl4
Neo-- has quit [Ping timeout: 240 seconds]
jdelStrother has quit [Ping timeout: 240 seconds]
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
never_released has joined #nixos
<betaboon> wedens[m]: take a look at this issue https://github.com/direnv/direnv/issues/73
<{^_^}> direnv/direnv#73 (by pwaller, 6 years ago, open): Picking up aliases and functions
gulplante has quit [Ping timeout: 260 seconds]
gulplante has joined #nixos
markus1199 has joined #nixos
knupfer1 has joined #nixos
<betaboon> can arion be used to build dockerimages with nixos-services without running them with docker-compose ?
markus1189 has quit [Ping timeout: 258 seconds]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
<{^_^}> [hydra] @basvandijk merged pull request #733 → Separate the build IDs in the build_finished payload with tabs → https://git.io/Jvxl4
<{^_^}> [hydra] @basvandijk pushed 2 commits to master: https://git.io/Jvx8q
<{^_^}> [nixpkgs] @primeos merged pull request #84671 → chromium: 80.0.3987.163 -> 81.0.4044.92 → https://git.io/JvAjb
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/Jvx8Z
<betaboon> roberth: can i use arion to just build dockerimages using nixos-services that i can then use somewhere else ?
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « python3.pkgs.libmodulemd: init bindings »: https://git.io/Jvx8W
rardiol_ has quit [Ping timeout: 250 seconds]
Havvy has joined #nixos
isHavvyGhosting has quit [Ping timeout: 260 seconds]
<betaboon> or does anyone have a good pointer on how to build docker-images which use nixos-services ?
gulplante has quit [Ping timeout: 256 seconds]
<manveru> betaboon: https://github.com/notgne2/continix maybe
<betaboon> manveru: ouh thanks. gonna look at that. looked at https://github.com/cloudwatt/nix-container-images and arion and some of the other issues already. the story doesnt seem quite clear atm
gulplante has joined #nixos
pbogdan has quit [Remote host closed the connection]
jjakob has joined #nixos
<betaboon> manveru: looks interesting but doesnt reuse nixos-service-modules :(
<roberth> betaboon: I think `arion build` does what you want
pbogdan has joined #nixos
<roberth> you might want to inspect the generated compose file too, to make sure you have all the settings, `arion cat` or `arion config`
<{^_^}> [nixpkgs] @petabyteboy merged pull request #84621 → grantlee: 5.1.0 -> 5.2.0 → https://git.io/JvASU
<{^_^}> [nixpkgs] @petabyteboy pushed to master « grantlee: 5.1.0 -> 5.2.0 (#84621) »: https://git.io/Jvx89
<{^_^}> [nixpkgs] @petabyteboy merged pull request #84622 → kdeFrameworks: 5.66 -> 5.68 → https://git.io/JvASO
<{^_^}> [nixpkgs] @petabyteboy pushed to master « kdeFrameworks: 5.66 -> 5.68 (#84622) »: https://git.io/Jvx85
<betaboon> roberth: my goal is to build docker images that use the nixos-services and use those images with terraform. does that sound possible with what you're suggesting ?
pjt_014 has quit [Ping timeout: 256 seconds]
<roberth> betaboon: possibly. It depends on which privileges you have on the docker host
<{^_^}> [nixpkgs] @Infinisil merged pull request #84129 → Support removing python from zfs/grub closure → https://git.io/JvF0K
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/Jvx8A
<srhb> betaboon: Wasn't there a presentation on this at 2019 NixCon?
<srhb> But that might have been exactly compose, I don't recall...
<betaboon> srhb: the presentation on arion by roberth ? just saw that :)
<srhb> Oh. Nevermind me. :D
cybrian has joined #nixos
<betaboon> roberth: for now i got full permissions. are you asking because of the requirement of running --privileged for systemd ?
<betaboon> srhb: still thanks :)
<roberth> betaboon: that's pretty much the reason yeah
iyzsong has joined #nixos
<roberth> betaboon: perhaps s6 can solve that if necessary. It tries to approximate systemd https://github.com/cloudwatt/nix-container-images#systemd-support-for-nixos-modules-
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<roberth> integrating that with arion would be really nice for your local testing
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
<betaboon> roberth: yeah thats what i have been looking at nix-container-images. seems most promising atm.
cybrian has quit [Ping timeout: 256 seconds]
never_released has joined #nixos
<betaboon> but if i can use that for building the docker images i dont see the benefit of using arion in my situation, as i am using terraform to create the containers
<roberth> betaboon: you get quicker builds during image development when you set `useHostStore = true`
morgrimm has joined #nixos
<betaboon> ah i see :)
<roberth> betaboon: an init system integration in 42 lines here: https://github.com/hercules-ci/arion/blob/master/src/nix/modules/service/nixos-init.nix
<niso> assuming i'm deploying 2 nodes (nixops). one of them is a DNS server for the other. How would i wait on the second node till the first ones DNS server is ready?
<niso> by writing a systemd service?
<roberth> betaboon: and you don't have to fork arion until you want to upstream it; just do `imports = [ ./nixos-s6.nix]` or similar at the service level
chagra_ has quit [Quit: WeeChat 2.7.1]
<betaboon> roberth: thanks for the pointers. i will look into it :)
morgrimm has quit [Ping timeout: 256 seconds]
<manveru> niso: make sure it retries until the dns is up? also helps when you reboot that server or it fails for some other reason :)
<{^_^}> [nixpkgs] @primeos merged pull request #84705 → [20.03] signal-desktop: 1.32.3 -> 1.33.0 (backport) → https://git.io/JvxCQ
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/Jvx4W
shafox has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #84708 → [19.09] signal-desktop: 1.32.3 -> 1.33.0 (backport) → https://git.io/Jvx40
jjakob has quit [Ping timeout: 265 seconds]
magnetophon has quit [Ping timeout: 240 seconds]
Khetzal has quit [Ping timeout: 240 seconds]
jjakob has joined #nixos
Khetzal has joined #nixos
lunik1 has left #nixos [":x"]
lunik1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ZoomZoomZoom has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/16d0add2fd0 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<niso> manveru: alright, thanks!
<ZoomZoomZoom> Hi. Anyone using Plasma here? Can't access smb:// from Dolphin. Installed dolphin-plugins and kdeApplications.kio-extras but it didn't help. "Unable to create io-slave. klauncher said: Unknown protocol 'smb'""
o1lo01ol1o has joined #nixos
<hyper_ch> why not mount it locally?
<ZoomZoomZoom> hyper_ch, I could mount it with systemd of course, but the problem at hand is Dolphin not cooperating. It has the ability, it should work.
<hyper_ch> mount it with systemd so that it only mounts when you access the folder
<{^_^}> [nixpkgs] @primeos opened pull request #84709 → [19.09] chromium: 80.0.3987.163 -> 81.0.4044.92 (backport) → https://git.io/JvxB8
<hyper_ch> that's what I do and dolphin has no problems with that
<{^_^}> [nixpkgs] @flokli merged pull request #84663 → notmuch: add separate `emacs` output → https://git.io/JvAx5
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JvxB4
<hyper_ch> fish://user@remote also works fine in dolphin... never tries smb though
<ZoomZoomZoom> gvfs worked fine with pcmanfmqt, I'd like to make it work for KDE.
<{^_^}> [nixpkgs] @primeos merged pull request #84708 → [19.09] signal-desktop: 1.32.3 -> 1.33.0 (backport) → https://git.io/Jvx40
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/JvxBu
<hyper_ch> ZoomZoomZoom: https://paste.simplylinux.ch/view/raw/62170246 that's what I use
chagra has joined #nixos
<ZoomZoomZoom> hyper_ch, Thanks, that's what I use for permanent mounts too. I'm just interested in making browsing available shares work.
kiloreux_ has quit [Ping timeout: 256 seconds]
<hyper_ch> no idea
o1lo01ol1o has quit [Remote host closed the connection]
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 3 commits to release-20.03: https://git.io/JvxBi
<hyper_ch> I can't think of non-permanent samba mounts
kleisli has quit [Remote host closed the connection]
vk3wtf has quit [Quit: WeeChat 2.7.1]
kleisli has joined #nixos
vk3wtf has joined #nixos
kahiru has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
cosimone has joined #nixos
kiloreux has joined #nixos
kleisli has quit [Remote host closed the connection]
never_released has quit [Remote host closed the connection]
fenedor has joined #nixos
kleisli has joined #nixos
never_released has joined #nixos
o1lo01ol1o has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #84666 → palp: correct metadata for repology → https://git.io/JvAjB
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvxBb
Elorm[m] has joined #nixos
cosimone has quit [Quit: Terminated!]
o1lo01ol1o has quit [Remote host closed the connection]
andydarcyjewell has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
andydarcyjewell2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<hyper_ch> ZoomZoomZoom: well, that example mounts the smb shares when you enter the folder... so pretty convenient :) but I can't think of "non-permanent" samba shares
<{^_^}> [nixpkgs] @nh2 merged pull request #84382 → openblas: Add `singleThreaded` option. Off by default. → https://git.io/JvNEg
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JvxBj
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JvxRJ
andydarcyjewell2 has joined #nixos
rauno has quit [Remote host closed the connection]
kahiru has joined #nixos
<syd> Hi peeps
syd has joined #nixos
<{^_^}> [nixos-homepage] @zimbatm pushed to zimbatm-patch-1 « Update discourse.tt »: https://git.io/JvxRm
<syd> I'm having trouble with getting zsh completion set up for my nix package
<{^_^}> [nixos-homepage] @zimbatm opened pull request #385 → Update discourse.tt → https://git.io/JvxRY
<syd> Has anyone had to deal with this yet?
<syd> or any resources for me?
<syd> This is what I currently do
<syd> but when I press 'tab' in zsh it doesn't complete
<syd> for bash it works ...
<ZoomZoomZoom> I mean just entering 'smb://server/' and seeing the list of available shares in a file browser
domogled has quit [Remote host closed the connection]
Guest50566 has quit [Quit: ZNC 1.7.3 - https://znc.in]
anirrudh has joined #nixos
<{^_^}> [nixos-homepage] @edolstra merged pull request #385 → Update discourse.tt → https://git.io/JvxRY
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/JvxRC
fendor_ has joined #nixos
kaychaks has joined #nixos
<asheshambasta> https://gist.github.com/asheshambasta/3fa7a2a1b5f69eb378f88d6b58530cc4 I'm trying to add a particular entry to haskell.packages, but this fails with the error indicated in the gist.
kaychaks is now known as Guest33784
<asheshambasta> I'm unable to understand the error, however.
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #84711 → matcha: 2020-04-03 -> 2020-04-08 → https://git.io/JvxRu
johnjay has quit [Ping timeout: 256 seconds]
kaliumxyz has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
syd has quit [Quit: Connection closed]
Neo-- has joined #nixos
spinus has joined #nixos
anirrudh has quit [Ping timeout: 240 seconds]
captn3m0 has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
<ZoomZoomZoom> I try to set up sharing with Windows guest on libvirt via samba. I've added the usual part to the guest xml but now qemu can't find smbd (it looks at /usr/sbin/smbd). qemu itself has a dedicated switch for this, and I see it's used in nixpkgs (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/qemu/default.nix#L165)
<ZoomZoomZoom> But I'm not sure if this module is used at all when using libvirt
<ZoomZoomZoom> How can I add the necessary switch to qemu launched by libvirt?
<hyper_ch> windows guest needs to access folder on host? or host needs to access folder on windows guest?
<ZoomZoomZoom> windows guest access folder on host
<hyper_ch> I just added it through virt-manager
<hyper_ch> and then installed the virt-io guest tools
<{^_^}> [nixpkgs] @peti opened pull request #84712 → Update Haskell package set to LTS 15.7 (plus other fixes) → https://git.io/JvxRF
<hyper_ch> and for windows home I think I had to enable some smb staff in the optional software section
morgrimm has joined #nixos
<est31> why is this not being merged? https://github.com/NixOS/nixpkgs/pull/67725
<{^_^}> #67725 (by matthewbauer, 31 weeks ago, open): LIBCLANG_PATH hook
<gchristensen> est31: looks like it needed to be repointed to staging and matthewbauer didn't do it
<est31> gchristensen: if I file a new version of it that points to staging?
<est31> would that get it merged?
<gchristensen> est31: it would stand a much better chance of merging at least :)
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
johnjay has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #84713 → [20.03] gn: 20190403 -> 2020-03-09 (backport) → https://git.io/Jvx09
<FRidh2> est31: it just needs a review/approval
<FRidh2> there are by the way quite a lot of changes for staging that could use a review
cosimone has joined #nixos
<FRidh2> I think there are 50+ open by now
<{^_^}> [nixpkgs] @marsam opened pull request #84714 → ripgrep-all: 0.9.3 -> 0.9.5 → https://git.io/Jvx0F
anirrudh has joined #nixos
<ZoomZoomZoom> hyper_ch, This is not exactly an answer to my question, but thanks anyway. I may end up using that when I give up :)
<hyper_ch> just letting you know how I made it work
<hyper_ch> priority 1: get it to work
<hyper_ch> priority 2: make it pretty
<{^_^}> [nixpkgs] @marsam merged pull request #84672 → unrar: 5.9.1 -> 5.9.2 → https://git.io/Jvxe4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxEk
mlatus has quit [Remote host closed the connection]
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #84715 → monolith: init at 2.2.2 → https://git.io/JvxEW
<ZoomZoomZoom> hyper_ch, You may be right, but let's say I'm at the stage 2 already.
<hyper_ch> well, good luck :)
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<hyper_ch> oh... also I need to check what smb changes were in the last 2 months or so on nixos... upgrading to latest unstable causes issues at the other office with windows clients
<ZoomZoomZoom> I'm not familiar with nix syntax ATM, could anyone tell me how to use those options at the head of this module: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/qemu/default.nix#L165
<asheshambasta> if I understand correctly, release.nix is a function that accepts 2 params, a pkgs set, and a compiler text. It has defaults in either case. I'd like to be able to supply it with a pkgs using channel 18.09 but with a new key added under haskell.packages.
<ZoomZoomZoom> There's a bunch of stuff with '? false' there, I'm not sure how to set them to true. They are not in nixos options list
kleisli has quit [Remote host closed the connection]
kiloreux has quit [Remote host closed the connection]
justanotheruser has joined #nixos
<asheshambasta> I'm talking about release.nix from here: https://github.com/lspitzner/brittany/blob/master/release.nix
kleisli has joined #nixos
arjen-jonathan has quit [Ping timeout: 265 seconds]
<sphalerite> ZoomZoomZoom: that's a package expression, which is "composed" (has all its arguments filled in) by callPackage
<sphalerite> ZoomZoomZoom: callPackage also adds an "override" function to the result
<asheshambasta> and I've tried this so far but to no avail: https://gist.github.com/asheshambasta/3fa7a2a1b5f69eb378f88d6b58530cc4
<sphalerite> ZoomZoomZoom: the override function allows replacing arguments, so you could e.g. use `pkgs.qemu.override { smbdSupport = true; }` (if you have `pkgs` in your scope)
<ikwildrpepper> asheshambasta: you are passing haskell attribute to nixpkgs import at: https://gist.github.com/asheshambasta/3fa7a2a1b5f69eb378f88d6b58530cc4#file-brittany-nix-L11
<ikwildrpepper> that's where the error comes from, haskell is not expected
<ZoomZoomZoom> sphalerite, Ah, thanks. Will try
romildo has joined #nixos
<asheshambasta> ikwildrepepper: that is still not clear to me. My intention there is to add the ghc865 key to the imported pkgs under its haskell.packages set.
zupo has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #84702 → bettercap: 2.26.1 -> 2.27 → https://git.io/JvxCT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvxE6
samrose has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #83249 → nixos/release-combined.nix: fix tested/supportedSystems (master version of #82886) → https://git.io/Jvy0L
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/JvxED
<romildo> Is there any guidelines on how to name attributes in function arguments? Should camelCase or snake_case be used? Or is it irrelevant?
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JvxE9
hyper_ch has quit [Ping timeout: 264 seconds]
<bqv[m]> from what i've seen of nix, camelcase is preferred in almost every scenario
<bqv[m]> besides store path basenames, which are dash delimited
<ikwildrpepper> asheshambasta: I don't know much about haskell in nixpkgs, so don't know how best to add ghc865. It doesn't seem to be in the nixpkgs that the brittany project uses in nixpkgs
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-19.09 « linux: 5.4.30 -> 5.4.31 »: https://git.io/JvxEb
<ikwildrpepper> is it in a newer nixpkgs? if so, you could use a different nixpkgs and pass that into the release.nix function
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-20.03: https://git.io/JvxEN
<{^_^}> [nixpkgs] @peterhoeg opened pull request #84716 → g15daemon: init at 1.9.5.3 → https://git.io/JvxEx
<asheshambasta> ikwildrpepper: yes, I've tried passing a newer nixpkgs and while that works, the build still fails since some tests fail due to newer dependencies in the newer nixpkgs.
cr4y1_ has quit [Ping timeout: 258 seconds]
<asheshambasta> the idea here was to just use the nixpkgs used by brittany but with a newer ghc version being available to it.
<{^_^}> [nixpkgs] @bennofs opened pull request #84717 → nixos/release-combined.nix: test hibernate only on x86_64 → https://git.io/Jvxue
<ikwildrpepper> asheshambasta: again, no haskell expert here, but wouldn't that just give you the same dependency issue?
<ikwildrpepper> (most likely)
<asheshambasta> not sure, my understanding is that only the compiler version is newer and the rest of the dependencies are the same
phreedom_ has joined #nixos
<{^_^}> [nixpkgs] @kevincox merged pull request #84706 → jellyfin: 10.5.2 -> 10.5.3 → https://git.io/JvxWB
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/Jvxuk
dermetfan has joined #nixos
phreedom has quit [Ping timeout: 240 seconds]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @snglth opened pull request #84718 → tremc: init at 0.9.1 → https://git.io/Jvxul
o1lo01ol1o has quit [Remote host closed the connection]
<bqv[m]> does anyone here have NAT configured?
<bqv[m]> i'd like to configure it, to forward all traffic from one of my server's IPs to another local IP
remirol is now known as lorimer
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv[m]> muchas gracias!
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
gustavderdrache has joined #nixos
<niso> bqv[m]: yw, note: writing tests for that is more work than expected (due to things like node-startup-order)
<{^_^}> [patchelf] @pespin opened pull request #198 → Update doc to describe multiple filename args allowed → https://git.io/JvxuK
<asymmetric> are channels configured in configuration.nix?
<gchristensen> no
<mallox> hi, how can I add a custom file to a package using override? thanks!
<mallox> (i'm thinking about distribution/policies.js to deploy a custumized firefox)
<spinus> asymmetric: no, but you can bind configuration.nix to specific nixpkgs version
<mallox> asymmetric: have a look at the option system.stateVersion = "..."
<gchristensen> mallox: that doesn't do it either
<gchristensen> ,stateversion
<{^_^}> Changing stateVersion doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you need to change stateVersion for some odd reason regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value
romildo has quit [Quit: Leaving]
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
never_released has joined #nixos
o1lo01ol1o has joined #nixos
<mallox> gchristensen: you're right, thanks for the clarification
<gchristensen> yep!
mojjo has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #84681 → xpra: 3.0.7 -> 3.0.8 → https://git.io/JvxTA
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jvxzs
<mojjo> I've built this '*2nix' tool for purescript: https://github.com/thought2/spago2nix-ree My main motivation was that dependency resolution is done by nix - so that only actual project sources have to be rebuilt if something changes. Once one of its dependencies is built it's in the nix store and you never have to build it again. It works! But there's
<mojjo> one huge problem:The actual evaluation phase is very long. For a project with about 10 dependencies one rebuild (without any code change) already takes one minute. No good :)It's really just evaluation, the dependencies don't get rebuilt or so. Tbh, I thought that this would not happen because of the lazy evaluation and 'caching' of derivations in
<mojjo> the nix store. Is there anything that I can do to that? The recursive build function can be found here: https://github.com/thought2/spago2nix-ree/blob/master/build-package.nix#L16
<asymmetric> spinus: and the channel installed is the one that corresponds to the nixos release?
<asymmetric> so nixos-19.09 will configure the nixos-19.09 channel, and so on
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<morgrimm> Anyone know if there's a specific way to use custom python package indexes for python2nix? or is setting the env var enough?
<{^_^}> [patchelf] @edolstra merged pull request #198 → Update doc to describe multiple filename args allowed → https://git.io/JvxuK
<{^_^}> [patchelf] @edolstra pushed 2 commits to master: https://git.io/Jvxzn
<{^_^}> [nixpkgs] @contrun opened pull request #84719 → fix typo: inird -> initrd → https://git.io/Jvxzl
gulplante has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @edolstra opened pull request #3478 → Downloader: Only write data to the sink on a 200 response → https://git.io/Jvxz4
vykook has quit [Quit: ZNC - http://znc.in]
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
gulplante has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3468 → Make function arguments retain position info → https://git.io/Jvd5d
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jvxzu
never_released has joined #nixos
<ottidmes> mojjo: a lot of caching in Nix is based on files, importing the same file will make use of the cache of subsequent imports, you might want to implement your own caching for the packages if there is a lot of shared dependencies, another thing is that it will still have to produce the derivation to see if anything changed and needs to be rebuilt, so if producing the derivation is costly, it will still
<ottidmes> take time, regardless of its outputs already being in the nix store
vykook has joined #nixos
anirrudh has quit [Ping timeout: 250 seconds]
jco has joined #nixos
<ZoomZoomZoom> sphalerite, So I've managed to pass the override with nixpkgs.overlays, and the system rebuilt qemu, it launches with the appropriate smb options, but libvirt still gives me the same error. Does it use another binary for qemu? How can I check it?
romildo has joined #nixos
<ZoomZoomZoom> To clarify, launching qemu-kvm with '-net user,smb=/share' works, but the same option added to libvirt xml results in error "could not find /usr/sbin/smbd", which was specifically overriden for qemu..
<ij> is it possible to set up network managre connections without making NM connect? I want to set up a bunch of them in a script, so it can connect to any if I'm around one.
<ij> I'm not sure which channel I could ask
reallymemorable has quit [Quit: reallymemorable]
kleisli has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed to acpi-call « linuxPackages.acpi-call: switch to nix-community fork »: https://git.io/JvxzQ
<srk> /win 58
<srk> oop
zupo has joined #nixos
<ZoomZoomZoom> Oh, snap. Libvirt specifically avoids using system qemu-kvm... https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/libraries/libvirt/default.nix
kleisli has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #84717 → nixos/release-combined.nix: test hibernate only on x86_64 → https://git.io/Jvxue
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-20.03: https://git.io/Jvxzx
<srk> ij: all the configs are just text files so yes
vykook has quit [Ping timeout: 256 seconds]
jco has quit [Quit: WeeChat 2.7]
kleisli has quit [Remote host closed the connection]
domogled has joined #nixos
kleisli has joined #nixos
<ZoomZoomZoom> I'm not really sure what's libvirt using, but it says "do not use "''${qemu_kvm}/bin/qemu-kvm""
<jonge[m]> hey there, i use `pkgs.recurseIntoAttrs` on my attrsets to make `nix-instantiate` and `nix-build` recurse into them. but now i realized that hydra doesn't like that. hydra emits evaluation errors like `in job ‘initrds.recurseForDerivations’: unsupported value: true`. is that something that i need to filter out before letting hydra look at it?
vykook has joined #nixos
gulplante has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @jtojnar merged pull request #84458 → librsvg: fix build on darwin → https://git.io/JvNdM
<{^_^}> [nixpkgs] @jtojnar pushed commit from @marsam to master « librsvg: fix build on darwin »: https://git.io/JvxgI
<sphalerite> ZoomZoomZoom: https://github.com/NixOS/nixpkgs/blob/d6fa6426088f377dca81af1526c0154789850bc7/nixos/modules/virtualisation/libvirtd.nix#L193-L195 it seems you need to set virtualisation.libvirtd.qemuPackage
knupfer has quit [Remote host closed the connection]
gulplante has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @mikesperber opened pull request #84720 → Unbreak tensorflow haskell 1 → https://git.io/Jvxgm
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
Ralith_ has quit [Ping timeout: 250 seconds]
never_released has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
Ralith_ has joined #nixos
vykook has quit [Ping timeout: 264 seconds]
reallymemorable has joined #nixos
vykook has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #84698 → gnome2 cleanups → https://git.io/JvxZM
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/JvxgX
<ZoomZoomZoom> sphalerite, Huh, I've checked my config and libvirt.qemuPackage was set to kvm, not qemu_kvm.
mexisme has joined #nixos
<ZoomZoomZoom> thanks a lot, now it launches without errors
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<srk> ij: there's #nm channel
<ij> I was thinking it was probably going to be empty, because gnome has their own IRC servers... boy, I was wrong
<{^_^}> [nixpkgs] @Mic92 pushed to acpi-call « linuxPackages.acpi-call: switch to nix-community fork »: https://git.io/Jvxgx
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has quit [Ping timeout: 265 seconds]
vykook has quit [Ping timeout: 256 seconds]
mananamenos has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
vykook has joined #nixos
cosimone has quit [Quit: Terminated!]
LysergicDreams has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @talyz opened pull request #84721 → php.buildEnv: Don't inherit dev from the original php → https://git.io/Jvx23
LysergicDreams has joined #nixos
gulplante has quit [Quit: WeeChat 2.7.1]
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<timokau[m]> What are the differences between building aarch64 packages with a remote builder and `--option system aarch64-linux` and building them on the builder directly?
<timokau[m]> Apparently there are differences, because for the remote case I'm getting "exec format error" while the non-remote case works
anirrudh has joined #nixos
kleisli has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 258 seconds]
<timokau[m]> samueldr: I'm assuming you probably know a lot about this ^
kleisli has joined #nixos
<dhess> gchristensen: ping
zupo has joined #nixos
<clever> timokau[m]: id recomend against using `--option system`, that will break a lot of things
morgrimm has quit [Ping timeout: 240 seconds]
<clever> timokau[m]: if you use `--option system`, then your lying to nix that the LOCAL machine is aarch64, which causes builtins.currentSystem to repeat that lie, and nix will try to run aarch64 binaries (causing your issue)
vykook has joined #nixos
<clever> timokau[m]: if you use `--argstr system aarch64-linux`, then your telling nixpkgs to do an aarch64 build, and leaving the local arch intact
jbrock has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #81780 → libwebsockets: 3.2.0 -> 3.2.2; init as 4.0.0 → https://git.io/JvV3q
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/Jvx25
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #84597 → linuxPackages.acpi-call: switch to nix-community fork → https://git.io/JvArA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvx2N
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to acpi-call: https://git.io/Jvx2A
linarcx has joined #nixos
<timokau[m]> clever: Oh nice, that does work as intended. Do you know where that argstr is actually interpreted?
Ariakenom has quit [Ping timeout: 240 seconds]
visl has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to release-20.03 « linuxPackages.acpi-call: switch to nix-community fork »: https://git.io/Jvxaf
LysergicDreams has quit [Ping timeout: 250 seconds]
vykook has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @AleXoundOS opened pull request #84723 → youtube-viewer: 3.3.0 -> 3.7.5 → https://git.io/JvxaI
<timokau[m]> clever: I found it in the `argstr` documentation. Thanks again!
jbrock has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #84721 → php.buildEnv: Don't inherit dev from the original php → https://git.io/Jvx23
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JvxaL
never_released has quit [Remote host closed the connection]
never_released has joined #nixos
vykook has joined #nixos
<{^_^}> [hydra] @basvandijk opened pull request #734 → GitInput: add merge-base support → https://git.io/Jvxas
fendoer has joined #nixos
revtintin has joined #nixos
<timokau[m]> clever: Are you okay with being quoted in this commit message: https://github.com/nix-community/aarch64-build-box/pull/85
<{^_^}> nix-community/aarch64-build-box#85 (by timokau, 18 seconds ago, open): Do not recommend overriding the currentSystem
kleisli has quit [Remote host closed the connection]
fenedor has quit [Ping timeout: 240 seconds]
<clever> timokau[m]: sure, my github username is @cleverca22
kleisli has joined #nixos
<clever> timokau[m]: and if you throw some ``` around the quote, it will keep the <clever> from irc intact
orbekk1 is now known as orbekk
<timokau[m]> clever: Better now?
<timokau[m]> Oh I haven't changed the PR text yet, just the commit message
<timokau[m]> Now
<clever> timokau[m]: much more readable :)
vykook has quit [Ping timeout: 265 seconds]
<timokau[m]> :)
never_released has quit [Remote host closed the connection]
never_released has joined #nixos
ddellacosta has joined #nixos
revtintin has quit [Ping timeout: 258 seconds]
jakobrs has joined #nixos
<jakobrs> How do you set environment variables in nix-shell shebangs?
vykook has joined #nixos
<jakobrs> nix-shell -i "VAR=value python3" is not working
<spinus> jakobrs: if you are not using `--pure`, you can do `VAR=value nix-shell -i python3`
<jakobrs> in the shebang line?
<spinus> jakobrs: mea culpa
<spinus> so maybe set as first lines in the script?
<jakobrs> it's a Flask webserver
<jakobrs> it needs the FLASK_APP environment variable to launch at all.
kaliumxyz has quit [Remote host closed the connection]
<jakobrs> But yeah, I could just write a wrapper launch.sh script
<spinus> set it before importing anything and should work, no?
<{^_^}> [nixpkgs] @Mic92 opened pull request #84724 → home-assistant: 0.107.7 -> 0.108.0 → https://git.io/Jvxa9
<benny> FRidh2: https://github.com/NixOS/nixpkgs/pull/84350 and https://github.com/NixOS/nixpkgs/pull/84354 both can't be build by grahamofborg because they don't have enough memory for the graalvm8 dependency (25GB peak based on my own compilations)
<{^_^}> #84350 (by bandresen, 3 days ago, open): babashka: 0.0.78 -> 0.0.80
<{^_^}> #84354 (by bandresen, 3 days ago, open): clj-kondo: 2020.03.20 -> 2020.04.05
<benny> so I don't know how to continue here, because they build fine, if you have the necessary resources
<benny> that information is from https://github.com/NixOS/nixpkgs/issues/83080 where it might be a good idea to offer graalvm8 as a graalvm8-bin, which is how it used to be before a big refactor in January 2020
<{^_^}> #83080 (by bandresen, 2 weeks ago, open): graalvm8: upgrade to 20.0.0
never_released has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 240 seconds]
never_released has joined #nixos
<FRidh2> benny: that's fine. Leave a comment on the thread explaining that, so the next person that reviews your PR is aware of that
<{^_^}> [nixpkgs] @jtojnar merged pull request #83163 → shortwave: init at 1.0.1 → https://git.io/JvDyC
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvxVm
Ariakenom has quit [Quit: WeeChat 2.7]
<betaboon> lewo: you around ?
<{^_^}> [nixpkgs] @petabyteboy merged pull request #84719 → fix typo: inird -> initrd → https://git.io/Jvxzl
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @contrun to master « nixos/initrd-ssh: fix typo (#84719) »: https://git.io/JvxV3
vykook has joined #nixos
revtintin has joined #nixos
<betaboon> lewo: I'm having issues using the overlay.nix of nix-container-images. i dunno if I'm doing it wrong or if something is broken
zaeph1 has joined #nixos
<bqv[m]> hey, could someone run this `nixos-option networking.firewall.extraCommands.value`
revtintin has quit [Ping timeout: 258 seconds]
<betaboon> bqv[m]: segfaults for me
<bqv[m]> figured
<lewo> betaboon: it could be broken with releases > 19.03. Which release are you using?
<bqv[m]> heh
GrimSleepless has quit [Quit: WeeChat 2.7.1]
zaeph has quit [Ping timeout: 260 seconds]
<betaboon> lewo: 20.03 . when using it with callPackage and then adding makeImage to lib via my own overlay, it works tho
contrun[m] has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
zaeph1 is now known as zaeph
vykook has quit [Ping timeout: 256 seconds]
revtintin has joined #nixos
<srk> contrun[m]: do you use custom kernel?
wavirc22 has joined #nixos
<lewo> betaboon: ok, I will try to update the release used to run the tests
<betaboon> lewo: thank you :)
srid has joined #nixos
<lewo> betaboon: however, if it's not a trivial fix, i will not have time to work on it:(
<contrun[m]> srk: Nope. `boot.kernelPackages = pkgs.linuxPackages_latest;`
<betaboon> lewo: i have a workaround. so take your time :)
<srk> contrun[m]: weird, not sure then, maybe some other part of config
<{^_^}> [nix] @edolstra merged pull request #3478 → Downloader: Only write data to the sink on a 200 response → https://git.io/Jvxz4
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JvxVd
jakobrs has quit [Quit: WeeChat 2.7.1]
vykook has joined #nixos
<contrun[m]> srk: I am pretty sure my current config works a few days before. I checked out to my last working git commit https://github.com/contrun/dotfiles/blob/master/root/etc/nixos/common.nix.
<srk> contrun[m]: which channel?
chloekek has quit [Quit: WeeChat 2.7]
revtintin has quit [Ping timeout: 256 seconds]
zeta_0 has joined #nixos
adrielus has joined #nixos
jakobrs has joined #nixos
<adrielus> hi
<contrun[m]> srk: nixos-20.09pre220217.39247f8d04c unstable. I changed my kernelPackages config, it still does not work. Also in `nix repl '<nixpkgs/nixos>'`, we I type system, the same error echoed.
<adrielus> so, im trying to include home-manager in configuration.nixand im doing literaly the same thing as a few configs i found on github
anirrudh has quit [Quit: Leaving.]
cjpbirkbeck has joined #nixos
<adrielus> (sorry for weird formating, idk why it didnt pick up my newline)
<evanjs> gah, does _anyone_ currently have `gh` working on nixos/nixpkgs?
<adrielus> Im using niv
<adrielus> I have home-manager in sources.json
<adrielus> ```{ ... }:let sources = import ./nix/sources.nix;in { imports = [ "${sources.home-manager}/nixos" ./modules ]; # ... other stuff}```
<evanjs> I know there's nixpkgs-review, that's what I'm currently using, but gh just seems to not work for pr checkouts period on nixpkgs, and it prints garbage after its output
<adrielus> and try importing it like that, but I get this error:
<adrielus> ```
<adrielus> ```building Nix...building the system configuration...error: attribute 'submoduleWith' missing, at /nix/store/pl11m7hr5d6qhfgkrcama94w9n5r1i7k-home-manager-src/nixos/default.nix:11:14(use '--show-trace' to show detailed location information)```
vykook has quit [Ping timeout: 264 seconds]
<zeta_0> yesterday i configured smsmpt in home.nix but when i try to test it out it's throwing errors, am i missing something? https://dpaste.org/iSeU
<adrielus> anyone has any idea what's causing that error?
<{^_^}> [nixpkgs] @raboof opened pull request #84727 → olive-editor 0.1.1 -> 0.1.2 → https://git.io/JvxwB
<srk> contrun[m]: quite recent, I would try bisecting if it worked before
erasmas has joined #nixos
<srk> adrielus: looks like incompatible home-manager vs nixpkgs
anirrudh has joined #nixos
vykook has joined #nixos
<selfsymmetric-mu> zeta_0: Is `/var/mail/zeta` your intended maildir, and if so has it been initialized?
<niso> zeta_0: yesterday we concluded that you can't use protonmale with smtp because you don't wait to pay for the bridge, then switched to gmail, where you got an authentication error...
<niso> *protonmail
<srhb> Anyone else experience steam failing to launch (nothing happens...) since the last 20.03 bump?
<adrielus> @srk and how can I fix it?
mallox has quit [Ping timeout: 256 seconds]
<srk> adrielus: well by either using more recent nixpkgs or downgrading home-manager
<srk> adrielus: iirc home-manager has some compatibility notes in README
<adrielus> ok, im very new to nixos (just installed it yesterday), whats the best way to switch to the latest nixpkgs?
<srk> adrielus: you can easily switch to unstable which is a tested channel
<srk> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<srk> not these :|
<srk> ,which-channel
<{^_^}> [nixpkgs] @jtojnar reopened pull request #81384 → Pipewire 0.3.0 → https://git.io/JvgwF
FRidh has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #84556 → treewide: use runtimeShell in nixos/ → https://git.io/JvAWQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvxwH
<{^_^}> [nixpkgs] @jtojnar closed pull request #81384 → Pipewire 0.3.0 → https://git.io/JvgwF
FRidh2 has quit [Ping timeout: 256 seconds]
* srk bbl
<srhb> adrielus: for what it's worth, I believe rycee maintains some release branches of home-manager that matches stable NixOS releases
<srhb> adrielus: So there's a release-19.09 one that's intended to be used with NixOS 19.09
<kraem> I'm trying to do `gopass show -c` in a script which is invoked by a pop up terminal started by i3. It doesn't have access to the clipboard it seems though. Rofi, and all other processes spawned by i3 have access to the clipboard though. Any pointers?
<srhb> adrielus: (that is, definitely not master)
<srhb> adrielus: Which may be what niv is giving you, unless you specifically requested something else.
hyper_ch has joined #nixos
mananamenos has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to vocal: https://git.io/Jvxwb
<zeta_0> selfsymmetric-mu: i have no idea, when i search the 1st error online it says that i need postfix configured, and the for the 2nd error it says i need to change the permissions? https://unix.stackexchange.com/questions/185365/mail-cannot-send-message-process-exited-with-a-non-zero-status#199834 https://askubuntu.com/questions/350853/cannot-open-mailbox-var-mail-user-permission-denied-no-mail-for-user#350900
anirrudh has quit [Quit: Leaving.]
<srhb> adrielus: So maybe, if you're on NixOS 19.09, you just need to point niv at the right branch/ref and update, so that NixOS matches home-manager? :)
<{^_^}> [nixpkgs] @Mic92 opened pull request #84728 → vocal: add missing glib-networking → https://git.io/Jvxwp
vykook has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #83400 → malcontent: 0.6.0 → 0.7.0 → https://git.io/JvSdG
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/Jvxre
revtintin has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jvxrv
<{^_^}> [nixpkgs] @Mic92 merged pull request #83858 → perlPackages.starman: add shortenPerlShebang on darwin → https://git.io/Jv5cm
<zeta_0> selfsymmetric-mu niso : the people in the #darcs channel had me run these commands to try and troubleshoot msmtp: https://dpaste.org/V9tn
<srhb> zeta_0: sendmail-esque setups usually need some sort of NixOS setup, because they all depend on root in intricate ways
<srhb> (ie. they try to deliver to some mail spool in /var/something and expect a daemon to pick it up from there)
<jakobrs> Does nixos-unstable-small wait for initrd to be built before advancing?
<srhb> There are rootless senders, but I don't remember which
<visl> I just installed nixos-20.03 from the iso yesterday and i have this config (plus more or less the default config from the install) to install sway: https://pastebin.com/U0nTu7k7 when i run sway -V --debug it hangs at Preparing Wayland server initialization before shutting my computer down. 1. does it shut my computer down? 2. how do i fix it?
<raboof> I have a nixpkgs branch in which I updated a package to the latest upstream snapshot. This was not trivial (the upstream build system changed), and not ready to be merged (there are known problems with the snapshot). Would it be helpful to submit this as a 'draft pr' so when the project releases later this can be found and used as a starting point, or would that be considered noise?
<visl> 1. Why* does it shut my computer down
<srhb> jakobrs: If it's any of these, or a transient dependency of any of these.
<zeta_0> srhb: i'll i have is smsmtp configured in home.nix, is there some other functionality that i need to setup? https://dpaste.org/9wDH
non_freethink has joined #nixos
<srhb> zeta_0: And the mail binary you're seeing is from that?
fendor_ has quit [Read error: Connection reset by peer]
<zeta_0> srhb: here's the msmtp instructions that i'm following: http://darcs.net/Using/Send
fendor_ has joined #nixos
<b42> iirc msmtp is rootless/not-sendmailesque, it talks SMTP to a configured network server
justanotheruser has quit [Ping timeout: 265 seconds]
<srhb> Understood. :)
<b42> zeta_0: maybe try disabling the syslog? not sure if non-root can do that
<jakobrs> srhb: I find nixos-rebuild switch rebuild initrd
<srhb> jakobrs: Sorry, what?
<niso> zeta_0: if i recall it correctly you got a notification from google yesterday that it prevented login?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jakobrs> I find nixos-rebuild switch has to rebuild initrd sometimes
<srhb> jakobrs: It probably (I haven't checked) depends on your system configuration in some way, making the cached version not relevant.
<jakobrs> It might be because I've got boot.kernelPackages = (import <nixos-unstable-small> {}).linuxPackages_latest;, but I'm not sure
cosimone has joined #nixos
<srhb> jakobrs: Like any sort of module that isn't used by the Hydra build.
<zeta_0> niso: well with this command it's not throwing an incorrect username or password, it just says cannot send mail: https://dpaste.org/XOQR
kleisli has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @misuzu opened pull request #84729 → kmon: 1.0.0 -> 1.0.1 → https://git.io/Jvxrc
<niso> zeta_0: thus it's actually resulting in a worse error message?
kleisli has joined #nixos
<jakobrs> srhb: My kernel setup completely trivial, except for the fact that I've got linuxPackages_latest from nixos-unstable-small
reallymemorable has quit [Quit: reallymemorable]
<zeta_0> niso: i copied my gmail password directly from firefox's emails and preferences section, so i know that the password is correct, so i'm not sure what else it could be, and ya, that message isn't very clear on why it cannot send mail
<srhb> jakobrs: Then you better share the initrd drv for analysis. Bearing in mind that _trivial_ isn't relevant, only _different_. :)
<srhb> Along with the nixpkgs rev you're expecting it to be cached for.
<niso> zeta_0: did you try to connect to gmail with another client (as recommended yesterday?)
<niso> zeta_0: since another user mentioned that there might be some gmail flag
<niso> s/flag/setting
vykook has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #84700 → Bazel fix test file paths → https://git.io/JvxcV
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/JvxrR
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @athas opened pull request #84730 → mlkit: init at 4.4.3 → https://git.io/Jvxrg
<zeta_0> niso: by another client do you mean another computer or a different software tool?
<Athas> Another SML compiler for NixOS!
<simpson> Yay?
<zeta_0> niso: i don't want to have to create another gmail account
<niso> zeta_0: some software like e.g. thunderbird - which will autoconfigure most of your settings
anirrudh has joined #nixos
<niso> zeta_0: it's to connect to your current account, not a new one - just to make sure that you can infact connect
<jakobrs> srhb: I'd love to fix this problem, but I've got other things to do, I think I'll just pretend it's not a problem and see if it goes away.
<{^_^}> [nixpkgs] @raboof opened pull request #84731 → Olive snapshot → https://git.io/Jvxr6
anirrudh has quit [Client Quit]
rardiol has joined #nixos
cole-h has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #84709 → [19.09] chromium: 80.0.3987.163 -> 81.0.4044.92 (backport) → https://git.io/JvxB8
<{^_^}> [nixpkgs] @primeos pushed 5 commits to release-19.09: https://git.io/JvxrD
jakobrs has quit [Quit: WeeChat 2.7.1]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<non_freethink> Random thought from Nix n00b - consider removing the "More .." buttons that all link to the manual. (https://nixos.org/learn.html) It makes things cluttered and confusing
turion has quit [Ping timeout: 246 seconds]
<selfsymmetric-mu> I just want to extend my gpg timeout so I don't keep having to unlock my email daemon's key so often…
<{^_^}> [nixpkgs] @cleverca22 opened pull request #84732 → device-tree_rpi: fix platforms → https://git.io/Jvxrd
<niso> zeta_0: and just to safe you some time i did a quick search: it seems like gmail does/did have a setting which is required for smtp access
<selfsymmetric-mu> non_freethink++
<{^_^}> non_freethink's karma got increased to 1
vykook has quit [Ping timeout: 256 seconds]
VexToR has joined #nixos
LysergicDreams has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos
LysergicDreams has joined #nixos
ZoomZoomZoom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #84714 → ripgrep-all: 0.9.3 -> 0.9.5 → https://git.io/Jvx0F
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @marsam to master « ripgrep-all: 0.9.3 -> 0.9.5 (#84714) »: https://git.io/Jvxof
anirrudh has joined #nixos
vykook has joined #nixos
<zeta_0> niso: ok, thunderbird just finished installing, thank you for your help, setting this email stuff up has been very painful so far
<zeta_0> niso: do i still need to set up that gmail setting? what's the link
<zeta_0> niso: so what is the gmail setting for smtp?
VexToR has quit [K-Lined]
OrangeTetra has joined #nixos
<zeta_0> niso: right now i'm signing in thunderbird with my gmail account
<niso> and it works?
kleisli has quit [Remote host closed the connection]
AmandaC_ has joined #nixos
kleisli has joined #nixos
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
never_released has joined #nixos
AmandaC__ has joined #nixos
<niso> zeta_0: i assume any of those links should be fine https://duckduckgo.com/?q=gmail+setting+smtp&ia=web
oranginal has joined #nixos
vykook has quit [Ping timeout: 258 seconds]
jbrock has quit [Ping timeout: 265 seconds]
chloekek has joined #nixos
AmandaC has quit [Ping timeout: 260 seconds]
linarcx has quit [Quit: WeeChat 2.8]
AmandaC_ has quit [Ping timeout: 240 seconds]
OrangeTetra has quit [Ping timeout: 256 seconds]
kleisli has quit [Remote host closed the connection]
LysergicDreams has quit [Ping timeout: 260 seconds]
kleisli has joined #nixos
LysergicDreams has joined #nixos
<zeta_0> niso: yes, i was able to sign into my gmail and access my email through thunderbird, so now we know that my gmail's username and password is correct
ddellacosta has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @Mic92 merged pull request #84639 → memcached: add nixos tests to passthru → https://git.io/JvAdD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvxoD
mallox has joined #nixos
lsix has quit [Quit: WeeChat 2.7.1]
<niso> zeta_0: great, now how does the auto-configuration of thunderbird differ from your msmtp setup?
OrangeTetra has joined #nixos
vykook has joined #nixos
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
mananamenos has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @devhell opened pull request #84733 → manual/rl-2009.xml: Fix literal closing tag → https://git.io/JvxoF
reallymemorable has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 265 seconds]
OrangeTetra has joined #nixos
never_released has joined #nixos
oranginal has quit [Ping timeout: 240 seconds]
OrangeTetra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #84734 → gnome3.gnome-color-management: 3.32.0 → 3.36.0 → https://git.io/JvxKf
OrangeTetra has joined #nixos
OrangeTetra has quit [Max SendQ exceeded]
<zeta_0> niso: i'm trying to find the settings tab in thunderbird, i've never used it before
OrangeTetra has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
OrangeTetra has joined #nixos
snicket has quit [Quit: WeeChat 2.7.1]
OrangeTetra has quit [Remote host closed the connection]
OrangeTetra has joined #nixos
OrangeTetra has quit [Max SendQ exceeded]
snicket has joined #nixos
snicket has left #nixos [#nixos]
snicket has joined #nixos
OrangeTetra has joined #nixos
snicket has quit [Client Quit]
vykook has quit [Ping timeout: 256 seconds]
OrangeTetra has quit [Remote host closed the connection]
<{^_^}> [nix] @domenkozar pushed to master « build.cc: improve message if home directory exists »: https://git.io/JvxK8
never_released has quit [Quit: ZNC 1.7.5 - https://znc.in]
OrangeTetra has joined #nixos
never_released has joined #nixos
<bqv[m]> why is iptables just wizardry
<bqv[m]> i've been fiddling with it for years and i still have no idea how it works
OrangeTetra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vladdy opened pull request #84735 → go_1_14: 1.14 -> 1.14.1 → https://git.io/JvxK0
OrangeTetra has joined #nixos
<niso> bqv[m]: because legacy (fun stuff like e.g. order-matters) -> which is why nftables werde merged
<bqv[m]> and yet, because i'm using nixos's networking.firewall, i can't use nftables :)
<bqv[m]> fun times
mananamenos has quit [Remote host closed the connection]
OrangeTetra has quit [Remote host closed the connection]
jbrock has joined #nixos
OrangeTetra has joined #nixos
vykook has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
rogue_koder_ has quit [Ping timeout: 256 seconds]
rogue_koder has joined #nixos
OrangeTetra has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
OrangeTetra has joined #nixos
OrangeTetra has quit [Max SendQ exceeded]
turion has joined #nixos
turion has quit [Client Quit]
OrangeTetra has joined #nixos
adrielus has quit [Remote host closed the connection]
OrangeTetra has quit [Max SendQ exceeded]
philr has quit [Ping timeout: 256 seconds]
OrangeTetra has joined #nixos
<dsx> iptables was wizardry for me for a long time too. But after few years I finally read man. It is not wizardry anymore, just shitty ui for a firewall. Nonetheless, it does what I want it to do, so no hard feelings.
rogue_koder has quit [Ping timeout: 265 seconds]
<theduke[m]> anyone know at which version Grub got luks2 support?
OrangeTetra has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #84736 → broadcom_sta: fix build on 5.6 → https://git.io/JvxKd
OrangeTetra has joined #nixos
<cole-h> theduke[m]: Unreleased, AFAIR
<theduke[m]> cole-h: shame. luks1 it is, then. ^^
<cole-h> There have been no releases since then.
OrangeTetra has quit [Remote host closed the connection]
<theduke[m]> but thanks
OrangeTetra has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
OrangeTetra has joined #nixos
drakonis has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
OrangeTetra has joined #nixos
vykook has joined #nixos
niso has quit [Ping timeout: 256 seconds]
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #84732 → device-tree_rpi: fix platforms → https://git.io/Jvxrd
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Jvx6f
OrangeTetra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @disassembler merged pull request #81442 → bundler: 1.17.3 -> 2.1.4 → https://git.io/Jv2fC
<{^_^}> [nixpkgs] @disassembler pushed 4 commits to master: https://git.io/Jvx6k
OrangeTetra has joined #nixos
mexisme has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jojosch opened pull request #84737 → dbeaver: 7.0.1 -> 7.0.2 → https://git.io/Jvx6I
<manveru> :tada:
<{^_^}> [nixpkgs] @ryantm merged pull request #84487 → postman: 7.20.0 -> 7.21.2 → https://git.io/JvNjD
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jvx6L
pbogdan has quit [Ping timeout: 250 seconds]
<cole-h> manveru++
<{^_^}> manveru's karma got increased to 33
OrangeTetra has joined #nixos
<bqv[m]> dsx: ok, hang on, maybe you can help me then
<bqv[m]> have you got a minute or two free?
<cole-h> The related issue (#78242) should probably be closed as well
<{^_^}> https://github.com/NixOS/nixpkgs/issues/78242 (by thefloweringash, 11 weeks ago, open): bundler from bundlerEnv.wrappedRuby fails with uninitialized constant Bundler::FeatureFlag
<dsx> Depends on the question.
evertedsphere has joined #nixos
<bqv[m]> I'm trying to NAT all traffic from my server's second IP to a wireguard-linked IP
<bqv[m]> but I'd also like to be able to talk to that wireguard IP directly (from the server)
OrangeTetra has quit [Remote host closed the connection]
<bqv[m]> so far I've failed to hit that first target, let alone the second
OrangeTetra has joined #nixos
<bqv[m]> I understand what I want is DNAT/MASQUERADE or DNAT/SNAT, with FORWARDing between interfaces?
vykook has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 260 seconds]
fendor_ has quit [Read error: Connection reset by peer]
<dsx> It would be much easier to answer if you could draw a simple diagram.
OrangeTetra has quit [Remote host closed the connection]
magnetophon has joined #nixos
OrangeTetra has joined #nixos
pbogdan has joined #nixos
rogue_koder has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @cleverca22 opened pull request #84738 → device-tree_rpi: fix platforms → https://git.io/Jvx6c
<zeta_0> what is a good utility to cut and past a part of the screen as a picture, and can pictures be paste binned?
rogue_koder has joined #nixos
OrangeTetra has quit [Remote host closed the connection]
<bqv[m]> internet --- zeta --- delta . Zeta has two IPs, both publicly reachable, and is wireguard connected to delta (10.0.0.3). I'd like the internet to be able to use zeta's second IP to talk to delta, but also to be able to talk directly to delta at 10.0.0.3
OrangeTetra has joined #nixos
<dsx> zeta_0: scrot can screenshot selection. As for upload, there were some scripts built around it AFAIR.
romildo has quit [Quit: Leaving]
<evertedsphere> anyone here do rust gui stuff? i'm having some trouble with wgpu-native, which is a dependency of the gui library i'm using
<manveru> zeta_0: fireshot
<evertedsphere> (and i think it's nixos-related)
<manveru> zeta_0: i mean flameshot
OrangeTetra has quit [Remote host closed the connection]
<dsx> bqv[m]: DNAT for internet ←→ zeta ←→ delta datapath. zeta ←→ delta traffic shouldn't be affected
non_freethink is now known as freethink
OrangeTetra has joined #nixos
<cole-h> evertedsphere: What's the issue? Not an expert, but maybe if you just ask, somebody can help.
<bqv[m]> just DNAT?
vykook has joined #nixos
<bqv[m]> i thought I'd need to forward packets back too
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6a8c4f7be20 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
endformationage has joined #nixos
<dsx> bqv[m]: I guess you're looking for last example
oranginal has joined #nixos
<zeta_0> thanks, that flameshot looks tool seems to be just what i need for my use case
<bqv[m]> dsx: something like that, yeah, but i've been fiddling with similar for hours and getting nowhere...
<{^_^}> [nixpkgs] @disassembler pushed 3 commits to release-20.03: https://git.io/Jvx6y
<bqv[m]> i'm sure this is simpler than i'm making it
wavirc22_ has joined #nixos
OrangeTetra has quit [Ping timeout: 256 seconds]
<evertedsphere> cole-h: http://0x0.st/iSqU.txt it's quite inscrutable, looking at the source it fails to "request an adapter"
<dsx> bqv[m]: if you want Internet to have tcp with delta — that's all you need. However, other iptables rules on both zeta and delta may affect that. What I suggest is you start with a completely clean firewall with default ACCEPT and see if NAT works.
<cole-h> evertedsphere: Are you running nouveau?
wavirc22 has quit [Ping timeout: 256 seconds]
<evertedsphere> i think i'm missing some sort of graphics drivers. from my experience using Iced (the gui library) on Arch i needed to do some sort of Vulkan fiddling
<evertedsphere> i'm running on nvidia.prime.sync if that's what you mean
<bqv[m]> heh, ok
<evertedsphere> xorg.videoDrivers = [ "modesetting" "nvidia" ]
<dsx> bqv[m]: otherwise it's a hell to debug, trust me.
OrangeTetra has joined #nixos
<evertedsphere> had to blacklist i915 because it kept softlocking my computer for some reason
<cole-h> Ah, can't help then. I just know that there is no Vulkan support in Nouveau (open-source Nvidia drivers) yet, which is what could also cause that error (I ran into it myself)
<evertedsphere> oh no.
<evertedsphere> can i somehow run the code on a vm or something?
oranginal has quit [Ping timeout: 256 seconds]
<evertedsphere> yeah it might be that, i remember needing to install Vulkan drivers to make this library work on Arch
<dsx> bqv[m]: if for some reason you can't just open everything to the world, you could always try two vms running on your localhost
OrangeTetra has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 256 seconds]
<evertedsphere> i guess i could also just use rust's wasm backend *taps head*
<cole-h> evertedsphere: You might need `vulkan-headers`
OrangeTetra has joined #nixos
<bqv[m]> that's true
<evertedsphere> i'm not using rustup, how do i install non-native rustc targets into a nix-shell?
OrangeTetra has quit [Client Quit]
<evertedsphere> i just use nix-shell -p rustc cargo (well i usea shell.nix but you get the idea)
<dsx> bqv[m]: another thing to keep in mind is MTU mismatch. That's another potential source of trouble, but before you travel there, see if simplest case possible works.
<dsx> bqv[m]: and good luck! You'll need it ;)
<bqv[m]> :D
<{^_^}> [nixpkgs] @primeos merged pull request #82298 → iproute: include netem tools → https://git.io/JvKKM
<{^_^}> [nixpkgs] @primeos pushed 3 commits to staging: https://git.io/Jvxie
<ij> if I want to change the image I'm burning onto a usb that I'm going to boot, would it make more sense to make it a ext4 rather than keep making ISOs all the time?
vykook has joined #nixos
freethink has joined #nixos
freethink has quit [Changing host]
averell has quit [Quit: .]
<dsx> bqv[m]: oh, another common mistake: forgetting to enable ip_forward :)
<{^_^}> [nixpkgs] @jjwatt opened pull request #84739 → dasm: init at 2.20.13 → https://git.io/Jvxim
<bqv[m]> checked that one :p
vykook has quit [Ping timeout: 256 seconds]
LysergicDreams has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #84683 → [staging] Revert "perlPackages.XMLParser: 2.46 -> 2.44" → https://git.io/JvxkA
<{^_^}> [nixpkgs] @jonringer pushed to staging « Revert "perlPackages.XMLParser: 2.46 -> 2.44" »: https://git.io/JvxiZ
<zeta_0> did niso leave?
evelyn has joined #nixos
mananamenos has joined #nixos
vykook has joined #nixos
<zeta_0> well, here's thunderbirds default email settings: https://dpaste.org/xQqy, and here's how i have msmtp setup in home.nix: https://dpaste.org/LpAT
<evelyn> I am a bit confused - I've customised a package, and I can do something like `nix-build -I ./pkgs -A nixpkgs.$pkg`, but I can't work out how to install the result into my nix-profile in ~/.nix-profile. I get the output in ./result, but I can't see an obvious option in `nix-build`
azdle has joined #nixos
<zeta_0> maybe it's because i have the wrong port number setup in my home.nix, what do you guys think?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84733 → manual/rl-2009.xml: Fix literal closing tag → https://git.io/JvxoF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvxiR
<qyliss> evelyn: if you must install imperatively, you want nix-env -i -f . -A $pkg
<qyliss> I think
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to vocal: https://git.io/Jvxiu
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84728 → vocal: add missing glib-networking → https://git.io/Jvxwp
<qyliss> (But also consider home-manager)
zupo has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Mic92 to master « vocal: add missing glib-networking »: https://git.io/JvxiV
srid has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Mic92 to release-20.03 « vocal: add missing glib-networking »: https://git.io/Jvxir
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Mic92 to release-19.09 « vocal: add missing glib-networking »: https://git.io/Jvxio
<evelyn> that worked, thanks!
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to vocal: https://git.io/JvxiX
<{^_^}> [nixpkgs] @worldofpeace pushed 0 commits to revert-84245-riot-fix: https://git.io/Jvxi1
s1341 has quit [Quit: Connection closed for inactivity]
<evelyn> I would make a pull request but it is about 20 individual packages to make a package work on darwin
<evelyn> patches*
<evelyn> It is the `mg` package
v0|d` has joined #nixos
<qyliss> evelyn: could those be combined into a single patch?
<evelyn> I guess?
<evelyn> I've been sitting on this for about 3 months
v0|d has quit [Ping timeout: 265 seconds]
<evelyn> it is also part of the Mac base system now so maybe not important
kleisli has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra merged pull request #3477 → `nix run` using $SHELL as default command → https://git.io/JvAKw
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jvxij
kleisli has joined #nixos
<evelyn> part of the problem is that there are two 'rival' portable versions of it, the one that nixpkgs has does not work with darwin from high sierra onwards (I... think) and the other one does, but it has lots and lots of patches that add things the mac C library is missing, and I have not auditied this code and cannot vouch for it, which is why I'm reluctant to submit the changes
<evelyn> and from Catalina onwards they put it in the base system, to replace their ancient emacs (it is a tiny emacs-like editor)
<evelyn> I will submit the work but I suspect I am the only one using it
<evelyn> and I don't want to be responsible for any mayhem that results mainly
o1lo01ol1o has quit [Remote host closed the connection]
linarcx has joined #nixos
<evertedsphere> "TypeError: el is null" yup, really happy about the decision to compile rust to wasm
andydarcyjewell2 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<evelyn> sorry I am going off on a tangent, I'll think on
o1lo01ol1o has joined #nixos
v0|d` has quit [Ping timeout: 265 seconds]
bicicleta has joined #nixos
<magnetophon> Is status.nixos.org down for you guys n galls as well?
<lordcirth> magnetophon, up for me now
<pbogdan> works here magnetophon
<magnetophon> OK, thanks.
<cole-h> Speaking of, it's so nice to see all the "Last updated" columns green
<{^_^}> [nixpkgs] @jonringer merged pull request #83275 → pythonPackages.python-baseconv: init at 1.2.2 → https://git.io/JvySH
<{^_^}> [nixpkgs] @jonringer pushed commit from Rakesh Gupta to master « pythonPackages.python-baseconv: init at 1.2.2 »: https://git.io/JvxPz
<evertedsphere> does this work for anyone else here? https://iced.rs/
<evertedsphere> perhaps this is a firefox-on-nixos thing
<{^_^}> [nixpkgs] @jonringer merged pull request #82949 → page: init at 2.3.4 → https://git.io/JvxPa
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvxPV
<evertedsphere> the Next button gives me a "<something> is null" error in console
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ikwildrpepper has joined #nixos
ikwildrpepper has quit [Changing host]
bicicleta has quit [Ping timeout: 260 seconds]
cfricke has quit [Quit: WeeChat 2.8]
<cole-h> wfm
terlar has joined #nixos
theduke has joined #nixos
<cole-h> You need `javascript.options.wasm` set to true.
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
<evertedsphere> i do have that enabled
<evertedsphere> oh well it works on chrome so i'll live
theduke has quit [Remote host closed the connection]
johnny101m2 has quit [Quit: -a- Connection Timed Out]
johnny101m has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
iqubic` has joined #nixos
<terlar> Is it possible to trigger a nix instantiate from within nix? I basically want to get the hash of a derivation without building it
iqubic has quit [Ping timeout: 260 seconds]
terlar has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
terlar has joined #nixos
<{^_^}> [nixpkgs] @adamse opened pull request #84741 → haskell: do not use ld.gold with musl libc #84670 → https://git.io/JvxPp
<{^_^}> [nixpkgs] @jonringer merged pull request #83202 → pythonPackages.morphys: init at 1.0 → https://git.io/JvyJB
<{^_^}> [nixpkgs] @jonringer pushed commit from @Rakesh4G to master « pythonPackages.morphys: init at 1.0 »: https://git.io/JvxPj
cjpbirkbeck has quit [Quit: cjpbirkbeck]
Guest5827 has joined #nixos
Guest5827 is now known as to8
<{^_^}> [nixpkgs] @Ma27 merged pull request #84501 → hydra: 2020-03-24 -> 2020-04-07 → https://git.io/JvATa
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvxXT
blibberblob has quit [Quit: WeeChat 2.7.1]
anirrudh has quit [Quit: Leaving.]
<asymmetric> is anyone else seeing SSL errors on yarn install on 20.03?
<to8> Hello! I'm trying to package hponcfg a tool to setup iLO on HP Proliant servers. The software is only delivered as .deb or .rpm but this might be a good starting point to learn how to package anyways... Once unpacked I have a binary and a .so lib. The binary doesn't find the lib unless it's part of the runtimeDependencies but I cannot figure out how to add it as a "relative" path (to the build package). The gist says more than thousand words:
<{^_^}> [nixpkgs] @jonringer merged pull request #84660 → python2Packages.cryptography: add missing ipaddress dependency → https://git.io/JvAA5
<{^_^}> [nixpkgs] @jonringer pushed to staging « python2Packages.cryptography: add missing ipaddress dependency »: https://git.io/JvxXu
knupfer has quit [Ping timeout: 260 seconds]
<evertedsphere> so since i can't run this app on my system because of nouveau not supporting vulkan... can i run it in a vm and get around the problem?
kleisli has quit [Remote host closed the connection]
<evertedsphere> do any virtualisation options available on nixos provide virtual graphics drivers that support vulkan
<Brandon__> what's the current recommendation on composing multiple nix-shell scripts? My usual method is to do: `nix-shell first.nix`, then in that shell do `nix-shell second.nix`.
kleisli has joined #nixos
kleisli has quit [Remote host closed the connection]
<drakonis> imports maybe?
<evils> or the horrible solution of having `shellHook = "nix-shell second.nix";`? xD
linarcx has quit [Quit: WeeChat 2.8]
<Brandon__> evils ... hmm, i like it, will have to try it. but yes, not idea heh
<evils> which i suppose has the advantage of keeping second.nix easily usable on its own
<Brandon__> drakonis, will imports execute the shellHook?
<Brandon__> evils - yes, good point! and you could even swap out `second.nix` easily enough with a different nix expression
to88 has joined #nixos
<drakonis> do you have multiple shellhooks?
<Brandon__> drakonis, unfortunately, sometimes i do
to8 has quit [Ping timeout: 250 seconds]
<drakonis> i see
<Brandon__> i get that all bets are off at that point since each shellHook is about as mutative as you can get
asheshambasta has quit [Ping timeout: 265 seconds]
cybrian has joined #nixos
cole-h has quit [Ping timeout: 256 seconds]
reactormonk has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84605 → tcsh: 6.21.00 -> 6.22.02 → https://git.io/JvA6N
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jvx18
ddellacosta has joined #nixos
to8 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #84742 → nodejs-10_x: 10.19.0 -> 10.20.0 → https://git.io/Jvx1a
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84604 → tilda: 1.4.1 -> 1.5.0 → https://git.io/JvA6V
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jvx16
to88 has quit [Ping timeout: 250 seconds]
<Amit[m]> how often is nixpkgs-unsable built/released from the GitHub repo?
<srk> ,howoldis
<srk> Amit[m]: ^^ it is released automatically when tests are passing
<Yaniel> in other words, "when it's ready"
<drakonis> as soon as there's nothing preventing it from passing
anirrudh has joined #nixos
lsix has joined #nixos
<Amit[m]> Aha. and is that the entire repository needs to pass? Or each package individually?
anirrudh has quit [Client Quit]
<Amit[m]> (I'm trying to understand what I need to look out for to switch back to nixpkgs-unstable for a particular package that is updated and merged but doesn't seem to be in the released version)
shafox has quit [Remote host closed the connection]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<drakonis> no mass rebuilds i think?
knupfer has joined #nixos
<drakonis> unless necessary
hax404 has quit [Quit: WeeChat 2.7.1]
hax404 has joined #nixos
<drakonis> it advances to a specific commit and tries to build everything from it?
<Amit[m]> Right. I'm trying to find a recently passing build in Hydra but can't (I'm sure I'm looking in the wrong place or reading the tables incorrectly). E.g. the nixpkgs-unsable channel (https://releases.nixos.org/nixpkgs/nixpkgs-20.09pre218717.05f0934825c) says it's based on a release from 03-28, but builds that recent seem all have packages that failed
<{^_^}> [nixpkgs] @vladdy closed pull request #84735 → go_1_14: 1.14 -> 1.14.1 → https://git.io/JvxK0
<{^_^}> [nixpkgs] @petabyteboy opened pull request #84743 → nginxMainline: 1.17.8 -> 1.17.9 → https://git.io/JvxMe
<drakonis> nixpkgs isn't tested
<drakonis> so you might occasionally find packages that arent available in the cache
<Amit[m]> For example, https://hydra.nixos.org/eval/1578270 seems to be the build corresponding to what's currently in nixpkgs-unsable (based on the date as well as the git commit hash), and it has many failing jobs still
cybrian has quit [Ping timeout: 250 seconds]
<Amit[m]> drakonis: right, though looking at my unpacked channel, it looks like it doesn't have up to date expressions (at least for a particular package that was merged... a week ago?)
<drakonis> have you tried upgrading?
domogled has quit [Ping timeout: 265 seconds]
<drakonis> the current commit dates to 4 days ago
<Amit[m]> huh... as in `nix-channel --update`? (this is for packages installed in my user profile, not the my main configuration, which tracks nixos-19.09)
<Amit[m]> I did just do that a few times. drakonis how are you seeing what the current commit is?
<drakonis> through https://status.nixos.org/
o1lo01ol_ has quit [Remote host closed the connection]
<drakonis> it points out which commit the channel is currently at
o1lo01ol1o has joined #nixos
anirrudh has joined #nixos
zupo has joined #nixos
<Amit[m]> Oh i see that, thank you. Odd, I must have done something incorrect locally
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Profpatsch: I am seeing you EVERYWHERE on the internet lately.
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<selfsymmetric-mu> Thanks for updating the README for `dhall-flycheck` btw. It works for me now. :)
<fusion809> Anyone know of a way to get the pulseaudio module of i3pystatus to work on NixOS? Due to the non-FHS compliance of NixOS it gives the error, "pulseaudio: Fatal Error - OSError(libpulse.so.0: cannot open shared object file: No such file or directory)". I've just assumed there's no way to fix it, but I thought I'd ask in case there is one.
<selfsymmetric-mu> Profpatsch++
<{^_^}> Profpatsch's karma got increased to 14
<Yaniel> fusion809: whatever i3pystatus is using to access that should be fixed to not hardcode paths
<fusion809> So I should report this as a bug, Yaniel?
<fusion809> At NixOS/nixpkgs
<Yaniel> and then it needs to be wrapped to set the library path
<fusion809> Thanks Yaniel, I'll file a bug report.
mekeor has joined #nixos
lsix has quit [Quit: WeeChat 2.7.1]
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
farn has quit [Quit: farn]
farn has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #84743 → nginxMainline: 1.17.8 -> 1.17.9 → https://git.io/JvxMe
<{^_^}> [nixpkgs] @petabyteboy pushed to master « nginxMainline: 1.17.8 -> 1.17.9 (#84743) »: https://git.io/JvxMi
iqubic` has quit [Ping timeout: 256 seconds]
iqubic` has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #84745 → cawbird: 1.0.4 -> 1.0.5 → https://git.io/JvxMH
<{^_^}> [nixpkgs] @petabyteboy opened pull request #84746 → viu: 0.2.1 -> 1.0 → https://git.io/JvxMQ
cole-h has joined #nixos
cizra has joined #nixos
iqubic` has quit [Remote host closed the connection]
<{^_^}> [nix] @domenkozar closed pull request #305 → buildenv.pl: Include dotfiles when creating links → https://git.io/jZ2Oww
FRidh has quit [Quit: Konversation terminated!]
cole-h has quit [Client Quit]
cole-h has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to master « pcsc-cyberjack: Fix build against libusb »: https://git.io/JvxMA
<{^_^}> [nixpkgs] @bachp opened pull request #84747 → plex: 1.18.9.2578 -> 1.19.1.2630 → https://git.io/JvxMj
iqubic has joined #nixos
<cizra> Hi. How do I use packages from unstable with nix-shell -p? I tried nix-shell -p unstable.myPackage, but that doesn't seem to work
<{^_^}> [nix] @domenkozar closed pull request #1482 → 1.11 backport: buildenv: Read muliple lines in propagated-user-env-packages → https://git.io/v7IPy
mexisme has joined #nixos
<cole-h> ,unstable cizra
<cizra> cole-h: I'm already happily installing a small selection of unstable packages in my /etc/nixos/configuration.nix. I hoped to do the same in nix-shell -p.
<cizra> cole-h: ... exactly how the faq describes.
<cole-h> Do you have the unstable channel setup, i.e. it shows in `nix-channel --list`?
<cole-h> If so, I think you should just need `nix-shell '<unstable>' -p insert-package-here`
<cole-h> Replace unstable with with the name of the actual channel
<cizra> oh wait, no that's user
terlar has quit [Ping timeout: 256 seconds]
<cizra> This is system-wide with sudo:
<drakonis> ah channels
InvisibleRasta has quit [Quit: WeeChat 2.3]
mexisme has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Darkmatter66_ has quit [Ping timeout: 256 seconds]
reallymemorable has quit [Quit: reallymemorable]
thonkpod has quit [Quit: WeeChat 2.4]
bqu has joined #nixos
Darkmatter66 has quit [Client Quit]
<bqu> Christ I screwed up
Darkmatter66 has joined #nixos
<bqu> Locked myself out my server again
<bqu> I hate iptables :D
<to8> At least do hast a proof that iptables is working.
<bqu> Ya
o1lo01ol1o has joined #nixos
vika_nezrimaya has joined #nixos
<bqu> The frustrating thing is I can't even use a backdoor in scenarios like this, cause all traffic to that machine is now null routed
zupo has joined #nixos
<bqu> I just need to implement auto rollback :/
mallox has quit [Quit: WeeChat 2.8]
zupo has quit [Client Quit]
zupo has joined #nixos
opthomasprime has joined #nixos
opthomasprime has quit [Remote host closed the connection]
domogled has joined #nixos
<vika_nezrimaya> NixOS geekiness is when the first place you go to learn how to configure something isn't Nixpkgs/NixOS documentation, it's the Nixpkgs repository itself
apeyroux` has joined #nixos
reallymemorable has joined #nixos
captjakk has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zupo opened pull request #84748 → Automatically restart netdata on failures → https://git.io/JvxDd
<mekeor> vika_nezrimaya: that shouldn't be nixos-geekiness. that just sounds like bad documentation which is bad also in case of nix(os)
captjakk has joined #nixos
<srk> bqu: NetworkManager has checkpoint/restore feature :)
leotaku has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> Well sometimes documentation is not enough
cosimone has quit [Remote host closed the connection]
<bqu> I don't use networkmanager :p
<vika_nezrimaya> sometimes I need to actually see it with my own eyes to understand it
<srk> yeah, just saying
<bqu> Ty :)
cosimone has joined #nixos
<srk> something like that should be doable easily with NixOSes rollbacks as well
<bqu> Yeah, easily
<{^_^}> [nixpkgs] @aszlig opened pull request #84749 → pcsc-cyberjack: 3.99.5_SP12 -> 3.99.5_SP13 → https://git.io/JvxDx
<{^_^}> [nixpkgs] @LnL7 opened pull request #84750 → pjsip: enable and fix darwin build → https://git.io/Jvxyv
<vika_nezrimaya> Oh no! looks like NixOS' sshd module doesn't support host certificates
<srk> bqu: now I'm wondering what would make a good trigger for that
projects has joined #nixos
<colemickens> vika_nezrimaya: really? I'm kind of surprised about that.
<colemickens> That reminds me of another nice day-long distraction of trying to setup a yubikey for a ssh CA.
<vika_nezrimaya> well here's an interesting problem
<vika_nezrimaya> I don't know a way to authenticate a public key that is generated at runtime against a CA
<vika_nezrimaya> without compromising trust
<gchristensen> ye olde bootstrapping trust problem?
<lordcirth> vika_nezrimaya, you want your machine's host keys to be signed by a CA?
<vika_nezrimaya> This is an interesting feature, especially in context of Nixops
<vika_nezrimaya> where you can provision lots of machines and maybe don't want to mess with host keys and stuff
<vika_nezrimaya> Signing host keys with a CA and then trusting this CA with a single ~/.ssh/authorized_hosts line is a lot easier (at least on paper)
captjakk has quit [Ping timeout: 256 seconds]
<bqu> I use an ssh CA
ZaraChimera has joined #nixos
<bqu> But not on yubikey
<bqu> And it is a pain
<bqu> I might just go back to plain keys
gustavderdrache has quit [Quit: Leaving.]
leotaku has joined #nixos
arjen-jonathan has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7770f3a877f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<jared-w> Most of my reasons for needing to constantly grep through the nixpkgs repo is because none of the documentation gives you any indication of how things are put together and how you override stuff. Things are all hunky dory until you need to not do the default; then its source code time :p
shibboleth has joined #nixos
<vika_nezrimaya> gchristensen: yep, the trust bootstrapping
<vika_nezrimaya> I could generate keys, e.g. on install time and use known SSH keys on the custom install media
<vika_nezrimaya> Maybe I could have a CA keyset on the install media
<vika_nezrimaya> this looks fine unless someone steals the install USB
<vika_nezrimaya> a YubiKey sounds nice
<lordcirth> vika_nezrimaya, a secret that the CA recognizes, not the CA key itself
<vika_nezrimaya> lordcirth: that's better
<gchristensen> usually you have a way to trust that a machine was safely installed to, and use that to get its host key signed
<vika_nezrimaya> hash of install media?
cybrian has joined #nixos
<gchristensen> aws provides the metadata api and identity documents for example
<vika_nezrimaya> I could hash the USB drive contents and then send the hash with the CA signing request
<gchristensen> how often are you going to do this?
<lordcirth> Secrets are better, as a hash can lie
<colemickens> seems easy to spoof the hash
apeyroux` has quit [Ping timeout: 258 seconds]
<vika_nezrimaya> gchristensen: As often as I'll be installing NixOS
<vika_nezrimaya> somewherr
<{^_^}> [nixpkgs] @Ma27 merged pull request #84723 → youtube-viewer: 3.3.0 -> 3.7.5 → https://git.io/JvxaI
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvxSm
ratsclub has joined #nixos
cybrian has quit [Ping timeout: 265 seconds]
<colemickens> would it be stupid to pre-ship the host keys encrypted and decrypt them manually on first boot (that presumably you control timing of)?
<energizer> why do packages take the whole config as an argument instead of just taking their own config?
Naptra has quit [Remote host closed the connection]
<gchristensen> vika_nezrimaya: is that once a year, month, week, day, 10 a day, 1,000 a day...?
<vika_nezrimaya> gchristensen: Last time I installed NixOS on something was... this winter! I got an RPi 4 and proudly flashed NixOS onto the SD card
* colemickens just realized what he said out loud >_<
<gchristensen> because unless you're in the like, >=1 a day, I'm not sure I'd call SSH CA's worth the effort :P
<energizer> for example why does home-assistant use `config.services.home-assistant` instead of just taking those values as argument, with defaults set by `override` ?
mgdm has joined #nixos
<vika_nezrimaya> colemickens: decrypt on first boot with what?
<vika_nezrimaya> this only protects keys in transit and only if the encryption key is transmitted separately
<mgdm> Hello. Is there a way in configuration.nix to create a storage pool for libvirtd? I've just done virtualisation.libvirtd.enable = true; but I can't see where I'd configure the storage
<colemickens> vika_nezrimaya: idk, I was thinking you'd ssh to it and decrypt (which uhm yeah)
<{^_^}> [nixpkgs] @LnL7 merged pull request #84747 → plex: 1.18.9.2578 -> 1.19.1.2630 → https://git.io/JvxMj
<vika_nezrimaya> yeaaaaaa
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JvxSn
<energizer> this seems like the whole config mutable global state and i'm puzzled why it's there
<vika_nezrimaya> ssh to a machine which can't present a valid host key and could've been compromised as soon as I yanked the flash drive out
anirrudh has quit [Quit: Leaving.]
<vika_nezrimaya> and went somewhere else
<energizer> config is*
evertedsphere has quit [Ping timeout: 265 seconds]
<colemickens> vika_nezrimaya: well yeah, if you TOFU, what's the point of the whole exercise :S
<notgne2> betaboon: I caught the logs from earlier, Continix actually does work with existing NixOS service modules (but as of now you can only have 1 ongoing service, and any number of oneshots)
<ZaraChimera> Following the curl -L command to install nixpkgs it has me run a . /home/user/.nix-profile etc command. I am running zsh as the default shell, and I appear to be missing something. I found a search result that mentioned sourcing the profile to .zshenv, but didn't mention the specific command for that.
<colemickens> but if you can't trust the machine after you walk away, you can't really trust it anyway, no? Unless you've got some sort of other sophisticated FDE that would presumably suffer similar problems.
sam_w has joined #nixos
<vika_nezrimaya> hmmm
<vika_nezrimaya> FDE + generating host keys on install
<gchristensen> +1
<notgne2> betaboon: modules are added on a whitelist basis though, as lots introduce changes/bloat even when not explicitly enabled
<vika_nezrimaya> that's a great idea
<lordcirth> colemickens, even if you trust the machine, you can't trust the network between you/CA and the machine
<vika_nezrimaya> lordcirth: SSL?
<gchristensen> lordcirth: then cat the public host key before you walk away
<vika_nezrimaya> s/SSL/TLS/
<lordcirth> vika_nezrimaya, TLS, again, requires certs to exist
<vika_nezrimaya> I have a Let's Encrypt certificate which proves I own and control a domain! :3
<lordcirth> That might work well enough
<{^_^}> [nixpkgs] @Ma27 merged pull request #84616 → rspamd: 2.4 -> 2.5 → https://git.io/JvAyZ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvxS4
<gchristensen> vika_nezrimaya: I get the impression you're worried abou tthinsg without having a clear ideaabout why you're worried about them, and so we're inventing more and more complicated solutions for something we haven't fleshed out
<vika_nezrimaya> as long as Let's Encrypt is not compromised which is not probable since they know their security stuff better than a lonely girl who has nothing to do on self-isolation
<colemickens> FDE just moves the problem of course. But I think there are OSS projects out there meant to help coordination of automatic boots of FDE'd machines. (like a central server that will release keys back to a host for up to 30 secs after they announce they're rebooting, etc). I don't have experience with those myself.
<gchristensen> oh well if it is for justthat, carry on :P
<sam_w> hey all, is there an idiomatic way to write arbitrary text to a file as part of nixos configuration? For context: I'm deploying bind and have an entirely static zonefile that I'd like to write to the filesystem - it feels a shame to not be able do it as part of the main config. Apologies if the answer is blindingly obvious
<gchristensen> I've been thinking about playing with vault for signing host keys
<colemickens> My other idea - FDE + a initrd Tor hidden service that would allow you to SSH in and unlock FDE. Sorta solves trust by having the hidden service public key be pre-shared and embedding the hidden service private key in initrd. Also haven't had time to build this yet.
<vika_nezrimaya> sam_w: builtins.writeFile writes a file to Nix store and returns a path to it
<vika_nezrimaya> then you can symlink it on systemd unit prestart
<vika_nezrimaya> if you even need to
<colemickens> gchristensen: I was thinking of your setup and wondered if you were doing that already
<gchristensen> nah
<sam_w> vika_nezrimaya: that sounds like exactly what I need, thanks
ratsclub has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> no problem :3
<vika_nezrimaya> colemickens: Tor is sometimes blocked
<vika_nezrimaya> you can inject another SSH host key in the initrd and use SSH
<colemickens> vika_nezrimaya: for sure, not a perfect solution. So far I have more issues with NAT than Tor though :)
thibm has quit [Ping timeout: 250 seconds]
<vika_nezrimaya> that's what I did on sakura which had FDE
<vika_nezrimaya> (almost FDE)
<vika_nezrimaya> more like everything encrypted except /boot
<colemickens> mhm, nixos has dropbear support already too; been using it on rpi4 a bit
<vika_nezrimaya> hm, encrypted / on RPi
<vika_nezrimaya> never tried it and I'm thinking if I should
<vika_nezrimaya> an RPi is easy target for stealing
<vika_nezrimaya> yank the SD card out and boom
<colemickens> ;)
<mgdm> how well does nixos on rpi4 work? I have one which is just running conbee and home-assistant but on raspbian. I'd need wifi
<vika_nezrimaya> mgdm: I use NixOS on an RPi 4! WiFi is untested since I use Gigabit Ethernet instead, but other features work well
<vika_nezrimaya> Oh wow
<vika_nezrimaya> I just remembered that I didn't update it in a long while
<vika_nezrimaya> oops
<mgdm> vika_nezrimaya: that's a good start at least, thanks :)
<colemickens> mgdm: mine is a unifi/home-assistant appliance so it's wired, but afaik wireless is only an issue with certain setups with high HDMI resolutions and interferrence? Everything else is peachy.
<vika_nezrimaya> I'm not even sure if I have all the files in place to build the configuration
<mgdm> colemickens: ah cool. I'm not normally using the hdmi on it so that wouldn't really be a problem
<vika_nezrimaya> colemickens: HDMI interference is only relevant for certain WiFi channels and it's a hardware issue
<vika_nezrimaya> so if it works on Raspbian it'll work on NixOS too
<vika_nezrimaya> probably...
<sam_w> vika_nezrimaya: uh, builtins.toFile?
<vika_nezrimaya> builtins.writeFile?
<vika_nezrimaya> I'm not sure
<vika_nezrimaya> Nix manual totally has it
<sam_w> vika_nezrimaya: ok cool, I think it's tofile then. no hits for writeFile :p
<sam_w> well, one hit - irc logs!
<gchristensen> pkgs.writeFile
<vika_nezrimaya> maybe I'm confusing it with nixpkgs.writeShellScriptBin
<vika_nezrimaya> gchristensen: diff?
<gchristensen> builtins.toFile can't point to other things in the nix store. it is much more limited
wip_ has joined #nixos
OrangeTetra has joined #nixos
leotaku has quit [Quit: ZNC 1.7.5 - https://znc.in]
leotaku has joined #nixos
ZaraChimera has left #nixos ["Closing Window"]
<Brandon__> Is there a way to access default phases? I'd like to do something like `phases = remove "unpackPhase" phases;`, but the phases on the RHS isn't defined
<vika_nezrimaya> Brandon__: in this case dontUnpack = true
abathur has quit [Ping timeout: 265 seconds]
ratsclub has joined #nixos
<vika_nezrimaya> in other cases set ${phase}Phase = "";
mojjo has quit [Ping timeout: 240 seconds]
ratsclub has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 265 seconds]
zeta_0 has joined #nixos
niso has joined #nixos
mexisme has joined #nixos
<Brandon__> vika_nezrimaya, thank you!
<zeta_0> niso: i final gave up on that mail sender, this is thunderbird's default mailing settings: https://dpaste.org/8Bte
morgrimm has joined #nixos
<zeta_0> niso: ya, it's too much of a hassle, so maybe i'll try to set it up some other time
<zeta_0> hey guys, i would like to contribute to nixpkgs haskell infrastructure, but i'm not sure where to start, could you send me a link or something that shows where to get started?
oranginal has joined #nixos
kahiru has quit [Ping timeout: 265 seconds]
oranginal has quit [Client Quit]
<niso> zeta_0: i see, sorry if i couldn't help you further i don't use gmail
<niso> zeta_0: you could review PRs with this tool: https://github.com/Mic92/nixpkgs-review
OrangeTetra has quit [Ping timeout: 256 seconds]
<niso> zeta_0: or even better: improve the documentation where it where it was lacking
cjpbirkbeck has joined #nixos
blibberblob has joined #nixos
<wip_> hi! i'm really fresh on nixos, and trying to build syslog-ng with java and java-module support. however this seems to require gradle which in turn requires log4j 1.2.16, where only 1.2.12 is in nix
<wip_> i think i got 1.2.16 to build but im not able to get this into the build of syslog-ng, gradle is unable to find it and tries to download it from within the sandbox, which fails ofc
<zeta_0> niso: it's ok, thanks for helping me out, i'll try to setup that mailing sender someday when i have more time
<evils> i'm having trouble adding an output to a package, somehow fails on find: <second output path> no such file or directory, https://hastebin.com/imeyewasin.nginx
cole-h has quit [Ping timeout: 265 seconds]
fendoer is now known as fendor
<bqv[m]> fun fact, nixos-rebuild switch --rollback doesn't work by default on flakes
<bqv[m]> learnt that the hard way
anderslu1dstedt has joined #nixos
<vika_nezrimaya> OOPS
<vika_nezrimaya> why
<bqv[m]> error: path '/nix/store/1gfaw9wwfbgkmriinxs95wnv7vz5ifcr-3kmq245g656x23ssviq4qvhvrx28bxwz-source' is not a flake (because it does not reference a Git repository)
<bqv[m]> no idea what that's supposed to be about but i'll fix it later
<vika_nezrimaya> are you maintaining the flakes branch?
<bqv[m]> for now i'll rely on /nix/var/nix/profiles/**/bin/switch-to-configuration switch
<bqv[m]> me? no
<bqv[m]> also, what flakes branch
<vika_nezrimaya> Nix has a flakes branch and Nixpkgs had it for a while before master had flake.nix added
<bqv[m]> oh, i guess
<vika_nezrimaya> tbh my dream is flake support for home manager
<bqv[m]> that flakes branch is exposed in nixpkgs as pkgs.nixFlakes btw
<vika_nezrimaya> that's what I have in my nix.package
<vika_nezrimaya> Flakes <3
<bqv[m]> <vika_nezrimaya "tbh my dream is flake support fo"> rycee/home-manager/bqv-flakes
<vika_nezrimaya> Ok now that's interesting
<vika_nezrimaya> is it keeping up with master or do I have to rebase it myself?
anderslundstedt has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> 'cause I don't know how to rebase lol
<bqv[m]> rebase it manually
<bqv[m]> i haven't bothered recently because there's nothing new i need
<bqv[m]> but the deal was that it would be a community maintained branch
<bqv[m]> cause the bossman hasn't got time to fiddle with flakes
v0|d has joined #nixos
<vika_nezrimaya> ohhhhh it locks nixpkgs in flake.lock :c will I be able to override it with something like inputs.home-manager.inputs.nixpkgs = <...>?
pbogdan has quit [Ping timeout: 265 seconds]
anderslundstedt has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<bqv[m]> yep
<{^_^}> [nixpkgs] @petabyteboy merged pull request #84746 → viu: 0.2.1 -> 1.0 → https://git.io/JvxMQ
<{^_^}> [nixpkgs] @petabyteboy pushed to master « viu: 0.2.1 -> 1.0 (#84746) »: https://git.io/JvxHL
<vika_nezrimaya> bqv[m]: it looks like it only exports the NixOS module
<bqv[m]> oh, yes, huh
<bqv[m]> does it even make sense to use anything else, with flakes?
<vika_nezrimaya> I don't see a reason why it wouldn't
anderslu1dstedt has quit [Ping timeout: 240 seconds]
<vika_nezrimaya> Flakes aren't NixOS-centric by themselves
<bqv[m]> i suppose it does, but i'm not sure how much work that would be
<spinus> do you know if sha256 checksums are supported with `-I nixpkgs=https://blabla` syntax?
<vika_nezrimaya> Rewriting bin/home-manager to use flakes (probably easy)
<bqv[m]> yeah, my thinking was that home-manager as a program isn't built with flakes in mind
<vika_nezrimaya> I guess I'll have to do it myself
<bqv[m]> exactly
<bqv[m]> eh, clone it locally and see how far you get i guess, if you can do it without breaking the nixos module, it'd be a good thing to PR in so others can use it
<vika_nezrimaya> are there any tests for the nixos module?
<spinus> bqv[m]: one sentence how nix flakes are different from overlays?
<bqv[m]> no, but just ping me a repo, branch and ref and i can check it against my config
pbogdan has joined #nixos
<spinus> is my understanding correct it's only a description of a structure for artifacts?
<vika_nezrimaya> spinus: completely different solutions for completely different problems
<bqv[m]> declaratively defining the nix relationship between git repositories, and declaratively pinning them to revisions
<bqv[m]> overlays are something you'd use WITH flakes
<spinus> bqv[m]: but I can do that with fetchgit
<betaboon> notgne2: thanks for the headsup regarding continix. i have had some success using nix-container-images today. might look into continix next. evaluating the possibilities of building docker-images from nix-configuration was just one stop on a semi-long way to go tho :) off for today
<vika_nezrimaya> well yeah but a flake is easier to write and use (and re-use!)
<bqv[m]> spinus: sure you can, see how easy that is compared to flakes :p
<vika_nezrimaya> `nix flake` writes your "fetchgit"-like stuff automatically, updates it and all the revisions and hashes
<spinus> :>
<spinus> vika_nezrimaya: I see
<bqv[m]> e.g. what vika mentioned earlier, s/he can pull in the home-manager flake, and override which nixpkgs it uses
<bqv[m]> can't do that if it's using fetchgit
<vika_nezrimaya> bqv: it's she/her if you're referring to me :3
terlar has joined #nixos
<vika_nezrimaya> also there's they/them which is relatively gender-neutral and sounds a lot better compared to slash-based kludges
<kraem> how do i get bundix to fetch private repos? seahorse pops up even though i'm not using it (guess it's some kind of buildInput) and it won't take my credentials in terminal.
<bqv[m]> i had a feeling, but chickened out once i got to 'h'
<vika_nezrimaya> bqv: in case of confusion use they/them
shibboleth has quit [Quit: shibboleth]
<vika_nezrimaya> I'm ok with correcting people if they accidentally do that to
cole-h has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvxH1
<{^_^}> [nixpkgs] @worldofpeace merged pull request #82295 → nixos/release-notes: mention that dhcpcd stopped giving IPv4 addresses to bridges → https://git.io/JvKoD
knupfer1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @domenkozar merged pull request #84748 → Automatically restart netdata on failures → https://git.io/JvxDd
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvxHM
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @erictapen to master « nixos/release-notes: mention that dhcpcd stopped giving IPv4 addresses to bridges by default »: https://git.io/JvxHD
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
terlar` has joined #nixos
fendor has quit [Read error: Connection reset by peer]
terlar has quit [Ping timeout: 258 seconds]
InvisibleRasta has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
bukkitgerman8608 has joined #nixos
bukkitgerman860 has quit [Read error: Connection reset by peer]
<colemickens> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__monty__ has quit [Quit: leaving]
<worldofpeace> we should probably change that to mention lib.fakeSha256
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
<vika_nezrimaya> bqv[m]: It's building!!!!! :3
<terlar`> Is there a way to do something similar to nix-instantiate but from with Nix? I want to get the derivation path with two potentially different sources to compare if they produce the same thing, it would be neat if there was a function to calculate the hash of a derivation without building it
<vika_nezrimaya> home-manager sometimes uses builtins.getEnv which always returns an empty string with flakes
<vika_nezrimaya> I'll need to supplement it
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
Diogo has joined #nixos
<vika_nezrimaya> bqv++
<{^_^}> bqv's karma got increased to 1
<vika_nezrimaya> flakes++
orivej has joined #nixos
<vika_nezrimaya> terlar`: nix repl can compare derivations I think
<vika_nezrimaya> and with Nix you can do derivation1 == derivation2 and afaik it will not build it
<vika_nezrimaya> it'll compare all the inputs
<vika_nezrimaya> Nix is very lazy
<terlar`> Hmm, I thought so too, but I was surprised, I did derivation1.drvPath and it didn't build that derivation, but it built all the dependencies mentioned within that derivation
projects has quit [Remote host closed the connection]
<terlar`> I will try the d1 == d2 comparison if it does some more magic
<vika_nezrimaya> It should! probably
<vika_nezrimaya> drvPath instantiates a derivation, which references all its dependencies' closures
<vika_nezrimaya> which results in building all dependencies
<vika_nezrimaya> d1 == d2 may avoid it
spinus has quit [Ping timeout: 265 seconds]
<terlar`> But then I can't figure out the hash? Might work for my use case though
<vika_nezrimaya> why will you need the hash if it's calculated from all inputs?
<terlar`> I was considering to run nix-instantiate within nix, but unfortunately this project have very complicated nix files that require a lot of injected state from the nix-build
<vika_nezrimaya> if recursively comparing inputs equals true, then derivations are effectively equal as far as Nix knows
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84745 → cawbird: 1.0.4 -> 1.0.5 → https://git.io/JvxMH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvxQ1
<vika_nezrimaya> (barring indeterminism in build process like $RANDOM in buildPhase)
<dhess> Has anyone here run this Hydra migration?
<terlar`> I thought it would be nice to see why they are different, hence the drv hash and you could diff them to see why
morgrimm has joined #nixos
<terlar`> My use case is checking if the target derivation has changed from the fork point in git, so I check out the code and run the same derivation with that as src and then with the local src to compare if they changed
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<terlar`> Comparing inputs is enough for my case
<bqv[m]> vika_nezrimaya: oh nice, it worked?
eoli3n__ has quit [Ping timeout: 258 seconds]
<bqv[m]> sorry, i'm having a minor dishwasher malfunction
<vika_nezrimaya> Looks like it worked! :3
maddo has quit [Quit: See ya]
<bqv[m]> nice! how dire were the modifications?
<vika_nezrimaya> bqv: nix-store --repair-path /nix/store/*-dishwasher might help
<vika_nezrimaya> bqv[m]: fairly small
<vika_nezrimaya> looks like maintainers of the flake branch did a great job :3
<vika_nezrimaya> but this isn't rebased on top of master yet
<vika_nezrimaya> bqv: currently build tools aren't supporting flakes though... I built it manually
InvisibleRasta has quit [Quit: WeeChat 2.3]
abathur has joined #nixos
morgrimm has quit [Ping timeout: 250 seconds]
<bqv[m]> hahaha
<bqv[m]> well, join the small band of flake branch maintainers if you'd like :p i doubt rebasing will pose any issues
<vika_nezrimaya> bqv: rebasing went completely smooth
chloekek has quit [Ping timeout: 256 seconds]
<vika_nezrimaya> I'm starting to like this! :3
Jonathan72 has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
<bqv[m]> nice :)
<Brandon__> I've got a nix expression that, when it invokes another nix expression via import (itself being called by nix-shell), fails to build the other nix expression (the error is a bit mysterious). However, when I run nix-shell on the called nix expression directly, there are no problems.
<Brandon__> Is there some reason that the behavior would be different? i would expect the nix store to be used
<vika_nezrimaya> Brandon__: hm... That looks like a problem that COULD be solvable by flakes in the future
<vika_nezrimaya> your inputs differ somehow
<vika_nezrimaya> I'm not sure why and how
spinus has joined #nixos
<Jonathan72> I am building a D application with SDL but it is failing to link (at run-time or compile-time). I thought I got it solved, with some help, with a nix-shell with `LD_LIBRARY_PATH = "${pkgs.SDL2}/lib";` but it is not working.
<Brandon__> vika_nezrimaya, The error I'm getting basically looks like this https://github.com/commercialhaskell/stack/issues/2536, though it is on NixOS (not nix on another linux distro). The nix expression that is being imported is this one: https://github.com/CornellCAC/haskell-matlab/blob/update_and_run_in_stack_nix/shell.nix
<{^_^}> commercialhaskell/stack#2536 (by stulli, 3 years ago, closed): stack build: "ConnectionFailure getAddrInfo: does not exist (Name or service not known)"
<vika_nezrimaya> sandboxing?
<vika_nezrimaya> try disabling sandbox in nix options
<vika_nezrimaya> if it doesn't fail, this means that your build tries to access the network somehow(?)
<Brandon__> it is definitely trying to access the network, trying to do a stack build
<Brandon__> though i'm not entirely sure why
<Jonathan72> The application is using Dub (the D package manager) which has no special NixOS wrapper, which is why the `LD_LIBRARY_PATH` thing was added.
miscellaneousbus has joined #nixos
<vika_nezrimaya> Brandon__: Nix build cannot access the network, it's forbidden. It ruins the reproducibility of the build since there are unaccounted non-deterministic inputs
<Jonathan72> Really?! I am dumb, I figured it out. Sorry.
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to zimbatm-patch-1: https://git.io/Jvx7i
<Brandon__> vika_nezrimaya, ah right i see
<{^_^}> [nixpkgs] @Ma27 merged pull request #84570 → nixos: default nix.maxJobs to auto → https://git.io/JvA4c
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jvx7D
<miscellaneousbus> Why is https://github.com/NixOS/nixpkgs/issues/47921 still an issue? Does nixos-rebuild still not follow links?
<{^_^}> #47921 (by nrdxp, 1 year ago, closed): nerdfonts not installing
Jonathan72 has quit [Remote host closed the connection]
rogue_koder has quit [Ping timeout: 256 seconds]
rogue_koder has joined #nixos
jjakob has quit [Ping timeout: 265 seconds]
jjakob_ has joined #nixos
<miscellaneousbus> currently trying to install nerdfonts but i cant, even with prefetch
<vika_nezrimaya> bqv[m]: https://github.com/rycee/home-manager/pull/1136 - boom!
<{^_^}> rycee/home-manager#1136 (by kisik21, 32 seconds ago, open): Rebase to master and add initial standalone home-manager support
<vika_nezrimaya> ready to be merged
<drakonis> so nice.
<drakonis> haha finally, standalone flakes
<drakonis> vika_nezrimaya: you seem to be including commits already in master?
<vika_nezrimaya> I rebased it on top of current master, yes
<vika_nezrimaya> is it a bad thing to do this in a PR?
<vika_nezrimaya> sorry I don't know how do I undo a rebase >.<
<drakonis> rycee: you around?
erasmas has quit [Quit: leaving]
<drakonis> dont worry about it
<{^_^}> [nixpkgs] @veprbl merged pull request #84614 → bazel_0_26: Unbreak build on Darwin → https://git.io/JvAMM
<drakonis> someone's gotta review that
<{^_^}> [nixpkgs] @veprbl pushed commit from @mikesperber to master « bazel_0_26: fix linker flags for darwin (#84614) »: https://git.io/Jvx5k
morgrimm has joined #nixos
InvisibleRasta has joined #nixos
terlar` has quit [Ping timeout: 256 seconds]
cosimone has quit [Quit: Quit.]
<Cadey> I'm running into a weird issue when trying to put a rust program in my NUR repo
<Cadey> it seems that the cargoSha256 results are differing between nixos unstable and nixos 20.03
<vika_nezrimaya> different versions of cargo? :3
fusion809 has quit [Remote host closed the connection]
<drakonis> vika_nezrimaya: ah you're merging into the flake branch, okay
<drakonis> i thought you were merging into master
<drakonis> should be fine?
<vika_nezrimaya> yeah I'm not merging this into master until it's perfectly ready
<vika_nezrimaya> AND functioning for both non-flake and flake users
<vika_nezrimaya> since we can't break backwards compatibility
<{^_^}> [nixpkgs] @Ma27 merged pull request #84715 → monolith: init at 2.2.2 → https://git.io/JvxEW
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jvx5s
cybrian has joined #nixos
<drakonis> that's fair.
<niso> nix tries to download a narinfo file which 404s, how can i debug what causes that?
<bqv[m]> ah
<bqv[m]> i'll test it
<gchristensen> niso: nix checks to see if the build is in the cache by seeing if the narinfo exists
<gchristensen> niso: if it does, it is a cache hit. if it 404's, it is a cache miss
<niso> gchristensen: ah, and if it 404s it builds it locally?
<gchristensen> yeah
<drakonis> Cadey: s'weird
morgrimm has quit [Ping timeout: 256 seconds]
<niso> gchristensen: thanks!
<niso> gchristensen++
<{^_^}> gchristensen's karma got increased to 256
<cole-h> I think we changed Rust stuffrecently?
<cole-h> (add spaces where applicable)
<Cadey> drakonis: ikr
<drakonis> well, these things are supposed to change if the dependencies change
xO1 has quit [Ping timeout: 258 seconds]
<Cadey> afaik the only thing that changed was the nix channel for the travis VM
<cole-h> I mean, I think we changed the calculation of hashes for Rust stuff
cybrian has quit [Ping timeout: 256 seconds]
reallymemorable has quit [Quit: reallymemorable]
<cole-h> Cadey: If you add `legacyCargoFetcher = true` to the derivation, you should have no more hash mismatches (and also shouldn't have to rebuild)
reallymemorable has joined #nixos
<{^_^}> #79975 (by bhipple, 7 weeks ago, closed): Rust Application Migration to fetchCargoTarball Implementation
<bqv[m]> vika_nezrimaya: want a hand with the rebasing? looks like that went a bit sideways :D
<vika_nezrimaya> ???!
<vika_nezrimaya> Well I said
<vika_nezrimaya> I never rebased stuff so this is my first rebase
<vika_nezrimaya> no wonder I botched it
gxt has quit [Remote host closed the connection]
<bqv[m]> hold on, i'll figure out how to repair it
gxt has joined #nixos
<bqv[m]> (or indeed, if it even has gone wrong
o1lo01ol1o has quit [Ping timeout: 265 seconds]
emilsp has quit [Ping timeout: 619 seconds]
o1lo01ol1o has joined #nixos
<vika_nezrimaya> bqv[m]: I don't think it has gone wrong, rather, it went too well
<Brandon__> vika_nezrimaya, just to follow up, if i set buildPhase = '' in the calling expression then it gets past that particular issue. I think the reason it work if I use nix-shell on the *called* expression directly is because nix-shell does not execute a build on the outer derivation
justanotheruser has quit [Ping timeout: 260 seconds]
<Brandon__> nevemrind, false alarm, '' should have been "" and it caused a separate issue
<{^_^}> [nixpkgs] @colemickens opened pull request #84755 → pythonPackages.requests: 2.22.0 -> 2.23.0; pythonPackages.pyyaml: 5.2 -> 5.3.1 → https://git.io/Jvx5F
<vika_nezrimaya> '' is a start of multiline quote, "" is an empty string literal
dermetfan has quit [Ping timeout: 260 seconds]
<Brandon__> yeah
philr has joined #nixos
justanotheruser has joined #nixos
<bqv[m]> vika_nezrimaya: run the following:
mbrgm_ has joined #nixos
<bqv[m]> git reset --hard origin/master; git cherry-pick 958ff61; git cherry-pick 4dd7f3c; git cherry-pick 75e8b22; git cherry-pick 5ad6136
<bqv[m]> most manual of manual rebases :p
<vika_nezrimaya> on which branch
<vika_nezrimaya> on my local branch?
<bqv[m]> whichever one you're working on
<bqv[m]> (bqv-flakes)
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<bqv[m]> according to the log, those are the only commits ignoring your merge commit (and i'll assume it was a clean merge so that can be completely skipped)
<bqv[m]> it's just a good idea to keep these commits tight so when it comes that they get merged, it's easy
rogue_koder_ has joined #nixos
GrimSleepless has joined #nixos
rogue_koder has quit [Ping timeout: 265 seconds]
<bqv[m]> all good?
<bqv[m]> (sorry i'm slightly awol, dishwasher is trying to kill me)
<vika_nezrimaya> bqv: I nuked my local checkout
o1lo01ol1o has quit [Remote host closed the connection]
<vika_nezrimaya> so re-cloning rn
<bqv[m]> fair enough
<{^_^}> [nixpkgs] @bcc32 opened pull request #84756 → tixati: 2.67 -> 2.72 → https://git.io/Jvxdk
GrimSleepless has quit [Client Quit]
o1lo01ol1o has joined #nixos
GrimSleepless has joined #nixos
<vika_nezrimaya> bqv[m]: diverging branches, 4 ours / 7 theirs, force-push into my fork?
<bqv[m]> yep, force push
<vika_nezrimaya> done
<bqv[m]> much better
<bqv[m]> wait, why's there a merge conflict still :/
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<bqv[m]> oh, right. the problem is github is trying to merge
<bqv[m]> rycee needs to also force push
<bqv[m]> so that's fine
GrimSleepless has quit [Ping timeout: 264 seconds]
<vika_nezrimaya> also it's upstream/master not origin/master for me
<vika_nezrimaya> since rycee's branch is named upstream in my remote list
<bqv[m]> oh, interesting
<bqv[m]> i hope github didn't ping all those people who made those commits
<vika_nezrimaya> ME TOO
<vika_nezrimaya> >.<
<bqv[m]> heh
<bqv[m]> for future reference, assuming you're currently working on a branch, the top 4 commits are the only relevant ones, and you want to rebase onto upstream/master, you would run: git rebase --onto upstream/master HEAD~4
<bqv[m]> that will take the top 4 commits and replay them (in the same way you just did manually) onto upstream/master's tip
morgrimm has joined #nixos
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
pbogdan has quit [Remote host closed the connection]
zebrag has quit [Remote host closed the connection]
zebrag has joined #nixos
szicari has quit [Quit: ZNC - http://znc.in]
<vika_nezrimaya> so you just made me do this manually so I would understand it better now?
<vika_nezrimaya> ok :3
<vika_nezrimaya> thanks for taking your time to explain