gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
koh has joined #nixos-chat
Blackraider has joined #nixos-chat
Blackraider has quit [Remote host closed the connection]
<abathur> meh, I'm a bit down today; rough day already and for some reason my source <(curl <nix-bootstrap-script>) is failing specifically on travis-ci macOS jobs but running fine on linux ones
<abathur> it's been doing it since yesterday, but I was hoping it was just something transient that would work itself out
<abathur> well, I noticed it yesterday
<abathur> I can't swear it started then
<colemickens> bqv: you were looking into ipfs, have you tried this yet? https://blog.ipfs.io/2020-09-08-nix-ipfs-milestone-1/
rajivr has joined #nixos-chat
<ldlework> Nix makes this sooooo easy, http://logos.ldlework.com/caps/2020-09-10-02-45-41.mp4
<bqv> colemickens: I've tried to compile their develop branch a few times recently, no luck... and I saw the milestone post, but not sure what theyre referring to if anything besides that branch
kroh has joined #nixos-chat
koh has quit [Ping timeout: 260 seconds]
<ldlework> I'm on a mission to get many more languages working!
<iqubic> ldlework: What is that you are working on?
<ldlework> iqubic: Get as many languages I can working in a single org-mode file, via babel.
<iqubic> Ah. I see. That's a great ambition in life
<ldlework> I now have awk, bash, C, C++, C#, D, elisp, fortran, javascript, lua, ocaml, perl, python, R, ruby and scheme
evanjs has quit [Ping timeout: 256 seconds]
evanjs has joined #nixos-chat
kalbasit_ has quit [Ping timeout: 256 seconds]
<sphalerite> ldlework: needs more haskell ;)
<sphalerite> that is very neat though
<ldlework> sphalerite: I could not get ob-haskell to work
<ldlework> I tried for like an hour.
waleee-cl has quit [Quit: Connection closed for inactivity]
<ldlework> heh I just got a for loop working in NASM
<ldlework> I feel proud.
<viric> that's a fundamental building block that can bring you to building all kinds of software
<ldlework> viric: I was pretty deep into x86 reverse engineering for a few year, it's just been a decade or so.
<viric> use your skills to fix FOSS bugs :)
<eyJhb> I need a lockscreen again... :(
cjpbirkbeck has quit [Read error: Connection reset by peer]
cole-h has quit [Quit: Goodbye]
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos-chat
<eyJhb> I know that calling something BATMAN is fun. But then I have to search for it on Google, and then it is no longer fun
<manveru> ldlework: i can haz crystal? :)
<ldlework> if there's an ob-crystal package
iqubic has quit [Ping timeout: 244 seconds]
<manveru> ah :)
<manveru> and ob-nix?
<ldlework> I don't see one.
<ldlework> manveru: I'm calling it The Tower of Babix.
xd1le has joined #nixos-chat
malook has joined #nixos-chat
<manveru> god, terraform is a fickle beast
<ashkitten> someone tell me why nixops is better than ansible in a practical sense
<Mic92> you mean using ansible to deploy nixos?
<immae> ansible is not declarative? if you’re on a debian and you apt-get install a program, then ansible will never care about this new program
<Mic92> I think it has some declarative resources, but when you remove a package you have to do it explicit, while on NixOS you can just remove the package from your list
<ashkitten> hmm
maxdevjs has quit [Ping timeout: 272 seconds]
<immae> That’s what I meant with "not declarative": if you remove some resource from your ansible tasks (with some exceptions), then ansible will *stop caring* about that resource, it will not *actively remove* that resource (unless you ask ansible to actively remove it)
<Valodim> when ansible fails in the middle of a script, you better hope you end up in a stable state
<Mic92> It might be interesting though to have an ansible module that can do nixos-rebuild. Ansible runs without nix, which makes it easier to use in a diverse team.
<ashkitten> i think the person i'm arguing with would just say that these are issues with the ansible scripts not ansible itself
<Valodim> yes just like segfaults are issues of programs, not C itself
<ashkitten> she doesn't like rust either...
<Valodim> yes, well..
<ashkitten> :(
<immae> ansible is not "bad", your friend may have other expectations than you. But the main difference is that you cannot leave things behind when you change some config in nix, while with ansible you only care about what you declare in it (and the rest may or may not exist at will)
<ashkitten> she also says she likes netbsd's reproducible builds better than nix, because it's a traditional package manager
<Mic92> well ansible cannot be better because it has to fight against the system state of your Linux package manager.
<ashkitten> and that pkgsrc can do a lot of the same things as nix, including installing multiple versions of the same package
<ashkitten> it seems neat i guess
<Mic92> Never used pkgsrc, does it updates atomically?
<ashkitten> i doubt it
<ashkitten> it's a classic make install thing
<Mic92> so it would break the system if pkgsrc fails while installing the new libc?
<ashkitten> i don't think that's a problem on bsds
<Mic92> because you never upgrade?
<ashkitten> because the system is separate from packages
<ashkitten> and has a separate upgrade process
<Mic92> that means downtime whenever system security updates are applied?
<ashkitten> i'm not a bsd expert so i can't comment on that
<Mic92> Reminds a bit of windows
<ashkitten> that seems like something that would be a solved problem though
<Mic92> maybe not as bad though
<ashkitten> i don't think netbsd is comparable to windows
<Mic92> I mean the fact that you have to reboot for updates
<ashkitten> you have to reboot for updates on linux
<ashkitten> if you update the kernel or critical programs
<Mic92> For kernel yes, for userland not really
<Mic92> Also some enterprise distros hotpatch the linux kernel
<ashkitten> again idk what the process is like on bsds
<ashkitten> so don't extrapolate from my words
<Valodim> to be fair, I think nix is definitely still in an early adopter stage. it doesn't really cater to people who aren't interested in shiny and new things
__monty__ has joined #nixos-chat
<ldlework> oh huh, I just realized I can actually package babix..
<__monty__> An arduino kernel?
parsley936 has joined #nixos-chat
<joepie91> IMO morph is a lot closer to a "just works, easy to get started with" tool than NixOps though
<joepie91> modulo the required knowledge of Nix itself
malook has quit [Quit: malook]
<ldlework> Can anyone help me think about how to make a derivation that essentially pops out a script that wrap emacs such that it has a number of binaries on its path?
<Valodim> joepie91: interesting. I'll check that out
<__monty__> ldlework: I'd grep nixpkgs for wrap. Tons of packages do this.
<joepie91> Valodim: https://github.com/DBCDK/morph (google doesn't like the page so it's hard to find)
<joepie91> Valodim: it's basically just "declare an object containing all your hosts and their configs, in Nix": https://git.cryto.net/joepie91/morph-rc/src/master/configuration/default.nix#L28
<Valodim> "nix morph" found it just fine for me
<joepie91> oh maybe it has improved then :)
<joepie91> that used to yield nothing useful
<eyJhb> joepie91: Just started out using nixus today
xd1le has quit [Remote host closed the connection]
xd1le has joined #nixos-chat
Blackraider has joined #nixos-chat
Blackraider has quit [Remote host closed the connection]
Blackraider has joined #nixos-chat
* gchristensen tries 20.09beta
<eyJhb> Is that something else than unstable in the nixpkgs-channels?
<gchristensen> yeah 20.09 has its own channel now
<eyJhb> Niiiiiice :D
tilpner_ has joined #nixos-chat
<eyJhb> So release is right around the corner I assume!
tilpner has quit [Remote host closed the connection]
tilpner_ is now known as tilpner
W1lkins has quit [Quit: Bye]
evalexpr has joined #nixos-chat
evalexpr has quit [Client Quit]
<Taneb> Will 20.09 actually be released before some people start claiming it's already October?
<gchristensen> as always, we release before the end of the month ( ;) )
Blackraider has quit [Remote host closed the connection]
Blackraider has joined #nixos-chat
evalexpr has joined #nixos-chat
<joepie91> gchristensen: give or take a few days :P
<etu> Taneb: 40th of September you said?
<joepie91> lol
<joepie91> anyhow, what's the hype for 20.09?
Blackraider has quit [Remote host closed the connection]
Blackraider has joined #nixos-chat
<gchristensen> I have been in a haze since March 17th and I don't know :(
Blackraider has quit [Remote host closed the connection]
<gchristensen> anyway, reboot time
<gchristensen> it works
evalexpr has quit [Remote host closed the connection]
evalexpr has joined #nixos-chat
evalexpr has quit [Remote host closed the connection]
evalexpr has joined #nixos-chat
evalexpr has quit [Client Quit]
evalexpr has joined #nixos-chat
<ldlework> Anyone around to try out something quite cool? :)
<eyJhb> I have asked this too much, does, but what is the website with the package counts?
<ldlework> repology?
<eyJhb> Yess
<NinjaTrappeur> https://www.youtube.com/watch?v=xrIjfIjssLE <= We desperately need Nix: The Movie
<gchristensen> "Hello Eelco" "Hello, Rob"
<NinjaTrappeur> "Hello Eelco, hello rob, building the closure now" :)
<gchristensen> https://gist.github.com/grahamc/fc17c9fb25a68795fb8c097bff8c9677 enjoying the elegance of Unix today (lol)
<__monty__> gchristensen: Can't you just fork rather than use a subshell?
<gchristensen> no, because I need to take several steps
<gchristensen> but it does fork
<__monty__> How does forking prevent several steps?
<gchristensen> maybe I don't understand what you're saying
<__monty__> I guess I'm wondering why it needs to be a subshell and can't just be a fork of the shell, that way you get the child pid.
<gchristensen> maybe you could write out what you mean{
<gchristensen> ? (dang keyboard swapped { and ?)
<__monty__> Unfortunately my shellfu does not suffice without sitting down and working through the problem.
endformationage has joined #nixos-chat
waleee-cl has joined #nixos-chat
<colemickens> bqv: I can't even get the basics of ipfs to work. On my setup, the ipfs config file is owned by ipfs:ipfs and isn't readable by the ipfs group -_-
<bqv> I have a hacky fix for that
<bqv> I dunno why it happens
<bqv> I also don't really want to build another PR
<eyJhb> bqv: Ohhhh PRs are fun!
<bqv> No, they really aren't
<eyJhb> Also, do you have time for a nixus question bqv ? :p Do you deploy using Nixus to your local machine?
<bqv> colemickens: chmod a+r the config
<bqv> Yeah, I do
<colemickens> I could...
<bqv> rc.fron.io/profiles/networking
<eyJhb> How do you allow for Nixus to deploy to your local machine? Have you set a authorized keys for root, or just allow for your main user to sudo without any PW?
<eyJhb> I am a little confused by that
<colemickens> idk what is going on but everytime I try to touch ipfs stuff hangs
<bqv> It ssh's to itself, as me, and then does sudo
<colemickens> after chmod, `echo {} | ipfs dag put` -> hangs
<bqv> Have you by any chance been deleting pins
<eyJhb> But it needs to be a passwordless sudo? Right? Do you have your configs online?
<colemickens> bqv: there's never been any ipfs data on this system
<bqv> See above
<bqv> Doesn't mean no pins
<bqv> The MFS root would have been pinned
<colemickens> oh ok. I'll check out your ipfs.nix real quick
<bqv> Deleting that causes a bug
<bqv> That makes all ipfs commands hang
cole-h has joined #nixos-chat
<abathur> huh, just got an email from actions about a job that failed 8 days ago
<abathur> gave me an annoying ~5 minute freakout about how the hell the code was in that state :)
<colemickens> bqv: sorry if I'm being daft but what is the recovery process if I've gotten myself in this case? I don't see anything in here that looks like an automated fix for "MFS root" (I do see the to/fromipfs scripts, the wrapper, the execstartpost to fixup the config file, etc).
<bqv> colemickens: the fix is to find the "mfs-replace-root" script on github, and use that to set something that's actually in your repo
<bqv> The empty directory probably works best
<bqv> Theres a tracking issue on go-ipfs for this
<colemickens> :| this is quickly destroying any interest I had.
<colemickens> I literally just activated this yesterday and have done nothing and it's broken?
<bqv> I don't think the bug shows up unless you get triggerhappy with deleting pins
<bqv> Mine's fine now I've stopped doing that, at least :p
<colemickens> hm something was just jammed in systemd startup
<colemickens> I stopped one of the sockets and then all of the sudden it finished booting up and put dag put worked???
<bqv> Heh
* colemickens its too early in the day for this kind of stuff
<bqv> Relatable
<bqv> Sup, lucy
<cole-h> abathur: I think something whacky's going on with GH's mail
<cole-h> I just got an email for #97023 (which I manually subscribed to after it was posted) and just now got an email for it as if I had been mentioned in the PR body
<{^_^}> https://github.com/NixOS/nixpkgs/pull/97023 (by Infinisil, 1 week ago, open): Module-builtin assertions, disabling assertions and submodule assertions
<abathur> yeah
<abathur> maybe they fixed the server processing a stuck queue or something
ixxie has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
maxdevjs has joined #nixos-chat
<pie_> mmm....i cant get the SDL in my kdenlive to see my pulseaudio... :/
<pie_> MLT ERROR:
<pie_> "[consumer sdl_audio ] SDL failed to open audio: No available audio device"
<pie_> owo whats this ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ixxie has quit [Quit: Lost terminal]
ixxie has joined #nixos-chat
Blackraider has joined #nixos-chat
Blackraider has quit [Remote host closed the connection]
buckley310 has joined #nixos-chat
<pie_> melt (mltframework) works...kdenlive must be misconfiguring something :/
<pie_> changing the audio device away from default doesnt work, but i restarted my audio stack and left it on default and it works now? *shrug emoji*
<infinisil> Damnit, youtube is down
<infinisil> Just when I wanted to watch something
<infinisil> Got a 500 at least, seems to work again now
tazjin has quit [Remote host closed the connection]
tazjin has joined #nixos-chat
ixxie has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
<ashkitten> ugh firefox is so janky with a touchscreen
parsley936 has quit [Remote host closed the connection]
<samueldr> ashkitten: with or without the environment variable workarounds?
<JJJollyjim> Oh neat, I didn't know it had touch support at all
<ashkitten> samueldr: with
<ashkitten> at least under gnome wayland
<ashkitten> it's awful. menus don't work right at all
<ashkitten> they just get stuck unless you interact with them
<samueldr> I know that (on x11) there is an issue with gtk3 menus, not sure if it can be related
<samueldr> it should be fixed in the just-released or just-releasing gtk
<samueldr> quick look at the issue it's x11 specific most likely
<samueldr> and I don't know how much gtk firefox actually is using
Blackraider has joined #nixos-chat
<ashkitten> weather forecast tomorrow: fire
Blackraider has quit [Remote host closed the connection]
<ashkitten> samueldr: it's not x11
<ashkitten> and firefox is using wayland
Blackraider has joined #nixos-chat
Blackraider has quit [Remote host closed the connection]
<samueldr> yeah, I didn't remember at first if the menu thing was specific to a backend
Jackneill has quit [Ping timeout: 256 seconds]
buckley310 has quit [Quit: Connection closed for inactivity]
Jackneill has joined #nixos-chat