<{^_^}>
[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?
<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>
@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]
<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)
<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]
<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
<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)
<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.
<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
<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
<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>
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
<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?
<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>
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
<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
<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.
<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?
<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
<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
<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?
<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.
<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_>
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
<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!]
<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]
<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?
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.
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?
<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]
<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>
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>
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
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: 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.
<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
<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 :)
<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?
<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]
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
<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>
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
<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
<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...
<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>
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]
<{^_^}>
[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.
<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]
<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?
<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.
<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.
<{^_^}>
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__>
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.
<{^_^}>
[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]
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
<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
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
<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.
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.
<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
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.]