worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
__monty__ has quit [Quit: leaving]
leungbk has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @tviti opened pull request #88837 → gmt: init at 6.0.0 → https://git.io/JfVYb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88838 → monolith: 2.2.5 -> 2.2.6 → https://git.io/JfVYA
agjacome has left #nixos [#nixos]
agjacome has joined #nixos
corpix has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
corpix has joined #nixos
corpix has quit [Remote host closed the connection]
Ralith_ has quit [Remote host closed the connection]
leungbk has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c opened pull request #88839 → lazarus: fix linking by the IDE; → https://git.io/JfVOt
corpix has joined #nixos
pinkieval has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @leo60228 opened pull request #88840 → vimPlugins.vim-graphql: init at 2020-03-30 → https://git.io/JfVOn
<craftyguy> Is anyone using ccache with nix-build?
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #86290 → cri-o: update module configuration → https://git.io/Jfmji
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @saschagrunert to master « cri-o: update module configuration »: https://git.io/JfVO4
<numkem> when I use unstable.consul as the package I get this error: error: attribute 'bin' missing, at /nix/store/1y17brkr5av6w8d33sd2dinfj12dkq2n-nixexprs.tar.xz/nixos/modules/services/networking/consul.nix:184:27. If I don't change the package all is well. What could I to to change it?
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @Aver1y opened pull request #88841 → haskell: Fix developPackage ignoring extend → https://git.io/JfVOg
<numkem> my understading is the module that is tied to unstable.consul isn't the same as the one from 20.03.
otulp has quit [Ping timeout: 260 seconds]
cartesian-theatr has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<cartesian-theatr> Hi, I'm looking for any info on building nix packages out of libraries built with cmake. So far I've only found this small section on it:
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfVOP
<numkem> is there a way to import/override a module?
<cartesian-theatr> https://nixos.wiki/wiki/C
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I am collecting opinions on good do generation
<cartesian-theatr> Anyone know of other resources to learn from?
<fresheyeball> right now it's been mkdocs and sphinx
<fresheyeball> anyone have strong opinions to share?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #88839 → lazarus: fix linking by the IDE; → https://git.io/JfVOt
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfVOM
drakonis_ has joined #nixos
<cartesian-theatr> @freshball I don't know anything about in the context of nix, but I've always found sphinx to work geat.
<fresheyeball> Cartesian-Theatr: you got a nix expression for sphinx things?
drakonis2 has quit [Ping timeout: 244 seconds]
<cartesian-theatr> fresheyeball haven't used it with nix yet.
otulp has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<energizer> fresheyeball: i haven't used mkdocs. i have complicated feelings about sphinx. it's complex and powerful. some of the core functionality comes from docutils, which is maintained by a couple people on sourceforge.
orivej has joined #nixos
<energizer> sphinx documentation is really good quality imo
<energizer> i mean projects documented with sphinx
<energizer> the documentation of sphinx itself is also pretty good
<energizer> maintainer's very responsive
fusion809 has joined #nixos
leungbk has quit [Remote host closed the connection]
evanjs- has joined #nixos
<srid> fresheyeball: use zettelkasten for docs.
cartesian-theatr has quit [Remote host closed the connection]
evanjs has quit [Ping timeout: 256 seconds]
<srid> eg: https://haskell.zettel.page/ (uses nix 😛 )
<energizer> i believe fresheyeball is asking about https://github.com/NixOS/rfcs/pull/64
<{^_^}> rfcs#64 (by Infinisil, 20 weeks ago, open): [RFC 0064] New Documentation Format for nixpkgs and NixOS
<fresheyeball> srid: what is it?
<energizer> oh mkdocs seems pretty minimal
<fresheyeball> energizer: nah, I am documenting a haskell thing not a nix thing
<fresheyeball> but this IRC is the best IRC to ask questions imho
<srid> fresheyeball: linear notes densely linked, allowing hierarchy (heterarchy) to evolve over time organically. https://neuron.zettel.page/2011401.html
<fresheyeball> srid: isnt that more a general not taking system? And not a technical doc manager?
pinkieval has joined #nixos
<srid> General, yes. But I don't see why it can't be used to maintain documentation. I do that in the neuron's project website itself.
<srid> One stop place for all knowledge. I don't see why there has to be a duality between project website and a separate docs system.
<srid> And my hope with the haskell zettelkasten is that it becomes some sort of community knowledgebase.
<srid> (If nothing else, it will remain a staging area for my haskell notes)
<energizer> yeah looks like mkdocs is quite minimal. sphinx is playing a somewhat different sport
<energizer> of those two i would use sphinx because it's got a lot more going on. the other candidate would be ascidoc.
<energizer> asciidoc*
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-05-21 -> 2020-05-24 »: https://git.io/JfV3W
<emily> fresheyeball: asciidoc is another big player
<emily> heh, good timing
<hpfr[m]> does `insmod my-module.ko` just work on nixos? or do I need to configure that?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<fresheyeball[m]> Thanks
<emily> (asciidoctor and antora are the tools worth looking at there)
<fresheyeball[m]> It's still me, I moved to riot
<abathur> with a big asterisk, because the main Sphinx project I'm working on is still back on a pre 2.0 version, I like Sphinx, and reST, but I've found you'll hate life least if you don't need to fiddle with the output
<abathur> I guess that technically extends to docutils
<emily> I would personally recommend Anything But Markdown (so not MkDocs)
<fresheyeball[m]> Why not markdown?
orivej has joined #nixos
<abathur> I'm a quixotic fan of semantic markup for technical docs
<emily> it's a cobbled together pile of syntax hacks to write blog posts, not a documentation markup format
<emily> it's fundamentally based on being able to dive down to HTML when you need to
<energizer> i tend to agree with emily
<emily> there's also problems with diverging specs etc., although there's at least commonmark these days
<abathur> it's fine to write blogs, forum posts, and issues in markdown--but when you need to be able to refer to technicals with strong semantics markdown leaves a lot to be desired
<emily> reST/AsciiDoc are both more principled and more extensible
<emily> and e.g. I think CommonMark doesn't even do tables
<abathur> also, *all* presentation markups leave a lot to be desired when it comes to converting to any other format/ecosystem
justanotheruser has quit [Ping timeout: 265 seconds]
<numkem> I ended up overriding systemd.services.consul.serviceConfig with the patched values and it's working
<emily> (fwiw, reST/Sphinx have their own document model, AsciiDoc inherits DocBook's)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88842 → openh264: 2.1.0 -> 2.1.1 → https://git.io/JfV3u
<emily> (both are substantially more semantic and elaborate than anything Markdown really has)
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88754 → guid: fix compilation of Setup.hs and disable tests → https://git.io/JfayZ
<abathur> because you don't have semantics to translate, you just have semantics holistically projected onto presentational markup, and if a different format needs different treatment, you don't have enough information left to work with
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfV3z
<emily> there is something to be said for HTML being pretty much the only output format that matters these days in many cases, but I do agree in the abstract
marcusr has quit [Remote host closed the connection]
<energizer> sphinx does have a built-in latex output anyway
marcusr has joined #nixos
<abathur> HTML is certainly critical, but if you wrote your docs in *presentational* HTML, they'd still be roughly worthless if you needed to translate them
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88834 → [haskell-updates] Add maralorn as maintainer for same haskell packages → https://git.io/JfVYL
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to haskell-updates: https://git.io/JfV36
<abathur> I guess it's just a general shortcoming of all writing formats
<fresheyeball[m]> Yeah. I have had good luck with markdown for everything so far. I make PDFs with pandoc. Latex support is great
<abathur> if you wrote presentation and not semantics, you'll have a hard time translating it
<energizer> someday i can imagine a fancy system that guess the intended semantics from a markdown document, but i dont know of anything like that today
<emily> energizer: that's called a human and they're pulled into the loop to rewrite things when you suddenly discover you want your markdown docs to become a published book :P
<fresheyeball[m]> I see markdown as just simple markup for writing, where you can embed whatever, not just html
<emily> eagerly awaiting the neural-net-enhanced version of pandoc that can go from presentational to semantic formats, though
<energizer> emily: exactly
cartesian-theatr has joined #nixos
<emily> fresheyeball: I'll agree that Pandoc makes Markdown almost bearable, but it's much more due to the virtues of Pandoc than Markdown IMO
<abathur> I don't really feel like Markdown is terribly deficient in any way, I just think it's a hammer/nail thing when it comes to technical references
<fresheyeball[m]> Well, I don't really care what markup it's in. I have never written big docs for an open source project before
<abathur> technical blog posts? fine
<fresheyeball[m]> And I know there are lots of options and pitfalls
<abathur> it's good for writing, it just isn't good for all of the other automated stuff that helps when it comes to maintaining a big technical reference corpus
<energizer> fresheyeball[m]: if you want good docs, use sphinx or asciidoc. with markdown you'll either get bad docs or basically end up writing a compiler
<fresheyeball[m]> If the primary reason to use asciidoctor is the markup lang, that's not a good reason for me
<energizer> my opinion, anyway
<abathur> i.e., making sure everyone's crossrefs resolve
<energizer> that's not the reason fresheyeball[m]
<fresheyeball[m]> What is a concrete example of where markdown fails for technical documentation?
<fresheyeball[m]> Engenergizer ok, do tell, what is the reason
<fresheyeball[m]> ?
<abathur> I'm a little interested in pollen (the Racket project), but I haven't used it myself so I can't whine if some pollen/racket wizard doesn't materialize with a demo
<Ashy> so for the past couple months screen locking has been broken for me in gnome on nixos 20.03 and nixos-unstable, has anyone else seen this problem?
evanjs- has quit [Read error: Connection reset by peer]
<energizer> fresheyeball[m]: take a look at the feature list https://www.sphinx-doc.org/en/master/
<abathur> So, for example, you refactor some code and all of the symbols move; The markdown had a bunch of plain links to plain HTML pages with no semantics, so either you have to go manually relink them all or you have to layer on a parser that adds your semantics (based on the link paths maybe?)
user_0x58 has quit [Ping timeout: 260 seconds]
<abathur> or you have to come up with some s/blah/blah and hope it works
fresheyeball has quit [Quit: WeeChat 2.7.1]
<fresheyeball[m]> energizer: ok. So features are Fab!
marcusr has quit [Remote host closed the connection]
evanjs has joined #nixos
<abathur> but if it was its own semantic entity, you can hook in the verification logic you need, get errors from unresolved references, add logic to find the line of a cross-reference in a file without the author needing to know it...
<emily> markdown doesn't even have... like... proper cross-references really
<abathur> it has links
<abathur> you get links
<emily> yeah, you just have to hardcode the output html paths in your source documents, it's great
marcusr has joined #nixos
<emily> or else invent your own source -> build link mapping
<emily> at which point you're well on your way to building your own xref system
* energizer senses upcoming nix-based documentation engine
<abathur> nod
<abathur> obvs :D
<abathur> has anyone kept up with Sphinx versions for the past few years? I'm not really "up" on what has changed and the changenotes are more voluminous than I've had time for yet
<abathur> I guess mainly I don't know if it's all tweaking or if there's been substantive evolution
<fresheyeball[m]> Yeah, references are out of scope for something simple like markdown
KindOne has quit [Ping timeout: 272 seconds]
<ldlework> fresheyeball[m]: have you heard of Styx?
<abathur> fresheyeball[m]: (which is why I say it's great for blog posts and forum posts and issues and stuff--it is a format I enjoy writing in)
<{^_^}> [nixpkgs] @eadwu opened pull request #88843 → vscode-extensions/update-8 → https://git.io/JfVse
Soo_Slow has quit [Quit: Soo_Slow]
<abathur> I honestly am a little annoyed at reST for a lot of the presentational markup it *does* have
slack1256 has joined #nixos
<energizer> abathur: you mean like *emphasis* etc?
<abathur> for a few years now I've had a yak-shaver's urge to make a mostly-semantic lightweight markup language that gives you as few footguns as possible
<ldlework> abathur: have you used org-mode?
<energizer> man, i love org mode as much as anyone but org mode aint even in sphinx's league
<energizer> (for writing tech docs)
<ldlework> energizer: why would i be bringing up org-mode as a documentation generator and not a markup?
drakonis1 has joined #nixos
ddellacosta has joined #nixos
<fresheyeball[m]> ldlework: I have not, tell me of Styx!
<fresheyeball[m]> If you mean the band then yes
<ldlework> fresheyeball[m]: it is a static content generator based on Nix
<ldlework> hehe
<energizer> ldlework: i see, you meant as markup
<abathur> I'm aware of org-mode, though I haven't used it (I do use a very similar sublime text extension to manage notes/TODOs for basically everything I do, though
<ldlework> Styx doesn't have any doc generation ability yet, but it's quite primed to be used for that.
<{^_^}> styx-static/styx#27 (by PierreR, 3 years ago, open): Request for a theme tuned for displaying documentation
<energizer> would be nice if styx had rst support
<ldlework> It's trivial to add new transformers to styx lol
<ldlework> You don't even need it to support anything
drakonis_ has quit [Ping timeout: 260 seconds]
<ldlework> Just use whatever from nixpkgs will do the trick
<energizer> it has markdown and asciidoc built in, right?
<ldlework> And transform your own stuff.
<ldlework> Yeah
<ldlework> But we're planning on making that stuff less built-in.
<ldlework> There's literally no reason to have any of that baked in.
<energizer> sounds like the right call
<ldlework> It's nix. Just use literally whatever :P
<abathur> energizer: almost everything that people love to put in <format> vs <format> comparison tables? :)
<energizer> haha :)
<fresheyeball[m]> <ldlework "fresheyeball: it is a static con"> ldlework: oh, thats cool if I want to blog
morgrimm has joined #nixos
<ldlework> fresheyeball[m]: blogs are not the only kind of static content there is..
<abathur> there's a JS project I've considered trying, because I'm honestly in a bit of a stockholm syndrome relationship with Sphinx and docutils from some output-customization work I had to do to create a doxygen-compatible output writer
<ldlework> docs are static content..
<abathur> UnifiedJS?
markus1199 has joined #nixos
<abathur> yes; unifiedjs; I haven't really used it, but I noticed they also have an RST parser (but obviously not a lot of the extensions...)
<abathur> and I say this as someone who generally avoids installing anything from NPM if I can avoid it
justanotheruser has joined #nixos
<abathur> but, that said, I think sphinx/docutils are getting the fundamentals right; my gripes are mostly just about where they decided to cut the abstractions making it a PITA to customize some things
<ldlework> my problem with sphinx is mostly that it's a sprawling codebase of mostly-ok quality code
<ldlework> i open it up and i'm like "nah" every time
<abathur> nod
<ldlework> but just using it, it does the job reliably
<abathur> yeah
markus1189 has quit [Ping timeout: 265 seconds]
<ldlework> that said, someone will have to integrate docutils into sphinx at some point
<abathur> I like that it's pretty trivial to add new semantic roles and directives as long as you don't need custom parsing or output I guess
<ldlework> errr
morgrimm has quit [Ping timeout: 256 seconds]
<ldlework> into Styx *
<ldlework> lol
<ldlework> I'm really excited about Styx, but I hope I can find some help.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6653328aefe (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<fresheyeball[m]> <ldlework "fresheyeball: blogs are not the "> ldlework: I agree, but I have a feeling Fab features beyond static generation exist in things like sphinx for a reason
<ldlework> Fab features?
<ldlework> No idea what that is.
jkarni_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88844 → picard-tools: 2.22.7 -> 2.22.8 → https://git.io/JfVs0
<fresheyeball[m]> ldlework: ^^
<ldlework> "fab" doesn't appear on that page
<superbaloo> how to escape {} in a shell in nix?
<fresheyeball[m]> Fab as in fabulous
<superbaloo> I mean when a shell is generated form a nix-expr
numkem has quit [Ping timeout: 264 seconds]
<fresheyeball[m]> <superbaloo "how to escape {} in a shell in n"> superbaloo: superbaloo I think it's double $$
<cole-h> ,escape {}
<{^_^}> Escape this in " and '' strings with: {}
<cole-h> ,escape ${asdf}
<{^_^}> Escape this in " strings with: \${asdf}
<{^_^}> Escape this in '' strings with: ''${asdf}
<cole-h> superbaloo: ^ ?
<superbaloo> like echo ${foo:0:4}
KindOne has joined #nixos
<cole-h> ,escape ${foo:0:4}
<{^_^}> Escape this in '' strings with: ''${foo:0:4}
<{^_^}> Escape this in " strings with: \${foo:0:4}
<cole-h> :^)
<superbaloo> what
<lovesegfault> cole-h: about to reboot into a fully -march=skylake'd system image
<lovesegfault> let's see what happens :P
<cole-h> lovesegfault: Oh, you figured out how to do t hat?
<lovesegfault> yes
<cole-h> How many days of torture did that take your buildslave?
<cole-h> :P
<superbaloo> ho wow
<lovesegfault> A couple hours
<superbaloo> that's some dark margic
<superbaloo> that works cole-h thanks :) I did not expect that syntax at all
<ldlework> fresheyeball[m]: sure, if you want documentation generation now, Sphinx is king. I was mentioning Styx because we're in #nixos and there's nothing to stop someone from adding such features to Styx.
<abathur> I hope there's a band called Dark Margic
<lovesegfault> cole-h: rebooting, brb
<cole-h> lovesegfault: o/
jkarni_ has quit [Ping timeout: 246 seconds]
<fresheyeball[m]> ldlework: ok fair. Styx is amazing for sure
slack1256 has quit [Remote host closed the connection]
<ldlework> fresheyeball[m]: i'm just fishing for help ;)
<fresheyeball[m]> I know that feel
<fresheyeball[m]> emily: just checked out antora
<fresheyeball[m]> It's so pretty
<lovesegfault> Alright, it all works cole-h :D
<cole-h> lovesegfault: :D
<abathur> ldlework: on that point; noticed your message a while after you wrote it the other day--sorry, I'm too many yaks deep at the moment
<cole-h> lovesegfault: What do you use that requires those overlayed Haskell packages? 🤔
<ldlework> abathur: shame
<lovesegfault> cole-h: fwupd pulls in tpm2-tools which pulls in pandoc, which pulls in all of the visible haskell universe
<cole-h> lolwat
<cole-h> That's actually kinda hilarious
<abathur> so many yaks in that my life feels like a scene they left out of the director's cut of inception because it wasn't plausible enough
<lovesegfault> it's sad :P
<ldlework> abathur: if you change your mind we're over at #nixos-styx
<abathur> <3 ldlework
<{^_^}> ldlework's karma got increased to 15
<abathur> I think I started my outer-most yak in like 2012 or 2013
<abathur> the yak I'm currently on I started in 2015
<bqv> Is this a yak shaving reference
<abathur> extremely
<{^_^}> [nixpkgs] @maralorn opened pull request #88845 → [haskell-updates] haskellPackages.shh: Mark unbroken → https://git.io/JfVsK
<fresheyeball[m]> I think I am team Antora now
<fresheyeball[m]> emily such a suggestion!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88847 → plex-mpv-shim: 1.7.16 -> 1.8.0 → https://git.io/JfVs6
<lovesegfault> 92177 store paths deleted, 128002.10 MiB freed
<lovesegfault> The good stuff
<cole-h> Nice lol
<simpson> Antora looks interesting. I wonder how it compares with Runbook: https://github.com/braintree/runbook
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
<energizer> fresheyeball[m]: sphinx has tons of different themes that look very different
<superbaloo> there is no way to expose nix in a nix-build right?
<superbaloo> (I'm getting error: getting status of /nix/var/nix/daemon-socket/socket: Permission denied)
<superbaloo> when trying to use it
<cole-h> No, that's due to the sandbox.
<bqv> lovesegfault: raaah, you need to gc more often
<fresheyeball[m]> But look at Antora, the idealism, the youth, the attention to detail
pjt_014 has joined #nixos
h0m1 has joined #nixos
<superbaloo> yeah, that kind of make sense ^^ just being sure I wasn't missing anything here :D
<fresheyeball[m]> Antora makes Sphinx feel like old guard established farts
<lovesegfault> bqv: I only gc when the boot menu gets slow to load
<emily> superbaloo: yes, you can turn on the experimental recursive-nix feature and live dangerously
<lovesegfault> lol
<ldlework> Does Antora actually generate the documentation, or is it just building asciidoc stuff?
<fresheyeball[m]> It's built on it I think
<emily> I'm not sure what the question is there... sadly javascript has not yet reached the point where it can author documentation for yyou
<fresheyeball[m]> The model is really good from what I am reading
<cole-h> lovesegfault: I only ever see 3 boot entries -- the last 2 generations, and the "reboot into firmware" one :')
<emily> antora uses a js asciidoctor port fwiw
<emily> using, um, a machine translator from Ruby
<ldlework> I'm asking though, does it actually read source code and generate API documetation?
<ldlework> Or is it just a system for building asciidoc?
<fresheyeball[m]> Well so it's shite under the hood, is Python really better?
<emily> that would be the job of a plugin or something generating asciidoc I think, I don't think Antora handles that itself
<ldlework> "Antora is a modular, multi-repository site generator designed for creating documentation sites from content composed in AsciiDoc and processed with Asciidoctor."
<emily> fresheyeball: nah I'm not criticizing really
<ldlework> "content composed in AsciiDoc"
<emily> it's just kinda cursed, like all technology
<ldlework> this sounds like
<ldlework> "we build hand-written asciidoc"
<emily> yes
<ldlework> which sounds like something Styx is pretty good at. It's own documentation is asciidoc.
<energizer> ldlework: i'm thinking antora and styx are in the same part of the system?
<ldlework> And why wouldn't you wanna use Nix for something like building static content?
<ldlework> Or literally anything.
<emily> I'm not really sure what your point is since I don't think anyone was talking about automatically-generated API docs
<ldlework> That's what I think when I think "documentation generator"
<ldlework> Sphinx has things to do documentation generation built in.
<emily> there's a lot of functionality between "raw asciidoc converter" and "automatically generated API docs"
<ldlework> iyss
<emily> antora does more than raw asciidoctor, maybe less than sphinx with all the bells and whistles
<ldlework> a documentation generator that doesn't read code and generate api documentation to me sounds an awful lot like "static content generator"
<energizer> does antora do something that styx doesnt?
<ldlework> I'm wondering the same.
<ldlework> This documentation is asciidoc based, and built by Styx, https://styx-static.github.io/styx-site/documentation/index.html
<ldlework> Styx can even read Nix module option declarations and generate api documentation for them.
<energizer> link that?
<ldlework> generate docs for your static site and it's themes
<abathur> it's the same basic work, yeah; there's a reason this whole space is mega incestuous and confusing
<ldlework> Styx has repo-located tools for using the same against it's own module options which is how it documents it's own API.
<energizer> in some sense the product we're talking about is "build system for websites"
<ldlework> abathur: hehe
<abathur> almost anything that can generate docs or a static site or convert a doc or a site or a format is biting off a small piece of the task
<ldlework> energizer: yes, where "website" is a subset of "static content"
<energizer> er yeah "build system for static sites"
<ldlework> you could use it to reformat video, classify audio, optimize images, etc
<abathur> which is where I came in, I think
<ldlework> It's not like other content generators where you have baked in ideas, and only the tools available in the tool.
<energizer> it doesn't have functionality for that tho, that's just nix right?
<ldlework> Styx is Nix, so you can pull in anything.
<energizer> i mean at some point we're not using any styx code and just using nix
<ldlework> Styx is what's going to help you relate your content assets to each other via metadata, and to target them to disk.
<ldlework> But yeah Nix being right there is a huge value prop
<ldlework> Earlier today I wrote a minimal test site where I bypassed Styx's theme system and transpiled a less file to css, using the same system you use to transform markdown to html
<simpson> Hm. Does Styx have tools for helping keep big blobs of video, audio, images, etc. out of the Nix store?
<ldlework> Which is what we were talking about earlier in saying we've been discussing "generalizing" Styx
<abathur> unfortunately, for the contact project I'm interested in generating content for, I have had to cut it back out of my short-term goals :(
<energizer> simpson: i dont see why those should be kept out of the store
drakonis_ has joined #nixos
<abathur> simpson: yeah, that's one of my hangups with using Nix here
<ldlework> you can just GC
<ldlework> And the value propositions of getting your content generation system ontop of Nix is probably worth that
<simpson> energizer: Certainly, on principle, I agree. But in practice, sometimes files are so large that even N=2 copies requires a bit of planning. git-annex handles this relatively gracefully, but it was purpose-built for that task.
<abathur> energizer: In my case, the company I'm contracting with does a lot of video work and already has a video server they have to throw hard drives at every few weeks; telling them to store extra copies of full video projects is going to be a hard sell
<ldlework> It was just to illustrate the point that there's nothing here about "websites" neceassarily
<ldlework> Or markups.
<ldlework> Data goes in. Data gets transformed, aggregated, and related. Data gets targetted to disk.
<abathur> energizer: especially after I explain how they'd recover the Nix store copy if they removed/archived the one that went in
<ldlework> Use Nix along the way.
<ldlework> :)
<abathur> ldlework: we're all just reinventing Make a trillion different ways anyways, eh?
<abathur> :]
<ldlework> With Make you have to manually specify resolution order.
<ldlework> I have been writing a system like the "generalized Styx" I'm talking about for a few years.
<energizer> simpson: gitannex-style multi-store management would be a cool feature to have in nix
<ldlework> And it's working pretty good. But the main source of perceived complexity on the user end is that since it's Python, the user must take care to order their pipelines.
<energizer> or over nix
drakonis1 has quit [Ping timeout: 260 seconds]
<ldlework> I had been thinking for a week "argh, Blot should really be Nix"
<ldlework> Then I found that Styx was abandoned.
<abathur> not an accusation, just a minor realization re: why all of the static site/doc generators overlap so much
<ldlework> abathur: Sure, I just think there's value in writing one more static site generator :)
<ldlework> s/site/content!!
<abathur> always!
<abathur> well, I guess not
<ldlework> Just one more ;)
<abathur> there's something about unifiedjs
<abathur> about buildnig really modular parts that feels a little unixy despite having not tried it
<emily> people will always reinvent the build system wheel so long as using nix requires rewriting all your dependency-sensitive code in nix
<emily> shake avoids that by being a library for a normal language, recursive nix could help avoid that too
<emily> I'd be a lot more interested in a recursive Nix-based site generator than one that forces me to work in Nix all the time whenever new dependencies might be generated tbh
<emily> especially since either you don't support proper xref / link-checking functionality, or you're doing parsing of markup in Nix code, or you have to use IFD
<abathur> so I guess maybe there could be a static text generator to rule them all if it got the modularization so right that it was just obvious to everyone that all other tools really just needed to be modules
<ldlework> styx has built in linkchecker
<emily> none of those is a particularly nice pill to swallow, and once you're doing the latter, well, that's kinda back to my point about recursive Nix
<energizer> ldlework: how does the linkchecker work, ie why doesnt it get blocked by sandboxing?
<ldlework> all i know is that i can definitely model the ldlework.com i have in mind with the system that Styx represents.
<emily> ldlework: let's say I want to support <option>services.acme-dns.enable</option> in my site text, and have that automatically look up the option and link to the generated options for the acme-dns NixOS module
<srid> Is it possible to have an environment variable point to a derivation, and have that available in nix-shell?
<ldlework> and I've already found it incredibly useful to just pull in any Nix package to do what I want
<hpfr[m]> trying to build a go program, go is in my shell.nix. I know barely anything about go, and it gives me a warning `warning: GOPATH set to GOROOT (/nix/store/1r61f7iwqfb6dm1krqpj9cjfifjnfmjx-go-1.14.2/share/go) has no effect` and then breaks because the nix store is read only
<ldlework> energizer: Styx ships a cli which uses nix-build
<ldlework> so it can run the checker after the build is done
<ldlework> like an activation step if you wanna think of it like that
<emily> ldlework: how do you properly express that my <option>...</option>-mentioning file depends on the generated NixOS module documentation without either using import-from-derivation to get the crosslinks from some smarter parser, or interpreting the whole <option> stuff in Nix code entirely?
<emily> this sounds awfully elaborate, but it's kind of table stakes for any sufficiently fancy site/docs generator -- you could express it pretty easily with Shake
<{^_^}> [nixpkgs] @cdepillabout merged pull request #88845 → [haskell-updates] haskellPackages.shh: Mark unbroken → https://git.io/JfVsK
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfVGI
<emily> (and it's e.g. the kind of thing the NixOS manual does a ton)
<ldlework> emily: sorry i don't really follow, but it sounds like you got a tool that works for ya
<fresheyeball[m]> srid: yes, easily
<fresheyeball[m]> just make a random element on your derivation set
<fresheyeball[m]> It will be an env var automatically
<srid> hoping it didn't have to drop back to mkDerivation
<srid> would have been neat if i could do it with developPackage
<fresheyeball[m]> I don't know what that is
<fresheyeball[m]> But I bet the functionality is still there
<srid> because, otherwise i'd have to create a shell.nix and wrap what's in default.nix just to add an env var
<srid> TIL googling for "haskell developPackage" links to my blog post!
<fresheyeball[m]> { FOO = "${mypkg}"; }
<srid> perhaps i can do it in `modifier`
<fresheyeball[m]> Or you can update developPackage to pass down unknown set elements
<srid> lib.makeOverridable?
<fresheyeball[m]> Which it should
orivej has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos
sigmundv has quit [Ping timeout: 256 seconds]
raghavsood has quit [Ping timeout: 245 seconds]
<srid> well, overrideDerivation doesn't work for sure. doesn't set the env var
<quiet_laika[m]> on my macbook, ctrl+t at the terminal when a command is running prints the name of the currently running process/job (not necessarily whatever you invoked), along with some time and load info. does anyone know how to cajole my thinkpad running nixos + i3 to do the same?
<Ashy> quiet_laika[m]: macos catalina has zsh as the default shell now, maybe that's a zsh thing?
<energizer> emily: looks like recursive nix is already in master?
<{^_^}> nix#3205 (by edolstra, 28 weeks ago, merged): Recursive Nix support
<quiet_laika[m]> it works across shells
<emily> yep
<abathur> Ashy: don't think so; I just made it work in bash
<abathur> not that I already knew about it...
<quiet_laika[m]> i think it sends SIGINFO?
<emily> it's in nixpkgs.nixFlakes, maybe nixpkgs.nixUnstable too, not sure about nixpkgs.nix
<emily> (nixos-unstable here)
jluttine has quit [Ping timeout: 260 seconds]
<Ashy> oh wow, bsd only?
<quiet_laika[m]> `By this definition, SIGINFO only is available on alpha or sparc architectures.` sad!
<Ashy> does the freebsd nix port still work?
<energizer> emily: does that solve your problem with styx?
<srid> okay, overrideAttrs on the result of developPackage works
<emily> well, the main reason I'd want recursive Nix is to avoid having so much in Nix
<emily> but it depends on whether Styx is structured in such a way that it'd be amenable to recursive use
cartesian-theatr has quit [Ping timeout: 245 seconds]
<energizer> emily: basically you just want to run sphinx inside a nix-build, right?
<abathur> I guess DRY is an important feature; if the project isn't Nix only it's probably going to be a pain to express much in Nix
<energizer> like intersphinx grabs some deps and nix makes more derivations with them
<ldlework> I am already doing that kind of thing, with like the native lessc compiler, etc.
<ldlework> you can make derivations, pull in packages from nixpkgs, run your own data through arbitrary tools, etc.
<ldlework> from the user side
<abathur> emily: a frustrating miss for decades already is that the obvious place to associate code&doc entities is compile/build, but it's almost always a bolt-on kind of thing
<emily> yeah
<abathur> I guess that applies to syntax highlighting and linting and ...
<emily> the doc generation tools that are nice about this are often the ones tightly coupled to compilers / API doc generation
<emily> e.g. rustdoc
<abathur> wonder how many dev hours have been wasted by this same basic problem
<abathur> nod
<emily> part of why I don't think "do everything in Nix" is viable is because you inevitably depend on complex analyses like these (in ways that don't work well with Nix, i.e. ways that affect the build graph)
<ldlework> Nim has docgen built into the compiler, https://nim-lang.org/docs/docgen.html
jluttine has joined #nixos
<ldlework> I'm not sure what "complex analysis" we're referring to.
<ldlework> Or how using Nix for a use-case which is essentially a build process is an example of "nix for everything"
<ldlework> Seems all uphill here..
<maralorn> Does recursive.nix mean that in the future every software that provides a release.nix file can have a completely generic derivation in nixpkgs?
orivej_ has quit [Ping timeout: 272 seconds]
<energizer> ldlework: i think emily is talkinga bout when your build steps dynamically generate other build steps
<ldlework> It doesn't work like that though.
<energizer> what do you mean?
<ldlework> You're just building up an attrset.
<ldlework> when you say { siteCss = ... } that ... can be anything
<energizer> ya but how does the ... get filled
<ldlework> including a derivation, that depends on the output of another derivation, which depends on yet another previous derivation
<ldlework> and so on
<ldlework> how do you think!
<ldlework> someData = loadSomeData(files)
<ldlework> processedData = processData someData
<ldlework> finalizedData = finializeData processedData
<ldlework> etc ad infinitum
imalsogreg has quit [Ping timeout: 260 seconds]
<energizer> ideally it would get filled by running sphinx code
<ldlework> any pkgs from nixpkgs can used along the way
<ldlework> energizer: also
Chiliparrot has joined #nixos
<ldlework> let's say you got that siteCSS attribute in the attrset
<energizer> like poetry2nix parses the poetry.lock in pure nix, but that's too much work for anything more complicated
<ldlework> some other attribute could somewhere along the way refer to siteCSS attribute
<ldlework> like if it wanted the output path or content or metadata or whatever
<ldlework> and Nix figures out it needs to resolve siteCSS before whatever this attribute we're talking about is resolved
<ldlework> etc, all the way down
<ldlework> this is the complexity i was saying you avoid compared to other languages
<ldlework> where the logical dependency of things can get lost when you're conjuring up basically an arbitrary dictionary structure
<ldlework> and that complexity gets shifted onto the user to carefully order things
<ldlework> based on implementation details essentially of the abstracted the user uses to get their data transformation done
<ldlework> Nix completely offloads that complexity from the user.....
<mica[m]> I defined a systemd user service on 19.09 and it worked fine. I've updated to 20.03 and now that service doesn't seem to get written to the nix store, but it does en up in /etc/systemd/user/my.service
orivej has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<ldlework> abstractions*
aw has joined #nixos
spacefrogg has joined #nixos
imalsogreg has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #84523 → factorio-{,headless}-experimental: 17.79 -> 18.26 → https://git.io/JvAO2
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JfVGD
<mica[m]> actually it seems like systemd is looking for the wrong path in the nix store
felixfoertsch23 has joined #nixos
haha has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
<hyper_ch_> still no love from nixos unstable building :(
orivej has quit [Ping timeout: 240 seconds]
orivej_ has joined #nixos
<cole-h> Well, it *is* currently blocked....
<hyper_ch_> I just wonder why unstable small builds but not unstable
<cole-h> Well, that's the whole point of small
<cole-h> Small has a "small"er test suite it has to past
<cole-h> s/past/pass/
<hyper_ch_> :)
<mica[m]> seems the symlink in my user folder for the service didn't get updated.
<hyper_ch_> there's nothing about tests in there.. it just states contains fewer binaries
<cole-h> You're right; I though there was.
<mica[m]> Is there some protocol to update a broken package to a new version in 20.03?
<hyper_ch_> so, let's see, if I can get the download helper companion app to build on nixos
<haha> Where can I see the configuration.nix man documentation online?
<hyper_ch_> the man documentation not the available options?
<haha> Ok, I'm helping my friend configure his nixos, but I don't have a machine with nixos installed.
<haha> My nixos machine is at home and I cannot access it.
<cole-h> (the second is probably closer)
<haha> cole-h, thanks.
jluttine has quit [Ping timeout: 246 seconds]
AndersonTorres has quit [Quit: goodbye!]
<{^_^}> [nixops] @cole-h opened pull request #1352 → Add --boot flag to deploy and correct ratchet script → https://git.io/JfVZY
Ralith_ has joined #nixos
<emily> exciting test errors to debug: "The option security.acme.certs.standalone.test.credentialsFile' is used but not defined."
<emily> (this is happening even after I removed every occurrence of credentialsFile from the module)
<cole-h> wot
<emily> it's unhappy with something I did I guess. unfortunately I don't know what
<cole-h> Probably stupid question, but are you sure you didn't forget to set your nixpkgs= to your checkout?
KindTwo has joined #nixos
dansho has joined #nixos
KindOne has quit [Ping timeout: 256 seconds]
jluttine has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
morgrimm has joined #nixos
KindTwo is now known as KindOne
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88848 → sensu-go-agent: 5.20.0 -> 5.20.1 → https://git.io/JfVZE
<emily> doing .# with nixFlakes, so I'm pretty sure!
<emily> I'm pretty sure it's just spooky module stuff. it happens sometimes
<emily> it's diagnosing some other issue, like I evaluated things too hard too early
morgrimm has quit [Ping timeout: 260 seconds]
mmunity has joined #nixos
mmunity has quit [Read error: Connection reset by peer]
orivej_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88849 → signal-cli: 0.6.7 -> 0.6.8 → https://git.io/JfVZH
orivej has joined #nixos
ilios has quit [Ping timeout: 272 seconds]
ilios has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88850 → sngrep: 1.4.6 -> 1.4.7 → https://git.io/JfVnf
<{^_^}> [nixpkgs] @Ralith opened pull request #88851 → intel-gpa: init at 20.1.1585397060 → https://git.io/JfVnJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88853 → solaar: 1.0.1 -> 1.0.2 → https://git.io/JfVnI
<{^_^}> [nixpkgs] @marsam merged pull request #88819 → jsonnet: 0.15.0 -> 0.16.0 → https://git.io/JfVtX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVnq
<{^_^}> [nixpkgs] @marsam merged pull request #88824 → lean: 3.13.1 -> 3.14.0 → https://git.io/JfVq4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVnm
jluttine has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88826 → zoxide: 0.4.0 -> 0.4.1 → https://git.io/JfVqa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVnY
raghavsood has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88848 → sensu-go-agent: 5.20.0 -> 5.20.1 → https://git.io/JfVZE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVns
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88820 → just: 0.5.10 -> 0.5.11 → https://git.io/JfVtN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVnG
dansho has quit [Ping timeout: 272 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ilios has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 264 seconds]
ZaraChimera has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
dansho has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88855 → telegraf: 1.14.2 -> 1.14.3 → https://git.io/JfVnP
ddellacosta has joined #nixos
<emily> > let keySet = attrs: key: attrs ? key && attrs.${key} != null; test = { a = 1; }; in [ (keySet test "a") (test ? "a" && test.${"a"} != null) ]
<{^_^}> [ <CODE> <CODE> ]
<emily> uh, hm
<emily> :p let keySet = attrs: key: attrs ? key && attrs.${key} != null; test = { a = 1; }; in [ (keySet test "a") (test ? "a" && test.${"a"} != null) ]
<emily> well, anyway, it gives [ false true ]. can anyone explain this?
<emily> ohh
<emily> needs to be ? ${key}
rogue_koder has quit [Remote host closed the connection]
ZaraChimera has left #nixos ["Closing Window"]
nixy37179 has quit [Quit: The Lounge - https://thelounge.chat]
nixy37179 has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #88856 → dockerTools: fix skopeo commands → https://git.io/JfVcT
foldingcookie has left #nixos [#nixos]
<lovesegfault> did you see I got rid of needing that hosts.nix?
<lovesegfault> My morph config still needs it for $reasons
simba1 has joined #nixos
alp has joined #nixos
<bbigras> do you have anything in your config for the tiny mouse cursor with sway? with scaling, I guess, for high dpi or whatever it's called.
horek has joined #nixos
<lovesegfault> bbigras: hey, yeah
<lovesegfault> Oh, wait
<lovesegfault> nvm
<lovesegfault> No, there is no cure
horek has quit [Client Quit]
<lovesegfault> An upstream fix is needed but they don't consider it an important issue and so aren't tackling it
<lovesegfault> IIRC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88857 → uhubctl: 2.1.0 -> 2.2.0 → https://git.io/JfVcG
<bbigras> oh I saw that staling PR. I might have seen your name in one of those issue today.
drakonis has quit [Quit: WeeChat 2.8]
<bbigras> thanks
<lovesegfault> :)
Acou_Bass has quit [Ping timeout: 264 seconds]
<colemickens> ?
<colemickens> what PR?
<colemickens> Does the wiki workaround not workaround anymore?
<{^_^}> #67704 (by colemickens, 38 weeks ago, closed): sway: gsettings executed from sway/config fails
<colemickens> this was related last time I couldn't get my mouse pointer to not be tiny, but I was able to use the sway-wiki documented workaround afterward to fix my cursor. bbigras
Acou_Bass has joined #nixos
<bbigras> it worked for everything? over the background and waybar?
<colemickens> Hm. I can't remember, and my hidpi display is out of commission right now.
<colemickens> My biggest issue was that it was like SUPER tiny in GTK3 apps, like smaller than a period of normal text in firefox.
<{^_^}> swaywm/sway#3014 (by trmendes, 1 year ago, open): Mouse cursor size in between containers
<colemickens> and now I'm caught up to 15 minutes ago I guess, clicking on the PR from there
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
gerschtli has quit [Quit: WeeChat 2.7.1]
<bbigras> I wonder if https://github.com/swaywm/sway/issues/4112#issuecomment-509465006 fixes it. I tried and failed but maybe I did it wrong
gerschtli has joined #nixos
<Emantor> FWIW, i'm using the following snippet to create a readonly DB, which saves me from fiddling with gesettings: https://gist.github.com/Emantor/1dc949426a150ad618a0ec4d67a9931f
m4ts has quit [Quit: bye]
m4ts has joined #nixos
<colemickens> oh god, I vaguely recall that being an issue for me, especially when I slimmed down to a just-sway config. I think I wound up using capitaine cursors I think and had the seemingly most consistent experience?
ddellacosta has quit [Quit: WeeChat 2.2]
<colemickens> lol
<Emantor> IMO from a repoducibility POV, read-only user dconf is the way to go :-)
<lovesegfault> Emantor: Are you a sway contributor?
<lovesegfault> Your name sounds so familiar
<colemickens> someday :)
<bbigras> thanks everyone. I'll give everything a try. I wish it was simpler.
ddellacosta has joined #nixos
alexherbo2 has joined #nixos
<fps> hmm, i have a channels_root link in my user's home dir's .nix-defexpr. is that harmful?
<srhb> fps: No, that's normal.
<srhb> fps: It's so you can eg. nix-env things from root's (default) nixos channel
palo1 has joined #nixos
palo1 is now known as palo
palo has quit [Read error: Connection reset by peer]
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88858 → xmrig: 5.11.1 -> 5.11.2 → https://git.io/JfVCs
morgrimm has joined #nixos
<fps> srhb: ok. thanks
Acou_Bass has joined #nixos
<evils> anyone interested in wxPython, or has a comment on the naming scheme of wxPython, wxPython30, wxPython_4_0? i'm thinking of wxPython-4.11-${rev} to keep things interesting
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88859 → xmrig-proxy: 5.10.0 -> 5.10.2 → https://git.io/JfVCl
morgrimm has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<Emantor> lovesegfault: yes.
cmk_zzz_ has quit [Quit: cmk_zzz_]
cmk_zzz has joined #nixos
<lovesegfault> Emantor: Oh, awesome, thanks for your work!
<Emantor> thanks for the appreciation, mostly just fixing bugs that irk me :-)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2892a24695f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
bukkitgerman8608 has joined #nixos
cfricke has joined #nixos
<fps> srhb: i'm just asking because i get little warnings in the console when using e.g. nix-env: warning: name collision in input Nix expressions, skipping '/home/fps/.nix-defexpr/channels_root/nixos'
<fps> those appeared after adding the unstable channel i think
bukkitgerman8608 has quit [Ping timeout: 246 seconds]
<srhb> fps: I'm not sure exactly what that warnings means. Do you have more than one channel with the same name?
<fps> srhb: i have two channels added for my user: nixos-20.03 named nixos and nixos-unstable named unstable. i guess root's channel is also called nixos?
<srhb> fps: Yes, that would be the default.
<fps> so it's totally redundant to have them both added explicitly for my user?
<srhb> fps: Not just redundant, but probably confusing and error prone.
bukkitgerman8608 has joined #nixos
<fps> srhb: ok
<fps> btw: how do the channel names and the package prefixes in "nix search" results correspond?
cryptomonad has quit [Remote host closed the connection]
<fps> i have results prefixed with "nixos" and some with "nixpkgs". that always confused me ;)
<ldlework> How do I pass an expression from the cli to the expression I'm building with nix-build
<ldlework> ah nm
bukkitgerman8608 has quit [Ping timeout: 260 seconds]
bukkitgerman8608 has joined #nixos
<ldlework> hi srhb
<srhb> fps: It is confusing. I believe they're generated from the path within ~/.nix-defexpr somehow
<srhb> fps: So if you eg. had a nixpkgs symlink in there, that would be the nixpkgs.-prefixed results
agsdheidjd has joined #nixos
<srhb> fps: How it works when there's indirection through a channel I'm not quite sure.
<srhb> ldlework: Hi
<fps> srhb: ok, i guess that part of the nix tooling needs some love :)
<ldlework> srhb: how are ya
<srhb> ldlework: Good, thank, you?
<srhb> fps: Sure.
<ldlework> srhb: a tiny bit overwhelmed
alp has quit [Ping timeout: 272 seconds]
<srhb> fps: (Or just don't use channels :))
<srhb> ldlework: Oh?
<ldlework> srhb: took over maintainership of styx, and I am questioning my judgement :P
<ldlework> (what do I do!?)
<ldlework> :)
<srhb> heh :)
<srhb> something something release-tarball
alp has joined #nixos
<ldlework> srhb: you ever check it out?
<srhb> Long time ago, yes.
<ldlework> It's actually quite good.
<jluttine[m]> Any ideas what could be wrong in my Python environment: I have `buildPythonPackage` derivation in `shell.nix` with `src = ./.` and I run `nix-shell` but the Python package gets installed to store. Then many tools like pytest and sphinx are really confused because they find two versions of the Python package: one in the local workspace and another in the nix store..
<srhb> I didn't find the need really.
<ldlework> srhb: you got a personal site?
<srhb> ldlework: I do not.
<ldlework> We want to hear what you have to say :)
<srhb> I'm not sure I have anything to say. :D Maybe one day.
<fps> srhb: like work with a nixpkgs checkout?
<srhb> fps: I do that for my primary nixpkgs channel, and all other sources are grabbed via fetchTarball and friends.
<srhb> fps: Much less confusing imo.
<srhb> (I'd like to get rid of the primary one, but probably need flakes for that to really work out with all the tooling)
<srhb> And it does have some advantages, like quick tests via just editing the worktree.
<fps> yeah
<energizer> jluttine[m]: what do you mean there's a pytest in the local workspace?
<jluttine[m]> energizer: No, I mean that both pytest and sphinx are confused because they find two versions of my own Python package. The local source tree I'm working in and then weirdly another version in nix store. There's no pytest in the local workspace, I mean the source tree of my own package.
<energizer> jluttine[m]: why is there pytest in your source tree?
<jluttine[m]> energizer: I don't understand.. There's no pytest in my source tree.
<energizer> oh i misread, sorry
<energizer> if your code is pure python, might consider using poetry instead. poetry2nix does a great job
<fps> srhb: i was just wondering how far i come with the nix tooling around channels. it would be nice to be able to nix-env -i unstable.syncthing and have everything work :)
<srhb> fps: That's doable (but never use -i without -A) and I assume you're just about there now.
<fps> i.e. nix-env -u do the right thing for packages from nixos and unstable channels
<srhb> It should.
<fps> i even specifically installed syncthing from my nixpkgs checkout's master branch but that didn't survive a nix-env -u.. will try a bit more with channels
drakonis has joined #nixos
user_0x58 has joined #nixos
ddellacosta has quit [Ping timeout: 264 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
<srhb> fps: I guess my experience might be tainted by the fact that I never use -u (and in general avoid imperative management) so you're probably right to use channels if you want that functionality.
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
<fps> hmm, there's this quote from the nix-env manpage:
<fps> The file manifest.nix is always ignored. Subdirectories without a default.nix file are traversed recursively in search of more Nix expressions, but the names of these
<fps> intermediate directories are not added to the attribute paths of the default Nix expression.
maxdevjs has quit [Ping timeout: 272 seconds]
<fps> about nix-defexpr in the case of it being a directory. which it is in my case..
<srhb> Ah, right.
piezoid has joined #nixos
<fps> it makes some sense since some search results for nix search have a prefix of "nixpkgs". but i still wonder where the "nixos" prefix comes from for others. though i might be on the completely wrong path
<fps> since that's for nix-env. nix itself doesn't seem to have a man page :(
simba1 has quit [Ping timeout: 244 seconds]
vidbina has joined #nixos
ilios has joined #nixos
<srhb> fps: It is the experimental interface, nix-env is nix too.
<fps> srhb: so both "nix" and "nix-env" call into the same code and follow the same conventions mostly?
<srhb> fps: I find that a little difficult to answer in general. But it's the same binary in the end.
<fps> ok
octe has quit [Ping timeout: 264 seconds]
<srhb> fps: re the nixos-name, doesn't it do exactly what you said though?
<srhb> fps: I assume you have something like ~/.nix-defexpr/channels_root/nixos/default.nix -- being the root default.nix from nixpkgs?
<fps> the man page says "intermediate directory names are _not_ added to the attribute paths"
<fps> so it would do the exact opposite of what the man page says
<srhb> fps: And that intermediate directory names are the ones _without_ a default.nix
<fps> hmm
<srhb> Assuming nixos does contain a default.nix, it is not "intermediate" and thus is added as a name part.
<fps> oh right..
<srhb> Yeah, I think it's exact.
<fps> it makes sense or the nixos prefix. there it works as you describe
<fps> the other channel lives in: .nix-defexpr/channels/unstable
<fps> and it seems packages from there are prefixed with "nixpkgs" instead of "unstable"
<srhb> fps: And does "unstable" contain a default.nix?
<fps> yes
<srhb> channels, how do they work.
<fps> might it just simply be bug? :)
<srhb> No idea, sorry.
<fps> ok, many thanks for your help nonetheless :)
<srhb> You're welcome.
shabius has joined #nixos
turion has joined #nixos
shabius_ has joined #nixos
gagbo has joined #nixos
shabius has quit [Ping timeout: 260 seconds]
rauno has joined #nixos
shabius_ has quit [Ping timeout: 260 seconds]
<ldlework> Is there a way to apply an overlay with a shell environment variable
<ldlework> To apply an overlay in a shell session?
<srhb> ldlework: iirc the NIX_PATH entry nixpkgs-overlay takes precedence over all the other overlay definitions
<srhb> nixpkgs-overlays*
<srhb> ldlework: But I think it's somewhat nicer to explicitly import nixpkgs with the overlays arg
<srhb> In your shell.nix, that is.
<ldlework> hmm yeah I probably need to use a shell.nix here
mallox has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<srhb> ldlework: It makes it nice and explicit at least. let overlay = self: super: ... in { pkgs ? import <nixpkgs> { overlays = [overlay]; }...
smatting has joined #nixos
cr4y1 has joined #nixos
Kakky has joined #nixos
<ldlework> srhb: how do I make a shell.nix such that tools like nix-build and other expressions using "import <nixpkgs>" will find this overriden nixpkgs?
maddo has joined #nixos
<srhb> ldlework: I think all your nix expressions should be self-contained and themselves add the overlay etc.
<srhb> Best is to never rely on env vars for that.
<raghavsood> Is there some sort of toml file -> module options generator?
<raghavsood> I keep seeing references to it in various module comments, but can't actually find any docs for it
zupo has joined #nixos
zupo has quit [Client Quit]
vidbina has quit [Ping timeout: 246 seconds]
dermetfan has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
hmpffff has joined #nixos
ilios has quit [Ping timeout: 240 seconds]
agjacome has quit [Quit: agjacome]
coco has joined #nixos
octe has joined #nixos
<quinn> so i'm trying to get the build status for asterisk on aarch64, but i can't find any mention of aarch64 if i search hydra for asterisk. does this mean hydra is not building asterisk for aarch64?
<quinn> i'm confused because the wiki says that hydra builds a full set of binaries for aarch64
<jluttine[m]> ah, now i figured out the weird python issue... i had run `nix-build` in the source tree so there was `result` symlink pointing to nix store that had my package. so, running `pytest .` in the source tree found two versions of my package: the real local source tree and the store path pointed by the symlink in my source tree... took quite a bit of time to figure this out...
zarel has quit [Ping timeout: 264 seconds]
pjan has quit [Remote host closed the connection]
<pjt_014> quinn: It might not. The package definition in nixpkgs might only have platforms.x86-64 or something.
vidbina has joined #nixos
<ldlework> How to check if a file exists?
tobeportable has joined #nixos
user_0x58 has quit [Quit: Leaving]
<adisbladis> ldlework: builtins.pathExists
<ldlework> thanks
<{^_^}> #75584 (by Infinisil, 23 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
<hyper_ch_> what's a light-weight proxy server to route webtraffic through?
<ar> hyper_ch_: haproxy
<hyper_ch_> (no caching needed)
<pbb> ääääääoblsäepgclotppncnlgalnelpzwcatgabcäabt
<hyper_ch_> ar: thx, I'll look into it
<adisbladis> pbb: åäö
<ar> pbb: þóąłżźńćąśðó↓©ęœ←źć„πœę→”ćək
<adisbladis> hyper_ch_: What's the use case?
<hyper_ch_> adisbladis: I just want to run Firefox traffic through it
<ar> oh
<adisbladis> Oh
<ar> so a forward proxy, not reverse proxy
<hyper_ch_> to see if there are difference compared to when I use brave from my actual IP
<adisbladis> hyper_ch_: tinyproxy
<monokrome> Hmm... There's something weird about writing code w/ pygame in NixOS. When I try to initialize the video, it says it can't initialize the video system. If I try to use sudo it works and the app goes fullscreen. Maybe there's an environment issue or a group I need to be a member of that allows fullscreen hardware-accelerated graphics?
<pbb> adisbladis: hello from my yubikey by the way
<adisbladis> Or even jush SSH SOCKS
<hyper_ch_> ok, I'll look into tinyproxy :9
<ar> hyper_ch_: haproxy is not a good choice then
<adisbladis> hyper_ch_: My go to is an ssh socks proxy
<hyper_ch_> adisbladis: how to do that?
<etu> pbb: What keyboard layout do you use? I never seen that setup of chars for my yubikey :)
<hyper_ch_> (tinyproxy not listed in nixos options=
lsix has joined #nixos
morgrimm has joined #nixos
<ar> hyper_ch_: ssh -D9999 some-remote-host, and then in firefox in proxy settings select socks5 and 127.0.0.1:9999 as proxy server
<hyper_ch_> ar: sounds easy, thanks :)
<ar> hyper_ch_: assuming of course, you have ssh access to some remote host
<hyper_ch_> ar: I do have :)
jkarni_ has joined #nixos
<monokrome> maybe it's the render group
<quinn> pjt_014: i'll take a look, thank you.
pjan has joined #nixos
detran has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
morgrimm has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #87827 → activemq: 5.14.5 → 5.15.12 → https://git.io/JfBVe
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfV4f
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #85539 → treewide: replace bazaar with breezy → https://git.io/JfUcP
<{^_^}> [nixpkgs] @rnhmjoj pushed 4 commits to master: https://git.io/JfV4I
smatting has quit [Ping timeout: 246 seconds]
liff has joined #nixos
NeoCron has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has quit [Remote host closed the connection]
quinn has joined #nixos
<monokrome> render group didn't fix it >.<
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfV4K
<{^_^}> [nixpkgs] @adisbladis merged pull request #88856 → dockerTools: fix skopeo commands → https://git.io/JfVcT
quinn has quit [Client Quit]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<hyper_ch_> ar: that works perfectly well :)
<hyper_ch_> is there a way to enable that tunnel by default on nixos?
Kakky has quit [Ping timeout: 258 seconds]
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<makefu> hyper_ch_: i'd love to know how to do this with socket activation.
<hyper_ch_> makefu: what do you mean?
<ar> makefu: systemd socket activation?
<makefu> an ssh dynamic tunnel
<adisbladis> Omg yes
smatting has joined #nixos
<makefu> systemd can activate certain services if the socket is opened. this is for example being used for tor to only start up when tor is actually needed
<makefu> however it was always a bit opaque for me what i need to do to get this actually working
<hyper_ch_> makefu: you want to activate that tunnel when FF (or other browser) tries to access to local port?
<makefu> yes exactly
neumantm[m] has joined #nixos
<hyper_ch_> I'd be interested in that also :)
<adisbladis> makefu: How hard can it be?
<makefu> adisbladis: some variation of hard i guess
<spinlock[m]> socket activation is a blast and it's not that hard at all to setup. you pretty much just make a `foo.socket` and a `foo.service` where `foo` is the same name in both files
<adisbladis> makefu: And I hacked up this years ago https://github.com/nix-community/queued-build-hook/blob/master/systemd.go for another project
<adisbladis> I should just be able to combine the two
ckauhaus has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<makefu> there is also a writeup by lennart in http://0pointer.de/blog/projects/socket-activation.html
<makefu> 2011
alexherbo2 has joined #nixos
orivej has joined #nixos
jkarni_ has quit [Ping timeout: 260 seconds]
jkarni_ has joined #nixos
<spinlock[m]> The trick is the bit regarding `SD_LISTEN_FDS_START`. With SystemD's socket activation, it passes your app the already-open socket as an additional file-descriptor
<spinlock[m]> so you code is like `IF file_descriptions.length > 3 THEN use file_descriptor[3] ELSE manually_open_socket(22)` if you'll forgive trash pseudocode
<monokrome> ok, so it looks like the issue is because /dev/console is only accessible by root
pjt_014 has quit [Ping timeout: 240 seconds]
<monokrome> Is there a way to fix that w/out manual chmod? Is it a security concern? O_o
ivank[m] has joined #nixos
dermetfan has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
<hpfr[m]> does nix have integer division, or a floor function
justanotheruser has quit [Ping timeout: 260 seconds]
<colemickens> monokrome: is your user in the `video` group?
noudle has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<hpfr[m]> oh duh it does the .0 thing nvm
shibboleth has joined #nixos
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88860 → biblesync: 2.0.1 -> 2.1.0 → https://git.io/JfVBX
<{^_^}> [nixpkgs] @domenkozar merged pull request #86456 → picom: 7.5 -> 8 → https://git.io/JfOQ4
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JfVBM
cmk_zzz has quit [Remote host closed the connection]
hmpffff_ has joined #nixos
<adisbladis> makefu: I made a thing
cmk_zzz has joined #nixos
hmpffff has quit [Ping timeout: 246 seconds]
<hpfr[m]> is there something like toString but for string-to-integer?
<adisbladis> > lib.toInt "10"
<{^_^}> 10
<adisbladis> hpfr[m]: ^
justanotheruser has joined #nixos
<hpfr[m]> thanks. creteria for making it into builtins from lib seem ever more arbitrary
<adisbladis> hpfr[m]: Don't go look at the implementation of toInt
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<hpfr[m]> I did lmao
<hpfr[m]> works for me, I don't have to look at it in my config :D
<adisbladis> Really though, we should have a proper builtins.toInt
thc202 has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jluttine opened pull request #88861 → pythonPackages.hypothesis: 4.41.0 -> 5.15.1 → https://git.io/JfVBj
<hyper_ch_> adisbladis: how to use that?
<adisbladis> hyper_ch_: It does not solve your use case, this does not expose a socks proxy
<adisbladis> This is equivalent to ssh -L
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<adisbladis> I think a socks proxy thing would be more involved
<adisbladis> But maybe not :)
cmk_zzz has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @FRidh closed pull request #88861 → pythonPackages.hypothesis: 4.41.0 -> 5.15.1 → https://git.io/JfVBj
dingenskirchen has quit [Client Quit]
<hyper_ch_> adisbladis: was makefu asking for the same thing? how to have ssh -D9999 user@remote activated when firefox is started or something like that?
rauno has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
cmk_zzz has joined #nixos
FRidh has joined #nixos
knupfer has joined #nixos
<adisbladis> https://github.com/armon/go-socks5 looks promising to add socks support to this thing
<makefu> hyper_ch_: it seems that the services requires some extra logic to handle socket activation, it does not seem to work "out-of-the-box"
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88862 → calls: 0.1.4 -> 0.1.5 → https://git.io/JfVRC
<hyper_ch_> makefu: pondering if I just make a stupid cronjob that runs every 2 minutes or so and checks if ff is running and if so, if socket is up
<makefu> hyper_ch_: there should be a better way to handle this
<hyper_ch_> makefu: I'm all ears :)
<makefu> inetd
<makefu> xD
orivej has joined #nixos
liori has quit [Read error: Connection reset by peer]
<adisbladis> makefu: Did you see the repo I linked?
<makefu> ah! not yet
<makefu> let me check
<makefu> so nice!
<makefu> that is exactly the magic which is required
vidbina has joined #nixos
<adisbladis> I'm investigating SOCKS now
<adisbladis> But this covers my use case of connecting to my irc bouncer
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #88528 → glib: 2.64.1 -> 2.64.3 → https://git.io/Jf2fd
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/JfVRV
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: 2.9.4 -> 2.9.5 »: https://git.io/JfVRw
alanz_ has quit []
orivej has quit [Ping timeout: 240 seconds]
alanz has joined #nixos
orivej has joined #nixos
hmpffff_ has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @flokli merged pull request #88829 → [20.03] nixos/acme: change default keyType to ec256 → https://git.io/JfVme
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-20.03: https://git.io/JfVRS
<adisbladis> makefu: Not quite, that's how to connect over a socks proxy
<adisbladis> Not how to provide one
liori has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « knot-dns: 2.9.4 -> 2.9.5 »: https://git.io/JfVRN
lornokto has joined #nixos
eoli3n_ has joined #nixos
<makefu> oh, damn
zupo has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<MichaelRaskin> -D
<MichaelRaskin> i.e. ssh server -D 1080
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88863 → btfs: 2.20 -> 2.21 → https://git.io/JfV0k
zarel has joined #nixos
hmpffff has joined #nixos
<{^_^}> [rfcs] @Mic92 merged pull request #55 → [RFC-0055] Retire inactive nixpkgs committers → https://git.io/JelED
<adisbladis> MichaelRaskin: That's clear, I was trying to make a socket activated version of the same
<{^_^}> [rfcs] @Mic92 pushed commit from @tilpner to master « [RFC-0055] Retire inactive nixpkgs committers (#55) »: https://git.io/JfV0L
<MichaelRaskin> Ah
<MichaelRaskin> socket-activated locally?
<adisbladis> Yes
<MichaelRaskin> My intuitive reaction is «give up and use socat as relay», but I am probably wrong
<adisbladis> MichaelRaskin: I did so for -L https://github.com/adisbladis/activated-tunnel
<adisbladis> But socks is more complicated
<MichaelRaskin> Ah, you are already writing your special-case relay
hmpffff has quit [Ping timeout: 260 seconds]
<MichaelRaskin> Oh, they implement a controllable SSH client that just doesn't include SOCKS?
__monty__ has joined #nixos
hmpffff has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<adisbladis> Alright!
<adisbladis> We have socks!
<adisbladis> \o/
orivej has joined #nixos
zarel has quit [Ping timeout: 256 seconds]
<hyper_ch_> adisbladis: how would a mere moratl nixos-user use that?
jkarni_ has quit [Ping timeout: 258 seconds]
<adisbladis> hyper_ch_: I need to have some breakfast, then I'll need to fix a few issues:
<hyper_ch_> adisbladis: :)
<adisbladis> 1. HostKeyCallback: ssh.InsecureIgnoreHostKey(), <- obviously bad
<adisbladis> 2. A command line interface
<adisbladis> 3. home-manager module
jkarni_ has joined #nixos
<adisbladis> Then you should just be able to copy my home-manager module (if you use that)
<hyper_ch_> I don't use that
<adisbladis> Then just use the CLI =)
<adisbladis> Or make your own NixOS module
<{^_^}> [hydra] @gilligan opened pull request #767 → Refactor/Split up flake.nix → https://git.io/JfV0M
martijn has joined #nixos
<martijn> I have a question about using docker-compose, I've stumbled upon something I think is pretty strange. I seem to have the latest docker version and the latest docker-compose version, but I am unable to use the `secrets` value in my `docker-compose.yml`. Any ideas what might be wrong?
haha has quit [Remote host closed the connection]
pitchzer0 has quit [Quit: authenticating]
pitchzer0 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d8b6e82126b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
pitchzer0 has quit [Quit: authenticating]
pitchzer0 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88864 → calibre: 4.15.0 -> 4.17.0 → https://git.io/JfVE3
alp has quit [Remote host closed the connection]
alp has joined #nixos
jkarni_ has quit [Remote host closed the connection]
jkarni_ has joined #nixos
martijn has quit [Remote host closed the connection]
rauno has joined #nixos
<{^_^}> [nix] @gilligan opened pull request #3620 → Add unit tests for hashing functions → https://git.io/JfVEZ
coco has quit [Ping timeout: 256 seconds]
<kraem> i'm trying to figure out if there's a nice way to start services like postgresql and rabbitmq through a nix-shell. does anyone have any examples on how to do it? arion looks interesting, any other projects i should check out?
tarelerulz2 has joined #nixos
<tarelerulz2> I did the main config file and un # sound and it does not work. What do I do ?
pitchzer0 is now known as pitch
<adisbladis> Ugh -.-
<adisbladis> hyper_ch_: I feel like we've ventured into #nixos-chat territory
<{^_^}> [nix] @gilligan opened pull request #3621 → Add unit tests for "json.hh" → https://git.io/JfVEu
orivej has quit [Quit: No Ping reply in 180 seconds.]
lsix has quit [Ping timeout: 260 seconds]
ravndal has quit [Quit: WeeChat 2.8]
orivej has joined #nixos
<maralorn> Have the proper authorities been informed about this problem? https://hydra.nixos.org/jobset/nixos/release-20.03#tabs-errors ? Because that error is so early in the build process that status.nixos.org doesn‘t know that there actually is anything wrong.
lsix has joined #nixos
coco has joined #nixos
<maralorn> At least the status.nixos.org prometheus has no alert triggered by this problem.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88865 → bup: 0.30 -> 0.30.1 → https://git.io/JfVEy
est31 has quit [Remote host closed the connection]
<fps> srhb: hmm ok, the prefix works fine when installing e.g. via nix-env -iA unstable.syncthing. it's just the search results that show something else entirely ;)
est31 has joined #nixos
<fps> on a different note: i wonder if it's possible to use old android phones as remote builders for e.g. aarch64. there's nix-on-droid. i just don't know if that's enough. hmmm
mauli has joined #nixos
sigmundv has joined #nixos
cosimone has joined #nixos
cole-h has quit [Quit: Goodbye]
<tarelerulz2> how do you tell , that the sound even got recognized?
<fps> tarelerulz2: do you have an entry in /proc/asound/cards?
<tarelerulz2> cat card in that directory gets someting
<fps> ok, then an ALSA module for your sound device is loaded
<tarelerulz2> I don't have sound
<fps> ok, in a console type this:
<fps> if pulseaudio --check; then echo yo; else echo no; fi
<tarelerulz2> it says no
<fps> ok, pulseaudio is not running
<fps> did you enable pulseaudio in your config, too?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88866 → cwm: 6.6 -> 6.7 → https://git.io/JfVuO
<fps> or rather: do you want to use pulseaudio?
<tarelerulz2> really I want any sound
<{^_^}> [nixpkgs] @jtojnar merged pull request #75435 → fprintd, libfprint : update to 1.90.1 → https://git.io/Je9Oz
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/JfVus
<fps> tarelerulz2: pulseaudio often helps with that. add this to your config:
<fps> hardware.pulseaudio.enable = true;
<fps> and rebuild
<{^_^}> [nixpkgs] @romildo merged pull request #88678 → yaru-theme: 20.04.6 -> 20.04.7 → https://git.io/JfaZV
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfVuC
<tarelerulz2> fps , I have that
<fps> you already do?
<fps> are you logged in in a desktop session or just at the console?
<fps> ok, in one terminal run this:
<tarelerulz2> normally my video does not work
<fps> speaker-test
<fps> and in another console this: alsamixer
<tarelerulz2> I desktop
<fps> it's weird then, that the pulseaudio daemon is not running.
<fps> oh well, let's go one level deeper and see if alsa works :)
<fps> let's make it simpler: paste the output of the command "amixer" to some pastesite and show me the result link
<{^_^}> [nixpkgs] @Profpatsch merged pull request #86637 → cri-o, buildah: add wrappers → https://git.io/JfsLP
<{^_^}> [nixpkgs] @Profpatsch pushed 5 commits to master: https://git.io/JfVuR
<fps> tarelerulz2: um. ok. that's weird. can you show us your configuration.nix?
<fps> and the output of: cat /proc/asound/cards
iyzsong has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
litschi has joined #nixos
<tarelerulz2> https://pastebin.com/0AuTUuTM , that is for the cat command on my cards
mauli has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @davidtwco opened pull request #88868 → grafana-loki: 1.4.0 -> 1.5.0 → https://git.io/JfVu9
<{^_^}> [nixpkgs] @jtojnar merged pull request #83534 → osinfo-db-tools: 1.6.0 -> 1.7.0, osinfo-db: 20200214 -> 20200515, libosinfo: fix test → https://git.io/JvHFo
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/JfVuN
<{^_^}> [nixpkgs] @jtojnar closed pull request #88635 → osinfo-db: 20200214 -> 20200515 → https://git.io/Jf2py
<tarelerulz2> I did not make other user , just start with root
<tarelerulz2> could that be why my sound does not work
turion has quit [Quit: Leaving.]
nk3 has quit [Quit: leaving]
<tarelerulz2> I just did pulseaudio --start audio
<flokli> tarelerulz2: pulseaudio doesn't want to run as root
<tarelerulz2> the right command but now it works
<{^_^}> [nixpkgs] @jtojnar merged pull request #88587 → modemmanager: 1.12.8 -> 1.12.10 → https://git.io/Jf2RX
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfVuA
<flokli> it usually runs as a regular user, socket-activated by the pulseaudio socket
hmpffff_ has joined #nixos
<flokli> systemctl --user cat pulseaudio.socket
<flokli> it has a ConditionUser=!root, though
<DigitalKiwi> does anyone know a good way to get all of the options for a module
<flokli> if you /really/ want/have to, there's hardware.pulseaudio.systemWide. But most likely I'd recommend to try if it works in a regular user session
<flokli> DigitalKiwi: man configuration.nix ;-)
noudle has quit []
<tarelerulz2> Ok, I get normal user
<DigitalKiwi> what i mean is like i usually copy paste all of the options and defaults from the website because i like to know what's there
<adisbladis> Like, 99.999% of the time you don't want system wide pulseaudio
lukash_|away is now known as lukash_
mauli has joined #nixos
tarelerulz2 has quit [Remote host closed the connection]
hmpffff has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
WilliButz has quit [Quit: bye]
WilliButz has joined #nixos
tarelerulz2 has joined #nixos
aveltras has joined #nixos
<DigitalKiwi> i'd maybe like to be able to do it programmatically as an editor command
hmpffff_ has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88215 → qgnomeplatform: 0.6.0 -> 0.6.1 → https://git.io/Jfz8S
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVzI
<tarelerulz2> I understand running as root is not normal could that been the reason the audio did not work?
<DigitalKiwi> maybe hnix could do it
zupo has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88579 → libqmi: 1.24.10 -> 1.24.12 → https://git.io/Jf28z
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfVzq
<DigitalKiwi> or nix repl...
chloekek has joined #nixos
zupo has joined #nixos
agjacome has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #88535 → gnumeric: 1.12.46 -> 1.12.47 → https://git.io/Jf2UO
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVzc
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88236 → tpm2-tools: 4.1.1 -> 4.1.2 → https://git.io/JfzuE
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVzW
orivej has joined #nixos
<tarelerulz2> I know in the nixos config , you un # part with more users , normal user , I change that and reboot what then?
<DigitalKiwi> nixos-option looks promising
oida has quit [Ping timeout: 240 seconds]
<typetetris> should `forceSSL` and `enableACME` work on the same virtual host?
<typetetris> does the nixos nginx module add ports to `networking.firewall.allowedTCPPorts` ?
alp has quit [Ping timeout: 246 seconds]
oida has joined #nixos
<LnL> no, nothing changes the firewall by default except for ssh
mauli has quit [Ping timeout: 265 seconds]
<tarelerulz2> I did the add hoc , app install of firefox is the normal way to install apps?
alp has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88838 → monolith: 2.2.5 -> 2.2.6 → https://git.io/JfVYA
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfVzb
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<typetetris> LnL: Thanks
<{^_^}> [nixpkgs] @Mic92 merged pull request #88855 → telegraf: 1.14.2 -> 1.14.3 → https://git.io/JfVnP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfVgZ
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/136e4c1fb0e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<adisbladis> makefu: hyper_ch_: It has a CLI now :)
<hyper_ch_> yey
<adisbladis> And host key verification
<hyper_ch_> still no idea how to use it though :)
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #88840 → vimPlugins.vim-graphql: init at 2020-03-30 → https://git.io/JfVOn
<{^_^}> [nixpkgs] @teto pushed commit from @leo60228 to master « vimPlugins.vim-graphql: init at 2020-03-30 (#88840) »: https://git.io/JfVgl
liori has quit [Read error: Connection reset by peer]
<makefu> adisbladis: even with socks support, nice!
cjpbirkbeck has quit [Quit: cjpbirkbeck]
Thra11 has joined #nixos
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88830 → libxsmm: 1.13 -> 1.15 → https://git.io/JfVm3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVga
<{^_^}> [nixpkgs] @marsam merged pull request #88850 → sngrep: 1.4.6 -> 1.4.7 → https://git.io/JfVnf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVgK
<{^_^}> [nixpkgs] @marsam merged pull request #88868 → grafana-loki: 1.4.0 -> 1.5.0 → https://git.io/JfVu9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVg6
chloekek has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #86926 → gnome-latex: 3.32.0 -> 3.36.0 → https://git.io/JfG91
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVgX
<{^_^}> [nixpkgs] @marsam merged pull request #88818 → imgurbash2: 3.1 -> 3.2 → https://git.io/JfVtf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVg1
<{^_^}> [nixpkgs] @jtojnar merged pull request #87493 → serd: 0.30.2 -> 0.30.4 → https://git.io/JfWzK
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfVg9
<balsoft> Is there any maintained roadmap for switching the ecosystem to flakes?
<{^_^}> [nixpkgs] @jtojnar merged pull request #87526 → libv4l: 1.18.0 -> 1.18.1 → https://git.io/JfW1S
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfVg5
tarelerulz2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #88869 → gitAndTools.git-absorb: 0.6.0 -> 0.6.2 → https://git.io/JfVgA
<{^_^}> [nixpkgs] @jtojnar merged pull request #87531 → libuchardet: 0.0.6 -> 0.0.7 → https://git.io/JfWDe
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVgp
mauli has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
Darkmatter66_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #88560 → jansson: 2.12 -> 2.13.1 → https://git.io/Jf2OR
Darkmatter66 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfV2f
<{^_^}> [nixpkgs] @marsam merged pull request #88865 → bup: 0.30 -> 0.30.1 → https://git.io/JfVEy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfV2T
jkarni_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jethrokuan opened pull request #88870 → rtl88xxau-aircrack: init → https://git.io/JfV2L
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<bqv> I miss nixos-option
trellian has joined #nixos
<balsoft> bqv: yeah, exactly :(
<balsoft> Also nix-index/nix-locate can't flake, which is sad
<{^_^}> [nixpkgs] @jtojnar merged pull request #88086 → gdk-pixbuf: move xlib into separate package → https://git.io/JfuUJ
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to staging: https://git.io/JfV28
<trellian> Hello, beginner nixos user here. I'm trying to get zoom to work on Nixos under wayland. However the zoom-us application reads /etc/os-release to determine if screensharing is supported (it is supported on Fedora and Archlinux for example).
<trellian> I am stuck finding a way to override the contents of /etc/os-release just for the zoom-us package
<trellian> Is anyone able to point me to some examples how to accomplish above?
<balsoft> trellian: environment.etc.os-release.text = '' ... '';
<balsoft> trellian: in your config
<balsoft> Might need a little mkForce or something if it doesn't work this way
<trellian> Wouldn't that change the file for the entire desktop?
<adisbladis> balsoft: That sounds like bad advice.
<etu> trellian: it would
<balsoft> trellian: yes, it would
<balsoft> Oh, just for zoom-us
<trellian> i'd rather not do that tbh and was looking for a solution to override it JUST for the zoom-us package
<etu> You probably need to use some FHS wrapping to get that to work
<adisbladis> You can also create a wrapper with libredirect
<adisbladis> Then you don't need FHS
orivej_ has quit [Ping timeout: 240 seconds]
<etu> Oooh, this sounds cool
<adisbladis> Also, you should really report this upstream.
<adisbladis> Fingerprinting /etc/os-release sounds _terrible_
jmeredith has joined #nixos
orivej has joined #nixos
<balsoft> Hmm, also maybe just patching the executable directly replacing /etc/os-release with your file could potentially work, but it feels pretty bad too..
<balsoft> And it also may not work
leotaku has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88860 → biblesync: 2.0.1 -> 2.1.0 → https://git.io/JfVBX
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfV25
<DigitalKiwi> bqv: why do you miss it is it gone now?
<trellian> adisbladis: are you saying I should create a preload binary that intercepts reads to /etc/os-release?
alp has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88832 → lyra: 1.3 -> 1.4 → https://git.io/JfVmK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfV2p
Jeroen[m]1 has joined #nixos
<balsoft> DigitalKiwi: It doesn't work with flakes (yet)
<DigitalKiwi> oh
<adisbladis> trellian: Yes, I think that may be an OK solution.
agsdheidjd has quit [Quit: WeeChat 2.8]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfVak
o1lo01ol1o has joined #nixos
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos
<trellian> adisbladis: ok, thank you for the advise. I am pretty sure that is way out of league though. I was hoping to be able to create a package override that would use a different file.
<trellian> (in a nix epression)
morgrimm has joined #nixos
<adisbladis> trellian: But this is a runtime check, no?
<adisbladis> Not at build-time
<trellian> it is runtime, yes
<bqv> Libredirect looks drastic
<adisbladis> bqv: That's what you get when you deal with proprietary software
mauli has quit [Ping timeout: 260 seconds]
terrorjack has quit [Ping timeout: 260 seconds]
kitemikaze has quit [Ping timeout: 260 seconds]
agander_m has quit [Ping timeout: 260 seconds]
<bqv> I vote flip a bit or two in the binary to make it look at /etc/us-release instead
orivej has quit [Ping timeout: 264 seconds]
<trellian> so, If i understand correctly, it is not possible for me to make an _runtime_ FHS override?
pointfree has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<bqv> You can run it in an fheEnv
<bqv> honestly might be easiest
mankyKitty has quit [Ping timeout: 260 seconds]
<bqv> Especially if they like to snoop at other parts of your system too
pittma has quit [Ping timeout: 260 seconds]
teozkr_ has quit [Ping timeout: 260 seconds]
heatm1s3r has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 260 seconds]
peel has quit [Ping timeout: 260 seconds]
aria has quit [Ping timeout: 260 seconds]
<bqv> Which they do, cause it's zoom
agander_m has joined #nixos
ebopp has joined #nixos
kitemikaze has joined #nixos
pointfree has joined #nixos
pittma has joined #nixos
peel has joined #nixos
mankyKitty has joined #nixos
aria has joined #nixos
teozkr_ has joined #nixos
terrorjack has joined #nixos
<adisbladis> Even an FHS env will have /etc/os-release from nixos
shibboleth has quit [Quit: shibboleth]
jkarni_ has joined #nixos
heatm1s3r has joined #nixos
<bqv> It can be replaced, no?
manveru has joined #nixos
<etu> adisbladis: Not possible to override it in there?
<adisbladis> Sure, it's possible
<adisbladis> I don't understand what's so hard about libredirect though
gxt__ has quit [Ping timeout: 240 seconds]
<trellian> I have no idea where to even start, building a custom preloader
jkarni_ has quit [Ping timeout: 260 seconds]
<bqv> nixpkgs/nixos/modules/config/ldap.nix
<adisbladis> Untested, but something like this http://ix.io/2nij/nix
<bqv> In fairness, looks pretty simple
<trellian> oooh, now i get it... I thought i was supposed to write a C program that I could LD_PRELOAD :P
<adisbladis> Oh :D
<adisbladis> No, that would be horrible ^_^
<trellian> i got scared really quickly :P
<bqv> Yeah that was my thinking too
<bqv> DigitalKiwi: for flakes, yes
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jkarni_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #88862 → calls: 0.1.4 -> 0.1.5 → https://git.io/JfVRC
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVwc
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @veehaitch opened pull request #88871 → pythonPackages.hiyapyco: init at 0.4.16 → https://git.io/JfVwz
hmpffff has quit [Quit: nchrrrr…]
peanutbutter144 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88569 → lilv: 0.24.6 -> 0.24.8 → https://git.io/Jf2ZZ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfVwS
<{^_^}> [nixpkgs] @jtojnar merged pull request #88827 → libbytesize: 2.2 -> 2.3 → https://git.io/JfVqr
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfVwQ
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #88872 → openmpt123: 0.4.12 -> 0.5.0 → https://git.io/JfVwA
mauli has joined #nixos
mauli has quit [Ping timeout: 260 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<hyper_ch_> adisbladis: how to use your tool now?
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
iyzsong has joined #nixos
wnklmnn has joined #nixos
<bqv> There's no mapFilter?!
<gchristensen> maybe?!
<bqv> 😖
Ariakenom has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #88844 → picard-tools: 2.22.7 -> 2.22.8 → https://git.io/JfVs0
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVok
morgrimm has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88873 → cvs_fast_export: 1.53 -> 1.55 → https://git.io/JfVoY
<{^_^}> [nixpkgs] @ryantm closed pull request #81641 → teamviewer: 15.2.2756 -> 15.3.2682 → https://git.io/JvaWe
vidbina has quit [Ping timeout: 256 seconds]
lunik1 has quit [Read error: Connection reset by peer]
mauli has joined #nixos
dermetfan has quit [Ping timeout: 260 seconds]
lunik1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<simpson> I have figured out Grafana provisioning. I can provision dashboards by designing them with Grafana and then copying the JSON into the specified dashboard folder. Is this the way life's meant to be, or is there a more declarative way to provision dashboards?
<clever> simpson: https://nixos.org/nixos/options.html#grafana.provision.dash
<gchristensen> oh neat simpson
<simpson> clever: Yes, that's what I'm currently using. However, the actual dashboard JSON basically still has to be generated by Grafana.
<gchristensen> oh cool clever
<clever> simpson: ive only ever generated the json with grafana
<simpson> clever++ that is basically what I was imagining.
<{^_^}> clever's karma got increased to 439
<simpson> It really is too bad. Grafana's output is so messy and contains irrelevant details, but I don't think any alternatives are available in NixOS.
<{^_^}> [nixpkgs] @ryantm merged pull request #88774 → superTux: 0.6.1.1 -> 0.6.2 → https://git.io/JfaF2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVow
<{^_^}> [nixpkgs] @ryantm merged pull request #88857 → uhubctl: 2.1.0 -> 2.2.0 → https://git.io/JfVcG
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVoK
orivej has quit [Ping timeout: 272 seconds]
trellian has quit [Ping timeout: 245 seconds]
orivej_ has joined #nixos
mekeor- is now known as mekeor
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #84994 → spidermonkey_68: 68.4.2 -> 68.7.0 → https://git.io/JvhPe
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfVoQ
<{^_^}> [nixpkgs] @ryantm merged pull request #88849 → signal-cli: 0.6.7 -> 0.6.8 → https://git.io/JfVZH
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVoN
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
o1lo01ol1o has joined #nixos
veleiro has joined #nixos
chloekek has joined #nixos
<{^_^}> [cabal2nix] @hyperfekt opened pull request #456 → Use update scripts from nixpkgs → https://git.io/JfVK4
<{^_^}> [cabal2nix] @hyperfekt opened pull request #457 → extend nixpkgs update scripts to pin used versions → https://git.io/JfVKg
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bfdb43f1c37 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jordandoyle has quit [Changing host]
jordandoyle has joined #nixos
jordandoyle has joined #nixos
monsieurp has joined #nixos
monsieurp has joined #nixos
monsieurp has quit [Changing host]
monsieurp has quit [Client Quit]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88869 → gitAndTools.git-absorb: 0.6.0 -> 0.6.2 → https://git.io/JfVgA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfV6c
<betawaffle> uhg, why is it so hard to find where callPackage is defined
<{^_^}> [nixpkgs] @Enteee closed pull request #74657 → rmapi: init at v0.0.7 → https://git.io/Je1RQ
<{^_^}> [nixpkgs] @marsam merged pull request #88091 → Do not strip binary when darwin(OSX) → https://git.io/JfutG
<{^_^}> [nixpkgs] @marsam pushed commit from @CorbanR to master « _1password: do not strip binary on darwin(OSX) (#88091) »: https://git.io/JfV6B
monsieurp has joined #nixos
monsieurp has joined #nixos
monsieurp has quit [Changing host]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #88874 → kubernetes: 1.18.1 -> 1.18.3 → https://git.io/JfV6z
<betawaffle> but that doesn't seem to find it
cr4y1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @doronbehar closed pull request #79842 → liberfa: init at 1.7.0 → https://git.io/JvCEH
<{^_^}> [nixpkgs] @doronbehar reopened pull request #79842 → liberfa: init at 1.7.0 → https://git.io/JvCEH
cr4y1 has joined #nixos
monsieurp has quit [Client Quit]
dermetfan has joined #nixos
<hyperfekt> betawaffle: i think it comes from splice.nix maybe?
anderson_ has joined #nixos
anderson_ is now known as AndersonTorres
<betawaffle> thanks
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #88620 → mpv: Move all wrappings to a single wrapper Nix function → https://git.io/Jf2Hv
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfV6x
<veleiro> when i use 'nixos-rebuild switch --build-host root@host.local' does anyone know why i get the error 'warning: you did not specify '--add-root'; the result might be removed by the garbage collector
<veleiro> /nix/store/80lhb757cr1cwxzrrw4vj24m5vad6flp-nix-2.3.4/bin/nix-store: /nix/store/80lhb757cr1cwxzrrw4vj24m5vad6flp-nix-2.3.4/bin/nix-store: cannot execute binary file'
<clever> veleiro: is the remote and local machine the same cpu arch?
<veleiro> nope
<clever> veleiro: what arches are involved?
<veleiro> i'm trying to build for an aarch64
<veleiro> x86_64 and aarch64
<clever> veleiro: which one is which?
<veleiro> keep running "out of memory" locally on the aarch64, so i'm building on the desktop x86
<clever> veleiro: --build-host only works if you have another aarch64 machine
<veleiro> okay, it wasnt clear in the documentation
cmk_zzz has quit [Ping timeout: 260 seconds]
cmk_zzz has joined #nixos
<clever> veleiro: you can still cheat with either qemu-aarch64-user, or an aarch64 vm
<veleiro> is there another option or idea? nixos-rebuild triggers some builds on the host aarch64 which is a pinebook pro, but i keep running 'out of memory'
Thra11 has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
magnetophon has joined #nixos
<clever> veleiro: build with `-j 1` to build less at once? add swap?
<veleiro> yeah i was thinking swap too
<hyper_ch_> makefu: I did setup now _3proxy... however I couldn't use the settings provided by nixos configuration but had to write almost everything into extraConfig. It supports http and socks5 proxy :)
alp has quit [Remote host closed the connection]
alp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88875 → debianutils: 4.9.1 -> 4.10 → https://git.io/JfViz
dansho has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #80610 → azuredatastudio: init at 1.17.1 → https://git.io/JvByS
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JfViK
EatThem has joined #nixos
cfricke has quit [Ping timeout: 260 seconds]
asymptotically has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
<adisbladis> hyper_ch_: makefu: And now there is a NixOS module https://github.com/adisbladis/activated-tunnel/tree/master/nixos
<EatThem> Hi, i'm writing a nixpkg and want to know how to copy the plugin i fetched with fetchurl to the right folder (here the plugin folder from the pidgin package "~/.purple/plugins") and further, what happens when it's the pidgin program folder, how to i access it then from another nixpkg script?
klntsky has joined #nixos
<hyper_ch_> adisbladis: thx :) bookmarked... will look at it
<adisbladis> In fact, I'm using this right now for my IRC tunnel :)
asymptotically has joined #nixos
<EatThem> -i ^^
Ariakenom has quit [Quit: WeeChat 2.7]
coco has quit [Ping timeout: 264 seconds]
Chiliparrot has joined #nixos
wfranzini has joined #nixos
<keithy[m]> Hi Guys,
<keithy[m]> is it possible to build up firewall.extraCommands via several imported configuration/service.nix files?
<EatThem> okay to answer my own question (for someone who wants to know the same) : 1 way is to declare installation phases with "phases = ["installPhase" "secondPhaseblabla"];" and " installPhase = '' ... ''; "
dingenskirchen has quit [Remote host closed the connection]
<EatThem> with cp $src $out/path/you/like ...
dingenskirchen has joined #nixos
<makefu> adisbladis: ha great!
waleee-cl has joined #nixos
wfranzini has quit [Quit: wfranzini]
<{^_^}> [hydra] @edolstra merged pull request #765 → Add hydra-notify to devshell → https://git.io/Jfgsa
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JfVPr
<{^_^}> [nixpkgs] @ldesgoui closed pull request #77994 → chatterino2: use wrapQtAppsHook, unstable-2019-05-11 -> v2.1.7, adopt as maintainer → https://git.io/Jvk0e
<lewo> keithy[m]: yes, they are then concatenated
<keithy[m]> good to know!
knupfer has quit [Ping timeout: 246 seconds]
maxdevjs has joined #nixos
kevin1024 has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
ilios has joined #nixos
<Jeroen[m]1> for archival purpose, Zoom-us (desktop sharing) works on Nixos+wayland+gnome is you follow these instructions: https://www.reddit.com/r/swaywm/comments/cfrnz1/has_anyone_managed_to_get_screen_sharing_on_zoom/evayn3t
rogue_koder has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @Thra11 opened pull request #88876 → dtc: 1.5.1 -> 1.6.0 → https://git.io/JfVXe
<Jeroen[m]1> with the exception that the config file is called .config/zoomus.conf
<{^_^}> [nixpkgs] @lsix opened pull request #88877 → gdb: 9.1 -> 9.2 → https://git.io/JfVXJ
<{^_^}> [nixpkgs] @ryantm merged pull request #88761 → rakudo: 2020.05 -> 2020.05.1 → https://git.io/JfaHO
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfVXq
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
agsdheidjd has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has joined #nixos
vidbina has joined #nixos
EatThem has quit [Quit: Leaving]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jkarni__ has joined #nixos
confusus has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
c0c0 has joined #nixos
jkarni_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #88443 → earlyoom: patch absolute dbus path and make nixos module up to date → https://git.io/JfgtY
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @oxalica to master « earlyoom: patch absolute dbus path and make nixos module up to date (#88443) »: https://git.io/JfV1Z
wfranzini1 has joined #nixos
<confusus> Hi! Can I ask very specific questions about stuff suddenly not working in unstable here xD?
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<makefu> confusus: be sure to ask the question directly next time ;) there is no need to meta-question anything in this channel :)
<confusus> Lol cool!
<confusus> I'm using unstable. I updated everything (nix-channel --update) and updated both default & home ( nixos-rebuild switch && home-manager switch).
<confusus> shit cannot use shift + enter
<confusus> Wait a sec xD
<makefu> okay what exactly is not working?
<lornokto> How do you write and save for future reproduceability a module for that home-manager?
<confusus> I'm using unstable. I updated everything (nix-channel --update) and updated both default & home ( nixos-rebuild switch && home-manager switch). I'm using neovim using vam as my package manager. My fzf was version 0.21.0 and is now updated to 0.21.1 and I don't really know what happened with my fzf-vim plugin version. The reason I'm here is that
<confusus> :FZF is not recognized within neovim anymore and I need some directions into what I should look into to fix it
zupo has joined #nixos
<makefu> have you installed the plugin via nix configuration or "manually" ?
<lornokto> confusus: do you have your neovim and vam installed by home-manager or by nix? Is your neovim plugin directory read-only?
<makefu> it is important to use the vim plugin mechanisms provided by nixpkgs, otherwise your plugins will break on every update
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<confusus> I'm guessing I have it installed by home-manager as I added neovim & fzf-vim to my home.nix file. So my neovim plugin directory should be read-only.
<makefu> the wiki entry contains a lot of good points
mananamenos has joined #nixos
<confusus> I checked the wiki :) here is my config >> https://gist.github.com/confususs/f0ee5cd83b8288161b6c5117847a7ab3
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 2.1.6 -> 2.1.7 »: https://git.io/JfVMe
<mananamenos> hi, i have `export PATH=$PATH:~/.my-bins` in my .bashrc. They are visible from any terminal, however, emacs does not see them. Why?
<confusus> This config worked before, but of course versions are updated and there is some incompatibility introduced somewhere which I cannot find
<lornokto> if :fzf is not recognized in your neovim, it means they are separated and you need to connect them somehow...
<confusus> That is where fzf-vim should help, but it was updated a while ago and I'm sure I updated somewhere inbetween
ebopp has quit [Ping timeout: 260 seconds]
mchasard has joined #nixos
<{^_^}> [nix] @domenkozar opened pull request #3623 → Allow passing extra nix.conf to installer → https://git.io/JfVMY
noudle has joined #nixos
<lornokto> in your home.nix I see fzf-vim in vam.PluginDictionaries, but does that actually installs the plugin?
<confusus> Yes because if I call :VAMListActivated in vim fzf-vim is in the list :)
<confusus> neovim*
<balsoft> Hi! What's the best "temporary directory" for images produced by `dockerTools.buildImage` ?
<balsoft> There's no tmp inside those
lunik1 has quit [Quit: :x]
<mchasard> hi i changed often desktop environement and now i have many entry at boot , how to delete them to keep the last one ?
<typetetris> `nix-collect-garbage -d`
<evils> mchasard: `nix-collect-garbage -d` will delete all but the latest generation; you can add multiple DEs to your config so you don't have to create a new generation to switch between them
<{^_^}> [nixpkgs] @mweinelt opened pull request #88878 → activemq: 5.14.5 → 5.15.12 → https://git.io/JfVMV
<Thra11> Are there any nix params which can be tweaked so that I can run `nix search -u` on a board with only 512MB of RAM without it swapping/taking all day?
veleiro` has joined #nixos
numkem has joined #nixos
<mchasard> ok thanks but it keep the latest ?
veleiro has quit [Ping timeout: 240 seconds]
lunik1 has joined #nixos
<evils> mchasard: it will keep the newest generation
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/136e4c1fb0e (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<evils> Thra11: `nix search --help` shows a `--no-cache` option, maybe that helps?
<mchasard> and to upgrade and update ?
<Thra11> evils: I can sort of see how it might help, if it means that it can immediately discard stuff which doesn't match, but I think it still needs to evaluate lots of stuff. Trying it now, but it still seems to be eating memory...
<mchasard> ok thanks a lot
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88879 → flexget: 3.1.30 -> 3.1.56 → https://git.io/JfVMp
<lornokto> Thra11: no chance, i couldn't manage all nix things even with 2 gigs of ram
<evils> Thra11: i think a lot of people use `nix-env -qa`, that could be a viable alternative; `grep -sir` in a nixpkgs checkout could also work
<Thra11> evils: grep wouldn't take into account overlays though
<clever> Thra11: what about just tab completion in `nix repl '<nixpkgs>'` ?
<Thra11> lornokto: Most commands (nix build, nixos-rebuild, etc.) seem to be fine (I have zram and some disk swap). It's just `nix search -u` that seems to want to evaluate the entire universe in memory.
<Thra11> clever: Yeah. That seems to work instantly :o
<clever> Thra11: the cost, is that `nix search -u` has to parse every single default.nix, to get the .name
<clever> Thra11: while tab completion uses the attribute names
<Thra11> I guess repl's just dealing with attributes, while search is interested in names and descriptions
<clever> yep
<lornokto> Thra11: probably you didn't try to build your own iso or to nix-install
<lornokto> nixos-install*
<confusus> Any pointers on how to temporarily override https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/generated.nix#L402 so I can use an older version?
<Thra11> lornokto: I did build the sd-image, although I did it on another machine :p
simba1 has joined #nixos
<lornokto> if you have another machine to build for this machine it's a different story)
<{^_^}> [nix] @domenkozar merged pull request #3623 → Allow passing extra nix.conf to installer → https://git.io/JfVMY
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JfVD2
<{^_^}> [nix] @domenkozar merged pull request #3375 → install-multi-user: allow overriding user count → https://git.io/JvuzS
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JfVDa
<lornokto> By the way how much ram does firefox need to be built without binary cache? 8gb wasn't enough
<raghavsood> What is the idiomatic way to set up any directories required by a module?
drakonis has joined #nixos
<b42> raghavsood: systemd.tmpfiles.rules?
<Thra11> lornokto: tbh, last time I rebuilt the kernel, the other machine was offline, so it built it on the board, and it was fine. It's a quad core aarch64 board, so it copes ok as long as it doesn't need too much RAM.
<evils> Thra11: maybe nix-locate is less memory hogging? and maybe there's a way to copy the cache from another machine? (for either nix search and nix-index)
orivej has quit [Ping timeout: 256 seconds]
<lornokto> Thra11: you did use nixos hydra cache i think.
<raghavsood> b42: Isn't that only for tmpfiles that don't persist across reboots?
<Thra11> lornokto: firefox is horrible to build. They do 'unity builds', i.e. combining multiple source files into one, but they're clearly optimised for whatever beefy servers firefox devs like to build on, so it's very ram-hungry.
orivej has joined #nixos
<raghavsood> Most modules seem to do it in ExecPreStart (kerberos, for instance)
<clever> Thra11: i remember when i couldnt build firefox on 32bit gentoo anymore, because just the linker alone needed >3gig of ram
<clever> Thra11: and with a 32bit system, your hard limited to 3gig in one process, swap wont fix that
<raghavsood> Most modules seem to do it in preStart (kerberos, for instance)
wfranzini1 has quit [Remote host closed the connection]
lornokto has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88880 → fio: 3.19 -> 3.20 → https://git.io/JfVyZ
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravndal has joined #nixos
noudle has quit []
fusion809 has quit [Remote host closed the connection]
confusus has quit [Remote host closed the connection]
MmeQuignon has joined #nixos
msiism has joined #nixos
msiism has left #nixos [#nixos]
<{^_^}> [nixpkgs] @mmahut opened pull request #88881 → ergo: init at 3.2.4 → https://git.io/JfVyj
mchasard has left #nixos ["Konversation terminated!"]
dermetfan has quit [Ping timeout: 260 seconds]
ilios has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
Dandellion has left #nixos ["User left"]
veleiro` has quit [Remote host closed the connection]
veleiro` has joined #nixos
Dandellion has joined #nixos
ebopp has joined #nixos
<Dandellion> is anyone here playing dota on 20.03?
datakurre has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #70921 → pythonPackages.lazy_import: init at 0.2.2 → https://git.io/JelLV
<{^_^}> [nixpkgs] @Mic92 pushed commit from @marenz2569 to master « pythonPackages.lazy_import: init at 0.2.2 (#70921) »: https://git.io/JfVS9
liori has joined #nixos
<{^_^}> [nix] @gilligan opened pull request #3625 → Add unit tests for xml-writer → https://git.io/JfVSF
<b42> raghavsood: not really, in nixos it is commonly used to declaratively create directories
user_0x58 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
lukash_ is now known as lukash_|away
<calbrecht> hey colemickens, thanks for your effort on nixpkgs-wayland. i am using it. in case you need a hand with firefox screensharing on sway, i got it running since a while.
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
wnklmnn has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
philr_ has quit [Ping timeout: 240 seconds]
jkarni__ has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
Augustas has joined #nixos
<Augustas> It's great! I can use Nix os package manager even on debian?
wnklmnn has joined #nixos
<drakonis> yes
<{^_^}> [nixpkgs] @Kiwi opened pull request #88882 → mlv-app: init at 1.11 → https://git.io/JfV9w
<DigitalKiwi> it me!
<Dandellion> Seems like the vulkan backend for dota is broken, opengl works fine
<{^_^}> [nixpkgs] @Lassulus merged pull request #85898 → rmapi: init at 0.0.11 → https://git.io/JfIhP
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfV9D
<drakonis> but you cannot play custom games :(
<drakonis> some of them at least
<drakonis> appears to have something to do with fonts
jgeerds_ has joined #nixos
<simukis_> what's the typical way to write derivations that consume binary inputs and are able to handle multiple architectures (i.e. it needs to switch url/sha depending on what its building)
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
piezoid has quit [Remote host closed the connection]
gagbo has quit [Quit: I'm out !]
Augustas has quit [Remote host closed the connection]
ddellacosta has joined #nixos
lornokto has joined #nixos
namai has joined #nixos
Esa__ has joined #nixos
<namai> where I could find list of all packages that are available through GUI, internet?
<{^_^}> [nix] @W95Psp opened pull request #3626 → Make `functionArgs` primitive accept primops (fix #3624) → https://git.io/JfV9F
<njha> is there a tool to deploy nixos configurations & build them on the host?
<njha> nixops has had an open issue for that for 5 years
<njha> it's so simple I could probably just script it, but I'm surprised there's no tooling
jkarni_ has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
agsdheidjd has quit [Ping timeout: 260 seconds]
agsdheidjd has joined #nixos
<adisbladis> njha: nixos-rebuild has --build-host and --target-host
cole-h has joined #nixos
NeoCron has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
magnetophon has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
jkarni_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88883 → gexiv2: 0.12.0 -> 0.12.1 → https://git.io/JfVH3
orivej has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
tobeportable has quit [Remote host closed the connection]
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6d923b36cda (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @lodi closed pull request #76971 → idris2: init at 0.0.0 (bf5b229) → https://git.io/JehJv
<simukis_> err, namai ^
c0c0 has quit [Quit: WeeChat 2.6]
<cyris212> Does someone now of a simple project which uses Nix for both development and as a build tool?
orivej has quit [Ping timeout: 256 seconds]
<cyris212> I'm looking for a reference setup which I can copy for a personal project of mine.
orivej has joined #nixos
alexherbo2 has joined #nixos
pamplemousse has joined #nixos
justanotheruser has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
lornokto has quit [Quit: Leaving]
<ldlework> Your daily invitation to become a collaborator or user of Styx and join us over at #nixos-styx!
<NickHu> cyris212: You might be interested in https://nixos.wiki/wiki/Development_environment_with_nix-shell
drakonis has quit [Quit: WeeChat 2.8]
<cyris212> NickHu: Thanks I am already using direnv and nix-shell.
pamplemousse has quit [Ping timeout: 258 seconds]
<cyris212> I'm struggeling a bit with how to reuse information from default.nix in shell.nix.
<cyris212> For example I don't know how to declare my dependencies only in one file and reuse them in the other.
<{^_^}> [nixpkgs] @woffs opened pull request #88884 → [20.03] nixos/i2pd: address #63103 → https://git.io/JfVH5
<NickHu> oh well nix-shell puts you into a shell which has all the dependencies of a package
<cyris212> That solves the development part, yes. But I want also be able to install into my store.
<NickHu> e.g. if you do nix-shell '<nixpkgs>' -A hello, you get dropped into the shell which is used to build hello
<cyris212> (Without contributing it into nixpkgs or use of an overlay)
drakonis has joined #nixos
<cyris212> So "nix-shell shell.nix" for dev and "nix-env -f default.nix -i <pkgname>" to install.
<__monty__> Is there a "readFile" I can use to pass a file where a string is expected?
<NickHu> what I tend to do for that is something like `nix-build '<nixpkgs> -E "with import <nixpkgs>; callPackage ./default.nix {}"`
<NickHu> I think nix-env can take an expression with the -E flag too in a similar way
<bbigras> clever: about my aarch64 problem, is `aarch64-linux-gnu-gcc` only used when cross compiling? could the problem be that the application was trying to cross compile for nothing on the aarch64 machine? Not sure if it makes sense.
<NickHu> Basically instead of passing it an attribute, you pass it an expression which would eval to what the attribute would be
<NickHu> __monty__: builtins.toFile
cosimone has quit [Read error: Connection reset by peer]
<NickHu> err, I mean builtins.readFile
cosimone has joined #nixos
<clever> bbigras: maybe
<clever> bbigras: when using nix, $CC is almost always the right answer
<__monty__> NickHu: Thank you.
<__monty__> Should've RTFMed.
orivej has quit [Ping timeout: 246 seconds]
<bbigras> clever: gotcha, thanks!
orivej has joined #nixos
<__monty__> Hmm, is there no way to specify a path relative to my home directory for readFile?
<adisbladis> __monty__: Sure there is
<adisbladis> > /. + (builtins.getEnv "HOME") + "/path"
<{^_^}> /path
limpid-kzonix[m] has joined #nixos
domogled has joined #nixos
<__monty__> adisbladis: Just found getEnv yeah, :'(
gxt__ has joined #nixos
<clever> __monty__: ~ works as normal in nix
<clever> __monty__: ~/foo
<adisbladis> Oh
<adisbladis> TIL
ebopp has quit [Ping timeout: 260 seconds]
<clever> > ~/foo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88885 → recursive: 1.051 -> 1.052 → https://git.io/JfVQf
<{^_^}> /var/lib/nixbot/foo
<__monty__> clever: But readFile expects a string not a path, right?
<adisbladis> __monty__:
<adisbladis> Then just toString the path ?
<clever> __monty__: readFile can take a path
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bcc32 opened pull request #88886 → Init cohttp-async @ 2.5.1, upgrading cohttp 2.1.3 -> 2.5.1 → https://git.io/JfVQU
<__monty__> Wow, my nix is really rusty.
<clever> __monty__: also, any time you try to treat a path as a string, it will copy the path to /nix/store and turn into a storepath, automatically
<ldlework> __monty__: whatcha working on
<__monty__> Just dusting off my config.
domogled has quit [Quit: domogled]
domogled has joined #nixos
<ldlework> right on
alp has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #88887 → vsftpd: listen on both address families → https://git.io/JfVQG
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
ckauhaus has quit [Quit: WeeChat 2.7.1]
domogled has quit [Quit: domogled]
lord| has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
domogled has joined #nixos
lord| has joined #nixos
noudle has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @wmertens merged pull request #86991 → wire-desktop: linux 3.16.2923 -> 3.17.2924 → https://git.io/JfZmW
<{^_^}> [nixpkgs] @wmertens pushed 3 commits to master: https://git.io/JfV7f
marsh has quit [Ping timeout: 265 seconds]
KindTwo has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
KindOne has quit [Ping timeout: 272 seconds]
fendor_ has joined #nixos
evanjs has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #88888 → heroku: 7.39.2 -> 7.41.1 → https://git.io/JfV7E
KindTwo is now known as KindOne
<__monty__> Anyone on macOS who's using HM's firefox configuration?
fendor has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @paperdigits opened pull request #88889 → displaycal: 3.5 -> 3.8.9.3 → https://git.io/JfV7a
<simpson> I'm trying to understand C++ linkage. I am trying to build a collection of C++ libraries and, while I think I've gotten everything lined up, the executables have undefined references to the libraries.
piotrszegda[m] has joined #nixos
alp has joined #nixos
<simpson> I went to check what other distros do, but AFAICT we will be the first ones to attempt packaging it. Upstream's got instructions here that I'm trying to decipher: https://relational-pipes.globalcode.info/v_0/release-v0.15.xhtml
<wnklmnn> Hi, I'm trying to compile droidcam for nixos. https://github.com/aramg/droidcam/tree/master/linux . It assumes a static verion of libjpeg_turbo to be placed in /opt/libjpeg-turbo. Is there a way to get a static version of libjpegturbo in nixos? Should I just apply a patch to change diretory so that the make doesn't look in /opt?
janneke has quit [Quit: janneke quits Mes'sing]
<__monty__> clever: Could you point me to your nice way of specifying overlays again?
<clever> __monty__: in configuration.nix its just nixpkgs.overlays = listofoverlays;
<simpson> wnklmnn: I tried building pkgsStatic.libjpeg_turbo, but I got a failure related to relocation. It might be fixable.
<simpson> Ditto with pkgsStatic.libjpeg, so maybe it's something about libjpeg.
shabius has joined #nixos
<__monty__> clever: Hmm, then what am I remembering. You had some sort of fold I think? 🤔
shabius has quit [Client Quit]
janneke has joined #nixos
marsh has joined #nixos
<clever> __monty__: shouldnt need a fold when using overlays, enless your doing stuff with haskellPackages
<ldlework> Anyway to get trace to resolve [ <CODE> <CODE> ] thingies?
<clever> ldlework: i usually trace toJSON in that case
<ldlework> thanks
<wnklmnn> simpson: thanks. I didnt know about pkgsStatic.
gustavderdrache has joined #nixos
<__monty__> > haskell.compiler
<{^_^}> { ghc8101 = <CODE>; ghc822Binary = <CODE>; ghc844 = <CODE>; ghc865 = <CODE>; ghc865Binary = <CODE>; ghc882 = <CODE>; ghc883 = <CODE>; ghcHEAD = <CODE>; ghcjs = <CODE>; ghcjs86 = <CODE>; integer-simple...
<__monty__> > :p haskell.compiler
<{^_^}> anonymous function at /var/lib/nixbot/nixpkgs/master/repo/pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'hash', at /var/lib/nixbot/nixpkgs/master/repo/pkgs/development/inter...
<__monty__> Oops.
<calbrecht> __monty__: therre is a foldl' mentioned in overlays-compat at https://nixos.wiki/wiki/Overlays
<ldlework> clever: anyway to pretty print it? :P
<__monty__> Riddle me this, I have some overlays in ~/.config/nixpkgs/overlays, I always thought these were picked up fine by HM. But today I added one for firefox and it refused to work until I added it to `nixpkgs.overlays` (which I didn't specify at all before). Why? Are these overlays always ignored by HM? If so, how come I have things installed from overlays not listed in nixpkgs.overlays?
<__monty__> calbrecht: Clever was right it was related to haskellPackages.
<__monty__> ldlework: Pipe to jq?
<clever> __monty__: home-manager uses nixpkgs.overlays i believe
<__monty__> clever: Yeah but I didn't specify this before.
<clever> __monty__: what changed?
orivej has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
<clever> > toPretty { foo = 42; }
<{^_^}> undefined variable 'toPretty' at (string):312:1
<clever> > lib.toPretty { foo = 42; }
<{^_^}> attribute 'toPretty' missing, at (string):312:1
fendor_ has quit [Remote host closed the connection]
<ldlework> So we're at the same place :)
<clever> > lib.generators.toPretty { foo = 42; }
<{^_^}> 'toPretty' at /var/lib/nixbot/nixpkgs/master/repo/lib/generators.nix:200:14 called with unexpected argument 'foo', at (string):312:1
<clever> > lib.generators.toPretty {} { foo = 42; }
<{^_^}> "{ \"foo\" = 42; }"
<ldlework> <3
<ldlework> clever++
<{^_^}> clever's karma got increased to 440
<__monty__> clever: Maybe that I specified nixpkgs = {allowedUnfreePredicate} ?
o1lo01ol1o has quit [Remote host closed the connection]
pamplemousse has joined #nixos
<clever> __monty__: that shouldnt change it
fendor has joined #nixos
<cole-h> __monty__: Do you by chance have an overlays.nix file?
<cole-h> Because my overlays in ~/.config/nixpkgs/overlays get loaded just fine
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #88863 → btfs: 2.20 -> 2.21 → https://git.io/JfV0k
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfV5N
leotaku has joined #nixos
<__monty__> cole-h: No.
zupo has joined #nixos
<__monty__> I just removed the overlays = again and this time it starts building fine.
<cole-h> Sounds like transient user-error, then :P
<__monty__> ¯\_(ツ)_/¯ I'm probably just going insane. Do I sound inane? I'm just crazy for functional programming, I swear!
magnetophon has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #152 → Remove messy `device.info` option → https://git.io/JfaVV
<{^_^}> [mobile-nixos] @samueldr pushed 49 commits to master: https://git.io/JfVdk
<{^_^}> [nixpkgs] @marsam merged pull request #88888 → heroku: 7.39.2 -> 7.41.1 → https://git.io/JfV7E
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfVdL
<pistache> if I've built a package without the sandbox, how can I build that same package with the sandbox ?
<cole-h> Depends on how you disabled the sandbox. But you could try `--option sandbox true`
chloekek has joined #nixos
<pistache> cole-h: I'm using "--option sandbox true" with nix-env, but it's not rebuilding the package
<cole-h> Try uninstalling it from nix-env first
<pistache> cole-h: I did
matthewcroughan has joined #nixos
<cole-h> How did you disable the sandbox? There's a good chance it built with the sandbox anyways
<pistache> I used "--option sandbox false" to nix-env, from a privileged user
<hyperfekt> pistache: try the --check flag to nix-build
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88890 → gnome3.gnome-software: 3.36.0 -> 3.36.1 → https://git.io/JfVdC
<pistache> hyperfekt: that works, thank you
<hyperfekt> wonder why that isn't documented...
<hyperfekt> i guess because it's really a flag to nix-store --realise that's just passed on
<cole-h> Huh, it really isn't documented... I could have sworn it was at one point.
<hyperfekt> cole-h: It's in the Nix manual but not in the nix-build man page
<cole-h> Ah, that's probably where I got it from then. Still, strange.
o1lo01ol1o has joined #nixos
pamplemousse has quit [Ping timeout: 260 seconds]
chpatrick has joined #nixos
jkarni_ has joined #nixos
lsix has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #88891 → enlightenment.efl: 1.24.1 -> 1.24.2 → https://git.io/JfVdj
<eyJhb> If I use https://nixos.org/nixos/options.html#physlock. to enable physlock, and then use security.wrappers on ${pkgs.physlock}, then there is no guarantee it is the same?
magnetophon has quit [Read error: Connection reset by peer]
<eyJhb> The question is can I make physlock only accessable to a group, while using that module?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88892 → gnustep.make: 2.7.0 -> 2.8.0 → https://git.io/JfVFf
ashkitten has quit [Quit: WeeChat 2.8]
shabius has joined #nixos
jkarni_ has quit [Ping timeout: 240 seconds]
lsix has joined #nixos
aveltras has joined #nixos
ashkitten has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ghc-lib-parser: fix overrides for the new release »: https://git.io/JfVFL
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix.yaml: cabal-fmt now has a maintainer »: https://git.io/JfVFm
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfVFY
<{^_^}> [nixpkgs] @veprbl merged pull request #88885 → recursive: 1.051 -> 1.052 → https://git.io/JfVQf
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « recursive: 1.051 -> 1.052 »: https://git.io/JfVFO
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/JfVFW
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfVFl
alexherbo2 has quit [Ping timeout: 256 seconds]
quinn has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-cabal-fmt: overriding Cabal-3.2 is unnecessary for ghc-8.10.x and beyond »: https://git.io/JfVFR
<evils> i'm having trouble with python (wxPython 4.1.0) not finding setuptools (maybe waf related), i'm giving up for today, but if anyone wants to help, https://git.io/JfVF8
<{^_^}> [nixpkgs] @peti opened pull request #88894 → Update Haskell package set to LTS 15.13 (plus other fixes) → https://git.io/JfVFu
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 1000 commits to haskell-updates: https://git.io/JfVFV
wchresta has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88895 → gnustep.base: 1.26.0 -> 1.27.0 → https://git.io/JfVFK
magnetophon has joined #nixos
pamplemousse has joined #nixos
veleiro` has quit [Remote host closed the connection]
veleiro` has joined #nixos
mananamenos has quit [Remote host closed the connection]
EdLin has joined #nixos
<EdLin> I can't seem to boot the nixos ISO, I have a new nvidia card, before I used AMD and it worked. Any suggestions?
jkarni_ has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<ldlework> Profpatsch: :(
<etu> EdLin: If you have nix available on some other system you could build your own iso with the nvidia drivers built in
magnetophon has quit [Read error: Connection reset by peer]
<EdLin> etu I don't. thanks. Will the cli iso work you think?
jkarni_ has quit [Ping timeout: 272 seconds]
<EdLin> I was using the KDE live ISO
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<etu> EdLin: You can try to choose nomodeset in the iso menu
<EdLin> ok
<EdLin> thanks
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
magnetophon has joined #nixos
ebopp has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<bbarker> I'd really like to set up an aarch64 builder for nixpkgs; I saw https://nixos.wiki/wiki/Distributed_build, but figured it would be nicer for posterity (somewhat limited in Nix) if those packages were somehow uploaded to the nixpkgs build cache. Can anyone direct me on procedures for doing so?
janneke has quit [Remote host closed the connection]
janneke has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #141 → initrd-usb: provide modules required for gadgets in initrd → https://git.io/JfZwR
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JfVNI
<{^_^}> [nixpkgs] @michalrus opened pull request #88896 → autotalent: init at 0.2 → https://git.io/JfVNt
klntsky has quit [Remote host closed the connection]
<samueldr> bbarker: the only way to get things in cache.nixos.org is for them to be built on the official hydra infrastructure
klntsky has joined #nixos
fendor has quit [Client Quit]
<bbarker> samueldr are there resources on how to go about that? I assume it involves coordinating with a maintainer at a minimum. But, as there are existing aarch64 packages in the cache, I have hopes that the most difficult work is hopefully behind us
<samueldr> if it's in nixpkgs, and building, it should be getting in the cache
<bbarker> samueldr, ah, i see, so if it isn't successfully building, is there a hydra log for the package available? stack for aarch64, for example
<bbarker> well, it occurred to me i tried in nixpkgs-unstable, maybe i should try a versioned channel
orivej has quit [Ping timeout: 256 seconds]
<bbarker> (be back in a bit)
orivej has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #76542 → nixos/networking: Add the FQDN and hostname to /etc/hosts → https://git.io/Jeb6U
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JfVNu
<{^_^}> [nixpkgs] @mweinelt opened pull request #88897 → miniflux: 2.0.19 -> 2.0.21 → https://git.io/JfVNz
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 258 seconds]
mallox has quit [Quit: WeeChat 2.8]
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @michalrus opened pull request #88898 → talentedhack: init at 1.86 → https://git.io/JfVNS
<samueldr> bbarker: yes, just as with x86_64 linux, https://hydra.nixos.org/
pamplemousse has quit [Ping timeout: 265 seconds]
Barm has joined #nixos
morgrimm has joined #nixos
<njha> Should I be able to `nix-copy-closure --from some.server /nix/store/blah.drv` and then `nix-rebuild switch` won't need to build it anymore?
<njha> I see the .drv copied over, but nix-rebuild switch still wants to build it
joebobjoe has joined #nixos
<clever> njha: you want to copy the result of building the drv, not the drv itself
<clever> njha: run nix-build on that drv, on the remote machine, then copy-closure the result of it
<njha> hmm... is there a way I can find out what got built from it already
<clever> njha: run `nix-build --dry-run` on the drv file
ebopp has quit [Ping timeout: 256 seconds]
<njha> it just says that the drv will be built
<clever> njha: did you run it on the remote or local machine?
<njha> the one that needs the result of the drv but doesn't have it yet
<njha> so... local
<clever> njha: run it on the remote machine
<njha> no output
morgrimm has quit [Ping timeout: 258 seconds]
<njha> just returns
<clever> njha: what about without --dry-run?
<njha> now it returns the same path but without .drv next to it
<clever> is it the same path?
<njha> is that what I want to copy-closure
<clever> check the hash closely
<njha> ooh, not the same path
<clever> yeah, that is the result of building the drv
<clever> you want to copy that one
<njha> got it, thanks clever++
<{^_^}> clever's karma got increased to 441
<{^_^}> [nixpkgs] @michalrus opened pull request #88899 → vocproc: init at 0.2.1 → https://git.io/JfVA0
<numkem> is there somewhere where all the ec2 specific options for nixops are documented? The manual has the common ones but not backend specific
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<joebobjoe> when I sudo nix-channel --list nothing is output, but nix is still working, how is that possible?
<joebobjoe> I'm on a multiuser darwin install by the way
<clever> joebobjoe: try `sudo -i` then `nix-channel --list` as 2 commands
namai has quit [Remote host closed the connection]
<joebobjoe> clever: nothing
<joebobjoe> I swear nix-env -i commands are working
magnetophon has joined #nixos
<clever> joebobjoe: what about plain `nix-channel --list` without root?
Barm is now known as barm
<joebobjoe> nothing
janneke has quit [Quit: janneke quits Mes'sing]
<clever> joebobjoe: what about `nix-instantiate --find-file nixpkgs` ?
janneke has joined #nixos
<joebobjoe> /nix/var/nix/profiles/per-user/root/channels/nixpkgs
eoli3n_ has quit [Ping timeout: 272 seconds]
<clever> joebobjoe: then your nixpkgs was setup by root, but the channels are now missing, so you cant update it
<clever> joebobjoe: if you want to update things, you need to add a channel by the name of nixpkgs as root
<joebobjoe> oh, so I could install things even without a channel?
<clever> joebobjoe: yeah
<clever> joebobjoe: the channel is just where to get nixpkgs from when updating
<clever> sort of like sources.list in apt
<joebobjoe> so look in the man for what channel to use?
<joebobjoe> wiki
<clever> `man nix-channel` -> nix-channel {--add url [name] | --remove name | --list | --update [names...] | --rollback [generation] }
<{^_^}> [nixops] @adisbladis opened pull request #1353 → Add support for pluggable transports → https://git.io/JfVA9
<adisbladis> cole-h: ^
<cole-h> Look at all those commits :D
shibboleth has joined #nixos
<cole-h> adisbladis: I'll take an actual look in a little bit. Doing one more borg deploy, then gonna pace a little bit to settle my nerves :P
pamplemousse has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<mac10688> so in the past I've used xmobar but I see that I can use taffy
<mac10688> but I can only find one taffy package and it's under haskellPackages
<mac10688> I never can get haskellPackages working well
<mac10688> I'm not sure how to go about getting taffy on my machine now. Do I need to build it myself?
<joebobjoe> clever: thanks for helping
<clever> yep
<adisbladis> cole-h: I noticed quite an annoying thing about mypy types
<adisbladis> Which is obvious when you think about it
<adisbladis> Iterable[str] is also satisfied by str
<adisbladis> Because a string _is_ an iterable where you iterate over each character as a string
<cole-h> Oh, right
<cole-h> lol
<adisbladis> Super annoying
<joebobjoe> maybe nix-channel --update should give a warning if there are no channels
<joebobjoe> I thought I've been updating my system this entire time
<joebobjoe> that would be handy
MmeQuignon has quit [Ping timeout: 260 seconds]
fivehole has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @romildo opened pull request #88900 → deepin.deepin-icon-theme: 15.12.71 -> 2020.05.21 → https://git.io/JfVxl
fivehole is now known as help
help is now known as Guest63892
morgrimm has joined #nixos
rm200910 has joined #nixos
<cole-h> adisbladis: wtf is this "from ..command import"???? Why are there two periods there and why is that acceptable
Guest63892 is now known as fivehole
<adisbladis> cole-h: .. as in ../
<adisbladis> Relative imports
<cole-h> adisbladis: Whaaaaaaaaat? Since when has this been a thing?
<adisbladis> Since the Flintstones time
<cole-h> No way
<cole-h> That's both crazy and disgusting
pamplemousse has quit [Ping timeout: 265 seconds]
<adisbladis> Good point, I'll switch out all relative imports to absolute ones
<cole-h> Thank you I love you
AndersonTorres has quit [Ping timeout: 272 seconds]
joebobjoe has quit [Quit: Lost terminal]
andi- has quit [Quit: WeeChat 2.8]
morgrimm has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
<adisbladis> Man this was a rabbit hole of untangling assumptions & API leakage
<cole-h> :D
<adisbladis> **kwargs needs to die -.-
<cole-h> adisbladis: btw, for `_format_command`, why is it `_format_command(command, user=user, ...)` and not `_format_command(command=command, user=user, ...)` or `_format_command(command, user, ...)`? Not well-versed in Python, so excuse the maybe-dumb question
<cole-h> (Specifically, this one is what I'm looking at atm: https://github.com/NixOS/nixops/pull/1353/files#diff-6ea77fd00d5f092f8150c2398eaf53d8R488)
magnetophon has quit [Read error: Connection reset by peer]
<adisbladis> No good reason really
magnetophon has joined #nixos
andi- has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
AndersonTorres has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
morgrimm has joined #nixos
orivej has joined #nixos
__monty__ has quit [Quit: leaving]
<cole-h> adisbladis: Very cool, just skimmed the code. Only 1 suggestion (spelling) atm :)
marusich has quit [Quit: Leaving]
Thra11 has quit [Quit: WeeChat 2.8]
<pistache> can someone help understand how I'm supposed to check the "impact on closure size" when submitting a PR to NixOS ?
morgrimm has quit [Ping timeout: 246 seconds]
<pistache> I've tried doing "nix path-info -S" on my current profile before and after installing the package using nix-env, but that reports the impact of dependencies as well, so I'm not sure if I should report that number in PR
<cole-h> `nix path-info -Sh ./result`
corpix_ has joined #nixos
corpix has quit [Ping timeout: 240 seconds]
<pistache> cole-h: ah right.. just run it on result. thank you
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @romildo opened pull request #88901 → deepin.disomaster: 5.0.0 -> 5.0.1 → https://git.io/JfVpB
develobster[m] has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
ebopp has joined #nixos
marusich has joined #nixos
<freeman42x[m]1> how can I run the last 3 commands inside the nix-shell above them? https://i.imgur.com/6WWRThx.png
<cole-h> `nix-shell --run ...`?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
simba1 has quit [Ping timeout: 260 seconds]
<freeman42x[m]1> cole-h: how does that differ from `nix-shell --command` ? I read some comment about interactivity, run not being interactive
<freeman42x[m]1> and do I need to run the commands all together under 1 nix-shell as arguments or 3 times under nix-shell?
asymptotically has quit [Quit: Leaving]
<clever> freeman42x[m]1: nix-shell --run 'cmd1 ; cmd2 ; cmd3'
chloekek has quit [Ping timeout: 246 seconds]
<cole-h> Alternatively, `nix-shell --run 'cmd1\ncmd2\ncmd3'`
ebopp has quit [Quit: leaving]
<freeman42x[m]1> do I have to escape the single-quotes? https://i.imgur.com/RfQ9evN.png
<clever> freeman42x[m]1: either escape them, use use double instead
<cole-h> With a backslash, like everywhere else? :D Alternatively, use double quotes for that part.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<freeman42x[m]1> cole-h++ , clever++ thank you
<{^_^}> clever's karma got increased to 443, it's a crit!
<{^_^}> cole-h's karma got increased to 64
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/25e8015fed2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
agsdheidjd has quit [Ping timeout: 260 seconds]
marusich has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @romildo opened pull request #88902 → deepin.udisks2-qt5: 5.0.0 -> 5.0.3 → https://git.io/JfVh4
<mac10688> Hi again, I am trying to install taffybar into nixos. The instructions say to be sure to use the module and not simply the haskellPackage for taffybar. I'm not sure what that means however.
marusich has joined #nixos
<mac10688> but I don't know what to do with that
domogled has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 264 seconds]
<lopsided98> mac10688: I'm not sure about the reference to a module, but I think you are supposed to use the taffybar package instead of the haskellPackages.taffybar package. The former seems to perform some extra wrapping.
mbrgm has quit [Quit: ZNC 1.7.5 - https://znc.in]
orivej has joined #nixos
domogled has joined #nixos
<mac10688> i don't see the taffybar package listed on the website when i search for it
<clever> > pkgs.taffybar
<{^_^}> "<derivation /nix/store/h6lf3iprmn5vhcwrawqbadh8ai2qn8aa-taffybar-with-packages-8.8.3.drv>"
<clever> > ping
<{^_^}> "<derivation /nix/store/4sr9k1nr9lar6yxcc0c1wb7ms9rsh1fm-ping-0.6.0.drv>"
<mac10688> when I go to the website and type taffybar, I see something that says attribute name, haskellPackages.taffybar
<clever> mac10688: the search is likely trying to hide what it thinks are duplicates
mbrgm has joined #nixos
<mac10688> that's the only thing that shows up at nixos.org/nixos/packages.html?channel=nixos-20.03&query=taffyb
<mac10688> oh
<mac10688> bummer!
<mac10688> thanks for the info, I assumed the website was absolute truth
<clever> the .nix files in nixpkgs are the absolute truth
marusich has quit [Read error: Connection reset by peer]
<mac10688> ah, well put
<cole-h> btw, Nixpkgs doesn't have a taffybar module, but home-manager does.
<mac10688> oh the nix package is marked as broken
dingenskirchen has quit [Quit: dingenskirchen]
marusich has joined #nixos
dingenskirchen1 has joined #nixos
<mac10688> i looked up home-manager and it seems A LOT of people are using it. There was a warning that it was still experimental
<mac10688> I'm trying to stay away from experimental things but I'm getting the feeling that it's not so experimental anymore
<mac10688> it must be steady if everyone keeps bringing that up
<mac10688> I don't know. If the nixpkg is marked as broken, it appears I will have to do something like build it on my nixos machine and somehow make it accessible at the global level
<clever> mac10688: where does it say its broken?
dingenskirchen1 is now known as dingenskirchen
<mac10688> i added taffybar to my configuration.nix file and i went to nixos-rebuild switch and I got an errror message that says
smatting has quit [Ping timeout: 272 seconds]
<mac10688> Package 'taffybar...' is marked as broken, refusing to evaluate
<mac10688> then it gives me 2 options that tell me how to allowBroken configurations
<mac10688> I don't want to allow broken
<mac10688> doesn't sound good
<clever> what is the full error msg?
maddo has quit [Ping timeout: 258 seconds]
<mac10688> great here I go again, I can't seem to copy out of urxvt :(
<mac10688> i highlight it and click on it
<clever> are you using middleclick or ctrl+v?
<mac10688> it won't paste to pastebin.com
<mac10688> i don't have a middle click on my mouse, rip
<clever> shift+insert?
maddo has joined #nixos
<mac10688> ok so it's copying but it won't paste to firefox
<mac10688> this is so infuriating
fivehole has quit [Quit: Leaving]
<mac10688> if i shift + insert it will paste everything back into the terminal
<MichaelRaskin> You can also enable both-buttons-click as a middle-click emulation
<mac10688> yeah i just read that and tried it out, isn't working
wolfshappen has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Also: https://unix.stackexchange.com/questions/212360/copying-pasting-with-urxvt URxvt.perl-ext-common: selection-to-clipboard
<pistache> mac10688: you can also use pipe the output of nixos-rebuild to "nc termbin.com 9999" and share the resulting URL
andreas303 has quit [Remote host closed the connection]
wolfshappen has joined #nixos
<mac10688> none of that is working. I guess I'll have to deal with this urxvt issue and come back here at a later date
<mac10688> I didn't mean to derail the convo into urxvt
philr_ has joined #nixos
andreas303 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
cosimone_ has joined #nixos
rm200910 has left #nixos ["ERC (IRC client for Emacs 26.3)"]
cr4y1 has quit [Ping timeout: 246 seconds]
<lopsided98> mac10688: taffybar is fixed in master, but not 20.03: https://github.com/NixOS/nixpkgs/issues/63500
<{^_^}> #63500 (by IvanMalison, 48 weeks ago, closed): Taffybar/Haskell GI packages broken
<mac10688> thanks for the info lopsided98! I'm taking a side trip to find a better terminal emulator, but I'll be back when I figure that out
<{^_^}> [nixpkgs] @romildo opened pull request #88905 → deepin.qcef: remove → https://git.io/JfVjq
cosimone has quit [Ping timeout: 260 seconds]
cosimone_ is now known as cosimone
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
lunik13 has joined #nixos
seanparsons has quit [Ping timeout: 246 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
lunik1 has quit [Ping timeout: 246 seconds]
lunik13 is now known as lunik1
iceypoi has quit [Ping timeout: 256 seconds]
seanparsons has joined #nixos
o1lo01ol1o has joined #nixos
stevenroose has quit [Quit: ZNC 1.7.4 - https://znc.in]
stevenroose has joined #nixos
KeiraT has joined #nixos
mac10688 has quit [Quit: WeeChat 2.7.1]
hooo has quit [Quit: Connection closed for inactivity]
<bbarker> samueldr, re: aarch64, yeah, my problem was just that I was using unstable instead of a release so not much was cached
iceypoi has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #88906 → deepin.go-dbus-factory: 0.9.0 -> 1.6.4 → https://git.io/JfVjH
mac10688 has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
maddo has quit [Quit: See ya]
thc202 has quit [Ping timeout: 260 seconds]
sigmundv has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
veleiro` has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
jgeerds_ has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
cosimone_ has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #88907 → deepin.go-lib: 5.0.0 -> 5.4.5 → https://git.io/Jfwey
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
cript0nauta has joined #nixos
marsh has quit [Ping timeout: 244 seconds]
marsh has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<bbigras> Anyway to see grahamcofborg's old build logs for a specific PR. I did the build multiple times but something didn't make sense. it seemed to build without the fix. maybe it was just still running from a build and I thought the result was for the recent one.
mbrgm_ has joined #nixos
justanotheruser has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<bbigras> I tried some random thing and my aarch64 problem built. But since I'm clueless about aarch64 I wonder if the builder just fails some times but not every times.
<NemesisD> i've switched to the unstable channel on nixos and i need some help fixing my environment. i'm trying to run mate + xmonad. currently the login screen gives me the option of "mate" or "none+xmonad". my config imports: https://0bin.net/paste/-CAH6pwmBxpLz4kc#6tTd+seBOOy-Nja7Bc8WZE07zCPwb+SLZJ/bz7Atlgu
kvda has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88908 → jetty: 9.4.26.v20200117 -> 9.4.29.v20200521 → https://git.io/JfwvJ
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88879 → flexget: 3.1.30 -> 3.1.56 → https://git.io/JfVMp
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfwvI
jkarni_ has joined #nixos
ilios has joined #nixos
kvda has quit [Ping timeout: 265 seconds]
leotaku has quit [Ping timeout: 256 seconds]
pamplemousse has joined #nixos
cosimone_ is now known as cosimone
jkarni_ has quit [Ping timeout: 265 seconds]
noudle has quit []
mac10688 has quit [Quit: WeeChat 2.7.1]