gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
sphalerite has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
sbdchd has quit [Remote host closed the connection]
noudle has quit []
sbdchd has joined #nixos
<{^_^}> #65889 (by Kiwi, 12 seconds ago, open): bitwarden: opens developer console/devtools on launch
<{^_^}> [nixpkgs] @tazjin opened pull request #65890 → mdbook: 0.1.8 -> 0.3.1 → https://git.io/fjHtt
mexisme has quit [Ping timeout: 264 seconds]
nDuff has joined #nixos
<{^_^}> [nixpkgs] @globin closed pull request #47025 → libtensorflow: 1.9.0 -> 1.10.1 → https://git.io/fAQxg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65891 → debianutils: 4.8.6.2 -> 4.8.6.3 → https://git.io/fjHtq
<{^_^}> [nixpkgs] @globin closed pull request #54179 → libtorrentRasterbar: 1.1.11 -> 1.2.0 → https://git.io/fh89T
rouma7 has joined #nixos
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjHtZ
iyzsong has joined #nixos
lambda-11235 has joined #nixos
vcunat has joined #nixos
vcunat has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65892 → couchdb2: 2.3.0 -> 2.3.1 → https://git.io/fjHtW
<lambda-11235> Is there a way to rollback just one derivation (OBS Studio is my case)?
infinisil-m has quit [Quit: Idle kick: User has been idle for 30+ days.]
grahamc[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65893 → chirp: 20190511 -> 20190718 → https://git.io/fjHt4
DavidLeung[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
danielrf[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<iqubic> I don't think so.
<gchristensen> lambda-11235: do you know the version of nixpkgs you were at before?
Moredread[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<lambda-11235> Only the generation. I'm on unstable.
<clever> lambda-11235: you can find out what nixpkgs a generate was made from easily
<gchristensen> ok, well you can probably do /nix/var/nix/profiles/system-<the-generation-number>/sw/bin/obs
zacts has joined #nixos
ris has quit [Ping timeout: 272 seconds]
<lambda-11235> Hmm, still complains
nbardiuk has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
<lambda-11235> qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<lambda-11235> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<lambda-11235> That's what it outputs before it aborts.
<clever> lambda-11235: are there any qt packages in nix-env ?
wangoe[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<gchristensen> ah, lambda-11235, if you clone nixpkgs and run nix-build . -A obs-studio, it'll get you a fixed version. the fix just hasn't been released to a channel yet.
day|flip has joined #nixos
alexoundos[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<lambda-11235> gchristensen: Thanks
BinkyTheClown has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
smpl[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
badmutex[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
kimboking[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
Tony[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
bb010g has quit [Quit: Idle kick: User has been idle for 30+ days.]
ayyjayess[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
derangednerd[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
Obscurity[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
riottest000[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
kjuvi[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
Deathmist[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
jasongrossman[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
tet[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
rizary has quit [Quit: Idle kick: User has been idle for 30+ days.]
kuznero[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
hsd^ has quit []
meteo_ has quit [Ping timeout: 268 seconds]
hsds^ has joined #nixos
troydm has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
<ivan> can I make it so that nix-serve does not regularly crash and need a systemctl restart nix-serve?
<clever> ivan: set restart=always on the unit? find out why its crashing?
<gchristensen> please do find out why it is crashing :P
<ivan> clever: I guess it's not actually crashing but rather not serving data
<clever> ivan: id start with strace and curl, to see what its doing
<ivan> Aug 03 21:46:04 ... nix-serve[1985]: GET /nar/crgpcpq8n5scy8pdsxsdas1s9rc71dam.nar
<ivan> Aug 03 21:48:56 ... nix-serve[1985]: write error: Connection timed out at /nix/store/hz53jq673pkih1avdl3l3xdmvq98rq1n-perl5.28.2-Starman-0.4014/lib/perl5/site_perl/5.28.2/Starman/Server.pm line 572, <GEN2> chunk 2.
<ivan> Aug 03 21:48:56 ... nix-serve[1985]: error: writing to file: Broken pipe
<clever> ivan: sounds like the client didnt read the reply?
gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
meteo has joined #nixos
<ivan> restarting nix-serve fixes the client immediately though
<clever> ivan: strace + curl to see what its doing when frozen
<ivan> will do when I see it
hnd^ has quit []
hnds^ has joined #nixos
<thoughtpolice> ivan: FWIW Eris should work quite well, yes.
<ivan> cool, thanks
<thoughtpolice> It should basically be superior to nix-serve in every way, and if somehow it isn't I'd like to know why.
<thoughtpolice> At some point I need to cut a 0.1 release and put it in nixpkgs directly. Which is basically arbitrary, I could do it today/tomorrow...
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<thoughtpolice> And maybe draft a PR to replace nix-serve uses in e.g. the manual with eris instead. I doubt nix-serve will ever get netrc or good TLS support for example, both of which are pretty useful for users without requiring extra middleware like Nginx.
zacts has quit [Ping timeout: 252 seconds]
<clever> thoughtpolice: does eris support nix2.0 signatures in db.sqlite?
<thoughtpolice> clever: It does not query the DB for the signatures, it signs hashes on the fly with the key you provide, just as nix-serve does (i.e. it is independent of any signature scheme inside the db.)
evanjs has quit [Quit: WeeChat 2.5]
<thoughtpolice> Nix 2 introduced e.g. local path signing but I can't remember anything else it added? Can you be more specific
<gchristensen> multiple sigs I think
<clever> thoughtpolice: and `nix copy-sigs` can download the cache.nixos.org signatures, and save them locally
<thoughtpolice> Ah. No, it only supports dynamic, single-key signatures at the moment. Though there's no real reason, I think, it couldn't serve the local signatures recorded in the db itself, or multi-key if you supplied multiple keys.
<clever> so you can repeat upstream sigs, and proove that you didnt do anything nasty to the files
<thoughtpolice> (Though it may require some addendums to the Perl API to support that, I don't know OTTOMH if it exposes those primitives)
<clever> which lets you act as an untrusted cache
<clever> thoughtpolice: just rewrite it in c++ :P
<clever> or haskell
<clever> ive got a cachecache, that can cache a binary cache, but it currently lacks the ability to query a local nix-daemon
<thoughtpolice> To be clear the original design goal was never to support setups like untrusted mirrors like that (though I realize that's not exactly what you're requesting), only to essentially be a much, much better implementation of nix-serve.
<thoughtpolice> But there's no reason that couldn't be added. It's a reasonable request, I think
mexisme has joined #nixos
<thoughtpolice> clever: I'm already way ahead of you https://github.com/thoughtpolice/eris#austin-you-wrote-this-in-perl
<clever> lol
aanderse has quit [Quit: ZNC 1.7.3 - https://znc.in]
aanderse has joined #nixos
mexisme has quit [Read error: Connection reset by peer]
<thoughtpolice> Anyway the goal is that I'd like it if Eris was the one-stop-shop for all your quick-and-dirty binary cache needs that hits all the high notes, which I'd say is, like, of 60%+ of the use cases people want a remote binary cache for: just to serve their build machine's store, or their personal store for 10 minutes or whatever. It does that perfect.
<thoughtpolice> That way we just... Can stop reinventing it (I've seen no less than 3 reworks of nix-serve but none did what I wanted I think, and one was abandoned?)
<clever> heh
<clever> reminds me of xkcd, "standards"
<thoughtpolice> Yes, except mine is objectively better than all the rest :P
orivej has quit [Ping timeout: 248 seconds]
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos
zacts has joined #nixos
tsd^ has joined #nixos
evanjs has joined #nixos
<evanjs> Is there any way to query currently active NixOS options? Not what's enabled in my configuration, but what is active in the current-system, etc?
<clever> evanjs: not really
georges has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #65895 → qutebrowser: add wrapQtAppsHook → https://git.io/fjHql
<evanjs> clever: Alright. I know there's /run/current-system/configuration.nix but it doesn't help much when I have a billion files.
xkapastel has quit [Quit: Connection closed for inactivity]
<clever> evanjs: my system is setup to copy all of /etc/nixos to /run/current-system/nixcfg/
tsd^ has quit []
Edes has joined #nixos
nst^ has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
sbdchd has quit []
jluttine has quit [Ping timeout: 268 seconds]
georges has joined #nixos
Alchemical has joined #nixos
hnds^ has quit []
Edes has quit [Ping timeout: 246 seconds]
<evanjs> clever: ah sweet that works nicely. Thanks! Did not know about extraSystemBuilderCmds
osp^ has joined #nixos
evanjs has quit [Quit: WeeChat 2.5]
jluttine has joined #nixos
oborot has joined #nixos
<oborot> Is there a good starting point I should checkout for programming PHP / Ruby, et al. on NixOs?
<oborot> I'm sure there's a preferred way to be installing dependecies and whatnot.
<simpson> oborot: The nixpkgs manual has a section for Ruby. (I could have sworn that there was a PHP section, but I guess not.) https://nixos.org/nixpkgs/manual/
<simpson> The preferred technique is to not think of dependencies as something to be installed in an ambient environment, but as inputs to be provided just when needed.
dansho has joined #nixos
evanjs has joined #nixos
evanjs has quit [Client Quit]
jluttine has quit [Ping timeout: 245 seconds]
detran has joined #nixos
nDuff has quit [Quit: zzz]
<oborot> simpson: Thanks, I'll check that out!
<clever> sphalerit: *doh*, it was in the pocket on the scope the whole time
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65896 → cmakeWithGui: 3.14.5 -> 3.15.1 → https://git.io/fjHqi
<iqubic> config = builtins.readFile ~/.emacs.d/init.el
<iqubic> That line of code should assign config to a string whose value is equal to the contents of init.el, right?
<clever> iqubic: yes
<iqubic> Cool. That's what I wanted.
<iqubic> adisbladis shared with me some code they wrote for better EXWM and NixOS integration. I'm trying to figure out how it works.
Supersonic has quit [Ping timeout: 250 seconds]
<iqubic> How do overlays work?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65897 → crispyDoom: 5.5.2 -> 5.6 → https://git.io/fjHqD
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0423b5d7620 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Miyu-chan> Just had a thought. lorri+shellHook means arbitrary code execution.
<iqubic> Is there a guide to overlays anywhere?
<jackdk> mostly folklore IIRC. I'd just google around and look
Supersonic has joined #nixos
<Miyu-chan> I guess the TL;DR is that simply looking at .envrc is not enough.
<simpson> Miyu-chan: That's giving me a security-twitch. It's ultimately down to $(direnv allow), isn't it? Or...is it that shellHook and direnv don't interact correctly because they don't watch the correct union of files?
<iqubic> See, I have this simple overlay in my configuration.nix, and I don't know what it does, or why I have it.
<Miyu-chan> simpson: Oh, it's much less severe than I made it sound. It's more of "textual analysis isn't enough to prevent arbitrary code execution."
<iqubic> I don't understand why I have both that overlay and this:
abrar has left #nixos ["WeeChat 2.4"]
<samueldr> looks like both are to achieve the same end goal, different methods
<iqubic> Right. I get that.
<iqubic> How does the overlay work?
<Miyu-chan> You'll really want to inspect the resulting .drv, or at the very least, get the resulting attrset to know what code will be running upon direnv allow.
<samueldr> iqubic: it adds `unstable` as an attribute to `pkgs`
<samueldr> `unstable` will contain whatever nixos-unstable is; which is likely to be a channel
<Miyu-chan> (And even then, the resulting attrset is not enough, because you can always write `removeAttrs (mkDerivation ...) "shellHook'`
sushi_ has quit [Ping timeout: 245 seconds]
<iqubic> samueldr: It is. But I never use that attribute.
<samueldr> then it's likely it's not needed if you're not using it
sushi_ has joined #nixos
<iqubic> How do you know it adds an attribute to pkgs?
<samueldr> because that's what overlays are used fo
<samueldr> for*
<Miyu-chan> The specific case I'm thinking of is someone doing `mkDerivation { "${expression that evaluates to "shellHook}" = ...; }`
<Miyu-chan> OTOH, I'm pretty sure you could go another level of obfuscation by going for setup-hook instead.
<iqubic> samueldr: Everytime I need something from unstable, I pull it in using the name declared in the let binding.
<Miyu-chan> Actually, now that I think about it, setupHook + nix-shell is a huge eep.
<iqubic> the overlay is literally redundant code.
<samueldr> an overlay is implemented through a function, taking two parameters (self: super:) that will return an attrset of attributes to add (or replace) into pkgs
<iqubic> I see.
<simpson> Miyu-chan: Yeah, this is turning me off of shellHook even more than normal.
<simpson> I haven't adopted lorri yet, but I can't imagine giving up direnv, let alone *nix-shell*. Therefore, by Principal Skinner's lemma, shellHook is wrong~
<iqubic> are all overlays recursive?
<iqubic> The first argument (self) corresponds to the final package set.
<iqubic> But isn't the purpose of an overlay to change the final package set? Wouldn't that make all overlays recursive by definition?
<simpson> iqubic: Yeah, that's pretty typical for package sets.
<samueldr> that talk may help https://www.youtube.com/watch?v=W85mF1zWA2o
<iqubic> And I don't fully understand the distiction between super and self.
<simpson> iqubic: Imagine that you're a package set. `self` is you. `super` is the package set that you inherit most behaviors and packages from.
<iqubic> Doesn't that make self a subset of super?
<iqubic> How do you know when to self and when to use super?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65898 → denemo: 2.2.0 -> 2.3.0 → https://git.io/fjHq7
hsds^ has quit []
<Miyu-chan> simpson: FWIW, setupHook is an even bigger fun, as I've been hinting. You can make it so that a buildInput arbitrarily executes a script upon nix-shell. :D
<Miyu-chan> It's even more invisible to your shell.nix, OTOH, it's a different attack vector.
rzt^ has joined #nixos
<simpson> Miyu-chan: Stop, I have to sleep tonight~ This is a pretty fun line of thought though.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65899 → cimg: 2.6.6 -> 2.6.7 → https://git.io/fjHqx
<pie_> Miyu-chan: wait you can inherit shellHooks? xD
abathur has joined #nixos
<Miyu-chan> pie_: You can't, but setupHook is practically a deferred shellHook, I believe.
<pie_> iqubic: this miiight help a bit https://nixos.wiki/wiki/Overlays
<pie_> iqubic: which also links https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/ , though if I recall correctly, I dont agree with everything in there
<pie_> iqubic: the way I think of it is that an overlay is a view I have into an attribute set that lets me edit it (with some meaningul restrictions being where exactly I am with respect to the evaluation order of layers)
<pie_> (but overlays should not be written to depend on evaluation order)
<iqubic> and in this case the attribute set is all of nixpkgs.
<pie_> you may commonly see something like self refers to the "fixpoint" - this just means a recursive reference to the "final result" (which is how you might end up - oftentimes through a lot of indirection - with an infinite recursion error somewhere)
<iqubic> How do you decide whether to use self or super in the body of the overlay?
<pie_> iqubic: yeah. you can use them elsewhere too, but if its someone else's code there will eed to be explicit support
<iqubic> So I'm watching this talk, and he says that self should only ever be used for the result of a derivation, like self.firefox or self.chrome
<iqubic> Why is that?
<pie_> Miyu-chan: hm I guess I forget what setupHook does
<pie_> the way self works is that if you have (self: super: {...}), then at some point the super argument gets magically applied, and you are left with (self: { ... }), the attrset in this case may contain things like { someattr = self.foo; foo = 1; }
<iqubic> I'm not sure I follow.
<pie_> so if you have (self: { someattr = self.foo; foo = 1; }), then you have to apply it to itself once to get a fully resolved attrset
<pie_> > (self: { someattr = self.foo; foo = 1; }) { someattr = self.foo; foo = 1; }
<{^_^}> { foo = 1; someattr = <CODE>; }
<pie_> hm
<Miyu-chan> setupHook is basically to prepare the environment of the requiring package. For example, python packages have a setupHook to add themselves to PYTHONPATH.
<pie_> ok I might have oversimplified that
<iqubic> Right.
<iqubic> But why should you fetch python3 with self.python3 and not super.python3?
<pie_> iqubic: the reason that says <CODE> is because the self.foo in the second expression is unresolved, you cant really unfold it like this - you cant remove the recursion, but maybe you get the basic idea
<pie_> actually no nevermind its not unresolved, sorrt :D
<pie_> but uhh nevermind
<iqubic> Also, why the hell is it bad form to have "self.writeText 'foo'" in an overlay?
<pie_> iqubic: I dont know if this is good or bad but I try to use self whenever I can
<iqubic> Why?
<pie_> using self means a later layer can override what you did
<pie_> if you use super the definition is hardcoded (which may be appropriate if its what you want)
<iqubic> But using super doesn't allow that? Why not?
<pie_> do you understand?
<pie_> ok
<iqubic> I don't.
<iqubic> Hence my question.
JadoJodo has left #nixos ["The Lounge - https://thelounge.chat"]
<pie_> if you have two layers X and Y, if Y.something = super.other, then the value of Y.something gets substituted from X
<pie_> like a let expression
<pie_> and you dont get to insert any more layers between X and Y
<vaibhavsagar> iqubic: self = final result of overriding, super = previous version before this override
<iqubic> I see.
<pie_> if you use self then you can have (pseudocode) X.other = 1; Y.something = self.other; Z.other = X.other.someoverride;
<iqubic> Oh. Oh. Oh.
<pie_> make sense now? (yeah self meant later layers can affect what you _currently_ see)
<pie_> *means
<iqubic> If I do self.python, then that version of python that I'm getting can be overriden by another overlay. If use super.python, then I'm getting a version of python that is unchanging.
<pie_> Miyu-chan: ahh right
<pie_> iqubic: \o/
<iqubic> Is that correct?
<pie_> unless my understanding is wrong, yep
<iqubic> And that's why you pull derivations from self.
<pie_> yep
<iqubic> I assume calling functions from super is just a style thing.
<pie_> yeah thats my best guess
<pie_> im guessing it might mean less places you need to look if you accidentally get infiite recursion but man i dont know
<iqubic> How do overlays create infinite recursion.
<pie_> remember self? :P
vonfry has joined #nixos
<iqubic> Yeah.
vonfry has quit [Client Quit]
<pie_> > f = self: { foo = self }; lib.fix f
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):74:25
<pie_> > f = self: { foo = self; }; lib.fix f
<{^_^}> error: syntax error, unexpected ID, expecting '.' or '=', at (string):74:37
<pie_> ugh :D
<pie_> > let f = self: { foo = self; }; in lib.fix f
<{^_^}> { foo = { foo = <CYCLE>; }; }
<iqubic> I see.
<iqubic> That's an issue.
<pie_> well, it doesnt actually make sense to try evaluating something like that, so its a logic error
<pie_> you dont run into problems normally because the recursion terminates
iyzsong has quit [Ping timeout: 264 seconds]
<pie_> > let f = self: { foo = self.asd; asd = 1; }; in lib.fix f
<{^_^}> { asd = 1; foo = <CODE>; }
<pie_> > let f = self: { foo = self.asd; asd = 1; }; in (lib.fix f).foo
<{^_^}> 1
<pie_> trying to print a value in the normal repl causes strict evaluation, which means it tries to fully evaluate everything so it can print the value for you
<iqubic> I see.
<pie_> the bot uses a different interpreter called hnix I think, and as you can see above, it doesnt fully evaluate
<pie_> it just gives <CODE> for unevaluated thunks
<pie_> the best way to gain understanding into stuff like this is probably to play with haskell
<pie_> hm. ok maybe thats not really necessary, I havent used hnix yet myself
<iqubic> I feel like the google-chrome overlay here should use self.google-chrome.override, instead of super. https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/
<pie_> so if we go back to the example that said <cycle>
<pie_> > let f = self: { foo = self; }; in (lib.fix f).foo
<{^_^}> { foo = { foo = <CYCLE>; }; }
<pie_> ah well, it will just keep giving the next level of evaluation, nevermind :D
<pie_> thats what you get because the pretty printer is lazy
<iqubic> Why does that google-chrome example overlay use super instead of self?
<pie_> no idea
<pie_> iqubic: *shrug* on a cursory look, I guess it could go either way there
<iqubic> Why do you say that?
johnny101m2 has quit [Quit: -a- Connection Timed Out]
<pie_> does it make sense to override it again later?
johnny101m has joined #nixos
<iqubic> Yes it does.
<pie_> or...thats not a good way to say it
<pie_> what would using self there get you
<pie_> hm
<pie_> maybe this is one of the places where order matters
<pie_> well I do have one related thing I want to say
<pie_> this implementation doesnt compose well because commandLineargs gets completely overwritten, as opposed to being appended or prepended to or somesuch
<pie_> of course whether that makes sense depends on the exact semantics of what you want, and how the flags work
<iqubic> Now, time to look at the overlay I actually want to understand.
ddellacosta has quit [Ping timeout: 245 seconds]
<pie_> if you wanted something that composes you could do .override (old: { commandLineArgs = old.commandLineArgs + "my string"; })
<iqubic> Right.
<iqubic> That makes sense.
<pie_> override can take either an attrset or a function, if you pass it a function you get the previous args
<iqubic> On a different topic: what is emacsPackagesNg?
<pie_> whether its desired or not is a different question, but that implementation "ensures"/ will mean anything that comes after tha overlay will start with those being the first flags (unless something else overwrites it)
<pie_> idk much about emacs packaging, there's examples of that in the nixpkgs manual
<pie_> Miyu-chan: to be fair, is arbitrary shell script execution really a problem if your running arbitrary code in nix shell anyway? -namely the application youre running
<pie_> beyond what ive told you, ive only really figured this stuff out after poking at it a lot :I
<pie_> there's a lot of useful funcitons for composing overlays and such (which you generally dont need to do) in https://github.com/NixOS/nixpkgs/blob/master/lib/fixed-points.nix
<Miyu-chan> The arbitrary code execution is not specifically the problem, it's that you can obfuscate the arbitrary code.
<pie_> but I only really understood that stuff after acidentally implementing it myself
<pie_> Miyu-chan: I guess I dont really follow...concrete example? >_>
<Miyu-chan> For example, if you remove `{ "${foo}" = ...; }` then you are sure that the a shellHook will run only if "shellHook" is in the Nix code.
<Miyu-chan> Modulo `import` ofc.
<Miyu-chan> Thing is, you can write
<Miyu-chan> > let not = "shell"; malicious = "Hook"; in { "${not + malicious}" = "foobar"; }
<{^_^}> { shellHook = "foobar"; }
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65900 → cfr: 0.145 -> 0.146 → https://git.io/fjHmT
<pie_> i guesss
<pie_> when is the International Obfuscated Nix Code Contest?
<iqubic> Is that a thing that exists?
<pie_> please contain copious quantities of mutually recursive data structures
<Miyu-chan> It should be now.
<pie_> iqubic: https://www.ioccc.org/
jluttine has joined #nixos
<Miyu-chan> Is... is that an animation quine?
<pie_> k-kind of
<Miyu-chan> I'm done lmao
<Miyu-chan> Quines are high up on things that I don't understand.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e1f14ce8235 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<iqubic> How does this use Python?
<iqubic> Oh. Monty Python.
<iqubic> I was thinking about the other programming language. LMAO.
mexisme has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65901 → calamares: 3.2.8 -> 3.2.11 → https://git.io/fjHmm
mexisme has quit [Ping timeout: 276 seconds]
<alienpirate5> https://nixery.dev/ whoa this is amazing
<simpson> It's a very cool demo.
judson__ has quit [Ping timeout: 272 seconds]
rouma7 has quit [Ping timeout: 276 seconds]
lnh^ has quit []
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65902 → flexget: 2.21.8 -> 2.21.15 → https://git.io/fjHmG
beh^ has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<rajivr___> How can I get `shell.nix` to install derivations specified in `testHaskellDepends`?
<iqubic> for people who use home-manager how do you decide what packages to put into configuration.nix's system.environmentPackages and which ones to put into home.nix's home.packages?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65903 → eventstore: 5.0.0 -> 5.0.2 → https://git.io/fjHmW
<iqubic> I guess that's mostly just a matter of preference.
<hyper_ch> iqubic: what you add to configuration.nix is available for all users and what you add to your home.nix is only available to your user. I guess that's the difference.
<iqubic> yeah. I only have 1 user and root
<pie_> iqubic: basically what you said i guess
<pie_> might get more interesting if you have a common configuration between multiple machines or something, in which case you might want to put common sysadmin tools in the globabl one
<pie_> *shrug*
<hyper_ch> I prefer to add stuff system-wide.... so when I (for some reason) add another user, that user has the same tools available
hoijui has joined #nixos
<iqubic> What's the point of all the email options home-manager gives you?
<rajivr___> I was wondering what the error "It is a member of the hidden package ..." means? https://pastebin.com/n5jsxZNx
<pie_> rajivr___: thats a haskell problem, i think its some kind of cabal scoping?
<pie_> (i just googled)
<iqubic> rajivr___: You might get a more comprehensive answer if you ask in #haskell
<rajivr___> Thanks. I'll check it. Sorry for asking too many newbie haskell / nix questions.
<rajivr___> I really appreciate the help.
<pie_> nah its fine, just might be more likely to get topica help there
<pie_> *topical
<pie_> ah I missed the testHaskellDepends question, but I've no idea about that
<rajivr___> I resolved that. Actually it does install. It was my bad.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65904 → folly: 2019.06.17.00 -> 2019.07.22.00 → https://git.io/fjHm0
<rajivr___> BTW, I simply love how quickly i can iterate over my mistakes with Nix! :-)
rouma7 has joined #nixos
<pie_> \o/ :D
<iqubic> I have learned so much tonight, just trying to get home-manager up and running.
zacts has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/525eaf407d4 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65905 → epiphany: 3.32.3 -> 3.32.4 → https://git.io/fjHmr
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/93ea6db29cc (from 24 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
abathur has quit [Ping timeout: 268 seconds]
jb55 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65906 → eagle: 9.4.1 -> 9.4.2 → https://git.io/fjHm1
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65907 → fasm-bin: 1.73.12 -> 1.73.15 → https://git.io/fjHmS
endformationage has quit [Ping timeout: 245 seconds]
oborot has quit [Ping timeout: 246 seconds]
kisik21 has joined #nixos
<kisik21> GNOME Software can't see my repositories, including GNOME shell extensions site. Says something about SSL handshake errors
<kisik21> I feel like the solution is simple
<kisik21> btw I have `services.gnome3.glib-networking.enable = true`
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
noudle has joined #nixos
<iqubic> What errors are you getting?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65908 → fldigi: 4.1.04 -> 4.1.06 → https://git.io/fjHmb
<kisik21> iqubic: Unable to install "GNOME Shell Extensions Repository" as download failed from "extensions.gnome.org": failed to download https://extensions.gnome.org//static/extensions.json: SSL handshake failed
<kisik21> and then just "No Application Data Found"
sb0 has joined #nixos
day|flip has quit [Quit: ERC (IRC client for Emacs 26.1)]
iqubic has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65909 → flrig: 1.3.45 -> 1.3.46 → https://git.io/fjHmp
iqubic has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
alex`` has joined #nixos
kisik21 has quit [Remote host closed the connection]
<pie_> joepie91: this looks like a promising read https://rgoarchitects.com/Files/fallacies.pdf
fusion809 has joined #nixos
<pie_> joepie91[m]: (i dont know if you can tell that ive been thinking about network configuration)
markh2 has joined #nixos
<worldofpeace> DigitalKiwi: don't you think that issue would be more useful at https://github.com/bitwarden/desktop ?
drakonis has quit [Quit: WeeChat 2.4]
<DigitalKiwi> worldofpeace: maaybe >.>
<worldofpeace> I don't think you'll have to fix the issue to merge it, if we think it's a problem in the application.
<worldofpeace> but I'm sure they should be able to offer some assistance
<worldofpeace> ^ DigitalKiwi
drakonis has joined #nixos
drakonis1 has quit [Ping timeout: 246 seconds]
markh2 has left #nixos ["Textual IRC Client: www.textualapp.com"]
_kwstas has joined #nixos
meteo has quit [Ping timeout: 245 seconds]
chloekek has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65910 → fanficfare: 3.9.0 -> 3.10.5 → https://git.io/fjHYc
dansho has joined #nixos
xkapastel has joined #nixos
iyzsong has joined #nixos
<abbe> hi
<abbe> in fetchFromBitbucket { ... }, what should I enter for sha256 ? the sha256sum of the fetched tarball, or something else ?
<abbe> I tried adding sha256sum of the downloaded tarball, but there seems to be a mismatch on nix part, even though I calculated sha256sum again on the downloaded tarball as present on the kept build directory (nix-env -K ...), and it seems to match what I expect
<{^_^}> [nixpkgs] @FRidh merged pull request #65902 → flexget: 2.21.8 -> 2.21.15 → https://git.io/fjHmG
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « flexget: 2.21.8 -> 2.21.15 »: https://git.io/fjHYR
FRidh has joined #nixos
<abbe> pastebin link: https://hasteb.in/eneyelol.bash
<iqubic> abbe:
<iqubic> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<abbe> thanks, although just curious what is wrong with my provided hash. Am I calculating incorrectly ?
<iqubic> I have no idea how you found your provided hash
<abbe> yes, that's in the pastebin link, sha256sum /path/to/file.tar.gz
<iqubic> I don't know. You'll have to ask someone more clever than me.
<iqubic> Like maybe clever or infinisil if they are around.
<abbe> alright, thanks!
_kwstas has quit [Quit: _kwstas]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<thefloweringash> the hash is of the extracted contents, after removing the file ".hg_archival.txt"
<iqubic> abbe: does that give you the expected hash?
<abbe> thanks thefloweringash
<abbe> iqubic: yes, that generates the hash expected by nix
linus has joined #nixos
meteo has joined #nixos
<iqubic> I'm too lazy to figure out which files nix will or won't include in the hash so I just use TOFU approach.
linus is now known as Guest83108
Guest83108 has quit [Client Quit]
ayerhart_ has quit [Ping timeout: 244 seconds]
ayerhart has joined #nixos
sphalerite has joined #nixos
rouma7 has quit [Ping timeout: 276 seconds]
<thefloweringash> and for things like fetchpatch with filtering and prefix manipulation is almost impossible
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65911 → ephemeral: 5.1.1 -> 5.2.1 → https://git.io/fjHYP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65912 → pantheon.elementary-files: 4.1.8 -> 4.1.9 → https://git.io/fjHYy
<ashkitten> i wonder how long it'd take to find a file that actually has a hash of all zeros...
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.elementary-gtk-theme: 5.2.4 -> 5.2.5 »: https://git.io/fjHYH
orivej has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #62812 → bloop: 1.2.5 -> 1.3.2 → https://git.io/fjzcj
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to master: https://git.io/fjHYQ
lambda-11235 has quit [Quit: Bye]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65912 → pantheon.elementary-files: 4.1.8 -> 4.1.9 → https://git.io/fjHYy
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHY7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjHY5
<{^_^}> [nixpkgs] @wahjava closed pull request #65853 → sagittarius-scheme: init at 0.9.6 → https://git.io/fjHJJ
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65913 → adwaita-qt: 1.0 -> 1.1.0, nixos/adwaita-qt: init → https://git.io/fjHYd
vcunat has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65914 → Update pantheon appcenter apps → https://git.io/fjHYb
<{^_^}> [nixpkgs] @worldofpeace closed pull request #65911 → ephemeral: 5.1.1 -> 5.2.1 → https://git.io/fjHYP
capletg[m] has joined #nixos
capletg[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65915 → typora: 0.9.72 -> 0.9.73 → https://git.io/fjHYx
ajirx[m] has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65916 → Electron updates → https://git.io/fjHYp
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65905 → epiphany: 3.32.3 -> 3.32.4 → https://git.io/fjHmr
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHOe
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65917 → wire-desktop: add a proper throw → https://git.io/fjHOJ
linarcx has quit [Read error: Connection reset by peer]
terlar has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65806 → xorg.libXTrap: init at 1.0.1 (Fix build of xorg.xtrap) → https://git.io/fj99k
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjHOY
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65473 → smartgithg: 18.2.4 -> 18.2.9 → https://git.io/fjyaT
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHOO
revtintin has joined #nixos
<terlar> What is the preferred way to package extra plugins for an existing package. My example is the python package httpie and packages such as httpie-aws-authv4 which adds extra functionality. I created a package for the latter, but doesn't seem like it is detected by httpie. Is the pure way to use a wrapper package, maybe in the same way as aspellWithDicts is done?
o1lo01ol1o has quit [Remote host closed the connection]
ottidmes has joined #nixos
<iqubic> What is the purpose of packaging these other things with python?
<iqubic> Are you trying to create a development environment?
<terlar> No, but I packaged it as a separate python package and seems it was not picked up by httpie, so I was wondering how to get it to work. The intention is to have it as an installable system package, not specifically for a dev env
<iqubic> Why do you need this? What is the purpose of making this a system package?
<terlar> To be able to make signed requests with the httpie system package from the terminal, I was thinking since httpie itself is a "system" package, there is a use case to install it at that level as well
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<iqubic> Ah. I see.
o1lo01ol1o has joined #nixos
<iqubic> in that case install using this: "python35.withPackages (ps: with ps; [ httpie ])"
<iqubic> Feel free to change python35 to something that better suits your needs.
<iqubic> Also, you can extend that list to add in other dependencies.
<iqubic> erm.. other packages.
<iqubic> But that's how you install python with other packages.
<{^_^}> [nixpkgs] @LnL7 merged pull request #65384 → plex: 1.16.2.1321 -> 1.16.3.1402 → https://git.io/fjDjR
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fjHOE
o1lo01ol1o has quit [Ping timeout: 268 seconds]
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65918 → digikam: 6.1.0 -> 6.2.0 → https://git.io/fjHO2
<terlar> I have created a package for httpie-aws-authv4 and it could be that my overlays are not properly defined that httpie wouldn't pick it up. It is installed inside the nix store, but I can't refer to it with a nix-shell because I haven't added overlays to nixpkgs, I just have the overlays as part of the system configuration.nix
thc202 has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c0a8580822b (from 4 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65919 → gkrellm: 2.3.10 -> 2.3.11 → https://git.io/fjHOo
chagra has joined #nixos
chagra has quit [Remote host closed the connection]
<{^_^}> [nix] @clefru closed pull request #2602 → Add root uid/gid mappings to sandbox namespace. → https://git.io/fhTJR
<iqubic> terlar: What does the overlay look like, and how did you add it to your configuration.nix?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65920 → freeswitch: 1.8.5 -> 1.8.7 → https://git.io/fjHOH
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #62753 → ledger-live-desktop: init at 1.12.0 → https://git.io/fjuxl
<{^_^}> [nixpkgs] @yegortimoshenko pushed commit from @thedavidmeister to master « ledger-live-desktop: init at 1.12.0 (#62753) »: https://git.io/fjHO5
<pie_> terlar: i havent looked at the code but a wrapper sounds reasonable
<pie_> the starting point is that everything is immutable, so you need to find a way to compose things in the combined package such that httpie can find the new plugin
o1lo01ol1o has joined #nixos
<iqubic> pie_: Any overlay seems to be the right way to compose these things.
ris has joined #nixos
<iqubic> *an not any
<pie_> terlar: but if its just another python package, and not that httpie has some sort of special plugin resolution, the usual python package composition stuff should be fine (i think) as iqubic showed...
<pie_> i think theres two questions here? one is composing the stuff and there does seem to be another about overlays
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol_ has joined #nixos
<pie_> i havent tried using overlays with the global stuff yet, but look at the "on the user level" section here, it looks like it might be what you want https://nixos.wiki/wiki/Overlays
<pie_> alternatively, you can use a default.nix with pinning, and having an overlay there
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<pie_> well, pinning is actually orthogonal for this i think
<pie_> what you do is you import nixpkgs, which you use to load another nixpkgs that has an overlay passed to it
<pie_> nevermind thats overcomplicated, you can just pass the overlay
<pie_> hold on
<iqubic> pie_: If you make an overlay, and add it to nixpkgs.overlays in either configuration.nix or home.nix that will work.
<pie_> iqubic: yeah but theres a more direct way as well
<pie_> or more scoped at least
<iqubic> Right. But you stated you haven't used global overlays.
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #63668 → Gitolite: Make directory readable for the group → https://git.io/fjwzq
<{^_^}> [nixpkgs] @teto pushed commit from @bake to master « nixos/gitolite: dataDir group-readable »: https://git.io/fjHZr
<pie_> iqubic: sorry i wansnt clear, i meant like, user environment style
<pie_> ive done it with configuration.nix
<iqubic> Oh. I see.
<pie_> so, something like this should be possible:
<pie_> {pkgs ? import <nixpkgs> { overlays = [(import ./myoverlay.nix)]; }}:
<pie_> stuff goes here
<iqubic> I don't know how to use overlays in the imperative way.
<iqubic> From what I remember in the manuals, that should work.
<pie_> so i usually have something like that in my default.nix, which calls to my actual code with pkgs.callPackage
<iqubic> What does callPackage even do?
<pie_> which is to say:
<pie_> pkgs.callPackage ./whatever.nix {}
<pie_> {pkgs ? import <nixpkgs> { overlays = [(import ./myoverlay.nix)]; }}:
o1lo01ol_ has quit [Remote host closed the connection]
<pie_> callpackage is basically a function call with some implicit automatic arguments
<iqubic> Why is that used ever?
<pie_> have you looked at any package definitions?
<iqubic> Yes.
<pie_> theres a lot of arguments that come from dependencies
o1lo01ol1o has joined #nixos
<pie_> if you didnt use callpackage youd have to explicitly pass all the dependencies at the call sites as well
<iqubic> Right...
<ronny> ij ust did a dnf update on my rawhide box and it no longer starts logind, anyone aware if this is a known issue, im currently preparing a usb stiick with a rawhide is on it to boot that box again in some way
<iqubic> Like minecraft needs { stdenv, fetchurl, makeDesktopItem, makeWrapper, jdk, jre, libpulseaudio, libXxf86vm }:
<pie_> sure
<ronny> oh, i have to appologize, wrong channel
<pie_> hm. im actually not sure how it does the argument passing. maybe it inspects the function arguments with a builtin.
<pie_> id look it up but I don't feel like it
<iqubic> pie_: callPackage would find all the right arguments and just pass them in implicitly?
<pie_> yeah, you can just test it yourself on the repl
<iqubic> I see. That's cool.
<pie_> btw the attrset argument of callpackage is for overriding the implicitly passed value
<iqubic> I see.
<pie_> or if a value doesnt exist in pkgs
<iqubic> So like if you want to pass in a specific version of python as build input?
<pie_> > let f = { doesntexist, hello }: [ doesntexist hello ]; in pkgs.callPackage f {}
<{^_^}> 'f' at (string):256:9 called without required argument 'doesntexist', at /var/lib/nixbot/nixpkgs/master/repo/lib/customisation.nix:69:12
<pie_> > let f = { doesntexist, hello }: [ doesntexist hello ]; in pkgs.callPackage f { doesntexist = 1; }
<{^_^}> [ 1 <CODE> ]
<pie_> > let f = { doesntexist, hello }: [ doesntexist hello ]; result = pkgs.callPackage f { doesntexist = 1; }; in builtins.elemAt result 1
<{^_^}> "<derivation /nix/store/4c91sgwss7vx4vx2yld81vb9gnqpxzj9-hello-2.10.drv>"
<iqubic> Nope. Not quite what you want.
<iqubic> Oh wait.. Yes it is.
<pie_> thats just an example, not sure what you thought i wanted :D
<pie_> also yeah sure, like choosing a python version
<iqubic> doesntexist is 0 and hello is 1.
<iqubic> I was thinking that the 1 was requesting the first element.
ambro718 has joined #nixos
<iqubic> It's late at night here and I'm tired.
<pie_> heh indexing is always a bit fun
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d834a4a4fa5 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
jgt has quit [Ping timeout: 264 seconds]
<iqubic> Actually, you could technically call it early in the morning, as it's 2:55 AM.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65921 → intel-gmmlib: 19.2.1 -> 19.2.3 → https://git.io/fjHnp
<terlar> It is working for other overlays, just not with the nix-shell tools and company, only during the system switch
mexisme has joined #nixos
<terlar> I just added the nixpkgs-overlays to nix path in hope that it would solve this issue, but fact still stands that httpie doesn't pick it up
<iqubic> What exactly are the errors you are getting?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65922 → gallery-dl: 1.8.6 -> 1.10.1 → https://git.io/fjHnh
<pie_> terlar: you have to rebuild twice for nix path updates btw
<pie_> the first build updates the environment variable and then the second one will have the new environment
<iqubic> Is he updating the nix path?
<terlar> Yeah, I have this working now: nix-shell -p 'python27.withPackages(ps: with ps; [httpie httpie-aws-authv4])' --run fish
<iqubic> That should work.
<terlar> but httpie does not pick up the plugin, I will look into how it discovers the other python package
<terlar> I have tried it in a docker container without nix where I just installed both python packages and they found eachother
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
iqubic` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65923 → go-protobuf: 1.3.1 -> 1.3.2 → https://git.io/fjHnj
iqubic` has quit [Client Quit]
iqubic has quit [Ping timeout: 264 seconds]
<pie_> terlar: i checked some random source code on github whihc im assuming what the httpie source code and it seems to use https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins to resolve plugins
<pie_> the question is how that is implemented i guess
<pie_> but you said theres other httpie plugins right? so thats a good thing to check
<pie_> (i dont see any in nixpkgs offhand)
o1lo01ol1o has quit [Remote host closed the connection]
iqubic has joined #nixos
<terlar> yeah, I think this is some of the code that loads the plugins: https://github.com/jakubroztocil/httpie/blob/master/httpie/plugins/manager.py#L30-L35
<terlar> These are some other plugins: https://github.com/jakubroztocil/httpie#auth-plugins
nixbitcoin has joined #nixos
<terlar> Yeah, I searched through nixpkgs also, only found httpie itself, guess it is not that common to use these
<iqubic> you can write an overlay to extend httpie if you really need those plugins.
o1lo01ol1o has joined #nixos
<terlar> Yeah, I guess that will be the easiest for now, just thought it would make sense and would potentially help someone in the future, but then again I am not sure how popular httpie is and then on top of that the need for the auth plugins
<terlar> Thanks for the help and some slight detective work
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65924 → gitkraken: 6.0.0 -> 6.0.1 → https://git.io/fjHct
terlar has quit [Remote host closed the connection]
<iqubic> pie_: I just realized that ps is most likely short for python self.
<iqubic> Which is a callback to how overlays work, I think.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #65926 → openjpeg: disable tests for aarch64 linux → https://git.io/fjHcZ
Thra11 has joined #nixos
<iqubic> I did 0 research on this. I just thought of this idea on my own.
dansho has quit [Ping timeout: 248 seconds]
<iqubic> Also, you can name the argument anything at all that you wish.
terlar has joined #nixos
_kwstas has joined #nixos
jgt has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
<pie_> iqubic: i always figured its PackageS >_>
<pie_> p for package s for plural
dansho has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4e8a8a13ef6 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65928 → gnome-builder: 3.32.3 -> 3.32.4 → https://git.io/fjHcR
meteo_ has joined #nixos
nixbitcoin has quit [Quit: nixbitcoin]
meteo has quit [Ping timeout: 250 seconds]
_kwstas has quit [Quit: _kwstas]
o1lo01ol1o has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #65872 → birdfont: 2.26.0 -> 2.27.0 → https://git.io/fjHIw
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHcu
<{^_^}> [nixpkgs] @WilliButz merged pull request #65900 → cfr: 0.145 -> 0.146 → https://git.io/fjHmT
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHca
<{^_^}> [nixpkgs] @WilliButz merged pull request #65906 → eagle: 9.4.1 -> 9.4.2 → https://git.io/fjHm1
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHco
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65926 → openjpeg: disable tests for aarch64 linux → https://git.io/fjHcZ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHci
<{^_^}> [nixpkgs] @WilliButz merged pull request #65919 → gkrellm: 2.3.10 -> 2.3.11 → https://git.io/fjHOo
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHcP
pottumuusi has joined #nixos
vcunat has quit [Quit: Leaving.]
<etu> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 27
_kwstas has joined #nixos
<etu> worldofpeace: When I put my PR in on surf-display yesterday I noticed that something with openjpeg failed on aarch64 but didn't took the time yesterday to look into it :)
linarcx has quit [Ping timeout: 268 seconds]
npmccallum has joined #nixos
<worldofpeace> etu: I found out when my friend asked me if I could fix it because it broke lots of stuff
<worldofpeace> glad to see it came timely for you 👍️
<etu> (this PR btw if you want to look at it: https://github.com/NixOS/nixpkgs/pull/65860 )
<{^_^}> #65860 (by etu, 17 hours ago, open): Surf display kiosk session
<worldofpeace> sure etu I review all the things :)
<etu> I'm off for a while, but I'll be back in a while :)
cinimod has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #65166 → vault-bin: init at 1.1.3 → https://git.io/fjMlC
<{^_^}> [nixpkgs] @offlinehacker pushed 3 commits to master: https://github.com/NixOS/nixpkgs/compare/25967c361520...e2cd85d9b456
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #65922 → gallery-dl: 1.8.6 -> 1.10.1 → https://git.io/fjHnh
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHcb
asymptotically_ has joined #nixos
joebobjoe has quit [Ping timeout: 268 seconds]
asymptotically is now known as Guest58286
asymptotically_ is now known as asymptotically
_kwstas has quit [Quit: _kwstas]
shibboleth has joined #nixos
Guest58286 has quit [Ping timeout: 260 seconds]
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65929 → gmsh: 4.4.0 -> 4.4.1 → https://git.io/fjHCv
<cinimod> How do I make the required Haskell packages available in a nix shell: nix-shell bar.nix -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz followed by ghci
<niso> cinimod: i think you might want to use haskellPackages.ghcWithPackages ?
<ToxicFrog> Ok, I still need to clean up the commits a bit, but I now have a branch that adds a whole bunch of perl modules and the Deliantra and Crossfire servers, and nixos settings for the former.
anon has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #65887 → confluent-platform: 5.2.1 -> 5.3.0 → https://git.io/fjHtv
<{^_^}> [nixpkgs] @offlinehacker pushed 4 commits to master: https://git.io/fjHCq
anon is now known as Guest85267
Guest85267 has quit [Client Quit]
<chloekek> Can I specify an additional binary cache to use to nix-build without touching global configuration?
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/90b1b55e3e1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<chloekek> I can't find a relevant option in man nix-build.
MmeQuignon has joined #nixos
<chloekek> Ah, there appears to be an option --substituters, but it's not in the man page.
chris__ has joined #nixos
__monty__ has joined #nixos
<chloekek> Ok so I have to at least touch global configuration to make the substituter trusted.
<cinimod> niso: that ignores my overlay :(
<cinimod> This still tests inline-r even though I asked nix *not* to do that
<cinimod> Thus does not build
zupo has joined #nixos
orivej has joined #nixos
<chris__> Is there a simple way of rolling back a single package on Nixos? Else I assume I need to figure out the old version + sha256 + ???
<adisbladis> chris__: You can pull in a single package from another nixpkgs rev
<{^_^}> [nixpkgs] @wahjava reopened pull request #65853 → sagittarius-scheme: init at 0.9.6 → https://git.io/fjHJJ
<chris__> adisbladis: Do you mean a channel based on a previous commit of nixpkgs?
zupo has quit [Client Quit]
<adisbladis> chris__: This one-liner will give me an older jq for example: (import (builtins.fetchTarball { url = "https://github.com/nixos/nixpkgs-channels/archive/nixos-19.03.tar.gz"; }) {}).jq
linarcx has joined #nixos
<adisbladis> replacing "nixos-19.03" with some arbitrary git-rev also works
<chris__> adisbladis: Awesome! Thank you!
<adisbladis> chris__: It's worth noting that fetchTarball is impure though, I'd suggest finding out the correct rev and pinning a sha256
<adisbladis> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
revtintin has quit [Quit: WeeChat 1.9.1]
<ToxicFrog> I asked this earlier but don't think I got a reply -- for Perl modules, what's the preferred way to structure the PR? One commit per module, one commit for all of them, or put them in the same commit as the thing that depends on them?
<ToxicFrog> I'm adding ten modules in one go here.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65895 → qutebrowser: add wrapQtAppsHook → https://git.io/fjHql
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjHCW
<{^_^}> [nixpkgs] @worldofpeace closed pull request #65150 → qutebrowser: 1.6.3 -> 1.7.0 → https://git.io/fjMcx
<chris__> Hmm, is there a way I can determine the nixpkgs git-rev of an previous Nixos profile generation?
<clever> chris__: the git rev is in the storepath, near the end
magnetophon has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<chris__> clever: I don't understand. Does a profile have a storepath? How can I find this?
<magnetophon> When I run "nix-collect-garbage -d" as a user, I get: "error: statting '/nix/store/.links/162790f1fc5pcs0z0cbikxg4qc9a55cg1qvcxps2axz8fi2vjcx5': No such file or directory"
<qyliss> ToxicFrog: I'd do one commit per module
<magnetophon> Any ideas why,or how to troubleshoot?
<qyliss> ordered so that each commit builds
<averell> For an application package that will not be a dependency, what should be propagatedBuildInputs rather than buildInputs? Everything that is required at runtime? In cases where that is not entirely clear, everything in propagatedBuildInputs doesn't hurt, or does it?
<__monty__> magnetophon: Maybe try nix doctor?
<symphorien> magnetophon: fsck ?
<symphorien> as part of the gc, nix lists the content of /nix/store/.links and stats every file in it. If nlinks==1 then it removes it.
<symphorien> so there is not much here which can get corrupted from the nix side
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65930 → glib: 2.60.4 -> 2.60.6 → https://git.io/fjHC0
<etu> worldofpeace: Thanks for the review :)
<etu> worldofpeace: I'm gonna try out all the patches with the changes on my laptop now again
<worldofpeace> etu: no problem 🙂
<etu> Just as a complete test
<worldofpeace> hope it works 🤞
<ToxicFrog> qyliss: alright
<ToxicFrog> Oh joy, time for the "update nixpkgs and discover what's broken this time" dance
<ToxicFrog> (it's calibre)
<ToxicFrog> "Builder called die: makeWrapper doesn't understand the arg PATH:"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65931 → groonga: 9.0.4 -> 9.0.5 → https://git.io/fjHC6
<magnetophon> __monty__: Thanks, but IDK how, and the output of "nix doctor --help" wasn't very helpfull
<averell> #65113
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65113 (by worldofpeace, 2 weeks ago, merged): GNOME3 updates
<averell> typo, #65313
<{^_^}> https://github.com/NixOS/nixpkgs/issues/65313 (by AmandaCameron, 1 week ago, open): Calibre expression got broken recently
<magnetophon> symphorien: OK, I'll give it a go at the next reboot. Working RN....
zupo has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65932 → gdcm: 3.0.0 -> 3.0.1 → https://git.io/fjHCD
terlar has quit [Ping timeout: 244 seconds]
zupo has quit [Client Quit]
<cinimod> 1) Why is nix still trying to run the tests?
<etu> worldofpeace: The session worked better, it got a proper name in lightdm
<etu> worldofpeace: The session also didn't work better because it failed at the variables
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65933 → gImageReader: 3.3.0 -> 3.3.1 → https://git.io/fjHCH
<etu> worldofpeace: I will fix that after I had my food:)
<cinimod> 2) Is there a way of adding Haskell packages in the same way as I do for R
<cinimod> ?
<cinimod> The R method seems much easier
anon has joined #nixos
anon is now known as Guest90899
madhukar93 has joined #nixos
<worldofpeace> etu: huh that's interesting. maybe you have to export them in environment extra init. or have the display manager do it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65934 → terminus_font: 4.47 -> 4.48 → https://git.io/fjHCF
oborot has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/90b1b55e3e1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<cinimod> nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz -p "haskellPackages.ghcWithPackages (p: [haskell.lib.dontCheck p.inline-r])"
<cinimod> Why is this still trying to run the tests?
hmpffff has joined #nixos
<cinimod> Grrrr - missing brackets - but why didn't I get an error message?
orivej has joined #nixos
<cinimod> Now I get ghci Segmentation fault: 11
<{^_^}> [nixpkgs] @vbgl opened pull request #65935 → ocamlPackages.ocaml-migrate-parsetree: 1.2.0 -> 1.4.0 → https://git.io/fjHCN
noudle has quit [Read error: Connection reset by peer]
noudle_ has joined #nixos
Guest90899 has quit [Ping timeout: 245 seconds]
Guest90899 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #65936 → highlight: 3.52 -> 3.53 → https://git.io/fjHCx
orivej has quit [Ping timeout: 258 seconds]
<MmeQuignon> Hi !
xvello has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<MmeQuignon> I try to configure vim on my computer and I can't make ALE work
<MmeQuignon> In my vim configuration, I specify "pylint" as the python linter.
xvello has joined #nixos
<MmeQuignon> I have installed it in my config.nix
orivej has joined #nixos
<MmeQuignon> python37Packages.pylint
<MmeQuignon> but nothing happens in vim.
<etu> worldofpeace: surf-display also reads /etc/default/surf-display which is the proper way to configure itt
<MmeQuignon> I suppose that vim just can't call it
<MmeQuignon> but I don't know how to do.
chris__ has quit [Ping timeout: 258 seconds]
<MmeQuignon> This configuration worked on debian
<worldofpeace> etu: I was wondering if there was a configuration file. using the environment variables probably shouldn't be used.
<MmeQuignon> Well… If somewone could help me, that would be nice !
<etu> worldofpeace: yeah, I'll fix it :)
<qyliss> MmeQuignon: can you run pylint from your shell?
halfbit has joined #nixos
<MmeQuignon> yes
rajivr___ has quit [Quit: Connection closed for inactivity]
jgt has quit [Ping timeout: 252 seconds]
Chiliparrot has joined #nixos
noudle_ has quit [Read error: Connection reset by peer]
noudle has joined #nixos
<MmeQuignon> Oups…
<MmeQuignon> Nevermind
<qyliss> :)
<MmeQuignon> my fault, I was referencing my old pylintrc
<MmeQuignon> that not exists anymore
chris__ has joined #nixos
<MmeQuignon> Sorry for the noise
<qyliss> no worries!
<qyliss> MmeQuignon: btw, "Well… If somewone could help me, that would be nice !" can come across a bit impatient
<qyliss> If somebody knows the answer, they'll help you, but they might not see your messages right away
zaeph has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65938 → icingaweb2: 2.6.3 -> 2.7.0 → https://git.io/fjHWU
zaeph has joined #nixos
jgt has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #65891 → debianutils: 4.8.6.2 -> 4.8.6.3 → https://git.io/fjHtq
<{^_^}> [nixpkgs] @teto pushed commit from @r-ryantm to master « debianutils: 4.8.6.2 -> 4.8.6.3 »: https://git.io/fjHWq
<MmeQuignon> Oops, sorry :(
jgt1 has joined #nixos
erictapen has joined #nixos
<etu> worldofpeace: There, I fixed it :)
vmandela has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #65838 → yubioath-desktop: use qt wrapped mkDerivation → https://git.io/fj9pb
<{^_^}> [nixpkgs] @teto pushed commit from @terlar to master « yubioath-desktop: use qt wrapped mkDerivation »: https://git.io/fjHWm
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65939 → hwinfo: 21.66 -> 21.67 → https://git.io/fjHWY
<worldofpeace> etu: looking
<{^_^}> [nixpkgs] @yorickvP closed pull request #37805 → androidenv: autogenerated build-tools and addons repositories → https://git.io/vx0ki
andymandias has joined #nixos
andymandias has quit [Client Quit]
danielrf[m] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65940 → jgmenu: 3.1 -> 3.3 → https://git.io/fjHW3
chris__ has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjHWs
<{^_^}> [nixpkgs] @markuskowa merged pull request #65929 → gmsh: 4.4.0 -> 4.4.1 → https://git.io/fjHCv
<MmeQuignon> qyliss: I didn't meant to be rude. It's just that there was no question or request in my explaination, so I added some kind of request. Badly, I must admit.
<qyliss> MmeQuignon: it's okay!
andymandias has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65941 → jackett: 0.11.457 -> 0.11.559 → https://git.io/fjHWW
<lejonet> srhb: ping
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65917 → wire-desktop: add a proper throw → https://git.io/fjHOJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHWl
justanotheruser has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
Alchemical has left #nixos [#nixos]
<madhukar93> getting ``` gcc: error: readline/libreadline.a: No such file or directory gcc: error: readline/libhistory.a: No such file or directory``` while trying to install python2.7's `readline` library
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #65858 → cpp-netlib: 0.12.0 -> 0.13.0-final → https://git.io/fjHJb
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « cpp-netlib: 0.12.0 -> 0.13.0-final »: https://git.io/fjHW2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65942 → ipset: 7.2 -> 7.3 → https://git.io/fjHWa
<madhukar93> teto: I see that you opened an issue https://github.com/NixOS/nixpkgs/issues/31022. It looks like it was fixed, but I still can't install python `readline`
<{^_^}> #31022 (by teto, 1 year ago, closed): fails to compile readline 6.3 on nixos-unstable
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7f1356c00ac (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65943 → jsoncpp: 1.9.0 -> 1.9.1 → https://git.io/fjHWw
<{^_^}> [nixpkgs] @WilliButz opened pull request #65944 → wt3: 3.3.11 -> 3.4.0, wt4: 4.0.5 -> 4.1.0 → https://git.io/fjHWr
polman has joined #nixos
_kwstas has joined #nixos
nurelin has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
_kwstas has quit [Read error: Connection reset by peer]
<ToxicFrog> A pox upon "the new configuration has an `init` that is incompatible with the current configuration"
<gchristensen> I think that is a bug reported to systemd?
oborot has quit [Ping timeout: 268 seconds]
* ToxicFrog nods
<ToxicFrog> So now I have to question whether I want to roll back my nixpkgs checkout to what it was previously and rebase my changes against it (which will require changing a bunch of the perl stuff, since it's a rollback across the name->pname change)
<ToxicFrog> Or whether it's worth just rebooting :/
<gchristensen> ToxicFrog: maybe ask in #nixos-systemd to confirm that the bug is reported upstream
<ToxicFrog> Is this actually a bug? I thought this occurred with any systemd protocol version change
<gchristensen> my understanding is it should always be possible to roll forward
<gchristensen> but you sound like you know more than me :)
<ToxicFrog> So, what actually triggers this is /run/current-system/init-interface-version changing; in my current system that's "systemd 2", in the new one it's "systemd 3", which appears to correspond to the systemd 241->242 update.
orcus has joined #nixos
<clever> from what ive seen, systemd usually can serialize its state to disk, and then pid 1 will re-execute the new systemd, which will deserialize and restore the state
<gchristensen> gotcha
<clever> but, for certain version changes, they arent compatible
<clever> and init-interface-version is a safety, to stop it from breaking the entire system
<clever> and a reboot is all you need to apply the systemd update
<gchristensen> ah
<ToxicFrog> Yeah, I just hate rebooting :/
<ToxicFrog> I was originally developing these patches on top of my current checkout of nixpkgs, but I knew I'd have to redo a bunch of the perl stuff anyways to get it accepted in nixpkgs master, so I figured I might as well rebase against latest master and update the system at the same time
<ToxicFrog> Since I'm nixos-rebuilding off a local nixpkgs master these days
<teto> madhukar93: feel free to open a new issue, at the time, I realized I didn't need python's readline
<ToxicFrog> But this has now pulled in a systemd update, so
<ToxicFrog> All I want to do is play an obscure decades-old open-source MMORPG~
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65945 → imagemagick7: 7.0.8-53 -> 7.0.8-58 → https://git.io/fjHWA
nDuff has joined #nixos
madhukar93 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #65934 → terminus_font: 4.47 -> 4.48 → https://git.io/fjHCF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjHlt
nDuff has quit [Quit: zzz]
ericsagnes has quit [Ping timeout: 268 seconds]
__monty__ has quit [Quit: leaving]
<chloekek> How can I set nix.conf trusted-public-keys in /etc/nixos/configuration.nix?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65946 → kdeconnect: 1.3.4 -> 1.3.5 → https://git.io/fjHln
<{^_^}> [nixpkgs] @marsam merged pull request #65923 → go-protobuf: 1.3.1 -> 1.3.2 → https://git.io/fjHnj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjHlC
<{^_^}> [nixpkgs] @marsam merged pull request #65859 → postgresqlPackages.pg_auto_failover: 1.0.2 -> 1.0.3 → https://git.io/fjHJA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjHlW
kraem has quit [Quit: outta here]
rajivr___ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #65866 → pythonPackages.boltons: 2019-01-07 -> 19.1.0 → https://git.io/fjHkk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjHlE
jmeredith has joined #nixos
kraem has joined #nixos
nixbitcoin has joined #nixos
ericsagnes has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65248 → deepin: use qt5.mkDerivation where needed, cleanup wrappers → https://git.io/fjMMy
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjHlV
erictapen has quit [Ping timeout: 248 seconds]
andreas303 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ttuegel merged pull request #65943 → jsoncpp: 1.9.0 -> 1.9.1 → https://git.io/fjHWw
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/fjHlX
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65947 → homebank: 5.2.6 -> 5.2.7 → https://git.io/fjHl1
<{^_^}> [nixpkgs] @WilliButz merged pull request #65939 → hwinfo: 21.66 -> 21.67 → https://git.io/fjHWY
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHlM
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
andreas303 has joined #nixos
fendor has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @badi opened pull request #65948 → tlaplustToolbox: 1.5.7 -> 1.6.0 → https://git.io/fjHlH
Soo_Slow has joined #nixos
MarcWeber has joined #nixos
polman has quit [Ping timeout: 245 seconds]
Boubert has joined #nixos
halfbit has quit [Ping timeout: 250 seconds]
Boubert has quit [Client Quit]
<{^_^}> [nixpkgs] @WilliButz merged pull request #65947 → homebank: 5.2.6 -> 5.2.7 → https://git.io/fjHl1
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjHlx
polman has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
zacts has joined #nixos
joehh has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fjH8U
<{^_^}> [nixpkgs] @marsam merged pull request #63480 → pythonPackages.docker: 3.7.2 -> 4.0.2 → https://git.io/fjVqT
pottumuusi has left #nixos [#nixos]
halfbit has joined #nixos
hcs^ has joined #nixos
polman has quit [Ping timeout: 245 seconds]
Guest90899 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65949 → ibus-engines.typing-booster-unwrapped: 2.6.2 -> 2.6.4 → https://git.io/fjH8B
<{^_^}> [nixpkgs] @aanderse opened pull request #65950 → mysql57: 5.7.25 -> 5.7.27 → https://git.io/fjH8R
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
zacts has quit [Quit: WeeChat 2.4]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #65942 → ipset: 7.2 -> 7.3 → https://git.io/fjHWa
<{^_^}> [nixpkgs] @teto pushed commit from @r-ryantm to master « ipset: 7.2 -> 7.3 »: https://git.io/fjH8V
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #65920 → freeswitch: 1.8.5 -> 1.8.7 → https://git.io/fjHOH
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fjH8K
polman has joined #nixos
<srid> Is only the default ghc packages cached?
<srid> When using `pkgs.haskell.packages.ghc865` nix is compiling pretty much *every* haskell package.
<srid> s/ghc packages/ghc version's packages/
<fendor_> i am trying to use a custom store location, but the command fails and says it is not a valid store location. here is the invocation: https://pastebin.com/bmUFzveA , potential mistakes?
<infinisil> srid: That should be the default ghc, maybe your nixpkgs version is not cached though
<manveru> fendor_: what does `nix-info` say?
fendor has quit [Ping timeout: 268 seconds]
<fendor_> manveru, command does not exist. I tried to follow https://matthewbauer.us/blog/static-nix.html for installation and usage
<manveru> ah, static-nix
<manveru> yeah, i don't know about that one
<srid> infinisil: I'm on nixos 19.03. how do I tell which is the default ghc?
halfbit has quit [Ping timeout: 252 seconds]
<srid> infinisil: I think default is 8.6.4 (that's what `nix-shell -p ghc` pulls)
<fendor_> srid: nix repl '<nixos>', then haskellPackages.ghc.meta
<srid> I'm using https://nixos.org/channels/nixos-19.03 (not unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65951 → jmol: 14.29.46 -> 14.29.49 → https://git.io/fjH8P
<infinisil> srid: Ah yeah, then it makes sense that 8.6.5 isn't cached
<infinisil> srid: I suggest using a more recent nixpkgs for your project then
Izorkin_ has joined #nixos
<clever> fendor_: you may need to clear the ~/.cache/nix/tarballs dir
<srid> infinisil: isn't cache not dependent on which nixpkgs I use?
<srid> the binary cache I mean.
<infinisil> srid: It is, that's why I suggest using a more recent nixpkgs, where ghc865 is the default, so you get the cached versions
<manveru> `nix eval -f channel:nixos-19.03 haskellPackages.ghc.version`
<srid> infinisil: what I mean is: why am I not get ghc865 cached binaries (from latest nixpkgs) when using the same from nixpkgs-19.03?
<infinisil> > stable.ghc.version
<srid> are caches different between nixpkgs versions?
<{^_^}> "8.6.4"
<infinisil> srid: Because nix can't automatically decide which nixpkgs is the best and use that
<infinisil> Not sure if I understand your question tbh
polman has quit [Ping timeout: 245 seconds]
<manveru> hmm, that would be nice though :)
<averell> and your versions aren't cached because other inputs are different compared to nixpkgs master, libraries used, gcc, stuff like that
<srid> Wait, I'm confused. Why is there no `nixpkgs` channel here?
Izorkin has quit [Ping timeout: 268 seconds]
Izorkin_ is now known as Izorkin
<srid> How do I specify what `import <nixpkgs> ...` pulls from?
<clever> srid: a nixos machine gets the nixpkgs from the nixos channel
<srid> Ah, isee
<clever> srid: echo $NIX_PATH
<srid> So to switch to nixpkgs-unstable I must switch the `nixos` channel to nixos-unstable
<clever> srid: or tell your nix expr to use nixpkgs-unstable directly, and ignore what the host system has
elibrokeit has quit [Quit: A random quit message]
<infinisil> srid: You don't need to switch your whole system to unstable just for a project that needs ghc 8.6.5
polman has joined #nixos
<clever> instead of using <nixpkgs>, just directly give it the path to a nixpkgs
<infinisil> ^
elibrokeit has joined #nixos
<srid> That's what I _just_ did: `{ pkgs ? import <nixpkgs-unstable> {}`
elibrokeit has quit [Client Quit]
<srid> This works on my machine, as I have that channel.
<srid> But users won't necessarily have it.
<clever> srid: but that wont work on my machine
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65952 → libcacard: 2.6.1 -> 2.7.0 → https://git.io/fjH85
<srid> Eg. macOS users instlaling Nix
<clever> 2019-08-04 12:23:42 < clever> instead of using <nixpkgs>, just directly give it the path to a nixpkgs
<clever> pkgs = import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/GITREV.tar.gz") {}
<srid> Oh, hmm
<clever> ,howoldis
<clever> and use that to get the rev for a channel
<srid> or even a branch instead of gitrev
<fendor_> clever, I deleted the folder ~/.cache/nix/tarballs, but same mistake. It also generates a nix/store folder within ~/.cache/nix/store. Thus, the path is generated: ~/.cache/nix/store/nix/store
<srid> or is there a reason not to use GITBRANCH instead of GITREV?
<clever> srid: a branch will cause it to update every time you eval (if its been an hour since the update)
<clever> srid: so it will randomly change versions without warning
elibrokeit has joined #nixos
<clever> fendor_: --store takes a path to the "root" directory, not the /nix/store subdir
<clever> fendor_: and i dont think --store deals with making things work outside of /nix/store, it expects you to chroot into that "root"
<srid> Gotcha.
<clever> fendor_: this does a dozen things at once, some of them you want
<srid> clever: infinisil: About the cache question. so I import from a specific rev of nixpkgs, will the cache become non-functioning at some point in future?
<clever> fendor_: the ones you probably want are NIX_CONF_DIR, NIX_LOG_DIR, NIX_STORE, and NIX_STATE_DIR
<clever> srid: the cache is never garbage collected
badmutex[m] has joined #nixos
<srid> nice.
joebobjoe has joined #nixos
<clever> srid: so if you pick a rev, and know it has cache coverage, you know it will forever have coverage into the future
<srid> out of curiosity: does this mean the disk space on official nix cache is ever growing?
<clever> srid: yep
<srid> how big is it right now?
<clever> srid: i think i heard 80tb, but gchristensen probably knows the full number
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65953 → kexectools: 2.0.19 -> 2.0.20 → https://git.io/fjH8F
<{^_^}> [nixpkgs] @Ma27 merged pull request #65940 → jgmenu: 3.1 -> 3.3 → https://git.io/fjHW3
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjH8b
polman has quit [Ping timeout: 245 seconds]
joehh has quit [Ping timeout: 248 seconds]
<clever> 2019-07-29 04:35:59<@clever_> nix-build -E 'with import <nixpkgs> {}; nix.override { storeDir = "/home/clever/.nix/store"; stateDir = "/home/clever/.nix/var"; confDir = "/home/clever/.nix/etc/"; }' -o ~/home-nix/
<averell> 180, and that was a while ago (according to nixos-chat yesterday)
<clever> fendor_: something else you could maybe play with
<srid> Thank you all; this has solved my cache problem. And I've learned a few things about nix along the way. :-)
<clever> fendor_: this one uses the host nix, to build a nix binary, that acts on a non-standard location by default
<clever> fendor_: but that new build of nix, still lives in /nix/store/ on the host system
<{^_^}> [nixpkgs] @aanderse opened pull request #65954 → mysql57: 5.7.25 -> 5.7.27 → https://git.io/fjH8x
<{^_^}> [nixpkgs] @aanderse merged pull request #57916 → smlnjBootstrap: 110.84 -> 110.91 → https://git.io/fjfmG
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjH8j
joebobjoe has quit [Ping timeout: 244 seconds]
<infinisil> Well, there's no guarentee that the cache will never be cleaned up in the future
<fendor_> root partition is a bit low on memory... Thats why I wanted to install nix in userspace
<clever> fendor_: just bind-mount something to /nix, that will be far better
<clever> fendor_: `mount --bind /home/clever/nix /nix`
<fendor_> alright, fair
<fendor_> gonna try that
<fendor_> offical installation guide is fine for that?
<clever> fendor_: the install.sh script just cares that you own /nix/, it doesnt care how its mounted
<{^_^}> [nixpkgs] @Ma27 merged pull request #65936 → highlight: 3.52 -> 3.53 → https://git.io/fjHCx
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjH4e
<clever> if you lack write access to /nix (or it doesnt exist), the script will use sudo to correct that, then do the rest without root (if doing a single-user install)
mexisme has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65955 → libgig: 4.1.0 -> 4.2.0 → https://git.io/fjH4f
<fendor_> clever, I do have write access. I am executing `curl https://nixos.org/nix/install | sh` but it wants to also create also ~/share and ~/share/nix, which I have to manually create?
<clever> fendor_: did you bind mount to /nix or /nix/store ?
mexisme has quit [Ping timeout: 252 seconds]
<clever> fendor_: and are any weird nix related env vars still set?
acarrico has joined #nixos
<fendor_> oh, yeah, true, there were some vars in profile! dammit
polman has quit [Ping timeout: 245 seconds]
* clever heads off to bed
<fendor_> works way better now! thanks!
<clever> yep
vesper11 has joined #nixos
polman has joined #nixos
zacts has joined #nixos
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65956 → libdazzle: 3.32.2 -> 3.32.3 → https://git.io/fjH4C
jgt1 has quit [Ping timeout: 264 seconds]
polman has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 248 seconds]
endformationage has joined #nixos
cinimod has quit [Ping timeout: 268 seconds]
linarcx has quit [Ping timeout: 245 seconds]
jgt1 has joined #nixos
polman has joined #nixos
meteo_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ysndr opened pull request #65957 → Add dependency and patch files (refs: #65786) → https://git.io/fjHuF
kraem has quit [Ping timeout: 272 seconds]
kraem has joined #nixos
jgt1 has quit [Ping timeout: 252 seconds]
polman has quit [Ping timeout: 245 seconds]
<asymmetric> i'm writing a package for a php webapp that runs exec("/some/binary"), and the binary checks that it's being run by root. what are the ways to make it work?
<asymmetric> the worst i can think of is run nginx as root
<Yaniel> don't
<Yaniel> setuid exists for a reason
erictapen has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65915 → typora: 0.9.72 -> 0.9.73 → https://git.io/fjHYx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHrP
<Miyu-chan> Does Nixops have a passthrough resource?
<asymmetric> Yaniel: doesn't that mean that every user can run the binary then?
<Miyu-chan> I'm debating whether to use module-like `inherit (passthrough) region;` or raw import, `region = import ./environment.nix environment;`
masterdonx has quit [Disconnected by services]
masterdonx has joined #nixos
polman has joined #nixos
masterdonx has quit [Disconnected by services]
masterdonx has joined #nixos
<manveru> asymmetric: nsjail :)
masterdonx has quit [Quit: ZNC - http://znc.in]
polman has quit [Ping timeout: 245 seconds]
andreas303 has quit [Remote host closed the connection]
polman has joined #nixos
<orcus> Is there a way to run multiple X sessions? (as in, different graphical users on Ctrl-Alt-F7, and Ctrl-Alt-F8)
drakonis_ has joined #nixos
andreas303 has joined #nixos
polman has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/33a58b36e25 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
polman has joined #nixos
eyJhb has quit [Ping timeout: 272 seconds]
_kwstas has quit [Quit: _kwstas]
eyJhb has joined #nixos
_kwstas has joined #nixos
<samueldr> asymmetric: if you +x only the group of the suid binary (not others), only that group should be able to execute it, no?
<samueldr> so the php process could be in a specific group
<samueldr> though this does mean anything executing under that php process, or group, can use it
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
polman has quit [Ping timeout: 245 seconds]
nixbitcoin has quit [Remote host closed the connection]
_kwstas has quit [Quit: _kwstas]
polman has joined #nixos
<srid> I accidentally ran `nix-env -i`. Is it supposed to install _every_ package in the store?
vmandela has left #nixos ["Leaving"]
erba has joined #nixos
palo has joined #nixos
wucke13 has quit [Quit: ZNC 1.7.3 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.3 - https://znc.in]
jgt1 has joined #nixos
polman has quit [Ping timeout: 245 seconds]
ambro718 has quit [Quit: Konversation terminated!]
oborot has joined #nixos
mumuluxi has joined #nixos
wucke13 has joined #nixos
terlar has joined #nixos
<Miyu-chan> I just had a stupid idea. FUSE for nix profiles .
polman has joined #nixos
<erba> So I'm trying to build nixos and have it install mood-line for emacs (from melpa) but getting "undefined variable 'mood-line' at /etc/nixos/emacs/emacs.nix" snippet from emacs.nix: https://pastebin.com/H6G4269T
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65958 → krita: 4.2.2 -> 4.2.5 → https://git.io/fjHoN
<erba> And as far as I can see it should know about mood-line? seeing as it's declared in: https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/applications/editors/emacs-modes/recipes-archive-melpa.json (I'm very new to nixos)
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<bricewge> When upgrading I keep getting `curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.` when downloading a github archive of ~2Go.
<chloekek> Can I cause nix-build to fail if it can't find a substitute? There seem to be relevant flags for nix-store --realise and nix-env but I can't find one for nix-store.
xkapastel has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
gxt has joined #nixos
<bricewge> Is there a way to directly import the archive in the store or an other workaround you know of?
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to release-19.03: https://git.io/fjHKJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65959 → libgit2: 0.27.8 -> 0.28.2 → https://git.io/fjHKT
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #65412 → minikube: 1.0.1 -> 1.2.0 → https://git.io/fjyOz
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/fjHKt
Thra11 has quit [Quit: WeeChat 2.5]
erba has quit [Quit: WeeChat 2.4]
<chloekek> Ah, I must use a combination of nix eval --raw '"${myDerivation}"' and nix-store --realise.
hoijui has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 245 seconds]
dansho has quit [Ping timeout: 248 seconds]
halfbit has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65960 → kronometer: 2.2.2 -> 2.2.3 → https://git.io/fjHKs
<ronny> hmm, drats, i was hoping to introduce nixos in my home again on my raspberri pi4, but that model has still issues to be solved for nix to work :/
<etu> ronny: What issues? I haven't got a raspi4 yet, I still run nixos on a raspi3
<ronny> etu: according to https://github.com/NixOS/nixpkgs/issues/63720 it currently wont boot the normal kernels
<{^_^}> #63720 (by majewsky, 5 weeks ago, open): Raspberry Pi 4 support
polman has quit [Ping timeout: 245 seconds]
meteo has joined #nixos
<etu> ronny: Hmm, that's odd. They always claimed that rpi is compatible. But that is probably less so with nixos than rapsian. Because of raspian you can take an SD card and boot it on every generation. But nixos is aarch64 etc...
<{^_^}> [nixpkgs] @terlar opened pull request #65961 → fstl: use qt's mkDerivation → https://git.io/fjHKl
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65962 → libfilezilla: 0.17.1 -> 0.18.0 → https://git.io/fjHK8
johnw has quit [Remote host closed the connection]
<etu> ronny: Hmm, the issues seems to not be nixos specific as welll
<etu> ronny: That's harder then :/
polman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65963 → libevent: 2.1.10 -> 2.1.11 → https://git.io/fjHKE
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65964 → kotlin: 1.3.40 -> 1.3.41 → https://git.io/fjHK2
erba has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #65941 → jackett: 0.11.457 -> 0.11.559 → https://git.io/fjHWW
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjHKa
ddellacosta has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
noogie has quit [Ping timeout: 245 seconds]
tjg1 has quit [Quit: Bye.]
polman has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
tjg1 has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65965 → lesspipe: 1.83 -> 1.84 → https://git.io/fjHKi
hmpffff has joined #nixos
Thra11 has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
tjg1 has quit [Client Quit]
halfbit has quit [Ping timeout: 276 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
justbeingglad has joined #nixos
erictapen has quit [Ping timeout: 246 seconds]
tjg1 has joined #nixos
jb55 has joined #nixos
erictapen has joined #nixos
monado[m]1 has joined #nixos
justbeingglad has left #nixos [#nixos]
roconnor has joined #nixos
<roconnor> Hi. How do I disable this KDE wallet thing so that the it stops asking for my wifi password every time I turn on my laptop?
<Thra11> How are the different linux firmware packages combined? Is a firmware file allowed to be in multiple firmware packages?
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #65966 → yder: 1.4.6 -> 1.4.7 → https://git.io/fjHKN
noogie has joined #nixos
pottumuusi has joined #nixos
<Thra11> roconnor: Would having kwallet pam unlock the wallet when you login help with your issue? (Don't think it works with passwordless autologin)
<Thra11> *kwallet-pam
cadddr has joined #nixos
<Thra11> lopsided98: Do you know which it chooses in case of collisions? I assume it depends on the order of the firmware packages in the list, but I can't tell if it'll be the first or last in the list which gets used.
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjH6v
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65606 → blender: 2.79b -> 2.80 → https://git.io/fjSXr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52818 → opencollada: 1.6.67 -> 1.6.68 → https://git.io/fhU9O
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjH6f
ixxie has joined #nixos
orivej has joined #nixos
<lopsided98> Thra11: the 'meta.priority` attribute can be used to control which one is used, but for packages with the same priority, I think the last one is used.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65961 → fstl: use qt's mkDerivation → https://git.io/fjHKl
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjH6T
erictapen has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65967 → liblastfm: 1.0.9 -> 1.1.0 → https://git.io/fjH6I
cadddr_ has joined #nixos
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65968 → libtasn1: 4.13 -> 4.14 → https://git.io/fjH6L
<roconnor> Thra11: I suppose. This wallet popup is new to me.
cadddr has quit [Ping timeout: 246 seconds]
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
shibboleth has quit [Quit: shibboleth]
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65969 → liblcf: 0.6.0 -> 0.6.1 → https://git.io/fjH63
<danderson> so, if my hardware-configuration.nix has boot.kernelModules=["kvm_intel"], how do I add an extra kernel module to the list in configuration.nix?
cadddr_ has quit [Ping timeout: 272 seconds]
<etu> danderson: boot.kernelModules = [ "extra-module-name" ];
<danderson> The hardware-configuration.nix file is listed under `imports = [ ... ]` in configuration.nix, so I'm not clear what happens if I redefine boot.kernelModules in configuration.nix explicitly. Am I replacing the imported declaration? Extending it?
<etu> danderson: In general lists are appended to
<danderson> ah! Wonderful. I need to think about what that implies for my config factoring, but in this one instance it's a very useful property :)
<srhb> danderson: In general, each option type has a merge function that decides how to merge two modules with the same option set.
<srhb> danderson: (And as etu said, list types concatenate)
<danderson> got it, thank you. Is the merging behavior documented somewhere that I missed?
<srhb> It should be in the NixOS manual :)
cadddr has joined #nixos
<danderson> ah, must have skimmed over it, my bad.
<monado[m]1> Convince me to use NixOS
<srhb> monado[m]1: That sounds like work. :P
<monado[m]1> lol, it seems cool but a lot of effort on my part
<srhb> Sure. :)
<monado[m]1> I ditched gentoo for that reason
WilliamHamilton has joined #nixos
<srhb> It is a lot of work, and learning. Whether that's worth it for you is.. Difficult to say for someone who's not you. :-)
<WilliamHamilton> is there a way to disable tests (like `dontCheck`) for every package in a `shell.nix` file generated by `cabal2nix` without writing the explicit overrides for every package?
<srhb> WilliamHamilton: You could override the haskell mkDerivation to set it on every package.
<monado[m]1> Got it, NixOS tries to be an extremely stable system right?
<monado[m]1> My concern is hardware support, I have a ThinkPad T400
<srhb> monado[m]1: Stable in which sense? I wouldn't say stability is our prime concern.
<srhb> Reproducibility and purity would probably be the top scorers.
hoijui has joined #nixos
<srhb> monado[m]1: Breakage is usually less scary when you get the ability to roll back your system..
<monado[m]1> With the ATi Graphics
<srhb> I assume that's mainly a kernel thing.
polman has quit [Ping timeout: 245 seconds]
<etu> monado[m]1: nixos has a binary cache, which makes rebuilds of your system generations a lot quicker than gentoo
<monado[m]1> Awesome, I’ve actually stuck to void on my elitebook
<monado[m]1> for that reason
<monado[m]1> I’ll try NixOS out, wish me luck
<etu> monado[m]1: And combined with the system generations where you can roll back to a previous generation if you break it somehow
<danderson> fwiw, I'm deploying nixos instead of debian on my newly built NAS. Specifying my entire machine in a couple hundred lines and *knowing* that the definition matches the state of the system is a big draw to me
<etu> monado[m]1: But there's a lot of things to learn, it's quite steep. But if you've managed gentoo you're in a good place. Many people in here have a history in Gentoo.
<monado[m]1> Right, the nix config is basically the system
<monado[m]1> great, I’m looking forward to it
<danderson> and so far, I've already done things that would be unthinkable on traditional linux OSes. For instance, to track down a suspected bug with my server's drive enclosure, I upgraded the entire system to the unstable track. Found the bug, then rolled the entire system back to stable
<danderson> and the rollback was one command + a reboot to get onto the right kernel
cypherpunk has joined #nixos
<etu> monado[m]1: Feel free to ask questions here, and remember the manual: "man configuration.nix" to find config options.
cypherpunk has quit [Client Quit]
<roconnor> Thra11: I guess I need to do something like this: https://unix.stackexchange.com/a/362193
<roconnor> I don't know why it has changed recently, but I'll give that a shot.
<{^_^}> [nixpkgs] @jb55 opened pull request #65971 → zoneminder: fix nginx config → https://git.io/fjH6B
<danderson> srhb: thanks for the direct link to the docs, btw! I was looking at the intro to nix config in section 5, it didn't occur to me to look at the developer docs
polman has joined #nixos
<srhb> danderson: There's some hints and mentions earlier, but not as clear as there :)
<srhb> danderson: I suppose I can sort of explain it away by claiming that *you're* the developer of your system configuration :-P
<{^_^}> [nixpkgs] @mmahut merged pull request #65899 → cimg: 2.6.6 -> 2.6.7 → https://git.io/fjHqx
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjH6R
<infinisil> The statelessness does have its limits though
<monado[m]1> also, silverblue vs NixOS?
orivej has quit [Ping timeout: 246 seconds]
<monado[m]1> I put my moms laptop on silverblue as she does development and we needed a solid system
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/525eaf407d4 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nixhost has joined #nixos
<Yaniel> sounds like you have an awesome mom
<danderson> srhb: yeah, exactly. It didn't occur to me that "we are all nix developers", given how nixos works :)
<Yaniel> silverblue and nixos are slightly different approaches to similar problems
<srhb> monado[m]1: It'll behave more like a regular OS. I personally find ostree lackluster compared to the nix store and nix profiles etc.
<srhb> But if you want something that doesn't require a lot of relearning how to do development, that might be nicer.
<monado[m]1> haha thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65972 → mbuffer: 20190127 -> 20190725 → https://git.io/fjH6a
<infinisil> Never heard of silverblue, sounds interesting and similar to NixOS indeed
<danderson> monado[m]1: fwiw, I'm currently on Arch on my laptops, and thinking of switching... But switching to ubuntu + nix
<WilliamHamilton> thanks srhb! Btw is there a way to see which chain of packages introduced a dependency for something that gets compiled? It's too new to be on the `reverse dependencies` page here https://packdeps.haskellers.com/reverse
<monado[m]1> Also, got it
tg has quit [Excess Flood]
<danderson> my reasoning is that laptops are pretty terrible to support well, and canonical pumps a ton of resources into it, so ubuntu probably works okay out of the box
<srhb> WilliamHamilton: The drv tree?
<monado[m]1> My laptop is on void
<WilliamHamilton> srhb ok, how do I access that?
<danderson> but then ubuntu's package management is not great, so I would want nix to correct that
<monado[m]1> and I love it, no nonsense gets the job done
<danderson> and get good packages
<srhb> WilliamHamilton: nix-store --query --tree $(nix-instantiate shell.nix -A yourThing)
<infinisil> danderson: What's your laptop?
<danderson> it's clearly a compromise, basically I'm purchasing canonical's hardware support and then just ignoring the rest of the system
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65933 → gImageReader: 3.3.0 -> 3.3.1 → https://git.io/fjHCH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjH6V
<danderson> infinisil: 2018 XPS 15. I can get it working reasonably well on Arch, but it's got a lot of fiddly stuff
<danderson> like a very twitchy optimus GPU (even by optimus standards, it's difficult to get working)
<monado[m]1> Elitebook 9470m
<srhb> Pretty sure XPSes tend to work quite well with NixOS fwiw.
<monado[m]1> Folio series
<danderson> but canonical officially supports this laptop, so they're done whatever terrible things are needed
<monado[m]1> What is it? XPS 13?
<etu> monado[m]1: I'm running nixos on all my laptops, it's all fine :)
<monado[m]1> Awesome
<monado[m]1> I intend to run it on my T400 though
<hyper_ch> you have more than one laptop?
<danderson> oh I'm definitely going to give full nixos a shot as well, once I'm more familiar with nixos (the NAS I'm setting up is a simplified test setup)
<WilliamHamilton> srhb like in `nix-store --query --tree $(nix-instantiate shell.nix -A lsp-test)`? That gets no results even if it should be there. Can that be because it may be used only for tests in some package?
<danderson> but if that fails, I'm thinking ubuntu+nix would be a happy medium
<etu> hyper_ch: private and work
<hyper_ch> etu: you can use nixos at work? oO
<hyper_ch> danderson: going to use zfs?
<srhb> WilliamHamilton: It shouldn't, if the build depends on it it should show up there...
<srhb> WilliamHamilton: lsp-test is your thing that accidentally pulls in some dep you want to reason about?
<danderson> monado[m]1: my personal history of laptops says linux generally Just Works on Thinkpads. There's minor tweaks per generation, but ThinkWiki has them very well documented
<etu> hyper_ch: only on my work laptop. Sadly not on servers or for the actual work.
<danderson> and most stuff just works out of the box. I suspect nixos will be the same
<monado[m]1> Yes, I do
<monado[m]1> also, I’m underage so no work for me quite ye
<monado[m]1> * also, I’m underage so no work for me quite yet
tg has joined #nixos
<infinisil> danderson: I think another linux + nix is a great way to get more familiar with Nix
<WilliamHamilton> srhb no, `hie-core` is the package I'm trying to build, and in the `shell.nix` generated by `cabal2nix` there's this package `lsp-test`, but I don't know where it does come from
<{^_^}> [nixpkgs] @mmahut merged pull request #65965 → lesspipe: 1.83 -> 1.84 → https://git.io/fjHKi
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjH6K
<danderson> infinisil: my general target is that I want rock-solid hardware support, but bleeding edge development software. Hence the thought of going for a commercially "big" distro as the base, but then overlaying nix on top
<danderson> nix being able to thrive on any linux is a huge win
<infinisil> WilliamHamilton: cabal2nix only gives you a rough translation of the cabal file, it doesn't get you the dependencies themselves
<danderson> but then again, if nixos works, being able to roll back when an upgrade breaks the world is a huge deal also :)
<infinisil> WilliamHamilton: You need to get the packages from a nixpkgs, which has all hackage packages, including lsp-test
<danderson> hyper_ch: yes, the zpool is built and I'm rsyncing stuff off the old NAS right now
<{^_^}> [nixpkgs] @fgaz opened pull request #65973 → coloursum: init at 0.1.0 → https://git.io/fjH6P
<srhb> WilliamHamilton: Ah, sorry, I misunderstood then :)
<hyper_ch> :)
<danderson> still very rough, since I installed nixos yesterday, and I'm just trawling through all the config options enabling stuff that looks interesting :)
<danderson> hmm, speaking of, I enabled sshguard but it's crashlooping. Time to investigate :)
<infinisil> Man, I envy people with a simple, one-file NixOS configuration.nix
<hyper_ch> does anyone have a one-file nixos configuration.nix? I think pretty much everyone includes hardware-configuration.nix
<monado[m]1> My ThinkPad is in a dankpads post :)
<infinisil> Ah yeah, that doesn't count
<infinisil> !
<monado[m]1> Back when I ran gentoo
<{^_^}> [nixpkgs] @timor closed pull request #55567 → [WIP] buildEnv: accept arbitrary arguments, pass to runCommand → https://git.io/fhQZZ
<danderson> I mean, technically it's a 3-file configuration. I prematurely factored out user configuration, and passwords are in a git-crypted secrets.nix
<samueldr> do you really envy those with a single file? I bet it gets messy
<danderson> but yeah, mostly 1-file, as long as I have 1 machine on nixos. When I start getting more I'll refactor
<danderson> next up will probably be the home router, but it'll take a bunch more work (replacing the builtin firewall, configuring VPN and BGP sessions...)
<Yaniel> monado: depends on where you are, here you are allowed to take a summer job once you are 14
<monado[m]1> New Jersey for myself
<monado[m]1> I need to use my summer for useful things like advertising void Linux on discord
<infinisil> samueldr: *looks at his 100-file config madness* Hmm yes, this way it's totally not messy
<Yaniel> lel
<hyper_ch> just cat them all into one file ;)
<samueldr> infinisil: I never said it wasn't messy in other manners :)
<Yaniel> I'm actually just looking to try void next to my nixos install
<Yaniel> just gotta wrangle those lvm volumes so there is enough free space
<infinisil> hyper_ch: Yeah I actually thought of doing that recently, but with *all* NixOS modules, even ones in nixpkgs/nixos, could potentially make nixos evals faster
<{^_^}> [nixpkgs] @marsam closed pull request #62428 → grpc: 1.19.1 -> 1.21.1 → https://git.io/fjE8q
<{^_^}> [nixpkgs] @marsam merged pull request #65770 → grpc: 1.19.1 -> 1.22.0 → https://git.io/fj9rC
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/fjH69
<infinisil> Like, inline everything, only one file to parse
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65958 → krita: 4.2.2 -> 4.2.5 → https://git.io/fjHoN
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjH65
<{^_^}> [nixpkgs] @mmahut merged pull request #65960 → kronometer: 2.2.2 -> 2.2.3 → https://git.io/fjHKs
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjH6d
linarcx has joined #nixos
justanotheruser has joined #nixos
<Yaniel> monado anyway AFAIK silverblue is more like a minimal readonly system + appimages where nixos a not-so-minimal system where everything is just readonly unless specified otherwise
terlar has quit [Remote host closed the connection]
<Yaniel> (and symlinked into place instead of bundled into images)
<Ralith> I was very confused for a minute here because monado is an open source project I follow/contribute to
<monado[m]1> haha yeah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65974 → lxcfs: 3.0.4 -> 3.1.2 → https://git.io/fjH6x
<monado[m]1> my username relates to the original Xenoblade :p
<Ralith> maybe theirs does too!
wfranzini has quit [Remote host closed the connection]
hoijui has quit [Quit: Leaving]
wfranzini has joined #nixos
noudle has quit [Read error: Connection reset by peer]
noudle has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65884 → claws-mail: 3.17.3 -> 3.17.4 → https://git.io/fjHL6
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjH6j
<WilliamHamilton> srhb, infinisil thanks for your help!
_kwstas has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ad34e9e2475 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
mexisme has joined #nixos
<roconnor> Thra11: nix-repl> config.security.pam.services.kdm.enableKwallet
<roconnor> true
<roconnor> This parameter seems to already be set to true.
_kwstas has quit [Client Quit]
<hyper_ch> wow, just read that hoverboards are now a reality..... Franky Zapata crossed the Channel on a flying board.....
polman has quit [Ping timeout: 245 seconds]
drewr has quit [Ping timeout: 276 seconds]
mexisme has quit [Ping timeout: 245 seconds]
abrar has joined #nixos
amir has quit [Read error: Connection reset by peer]
kiwi_49 has joined #nixos
amir has joined #nixos
polman has joined #nixos
nixbitcoin has joined #nixos
<kiwi_49> Hi, did you change something in your infrastructure recently? Now almost anything bigger, mesa, ghc, qemu, gives me decompressing xz file so I cannot update my NixOS at all :/
ng0 has joined #nixos
<abrar> i'm calling nix-build on a .nix file that specifies an attrset and it isn't evaluating the values of each attr. is that expected behavior? this is the file I'm building in case it's helpful: https://github.com/reflex-frp/reflex/blob/develop/release.nix
<nixbitcoin> how do I verify a cargoSha256 deterministically (without inserting a fake checksum)?
amir has quit [Read error: Connection reset by peer]
FRidh has quit [Quit: Konversation terminated!]
halfbit has joined #nixos
amir has joined #nixos
<infinisil> kiwi_49: What's the problem with decompressing xz?
<{^_^}> [nixpkgs] @kalbasit merged pull request #65865 → lnd: 0.7.0-beta -> 0.7.1-beta → https://git.io/fjHkJ
<{^_^}> [nixpkgs] @kalbasit pushed commit from @jonasnick to master « lnd: 0.7.0-beta -> 0.7.1-beta (#65865) »: https://git.io/fjHiZ
<kiwi_49> 'error 9 while decompressing xz file'
<kiwi_49> or 'HTTP error 200 (curl error: Timeout was reached)'
<infinisil> nixbitcoin: First build the deps normally with `nix-build -A <the-rust-package>.cargoDeps` (this will probably fetch from the cache), then build it again with --check: `nix-build -A <the-rust-package>.cargoDeps --check`, which will rebuild it without a cache, then check that it's the same as the first result
ottidmes has quit [Remote host closed the connection]
fendor__ has joined #nixos
tsrt^ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65975 → libqalculate: 3.2.0 -> 3.3.0 → https://git.io/fjHil
orivej has joined #nixos
fendor_ has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
__monty__ has joined #nixos
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65976 → libmicrohttpd: 0.9.64 -> 0.9.66 → https://git.io/fjHiR
alxev[m] has joined #nixos
fendor__ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #65951 → jmol: 14.29.46 -> 14.29.49 → https://git.io/fjH8P
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « jmol: 14.29.46 -> 14.29.49 (#65951) »: https://git.io/fjHiE
kraem has quit [Quit: outta here]
Synthetica has joined #nixos
zacts has joined #nixos
mexisme has joined #nixos
kraem has joined #nixos
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65977 → mcrcon: 0.0.5 -> 0.6.1 → https://git.io/fjHiV
sushi_ has quit [Quit: Konversation terminated!]
jgt1 is now known as jgt
<nixbitcoin> infinisil: Would this work for a package I'm writing myself? Where would nix-build be pulling <the-rust-package> from?
<{^_^}> [nixpkgs] @Taneb closed pull request #59583 → Backport Haddock typechecker plugins fix → https://git.io/fjmQX
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65978 → matio: 1.5.16 -> 1.5.17 → https://git.io/fjHii
<{^_^}> [nixpkgs] @samueldr merged pull request #65360 → netsurf: 3.5 → 3.9 → https://git.io/fjDyI
<{^_^}> [nixpkgs] @samueldr pushed 21 commits to master: https://git.io/fjHiP
halfbit has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #54307 → [Help needed] energyplus: init at 9.0.1 → https://git.io/fhEMc
ddellacosta has joined #nixos
amir has quit [Read error: Connection reset by peer]
chloekek has quit [Ping timeout: 268 seconds]
amir has joined #nixos
amir has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm merged pull request #65938 → icingaweb2: 2.6.3 -> 2.7.0 → https://git.io/fjHWU
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjHi1
<{^_^}> [nixpkgs] @ryantm merged pull request #65877 → armadillo: 9.600.4 -> 9.600.5 → https://git.io/fjHIx
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjHiM
kiwi_49 has quit [Remote host closed the connection]
amir has joined #nixos
eyJhb is now known as eyJhb
zupo has joined #nixos
andreas303 has quit [Remote host closed the connection]
Ralith_ has quit [Remote host closed the connection]
andreas303 has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
nixbitcoin has quit [Remote host closed the connection]
mexisme has joined #nixos
nixbitcoin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65494 → crawl: use static config for data files → https://git.io/fjyib
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjHi5
_kwstas has joined #nixos
ayerhart has quit [Ping timeout: 272 seconds]
m3thos has joined #nixos
hyperfekt has joined #nixos
drakonis has joined #nixos
<hyperfekt> anyone using niv for their configuration? is that the right tool to replace nix-channel when you want to pin but still update regularly?
mexisme has quit [Ping timeout: 245 seconds]
<m3thos> hi, new to nixos but old to linux, how can I configure the cpu clock rate (powersave, ondemand, performance) ? can someone point to examples or docs ?
zacts has quit [Quit: WeeChat 2.4]
<etu> m3thos: For me it's added to hardware-configuration.nix automatically on nixos-generate-config
<{^_^}> [nixpkgs] @suhr opened pull request #65979 → qjackctl: use qt5.mkDerivation → https://git.io/fjHPJ
drisc has joined #nixos
<hyperfekt> you want the powerManagement.cpuFreqGovernor option
<selfsymmetric-mu> hyperfekt: I don't know, I haven't used it. There's such a wide ecosystem for these things. All I want is to be able to specify a configuration declaratively in nix files. But there's a lot of popularity around tools which use strange global configuration. Like lorri, which can't be installed from nixpkgs and collided with other parts of my system; or, you know, the pervasive use of overlays, which can redefine the meaning of something
<selfsymmetric-mu> at the other end of your configuration.
<hyperfekt> m3thos: To find these kinds of things https://nixos.org/nixos/options.html is super useful.
<selfsymmetric-mu> I've always managed to get things the way I like it, but I hope that some strong best practices end up rising to the top of documentation over time.
<selfsymmetric-mu> Because right now there's a lot of exploration involved.
<etu> m3thos: also, "man configuration.nix"
__monty__ has quit [Quit: leaving]
<drisc> Hi, I was wondering if someone could help me? I'm trying to figure out how to run make on a project.
lambda-11235 has quit [Quit: Bye]
noudle has quit []
_kwstas has quit [Quit: _kwstas]
<selfsymmetric-mu> drisc: Ask away.
<__red__> I'm going to do a quick talk / introduction to NixOS and Nix - anyone got anything that I should mention that's new in the last 2 years or so?
<__red__> at defcon
<drisc> I'd like to install aerc to try it out but when I type make it says command not found. i don't know what package it's a part of and I couldn't find it on the package search.
<drisc> I litterally just started using nix today so I might be going about this all wrong heh
<symphorien> > pkgs.aerc
<{^_^}> "<derivation /nix/store/5k6vqxpm9mbfx02r4lb00ag86wiyb4fj-aerc-0.2.1.drv>"
<symphorien> drisc: aerc is in nixpkgs-unstable
<rawtaz> is it the email client?
<symphorien> > :p pkgs.aerc.meta.description
<{^_^}> "aerc is an email client for your terminal"
<symphorien> apparently yes :)
<selfsymmetric-mu> __red__: Is the talk going to be general evangelism of the platform as a whole, or are you going to be showing specifics of how to configure your environment?
<drisc> Ah right, I glanced at the channels but havn't added any yet
<drisc> Thanks symphorien
<symphorien> if you are using nix on non-nixos then this is the default channel
<selfsymmetric-mu> symphorien++
<{^_^}> symphorien's karma got increased to 20
<symphorien> so you just have to run `nix-env -f "<nixpkgs>" -iA aerc`
<{^_^}> [nixpkgs] @suhr opened pull request #65980 → mixxx: use qt5.mkDerivation → https://git.io/fjHPg
<drisc> I'm running it native on an X201, took some getting used to but I think I like this way better than Arch
<symphorien> native you mean nixos ?
mexisme has joined #nixos
<drisc> Yeah
<symphorien> ,unstable
<etu> drisc: If you have installed NixOS you'll have the same channel as your live iso is built on
<symphorien> this explains how to have several channels at once
drakonis has quit [Quit: WeeChat 2.4]
<symphorien> (stable for the system, and unstable for selected packages)
drakonis has joined #nixos
drakonis has quit [Client Quit]
<symphorien> because it seems aerc is not in stable
<drisc> etu: Yeah, the iso I got was on the stable channel
drakonis has joined #nixos
<danderson> so, my sshguard is failing in 19.03. It was fixed and backported 9 days ago, in https://github.com/NixOS/nixpkgs/commit/aeeb30a3b298d4b3ff930f55cb278f8d6c232da2 . What's the usual delay for such changes showing up on the release channel?
<symphorien> ,howoldis danderson
<danderson> so, I'm confused. I'm on 19.03-small, which that says was updated 10h ago. Yet, sshguard is still broken. Guess I need to investigate more...
ng0 has quit [Quit: Alexa, when is the end of world?]
<rawtaz> what symphorien linked to works great =)
<symphorien> danderson: you can use nixos-version to check the commit your system is build from
<symphorien> *built
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<danderson> I seem to be on commit 93ea, 1 day ago. So, a little older, but not hugely so
<symphorien> then you can check that this commit actually contains the fix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65981 → liblockfile: 1.14 -> 1.15 → https://git.io/fjHPP
<{^_^}> [nixpkgs] @balsoft opened pull request #65982 → Backport mtxclient and nheko to 19.03 → https://git.io/fjHPD
<orcus> Is there a way to run multiple X sessions? (as in, different graphical users on Ctrl-Alt-F7, and Ctrl-Alt-F8)
justan0theruser has joined #nixos
<danderson> The fix is included. I think the backport was in error, or at least breaks things in a different way in 19.03 than unstable
justanotheruser has quit [Disconnected by services]
justan0theruser is now known as justanotheruser
<danderson> hmm. And while I was typing that, sshguard stopped crashlooping and started successfully. Smells racey.
<m3thos> so, I've added some apps with nix-env and others w/ configuration.nix ..how do I get a list of all of them and ensure I'm tracking all apps on configuration.nix ?
<danderson> yeah, sshguard crashloops a couple of times before finally starting up correctly. Sounds like there's some race condition in its startup logic.
<symphorien> m3thos: nix-env -q and sudo nix-env -q
joebobjoe has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65983 → man-pages: 5.01 -> 5.02 → https://git.io/fjHP9
gagbo has joined #nixos
<{^_^}> [nixpkgs] @kevlar1818 closed pull request #33439 → nixos/netdata: support adding extra packages to service PATH → https://git.io/vNfH0
<{^_^}> [nixpkgs] @prusnak opened pull request #65984 → pythonPackages.webrtcvad: init at 2.0.10 → https://git.io/fjHPH
hyperfekt has quit [Remote host closed the connection]
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Soo_Slow has joined #nixos
<m3thos> thanks, I have more doubts, but I think I can find my way. btw, after 20years of linux I'm finding NixOS *extremely* interesting. currently I use packer + ansible to set up some servers, this 1 week experience w/ my file server makes me consider using nixos instead
shibboleth has joined #nixos
halfbit has joined #nixos
ottidmes has joined #nixos
mexisme_ has joined #nixos
<drisc> symphorien: I'm having trouble understanding where in the config.nix the snippet for the unstable channel goes.
<drisc> Keep getting errors about and unexpected LET
<drisc> an*
<symphorien> usually the let will be in line 2
<symphorien> all your options should go inside the last braces of the file
mexisme has quit [Ping timeout: 246 seconds]
<symphorien> i'm not sure it's clear
<{^_^}> [nixpkgs] @wmertens merged pull request #53494 → git, gitweb: Fix git-instaweb → https://git.io/fhs3R
<{^_^}> [nixpkgs] @wmertens pushed 3 commits to master: https://git.io/fjHPN
<drisc> I think I've got it, I didn't have 'in' before the {} that all the other options were in
Boubert has joined #nixos
magnetophon has quit [Ping timeout: 245 seconds]
<danderson> Filed https://github.com/NixOS/nixpkgs/issues/65985 for the sshguard bug. I guess now I get to figure out how to substitute the sshguard module with my fork, so I can work on a fix :)
<{^_^}> #65985 (by danderson, 39 seconds ago, open): sshguard has a startup race condition
zacts has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65986 → libimagequant: 2.12.3 -> 2.12.5 → https://git.io/fjHPh
<danderson> shiny, thanks
Boubert has quit [Quit: Mutter: www.mutterirc.com]
<drisc> symphorien: Ok, I've got it all setup now, thanks :)
<symphorien> enjoy :)
<selfsymmetric-mu> m3thos: I have to say, the second-install experience for NixOS is pretty amazing.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65987 → rdkafka: 1.0.1 -> 1.1.0 → https://git.io/fjHXf
ixxie has quit [Ping timeout: 246 seconds]
<danderson> hmm, a stupid question about policy: the sshguard module as currently defined edits the firewall when it starts, with some scripted `iptables -I` commands. Naively I would expect the module to instead add a `networking.firewall.extraCommands` to do what it needs. Is that wrong?
<danderson> My reasoning is: right now, if anything restarts firewall.service after sshguard has started, it'll wipe out sshguard's modifications since they're done imperatively at sshguard.service startup
<symphorien> seems reasonable
<symphorien> you may have to think about the merge order
<danderson> hm. In general, sshguard wants to be "near the top" of the INPUT chain. I don't think it matters much where exactly, as long as it's before the general firewall rules
<danderson> so I think any order within extraCommands should be fine... Maybe?...
pottumuusi has left #nixos [#nixos]
<danderson> Or perhaps the answer is to not touch the firewall at all in the sshguard module by default, and leave it to the user to think about that. But, that's not zero-config any more
magnetophon has joined #nixos
<symphorien> a third alternative would be to instruct systemd to restart sshguard when firewall.service is restarted
<danderson> hmm, looks like it does that already actually
<m3thos> how do I change the system-wide shell to zsh (including user root) ?
<danderson> assuming PartOf does what I expect
<danderson> yup, sshguard is PartOf firewall.service, so restarting the firewall already pokes sshguard also
linarcx has quit [Ping timeout: 245 seconds]
<danderson> so in that case, it's just a question of fixing the start scripts, yay.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65988 → lxc: 3.1.0 -> 3.2.1 → https://git.io/fjHXm
<symphorien> m3thos: users.defaultUserShell = pkgs.zsh; and programs.zsh.enable = true;
<{^_^}> [nixpkgs] @tadfisher opened pull request #65989 → boehmgc: add pkgsStatic override → https://git.io/fjHXs
<{^_^}> [nixpkgs] @Ma27 merged pull request #65918 → digikam: 6.1.0 -> 6.2.0 → https://git.io/fjHO2
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fjHXG
roconnor has quit [Quit: Konversation terminated!]
orcus has quit [Quit: leaving]
fendor__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65990 → lmdb: 0.9.23 -> 0.9.24 → https://git.io/fjHXW
fendor__ has quit [Client Quit]
<asymmetric> how can i change the group of a file inside a mkDerivation? if i try with chgrp, it complains of the group not existing
abrar has quit [Quit: WeeChat 2.4]
<immae> you canno asymmetric you only have one user during builds
<symphorien> it's forbidden
<asymmetric> hmm.. so it's impossible to choose the user/group of a file in the store?
<symphorien> in the end all files in the store are owned by root, read only and world readable
<asymmetric> so chmod is also useless, correct?
<symphorien> yes. You need to use a nixos module for things like that
<symphorien> yes
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0dc218e83c9 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<symphorien> (except for the executable bit)
<asymmetric> symphorien: but i can't change the ownership in a module either, as the store is readonly
<symphorien> you can copy files in /var first, and then chmod/chown them
<symphorien> it depends on your end goal
<asymmetric> do you have an example of a module doing this?
ldlework has quit [Quit: co'o ro do]
<asymmetric> symphorien: the issue i have is a program i'm packaging that checks whether it's being run as root, and exits otherwise
ldlework has joined #nixos
ghasshee has joined #nixos
johnw has joined #nixos
<symphorien> ans what is the link with group permissions ?
hmpffff has quit [Quit: nchrrrr…]
<symphorien> php packages usually assume they can write on themselves
jgt has quit [Ping timeout: 276 seconds]
nixbitcoin has quit [Quit: nixbitcoin]
<symphorien> so php apps usually first copy the content of the store to some writable directory, and then serve this directory
halfbit has quit [Ping timeout: 264 seconds]
mog has quit [Ping timeout: 246 seconds]
<asymmetric> symphorien: the link with group permissions is that i was thinking of making the binary setuid, and set g+x, and have nginx run as this group
mog has joined #nixos
<symphorien> for setuid wrappers, https://nixos.org/nixos/options.html#security.wrappers
Soo_Slow has quit [Remote host closed the connection]
<symphorien> asymmetric: you might be interested in https://github.com/NixOS/nixpkgs/pull/56255
<{^_^}> #56255 (by Izorkin, 23 weeks ago, open): nginx: do not run anything as root
erba has quit [Quit: WeeChat 2.4]
polman has quit [Ping timeout: 245 seconds]
abrar has joined #nixos
erba has joined #nixos
<kalbasit> gchristensen: https://nixos.wiki/wiki/NixOS_on_ARM#Installation_steps says that the image for R-pi comes with serial console out of the box, but the last thing I see is `Starting kernel ...`
<kalbasit> gchristensen: am I missing something?
fusion809 has quit [Remote host closed the connection]
polman has joined #nixos
<kalbasit> `console=ttyS0,115200n8 console=ttyAMA0,115200n8 console=tty0` I see these appended to the kernel cmdline
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
erba has quit [Client Quit]
<{^_^}> [nixpkgs] @Ma27 merged pull request #65983 → man-pages: 5.01 -> 5.02 → https://git.io/fjHP9
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjHXS
m3thos has quit [Quit: WeeChat 2.4]
roconnor has joined #nixos
rouma7 has joined #nixos
roconnor has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65991 → nodejs-slim-12_x: 12.5.0 -> 12.7.0 → https://git.io/fjHXF
<Ashy> how can i force ntpd to resync the time?
<Ashy> i put win10 on the other ssd in this machine on the weekend and i've just noticed that the clock is wrong in nixos now that i'm booted back
andreas303 has quit [Remote host closed the connection]
<averell> by some random amount or an exact number of hours? because maybe you want to set an option instead
<danderson> Ashy: you probably want to run `ntpdate`, ntpd by design is very slow to do incremental time jumps
<jackdk> Ashy: is it off by your tz offset by any chance? I think windows likes to write localtime to the hw clock. https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/config/timezone.nix#L33
<danderson> that said, the root cause of your problem is probably that Windows stores time in the RTC in the local timezone, and linux defaults to storing UTC
<danderson> ... yeah, what jackdk said :)
andreas303 has joined #nixos
<Ashy> why would you ever want local time stored in the hardware clock?
<Ashy> microsoft will be end of me aye
<danderson> my guess: so that the time reads "correctly" in the BIOS setup menu
<averell> probably dates back to DOS days...
<Ashy> it doesnt seem to be by my utc offset correctly even
<danderson> and also yes, MS is fanatical about backwards compatibility
<jackdk> probably because "the previous version of windows did that", and if you keep asking, you'll get "because DOS did that", and if you keep asking you'll get "because the previous version of DOS did that", and maybe even "because CP/M did that"
<jackdk> ... yeah, what danderson said :)
WilliamHamilton has quit [Remote host closed the connection]
<danderson> if you ever changed how windows stores time in the RTC, it'll probably break some industrial CNC mill control system that can only be controlled by an ancient DOS program that somehow still runs fine on windows 10
<jackdk> ... well, I think they removed the 16bit host, but someone's probably hacked up dosbox to keep it alive :-)
<{^_^}> [nixpkgs] @Ma27 merged pull request #65980 → mixxx: use qt5.mkDerivation → https://git.io/fjHPg
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjHXN
<danderson> fortunately, linux is flexible and you can work with windows on this :)
gagbo has quit [Ping timeout: 245 seconds]
<Ashy> yeah makes sense
<Ashy> in a "let's never make any progress for the sake of short term commercial concerns" kind of way
<danderson> I dunno, I think in a world of proprietary software, it's a pretty admirable position to hold
<danderson> ("never break anything", that is)
<danderson> it creates a huge amount of work for them to maintain all these compatibility hacks, it'd probably be much easier for them to just break stuff
<Ashy> ntpdate seems to have worked, and i've added hardwareClockInLocalTime=true; to my configuration.nix
<Ashy> thanks
<danderson> it does set up an irritating "my way or the highway" standoff though :)
polman has quit [Ping timeout: 245 seconds]
<Ashy> true
WilliButz has quit [Quit: WeeChat 2.5]
polman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65992 → mullvad-vpn: 2019.5 -> 2019.6 → https://git.io/fjH1v
<danderson> Yess my fix to sshguard works. To the PR-machine!
gagbo has joined #nixos
WilliButz has joined #nixos
<{^_^}> bitwarden/desktop#292 (by Kiwi, 36 seconds ago, open): devtools/developer console opens on launch
Thra11 has quit [Quit: WeeChat 2.5]
<DigitalKiwi> worldofpeace: (it was like 2 in the morning last night i was falling asleep)
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
Edes has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ad34e9e2475 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<gchristensen> kalbasit: try console=ttyS1,115200n8 and delete the other console=... bits
<Edes> I have been here a couple of times asking about my backlight issues on gnome 3, I managed to fix xbacklight by adding my user to the video group and enabling brightnessctl
<Edes> the brightness key doesn't work though
<kalbasit> gchristensen: will try, thx
<Edes> so I looked into the systemctl logs
<Edes> and I found this
<Edes> is this an issue with gnome itself?
<Edes> I'm pretty sure the $SHELL variable doesn't work normally in NIXOS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65993 → menumaker: 0.99.10 -> 0.99.11 → https://git.io/fjH1T
<kalbasit> gchristensen: that worked, thank you!
<gchristensen> great!
<gchristensen> kalbasit: can you make a note on the wiki? :)
<kalbasit> Sure
<gchristensen> thanks!
abrar has quit [Quit: WeeChat 2.4]
abrar has joined #nixos
<averell> My shell is in /etc/shells. Maybe there was a rebuild/config change, and the SHELL var wasn't updated? Hard to say without knowing what it contains or where that check was.
<Edes> mine is too
mbrgm_ has joined #nixos
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<Edes> I ran that command on my terminal and it works
<Edes> but if I press the brightness keys it adds more entries on the logs
<danderson> ugh cloning nixpkgs on shitty slow DSL is terrible
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
zacts has quit [Quit: WeeChat 2.4]
<averell> pkexec is like sudo or something? maybe that user has a different shell configured? or nologin or something?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65994 → minizincide: 2.3.0 -> 2.3.1 → https://git.io/fjH1Z
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @danderson opened pull request #65995 → nixos/sshguard: create ipsets before starting, and clean up after stopping. → https://git.io/fjH1c
<Edes> ah
<Edes> I get that error whenever I run pkexec
abrar has quit [Read error: Connection reset by peer]
abrar has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
joebobjoe has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
<Edes> oof ok
<Edes> apparently since my default shell is zsh instead of bash
<Edes> and zsh is not in my /etc/shells file
<Edes> pkexec fails
ottidmes has quit [Ping timeout: 245 seconds]
<Edes> if I add zsh to environment.shells it fixes it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #65996 → neo4j: 3.5.6 -> 3.5.8 → https://git.io/fjH18
ryjm[payon] has quit [Remote host closed the connection]
<averell> cool. you can also do programs.zsh.enable = true;
<Edes> I should probably do that anyway since there's probably other stuff
thc202 has quit [Ping timeout: 250 seconds]
<Edes> thanks
Ralith_ has joined #nixos
polman has quit [Ping timeout: 245 seconds]
joehh has joined #nixos
johnny101m has quit [Quit: -a- Connection Timed Out]
johnny101m has joined #nixos
polman has joined #nixos
polman has quit [Ping timeout: 245 seconds]
Boubert has joined #nixos
Boubert has left #nixos [#nixos]
shibboleth has quit [Quit: shibboleth]
lemsip has joined #nixos
emilsp has quit [Read error: Connection reset by peer]