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
<ivan> Fare: I have used all of them and vmware has the fewest problems
<eacameron> srhb: infinisil: I'm hoping this is upstreamable? If so, where should it live? `lib`?
alex`` has quit [Ping timeout: 245 seconds]
<infinisil> eacameron: Neat
<infinisil> eacameron: Probably not fit for nixpkgs, but you could publish it through NUR
<eacameron> Is there a way it could be fit? I expect many people would want this...
<edef> NUR?
<edef> it's not even clear to me what this *does*, so for starters it would need documentation
<eacameron> edef: Oh... lol. Sure. I had a convo with infinisil and srhb earlier about it.
<eacameron> It lets you document your attrsets so that when you do `nix-build -A help` you get a pretty output of all the things you can build, but the annotations are erased for nix-build so you don't have to traverse through them
<infinisil> ,NUR edef
<edef> oh, that's kinda neat
<{^_^}> edef: Nix User Repository: User contributed nix packages, https://github.com/nix-community/NUR
<edef> TIL
jtojnar has quit [Read error: Connection reset by peer]
<infinisil> eacameron: I'm not sure this would fit in nixpkgs
jtojnar has joined #nixos
<eacameron> I'm curious why
<infinisil> I don't think nixpkgs should be used as a collection of random functionality
<infinisil> But more fucused on what's useful in nixpkgs itself
<infinisil> More decentralization is good too, nixpkgs is huge enough already
<eacameron> I can certainly get on board with that last thing...
<infinisil> And with NUR or in the future flakes, this will become easier to use
<Fare> ivan: I believe the reason my associate chose docker was because it was supposed to work better with kubernetes.
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to staging « libjpeg-turbo: 2.0.2 -> 2.0.3 »: https://git.io/fjhhL
<eacameron> infinisil: The problem, of course, is that if this *isn't* in nixpkgs, the overhead to use it likely undermines its usefulness. It's useful to a thousand projects, in a very small way. But it's probably not single-handedly useful enough to justify a lot of work to get it
<Fare> can nixos create an image that will work on vmware / virtualbox and docker at the same time?
<clever> Fare: docker doesnt use image files much, and systemd doesnt really work in docker
wildtrees has quit [Quit: Leaving]
dycan has joined #nixos
ris has quit [Ping timeout: 245 seconds]
<Fare> can I share a recipe between the three, with a different overlay maybe for each target? Actually, I might only need two targets, docker and say virtualbox.
<clever> Fare: yeah, the expr to build the app itself can be shared, youll just need some differences to make an image around it
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67115 (by evanjs, 2 weeks ago, open): postman: 7.0.7 -> 7.6.0
<evanjs> i.e. ... probably what you were trying to say in the first place. I was just being hyper-literal
<dycan> Hi all, Is there any other way to make Yesod have https in nixos? Keter seems not working in nixos.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjhh8
kvda has joined #nixos
<worldofpeace> evanjs: everything I meant was what I meant. autoPatchelfHook would also be a good improvement, maybe see the franz expression.
justanotheruser has quit [Ping timeout: 244 seconds]
growpotk- has quit [Ping timeout: 245 seconds]
<evanjs> worldofpeace: derp. So instantiating the libPath with buildInputs would be fundamentally different from what you mentioned? i.e. https://github.com/NixOS/nixpkgs/pull/67115/commits/7b5b2efa07704cb62e889f7a7f30491652c02064#diff-e29854d906fe9c14f1a1656361a900fbR65
<kaliumxyz> can I patch macos apps to run on nix?
<kaliumxyz> nixOS that is
<ivan> you could run a macOS VM on NixOS
<ivan> there's an emulation layer that can't run any GUI stuff yet https://www.darlinghq.org/
<worldofpeace> evanjs: yeah. see the franz expression, you can drop `libPath` and the manual patching in `postFixup`. Simply add `autoPatchelfHook` to `nativeBuildInputs`
<Fare> I don't understand escaping $$ in installPhase = statements.
dycan has quit [Ping timeout: 244 seconds]
<Fare> If I want the shell script to have a $, how do I do that?
<worldofpeace> Like '' $$ ''
<worldofpeace> $$
<Fare> I tried that... it somehow expanded to 1 (!)
<{^_^}> [nixpkgs] @buckley310 opened pull request #68122 → metasploit: 4.16.1 -> 5.0.45 → https://git.io/fjhh1
lambda-11235 has joined #nixos
dycan has joined #nixos
sigmundv has quit [Ping timeout: 244 seconds]
<evanjs> worldofpeace: right, starting to get deja vu; I feel like this was one of the first things I tried with autoPatchelf, but it's dumping core (illegal hardware instruction) :D
<evanjs> Thread 11 "Chrome_IOThread" received signal SIGILL, Illegal instruction. -- as if that's even close to enough information
<selfsymmetric-mu> If you run `$$` in bash it gives you the PID of the process, right?
<clever> selfsymmetric-mu: if you eval it, yes
<{^_^}> [nixpkgs] @dtzWill merged pull request #68074 → encodings: 1.0.4 -> 1.0.5 → https://git.io/fjhYO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjhhF
<clever> selfsymmetric-mu: if you run $$, then it will look for the pid of bash in PATH, and then say command-not-found
<selfsymmetric-mu> clever: thanks! Never got too good at bash proper. Too much of an Emacs gargoyle.
<selfsymmetric-mu> clever++
<{^_^}> clever's karma got increased to 192
dycan has quit [Ping timeout: 244 seconds]
<craige> Does anyone know of any doco or blogs for using `postgresql.identMap`? I'm trying to enable a service via NixOps and the only examples I can find are Hydra examples but I've been unable to locate clarification of what the three fields ie: `hydra-users hydra hydra` are telling me, so I can replicate it on another service. Thanks! :-)
selfsymmetric-mu has quit [Remote host closed the connection]
<clever> craige: i think your best bet is the official postgresql docs
<clever> craige: read the nixos module to see what file the strings winds up in, then check the postgres docs to see what that file does
<craige> I'll try that tack, thanks clever :-)
selfsymmetric-mu has joined #nixos
<craige> You're 100% right clever, The nix module gives me nothing so I'll have to hit the upstream docs.
drakonis2 has joined #nixos
drakonis has joined #nixos
<worldofpeace> evanjs: can you gist the output of the build?
<evanjs> worldofpeace: like the stdout or?
<craige> Got it here clever: https://www.postgresql.org/docs/9.6/auth-username-maps.html - Thanks! I may have to patch the description to hold that info.
<clever> craige: sounds good
<craige> clever++
<{^_^}> clever's karma got increased to 193
englishm has quit [Excess Flood]
englishm has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #68124 → eksctl: 0.4.3 -> 0.5.0 → https://git.io/fjhjm
<{^_^}> [nixpkgs] @craigem opened pull request #68125 → postgresql: improve identMap description → https://git.io/fjhjg
<{^_^}> [nixpkgs] @dtzWill merged pull request #68053 → taskell: 1.6.0 -> 1.6.1 → https://git.io/fjhml
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjhj2
<{^_^}> [nixpkgs] @dtzWill merged pull request #68052 → glib: 2.60.6 -> 2.60.7 → https://git.io/fjhmC
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjhja
<{^_^}> [nixpkgs] @dtzWill merged pull request #68047 → txr: 220 -> 224 → https://git.io/fjhqN
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjhjV
dbmikus has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @3noch opened pull request #68126 → RFC: lib: Add utility to define help-annotated attrsets → https://git.io/fjhjw
<{^_^}> [nixpkgs] @dtzWill merged pull request #68034 → sudo-font: 0.37 -> 0.40 → https://git.io/fjhqT
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjhjr
<worldofpeace> evanjs: doesn't look like anything up
<worldofpeace> * up -> amiss
Okinan has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @dtzWill merged pull request #68070 → sessreg: 1.1.1 -> 1.1.2 → https://git.io/fjhYL
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjhj7
<evanjs> worldofpeace: right? That's what was initially throwing me off.
<{^_^}> [nixpkgs] @dtzWill merged pull request #68062 → fwts: 19.07.00 -> 19.08.00 → https://git.io/fjhmD
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjhjp
<{^_^}> [nixpkgs] @dtzWill merged pull request #68054 → webkitgtk: 2.24.3 -> 2.24.4 (security!) → https://git.io/fjhmB
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjhjh
<{^_^}> [nixpkgs] @dtzWill merged pull request #68036 → victor-mono: 1.2.1 -> 1.2.5 → https://git.io/fjhqu
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjhjj
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [rfcs] @Infinisil opened pull request #52 → [RFC 0052] Away from static ids → https://git.io/fjjev
nexgen2 has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 245 seconds]
das_j has joined #nixos
qubasa has quit [Ping timeout: 244 seconds]
<Fare> the $${} quoting mechanism seems deficient in Nix
qubasa has joined #nixos
<Fare> Just try quoting ${1-} or ${FOO:=bar} in a shell script... how do you do it?
<eacameron> Fare: `'' ''${-1}''`
casaca has joined #nixos
<Fare> So exit the current '', start a new one just for the ${} ?
<{^_^}> [nixpkgs] @dtzWill merged pull request #68082 → pngquant: 2.12.1 -> 2.12.5 → https://git.io/fjhYo
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjjem
<simpson> Fare: At that level of fanciness, folks often factor out shell scripts to standalone .sh files.
<Fare> eacameron, simpson thanks. For now, I quoted the $ by prepending it with ''
<Fare> doubling the $ did something very different.
ddellacosta has quit [Ping timeout: 245 seconds]
<Fare> the granularity of nix makes it painful to debug expressions where the bug happens after 2 hours of compilation, or even 10 minutes.
<{^_^}> [nixpkgs] @teto closed pull request #55755 → system.requiredKernelConfig: packages contraints → https://git.io/fh7uO
nexgen2 has quit [Quit: Leaving]
<Miyu-chan> :( true
<Miyu-chan> Theoretically, Nix can be a build system by itself.
<Miyu-chan> But no one really does that.
infinee has joined #nixos
infinii has quit [Ping timeout: 246 seconds]
<simpson> Miyu-chan: I did it for Monte. It's worthwhile, in theory, but in practice there's a lot of nasty confusing little bits.
<simpson> The incremental builds *are* nice in terms of how much is built and uploaded, though.
<Miyu-chan> Yeeeess
<Miyu-chan> simpson: Wait, we're talking specifically about Nix incremental builds, right?
<simpson> Miyu-chan: Incremental builds of Monte modules with Nix, yeah. Yessss, but also noooooo https://github.com/monte-language/typhon/blob/master/nix-support/mast.nix#L7-L29
<Miyu-chan> Ohh.
<Fare> Oh wow, I need yet another additional level of quoting in a <<EOF script inside there...
<simpson> Yeah, it's not *good* or anything. :c
<Miyu-chan> Because like, Nix has distributed builds support if you go file granularity.
<Miyu-chan> And I just find that cool.
<simpson> That sounds super-cool!
<Fare> But then the shell scripting in Nix doesn't have file granularity
<Fare> and rewriting your rules to make it so would probably be an extraordinary burden on Nix.
<Fare> Reminds me the amazing engineering that Google put into Bazel, to achieve file granularity for gigantic builds larger than NixOS.
<infinisil> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<simpson> Fare: Yeah, trying to do extended amounts of stuff in shell is usually losing. If you're comfortable pastebinning what you're working on, we might be able to offer tips. In particular, I wonder whether some nixpkgs library functions might help you.
<Miyu-chan> simpson: Hm, conjecture, but it might be related to you scraping the directory tree? I think it's much simpler if you don't do that. I mean, for languages which don't have actual support for dependency checking, you have out-of-band instructions(makefile)
<Miyu-chan> Also, more conjecture, but file-granular builds not being prevalent in Nix is more on culture than technology. Nix is IMO means to supplement package management and not build systems, even if it works for both.
<Miyu-chan> Correct me if I'm wrong anyone.
<simpson> Miyu-chan: Monte's modules are also compilation units, so we really *can* compile each file to bytecode. What's missing here is a Monte compiler frontend that can examine a file's extension and make a good life decision.
<Miyu-chan> Yeah. Hm, now I'm curious how languages with hieararchal module systems work.
<Miyu-chan> hierarchical
<Miyu-chan> Did I get that correctly? lol
<Miyu-chan> nix-make addressed that a bit, by examining the include's relative depth, IIRC?
orivej has quit [Ping timeout: 246 seconds]
<infinisil> Relevant past experiment: https://github.com/awakesecurity/ninja2nix
<Miyu-chan> Thanks.
<Miyu-chan> Ohhh. Interesting. That does seem to work too.
<Miyu-chan> Slightly relevant for 2nixes: https://github.com/NixOS/rfcs/pull/40
<{^_^}> rfcs#40 (by Ericson2314, 30 weeks ago, open): [RFC 0040] "Ret-cont" recursive Nix
justanotheruser has joined #nixos
evax has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
sb0 has quit [Quit: Leaving]
drakonis_ has joined #nixos
infinee has quit [Ping timeout: 246 seconds]
drakonis2 has quit [Ping timeout: 276 seconds]
drakonis1 has joined #nixos
fusion809 has joined #nixos
justanotheruser has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis1 has quit [Ping timeout: 258 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<jasom> so the contributing guide suggests basing the PR off of the commit that nixos-version returns; however that won't cleanly rebase onto master for me; is this expected?
drakonis1 has joined #nixos
<infinisil> jasom: Huh, not sure why the guide suggests that, because of exactly that
<infinisil> If you modify an older version of nixpkgs then it's clear that there might be conflicts with the current version
<infinisil> You could of course make a merge commit, but that's generally not done in nixpkgs (not sure why actually)
Yaniel has quit [Ping timeout: 258 seconds]
<jasom> well I can just cherry-pick it to master
evax has joined #nixos
infinee has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
<infinisil> Wouldn't this result in a merge conflict as well?
nexgen2 has joined #nixos
<infinisil> (which you'd have to fix while cherry-picking)
<jasom> infinisil: nope, there are no conflicts in files I've changed
<infinisil> I see :o
<jasom> it looks like changes are contributed to master and then cherry-picked to the release; that's going to make master and the release unmergable between each other.
johnw has quit [Ping timeout: 245 seconds]
<infinisil> Hm yeah
johnw has joined #nixos
abathur has quit [Ping timeout: 245 seconds]
nexgen2 has quit [Excess Flood]
nexgen2 has joined #nixos
marusich has joined #nixos
schjetne has joined #nixos
schjetne has quit [Ping timeout: 268 seconds]
gyroninja has joined #nixos
Myhlamaeus has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jasom opened pull request #68127 → lilypond: fix segfault → https://git.io/fjjeD
<gyroninja> Hi, I need some help making my shell.nix for a project I'm working on. I have a Nix derivation which builds several libraries. From my shell.nix I want to import that derivation and put those libraries on my LD_LIBRARY_PATH. I'm not sure how to pull this off. I tried putting it in the buildInputs, but that did not seem to do anything.
iqubic` has joined #nixos
marusich has quit [Ping timeout: 276 seconds]
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 276 seconds]
iqubic has joined #nixos
nexgen3 has joined #nixos
nexgen2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #68128 → flow: 0.106.0 -> 0.107.0 → https://git.io/fjje9
domogled has joined #nixos
dansho has quit [Quit: Leaving]
reallymemorable has quit [Quit: reallymemorable]
<gyroninja> I figured it out. I just set the attribute `LD_LIBRARY_PATH = "${(import 'foo.nix')/lib}"`
<gyroninja> thanks for the help
nexgen3 has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
nexgen3 has joined #nixos
<bpye> Hey - are there any suggestions as to how I can pin nixpkgs versions with nixops?
<bpye> Currently I'm using '-I' but that's error prone
<bpye> I've looked at morph and krops but they have other issues
nexgen3 has quit [Remote host closed the connection]
nexgen3 has joined #nixos
byteflam1 has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
reallymemorable has joined #nixos
byteflam1 has quit [Ping timeout: 246 seconds]
endformationage has quit [Quit: WeeChat 2.5]
schjetne has joined #nixos
<{^_^}> [nixops] @teto closed pull request #1191 → doc: fix paths → https://git.io/fjNfy
nexgen2 has joined #nixos
schjetne has quit [Ping timeout: 246 seconds]
nexgen3 has quit [Ping timeout: 258 seconds]
jybs has joined #nixos
<jybs> Hi all. I'm just wondering about the current state of k8 on nixos
<jybs> It seems kinda fragile
<{^_^}> [nixpkgs] @marsam opened pull request #68129 → [staging] meson: fix build on darwin → https://git.io/fjjeh
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/tests/quake3: Fix evaluation error »: https://git.io/fjjvv
nexgen2 has quit [Remote host closed the connection]
nexgen2 has joined #nixos
<srhb> jybs: I can answer to that. What's up?
<jybs> I can't seem to get a node running, coredns just fails
<jybs> Also I can't see any instructions for joining hosts together?
<srhb> jybs: You should probably pastebin your logs, config and version of nixpkgs. :)
<jybs> Will do!
<jybs> Logs from kubelet?
<srhb> jybs: I expect to merge an update and simplification to the k8s module today, but that only affects unstable. Also, coredns should not be affected (nor have I really seen any problems with it)
<srhb> jybs: And adding more nodes is really no different on NixOS from other OS'es. :)
<jybs> Would I need to generate my own certs for that to work (multi-master)?
<srhb> jybs: are you using easycerts?
Fare has quit [Ping timeout: 245 seconds]
<jybs> Hangon, let me pastebin some stuff
Yaniel has joined #nixos
<srhb> jybs: So this is just a single host?
<jybs> For now yes (sorry the questions about multihost were unrelated)
<srhb> I must say I barely remember what it was like in 19.03, let me just check the logs.. :)
<jybs> I can just use 19.09 if it's a lot better?
<jybs> I'd rather use unstable if is a new way of doing things
nexgen2 has quit [Ping timeout: 268 seconds]
<srhb> jybs: It is a new way, not sure I will call it better, because we expect to redesign it for 20.03 (again) because it got way too complicated.
<jybs> k8s is a complicated thing :)
<jybs> Is this the remove systemd, replace with eventual service up via loops stuff?
<srhb> Anyway, I suspect that error is probably simple, let me look for a moment..
<srhb> jybs: That's just a simplification we want to get it in time for 19.09
Christian[m]5 has joined #nixos
<srhb> For 20.03 there's two main schools of thoughts now: One is simplifying radically, basically making the module a 1-1 translation of just feeding arguments and config files to k8s -- ie. a completely dumb and simple module, and then letting some out of tree module build on top of that for any smart stuff.
<srhb> The other proposal I've seen is basing it all on kubeadm.
<jybs> Is kubeadm declarative?
<srhb> Not to my knowledge.
XMatrix has joined #nixos
<srhb> But I've yet to see enough of it demonstrated to really have an opinion.
lambda-11235 has quit [Read error: Connection reset by peer]
<srhb> I'm currently in favour of the first approach, but we'll see.
<jybs> So the issues at the moment are to do with bootstrapping and advanced config only right? Once you've got a cluster you're golden?
<srhb> Oh yes, it's really nice once it's up.
<jybs> Ok. Shoudl I just jump to unstable?
<srhb> jybs: I don't want to recommend that unless you feel adventurous. But I do remember the state of unstable better. :)
<jybs> I'm deploying hosts via morph, so if it doesn't work I'll just scrap them and go back
<jybs> Hang on
<srhb> jybs: I'll get some tea then.. :P
<srhb> jybs: There's also #nixos-kubernetes btw. It's not very active currently, but maybe one day :-)
<{^_^}> [nixpkgs] @srhb merged pull request #67563 → kubernetes: 1.14.3 -> 1.15.3 (with revert of module systemd dependencies) → https://git.io/fjA97
<{^_^}> [nixpkgs] @srhb pushed 4 commits to master: https://git.io/fjjvq
<iqubic> I like hanging out in low activity IRC channels, just so that I can get that one shiny nugget of information when it comes along.
<iqubic> Case in point: I hang out in #nixos-emacs
tboston has quit [Quit: ZNC 1.7.3 - https://znc.in]
tboston has joined #nixos
<iqubic> Well, something about steam-run has changed, and now nixos-rebuild is failing.
<iqubic> I'm running unstable on my machine.
<srhb> iqubic: vulkan-loader?
<iqubic> Yes.
<srhb> iqubic: It's fixed in master.
<iqubic> Here's the output of "sudo nixos-rebuild switch --show-trace"
<srhb> Hydra is a bit busy chewing through gcc8
<iqubic> Ah. I see.
<srhb> But hopefully bumps soon :)
emptyfl41 has joined #nixos
<iqubic> So should I wait for a bit to do my rebuild?
<etu> That or rollback your channel or pin to an older channel
<srhb> iqubic: Either that, cherry the fix, move past, or move back..
<iqubic> I'm just going to wait. How long do you think it will be until the bump happens?
<iqubic> How long is hydra going to be working on gcc8 for?
reallymemorable has quit [Quit: reallymemorable]
<srhb> iqubic: I don't think I can reasonably estimate that. Probably a few days at most.
<srhb> If nothing else fails.
emptyfl41 has quit [Ping timeout: 258 seconds]
goodwill has quit [Quit: ...]
goodwill has joined #nixos
dbmikus has joined #nixos
<iqubic> I can wait that long in order to update my system.
init_6 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #68130 → terraform: 0.12.7 -> 0.12.8 → https://git.io/fjjv2
hyper_ch2 has joined #nixos
<Izorkin> Mic92: please check PR #67931
Soo_Slow has joined #nixos
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67931 (by Izorkin, 2 days ago, open): fail2ban: init at 0.11.dev3-2019-08-22
Lears has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #68080 → usbguard: 0.7.4 -> 0.7.5 → https://git.io/fjhYg
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjjvr
<eyJhb> Got the same vulcan thing in unstable :)
<eyJhb> Just did a rollback
boxdot has joined #nixos
wfranzini has joined #nixos
eyJhb is now known as eyJhb
emptyflask has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #68079 → nsd: 4.2.1 -> 4.2.2 → https://git.io/fjhY4
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to staging: https://git.io/fjjvS
<{^_^}> [nixpkgs] @mmahut merged pull request #68122 → metasploit: 4.16.1 -> 5.0.45 → https://git.io/fjhh1
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjv9
<{^_^}> [nixpkgs] @mmahut merged pull request #68128 → flow: 0.106.0 -> 0.107.0 → https://git.io/fjje9
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjvH
_zincy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #68130 → terraform: 0.12.7 -> 0.12.8 → https://git.io/fjjv2
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjvQ
<{^_^}> [nixpkgs] @mmahut merged pull request #68093 → python3Packages.textacy: 0.6.3 -> 0.9.1 → https://git.io/fjhZY
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjv7
hyper_ch2 has quit [Remote host closed the connection]
zupo has joined #nixos
hyper_ch2 has joined #nixos
siel has quit [Ping timeout: 276 seconds]
Lears has joined #nixos
init_6 has quit []
Ariakenom has joined #nixos
ciaran0 has quit [Read error: Connection reset by peer]
ciaran0 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @1000101 opened pull request #68131 → prometheus-process-exporter: init at 0.5.0 → https://git.io/fjjfs
noudle has joined #nixos
<Ariakenom> I'm having a hard time figuring out what values for powerManagement.cpuFreqGovernor do. especially advice on when to use a governor?
<{^_^}> [nixpkgs] @mmahut merged pull request #68087 → platformio: 3.6.6 -> 4.0.3 → https://git.io/fjhsq
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjjf8
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @mmahut merged pull request #68042 → v4l-utils: 1.16.6 -> 1.16.7 → https://git.io/fjhq9
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjf4
__monty__ has joined #nixos
<sphalerite> assuming you're on an intel cpu
<srhb> Ariakenom: You're always using one, as far as I know.. And on Intel you're always using the right one, unless you set that option :P
<eyJhb> srhb: "right one"? :D
_zincy has joined #nixos
<srhb> I don't think there's ever a reason not to use the intel recommended one, no matter your workload or power saving requirements.
<srhb> I'm under the impressed it's just better in all regards.
Tucky has joined #nixos
<eyJhb> Doesn't nixos by default set it in hardware??
<srhb> Probably. presumably to the right one :P
<sphalerite> yeah, to the one set at nixos-generate-config time. Which is the right one unless you adjust it in the installer :)
<eyJhb> ` powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";` is in my hardware conf, but I don't know if I set that
zupo has joined #nixos
<srhb> That's correct and is what generate-config gives you for intel
<sphalerite> ^
<Ariakenom> I did read the arch wiki but had a hard time figuring out what it meant especailly "performance: Run the CPU at the maximum frequency." "The performance governor should give better power saving functionality than the old ondemand governor"
<Ariakenom> ah I see now there is no ondemand
<srhb> Basically it means "never use ondemand"
dbmikus has quit [Ping timeout: 264 seconds]
<sphalerite> Ariakenom: in the second sentence, "performance" refers to the different intel_pstate performance governor. I think.
<srhb> Yeah.
<sphalerite> unrelated: home-assistant's packaging is a pita, no wonder it's so out of date
<srhb> sphalerite: The stuff in nixpkgs? or the included part?
<sphalerite> srhb: the nixpkgs stuff, not sure you mean by the included part… yet D:
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
schjetne has joined #nixos
<srhb> oh... :P
<sphalerite> what you mean*
<Ariakenom> 2nd time I've meant to type sudo nixos-rebuild but typed sudo reb<TAB> -> sudo reboot. one of these days I won't notice
<srhb> sphalerite: iirc the home-manager repo also contains packaging.
<sphalerite> Ariakenom: oh yeah, I love getting reboot from my shell history when I least expect it too
<srhb> ban it :P
<sphalerite> yeah I did at one point, but by now I've pretty much stopped using it from the command line
<srhb> I don't think I have another way to do it... :P
<srhb> Oh, I guess the power button.
<{^_^}> [nixpkgs] @dtzWill merged pull request #68060 → xbps: 0.56 -> 0.57 → https://git.io/fjhmw
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjjfV
<sphalerite> on my laptop I usually call it via dmenu
<srhb> Ah, that makes sense
<srhb> ... wonder why I never did that
<sphalerite> power button is disabled because it's too easy to press accidentally
<srhb> Speaking of which, I should restore dmenu2...
<sphalerite> I guess I still reboot servers from the command line, but that happens so rarely… and that's what nixops's --force-reboot is for, right?
dasj19 has joined #nixos
<srhb> Yep!
jybs has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to release-19.03: https://git.io/fjjfK
<{^_^}> [nixpkgs] @vcunat merged pull request #68033 → [19.03] systemd: fix CVE-2019-15718 → https://git.io/fjhtj
drakonis1 has quit [Remote host closed the connection]
siel has joined #nixos
<Ariakenom> if I have nix.gc.dates="weekly" do the computer has to be on at some specific time for it to run?
<eyJhb> Once did a `sudo shutdown -r 0` in a terminal, because I wanted to reboot my laptop. Forgot I was connected to my server. So that is why my uptime at home is awful
<srhb> eyJhb: High uptime, fresh kernels, pick one :P
<srhb> Ariakenom: I think so, unless you set persistent in the job.
<srhb> Ariakenom: Since it's a calendartime unit
<eyJhb> *me as sysadmin I guess :p Current uptime is 12 days, which.. Seems weird
<srhb> Ariakenom: Can I suggest you use auto gc limits instead? Getting rid of your garbage usually just means more build time in the future.
<eyJhb> pfSense uptime => 242 days :D
<srhb> (It has a few issues related to locking, but you're unlikely on a single user system to run into any of them)
<Ariakenom> srhb: sure. what is it?
ottidmes has joined #nixos
andreabedini has quit [Ping timeout: 264 seconds]
<Ariakenom> srhb: Thanks I see. I was using nix.gc.options = "--delete-older-than 30d" which removes profiles. Any advice on when|how to remove profiles?
<srhb> I basically never do that unless I run out of space.
<srhb> I guess if you have very little, it might be more interesting to automate.
hyper_ch2 has quit [Remote host closed the connection]
<Ariakenom> Ok. I will just clear some old ones, that I wouldnt want to boot into, manually.
<eyJhb> zimbatm: do you still use NixOS+Vagrant?
ng0 has joined #nixos
revtintin has joined #nixos
<zimbatm> eyJhb: not that much since I have nixos installed on the host
johanot has joined #nixos
makefu has quit [Ping timeout: 258 seconds]
<eyJhb> Yeah okay, just wondered if there was any plan to include 19.03 on the hasicorp vagrant cloud thingy :)
XMatrix has quit [Quit: Bye]
o1lo01ol1o has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<etu> Do anyone know if there's an easy way to set up chrooted/jailed sftp accounts that doesn't have ssh access but goes over SSH.
civodul has joined #nixos
<etu> ?
<eyJhb> etu:! I DO! Or
<eyJhb> I am working on it.. :p
<etu> eyJhb: Oh? :)
<eyJhb> But basically.. I am going to run a container, with ssh enabled and a backup user, going to bind mount the directories into that container, and run a config which is something like - https://www.digitalocean.com/community/tutorials/how-to-enable-sftp-without-shell-access-on-ubuntu-16-04 (sshd_config)
<eyJhb> Then you should get SFTP only, and can auth with keys+chroot :)
<eyJhb> I hope I can set it up sometime this weekend. - Hope I understood you correctly
<etu> eyJhb: I like that solution, but won't that create a separate sshd process on a different port? I guess that could work for my usecase.
<etu> eyJhb: I'm working on my migration from arch, these are the kinds of things that can take time.
hyper_ch2 has joined #nixos
dasj19 has quit [Quit: dasj19]
<eyJhb> etu: it will! But for my usecase that is fine as well. You could also skip the container part, and then just use some local folder on your computer owned by root, then chroot into that
<eyJhb> I am going to use it as a quarantine for backups, so I will move them to a external drive later
<etu> eyJhb: Yeah, that's kinda how people do on other distros
<eyJhb> But I still like that anything that "logins" or relies on SSH like that, is isolated
<eyJhb> Tsk, other distros :D (I have the same setup on Debian that I just described, but using Docker)
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<etu> I'm having a list of users that needs readonly sftp access to some files. But it should be isolated from the rest of the system.
joshuagl has joined #nixos
Zer0xp has joined #nixos
<etu> It would be nice if ssh could proxy connections to other instances depending on username, can it do that? :D
<eyJhb> I would think so yes, but I have not done it :p
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/fjjJ5
<{^_^}> [nixos-weekly] @domenkozar merged pull request #101 → weekly 13: add industrial-strength deployments blog post → https://git.io/fjh5t
Makaveli7 has joined #nixos
<etu> eyJhb: That way I wouldn't need another port :p
<eyJhb> Ohh, so you would proxy from host to container?
<eyJhb> Hmm...
<eyJhb> Try and let me know if it works etu ! :D
iqubic has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
chr15 has joined #nixos
<etu> eyJhb: yes, I don't think I've seen that as a feature. But ssh has *a lot* of features.
<eyJhb> etu: but ssh client does have proxy commands, so I see no reason the server should not
iqubic has joined #nixos
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat closed pull request #68129 → [staging] meson: fix build on darwin → https://git.io/fjjeh
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 191 commits to staging: https://git.io/fjjJA
sigmundv has joined #nixos
iqubic has joined #nixos
veske has joined #nixos
Orbstheorem has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
thc202 has joined #nixos
wedens has joined #nixos
philr has quit [Ping timeout: 245 seconds]
ixxie has joined #nixos
<wedens> how can I have multiple kernels to choose in a bootloader (grub)?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<teto> so I have a pinned_nixpkgs.nix with only "builtins.fetchTarbal { ... }" and in my shell.nix the top parameters are '{ nixpkgs ? import ./pinned_nixpkgs {}}:' but I get "attempt to call something which is not a function but a string with context,". I would like to put just the fetchTarball definition in its own file so that it can be imported from both shell.nix and default.nix
<teto> wedens I am not sure it's documented but you should look for 'nesting.clone', that might work
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
emptyfl41 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
iqubic` has joined #nixos
anderslu1dstedt has joined #nixos
emptyfl41 has quit [Ping timeout: 245 seconds]
iqubic` has quit [Client Quit]
iqubic has quit [Ping timeout: 276 seconds]
<wedens> teto: yeah, looks like something that may work. thanks
iqubic has joined #nixos
anderslundstedt has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to master « heimdall: fix the GUI front-end's run-time errors »: https://git.io/fjjUz
<{^_^}> [nixpkgs] @shyim opened pull request #68132 → discord-ptb: 0.0.15 -> 0.0.16 → https://git.io/fjjUV
Zer0xp is now known as Guest87745
boxdot has quit [Quit: Leaving.]
chr15 is now known as Zer0xp
boxdot has joined #nixos
makefu has joined #nixos
ThatDocsLady has joined #nixos
<teto> nevermind I got it
ottidmes has quit [Quit: Leaving]
<andi-> Did anyone get gnome calendar working with `online accounts` outside of a full blown gnome3 session? Whenever I try to setup an account the buttons just don't do anything.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Ping timeout: 264 seconds]
grw has quit [Ping timeout: 246 seconds]
<Taneb> Is there a setting somewhere for "maximum concurrent nix-builds"?
<symphorien> max-jobs iirc
fendor has joined #nixos
m0rphism1 has quit [Quit: WeeChat 2.4]
Chiliparrot has joined #nixos
o1lo01ol1o has joined #nixos
<Taneb> symphorien: does that apply even if there's multiple invocations of nix-build?
makefu has quit [Ping timeout: 268 seconds]
<symphorien> If you use the daemon then yes
<tokudan[m]> ,locate dmidecode
<{^_^}> Found in packages: dmidecode
numerobis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
makefu has joined #nixos
alex`` has joined #nixos
<tokudan[m]> ,locate last
xavierm02[m] has left #nixos ["User left"]
<{^_^}> Found in packages: acct, busybox, sysvinit, linux.dev, logstash5, plan9port, sysvtools, utillinux, libuuid.bin, r2-for-cutter, utillinux.bin, linux_mptcp.dev, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_5_0.kernel.dev, linuxPackages_4_14.kernel.dev, linuxPackages_4_20.kernel.dev, linuxPackages_xen_dom0.kernel.dev, linuxPackages_latest-libre.kernel.dev, linuxPackages_latest_hardened.kernel.dev, and 3 more
dycan has joined #nixos
m0rphism has joined #nixos
fendor has quit [Ping timeout: 258 seconds]
andreabedini has joined #nixos
o1lo01ol1o has joined #nixos
BigBen has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
philr has joined #nixos
revtintin has quit [Quit: WeeChat 2.4]
fionnan has quit [Ping timeout: 245 seconds]
BigBen has quit [Quit: Leaving]
BigBen has joined #nixos
Unode has quit [Ping timeout: 244 seconds]
fionnan has joined #nixos
Unode has joined #nixos
dycan has quit [Ping timeout: 268 seconds]
veske2 has joined #nixos
veske has quit [Ping timeout: 245 seconds]
<layus[m]> Any hints on how to add search paths to a dlopen() call in nix ? gs (from ghostscript) does not find a library passed by name
<layus[m]> LD_LIBRARY_PATH works, but is there something better ?
cfricke has joined #nixos
<{^_^}> [nixpkgs] @avdv opened pull request #68134 → wtf: Add `infocmp` to PATH, fixes #68103 → https://git.io/fjjTh
tobi25 has joined #nixos
BigBen has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
BigBen has joined #nixos
zupo has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
Unode has quit [Ping timeout: 268 seconds]
Unode has joined #nixos
boxdot has quit [Quit: Leaving.]
hyper_ch2 has quit [Remote host closed the connection]
knupfer has joined #nixos
dycan has joined #nixos
orivej has joined #nixos
Okinan has joined #nixos
alex`` has quit [Quit: WeeChat 2.5]
dycan_ has joined #nixos
cfricke has quit [Quit: WeeChat 2.5]
boxdot has joined #nixos
dycan has quit [Ping timeout: 258 seconds]
DariusTheMede has joined #nixos
fendor has joined #nixos
emptyfl41 has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
dycan_ has quit [Ping timeout: 268 seconds]
emptyfl41 has quit [Ping timeout: 268 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dycan has joined #nixos
zupo has joined #nixos
<provessor[m]> Any package maintainers here?
<provessor[m]> Could anyone give me an idea of how large the barrier is in terms of popularity for a system option to be included
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68135 → Add Go 1.13 → https://git.io/fjjkQ
<provessor[m]> Such as a window manager, etc.
iyzsong has joined #nixos
<infinisil> provessor[m]: Not very high generally
o1lo01ol1o has joined #nixos
<provessor[m]> infinisil (@freenode_infinisil:matrix.org) : So if I were to say continue writing my own window manager that probably no-one else is ever going to use, do u think that would have a chance of making it in or would i have to maintain my fork to get that option
<Yaniel> as long as you maintain it..
<provessor[m]> Of course I would maintain it, this is just whether making the pull request is worth it
<infinisil> Hmm not sure
<infinisil> I'd rather have packages be used by at least a couple people
<Taneb> provessor[m]: it might be easier for you in that case to define a module locally
fendor has quit [Ping timeout: 264 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
v88m has quit [Ping timeout: 244 seconds]
cfricke has joined #nixos
<provessor[m]> Taneb: would I define that in a very similar way to a custom package?
<Taneb> provessor[m]: it's not a million miles away
<Taneb> Ah, I'm assuming you want it as a NixOS option
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
leotaku has quit [Ping timeout: 268 seconds]
leotaku_ has joined #nixos
<provessor[m]> Taneb: I'll have a look at that thank you
<tokudan[m]> maybe interesting for EU citizens. the EU is asking what they should do to support FOSS: https://ec.europa.eu/eusurvey/runner/EUFOSSA2-Survey
hyper_ch2 has joined #nixos
<ldlework> Is there a NixOS Discord?
veske2 has quit [Quit: This computer has gone to sleep]
<rawtaz> question is irrelevant as long as there is a NixOS IRC channel ;-)
<craige> https://discourse.nixos.org/ <- ldlework
<andi-> thats not discord
<zfnmxt> There's a matrix room, but it's bridged to here anyway. Matrix is basically FOSS discord.
<andi-> discord is that gamer voice chat + text chat thingy
<craige> ugh, corrcrt andi- :-/
<craige> I may be a little tired on this side of the planet :-)
hyper_ch2 has quit [Remote host closed the connection]
<craige> Does anyone have any handy doco or examples of a configuration.nix (or any .nix) that uses fetchurl or similar to put a /file/right/here ? my google foo has been failing me tonight.
acarrico has joined #nixos
<ldlework> I wrote a knowledge/reference bot for Discord, that's why I was wondering.
<ldlework> I don't think Matrix has the concepts of Embeds.
<zfnmxt> Matrix has "integrations" which include things like bots and bridges and stuff. Not sure if the same, I don't use discord.
<ldlework> http://logos.ldlework.com/caps/2019-09-05-11-42-33.png is an example of what it does
<zfnmxt> (Or maybe those "integrations" are actually just Riot-specific and don't have anything to do with the Matrix protocol, I dunno)
xkapastel has joined #nixos
sebastien[m]1 has joined #nixos
dasj19 has joined #nixos
<ajs124> I'm having a problem with python3.buildEnv rn. I'm passing it some custom packages in extraLibs and end up with an empty site-packages folder. Any ideas what might be happening?
ixxie has joined #nixos
<Ox4A6F> etu: There is a nice blog post about a simmilar use-case: https://drewdevault.com/2019/09/02/Interactive-SSH-programs.html
abcrawf has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 244 seconds]
nexgen2 has joined #nixos
logzet has joined #nixos
abcrawf has joined #nixos
Orbstheorem has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #68136 → vscode-extensions.ms-vscode.cpptools: 0.25.0 -> 0.25.1 → https://git.io/fjjLC
<{^_^}> [nixpkgs] @eadwu opened pull request #68137 → vscod{e,ium}: 1.37.1 -> 1.38.0 → https://git.io/fjjLl
sshow has left #nixos [#nixos]
nexgen2 has quit [Remote host closed the connection]
dasj19 has quit [Quit: dasj19]
dasj19 has joined #nixos
numerobis has left #nixos ["WeeChat 2.5"]
sigmundv has joined #nixos
Jackneill has quit [Ping timeout: 245 seconds]
Fare has joined #nixos
zupo has joined #nixos
alex_giusi_tiri has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 245 seconds]
cfricke has quit [Quit: WeeChat 2.5]
dycan has quit [Ping timeout: 246 seconds]
veske2 has joined #nixos
Jackneill has joined #nixos
<philipp[m]> Is there any guido on how to create .desktop files for packages?
<clever> philipp[m]: pkgs.makeDesktopItem
leotaku_ has quit [Ping timeout: 258 seconds]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #68138 → ceph: 14.2.1 -> 14.2.3 → https://git.io/fjjLD
DariusTheMede has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3d7608eb267 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
DariusTheMede has joined #nixos
reallymemorable has joined #nixos
<philipp[m]> clever: Thanks, seems to be working now.
philr has quit [Quit: WeeChat 2.5]
grw has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
fendor has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #67937 → calibre: 3.47.0 -> 3.47.1 → https://git.io/fjpr4
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjjtl
domogled has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @zimbatm opened pull request #68139 → nix-store-gcs-proxy: init at 0.1.0 → https://git.io/fjjt8
beyuu has joined #nixos
DariusTheMede has quit [Ping timeout: 246 seconds]
Chiliparrot has joined #nixos
tobi25 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed to gcc-8 « amarok: 2.9.0-20180618 -> 2.9.0-20190824 »: https://git.io/fjjtX
<beyuu> still cant get my sound to work. Tried using my Speakers instead of my headphones with no success. I am on the latest Kernel. Made sure nothing is muted and switched to stereo output for the speakers. Is there anything else i can try to get my sound blaster ZxR to work?
<infinisil> beyuu: Did it work previously?
<beyuu> works on windows. I am on a fresh linux install.
ddellacosta has joined #nixos
<beyuu> the one thing you had to on windows is switch from speaker to headphone mode. I am also using the extension to plug in my audio devices.
DariusTheMede has joined #nixos
hyper_ch2 has joined #nixos
<ivan> beyuu: does alsamixer (in alsaUtils) show your card?
<beyuu> yes
<ivan> beyuu: you don't have any MM at the bottom indicating muted?
<infinisil> beyuu: Did you check the "Configuration" tab in pavucontrol? Sometimes I need to change something there to make stuff work
Jackneill has quit [Ping timeout: 268 seconds]
Neo-- has quit [Ping timeout: 245 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
<beyuu> nothing is muted. Tried stero output for the speakers and 5.1 output for the headphones. nothing worked
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.7.1628.30-1 -> 2.7.1628.33-1 »: https://git.io/fjjtH
<{^_^}> [nixpkgs] @ryantm merged pull request #68124 → eksctl: 0.4.3 -> 0.5.0 → https://git.io/fjhjm
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjjtQ
<ivan> beyuu: it looks like ZxR support was added to Linux in early 2019, so it wouldn't be in 4.19
<beyuu> can i change to kernel which has support for it?
<ivan> beyuu: try boot.kernelPackages = pkgs.linuxPackages_latest;
<ivan> that will give you 5.2 now
hyper_ch2 has quit [Remote host closed the connection]
gh30rgh3 has joined #nixos
<beyuu> i am on 5.2.11 so it should be included
boxdot has quit [Quit: Leaving.]
<gh30rgh3> which kernels are available for nixos?
<ivan> beyuu: maybe pulseaudio or alsa is defaulting to motherboard audio
<infinisil> > filter (hasPrefix "linuxPackages") (attrNames pkgs)
<{^_^}> [ "linuxPackages" "linuxPackages-libre" "linuxPackagesFor" "linuxPackages_4_14" "linuxPackages_4_19" "linuxPackages_4_4" "linuxPackages_4_9" "linuxPackages_5_2" "linuxPackages_custom" "linuxPackages_c...
njd has joined #nixos
Jackneill has joined #nixos
<infinisil> gh30rgh3: ^
logzet has quit [Ping timeout: 264 seconds]
sigmundv has joined #nixos
<gh30rgh3> ty
Neo-- has joined #nixos
<__monty__> > let lp = "linuxPackages" in map (removePrefix lp) (filter (hasPrefix lp) (attrNames pkgs))
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):263:26
<__monty__> > let lp = "linuxPackages"; in map (removePrefix lp) (filter (hasPrefix lp) (attrNames pkgs))
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> ]
<__monty__> : ( Sorry for the spam.
veske2 has quit [Quit: This computer has gone to sleep]
hyper_ch2 has joined #nixos
veske2 has joined #nixos
<andi-> you can also open a query to {^_^}
Makaveli7 has quit [Quit: WeeChat 2.5]
Neo-- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #68117 → discord-canary: 0.0.95 -> 0.0.96 → https://git.io/fjhF3
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjjtj
beyuu30 has joined #nixos
beyuu has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
<__monty__> andi-: Yeah, probably should. I was confident this'd be a more useful view of available kernels though : /
boxdot has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #68111 → mautrix-whatsapp: 2019-07-04 -> 2019-09-03 → https://git.io/fjh5Z
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjjq3
Ariakenom has quit [Remote host closed the connection]
beyuu30 has quit [Ping timeout: 260 seconds]
zxcvbnm7358 has quit [Remote host closed the connection]
v88m has joined #nixos
reallymemorable has joined #nixos
<infinisil> > :p let lp = "linuxPackages"; in map (removePrefix lp) (filter (hasPrefix lp) (attrNames pkgs)) # Let's go
<{^_^}> [ "" "-libre" "For" "_4_14" "_4_19" "_4_4" "_4_9" "_5_2" "_custom" "_custom_tinyconfig_kernel" "_hardened" "_hardkernel_4_14" "_hardkernel_latest" "_latest" "_latest-libre" "_latest_hardened" "_latest...
fresheyeball has quit [Quit: WeeChat 2.4]
ng0 has quit [Quit: Alexa, when is the end of world?]
<emily> For is my favourite release of the kernel.
orivej has quit [Ping timeout: 244 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<infinisil> Heh
orivej has joined #nixos
<{^_^}> [nix] @hyperfekt opened pull request #3086 → [WIP] add --root-realisations to nix-instantiate → https://git.io/fjjqj
waleee-cl has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
reallymemorable has quit [Ping timeout: 268 seconds]
johanot has quit [Quit: WeeChat 2.4]
veske2 has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @esclear opened pull request #68140 → Fix radare2-cutter: Wrap Cutter with Qt wrapper → https://git.io/fjjmE
<{^_^}> [nixpkgs] @amazari opened pull request #68141 → hugo: 0.57.2 -> 0.58.0 → https://git.io/fjjmg
<evanjs> Did the sponsorship link for NixOS change? Was going to edit my amount but then realized I was being redirected to a different site than before
DariusTh` has joined #nixos
<evanjs> Before it was direct via PayPal, but it doesn't look like I can associate that existing payment with my newly created open collective account?
DariusTheMede has quit [Ping timeout: 268 seconds]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<eraserhd> huh, why won't home-manager make my local user symlinks (when doing nixos-rebuild switch) on nixos?
<hyperfekt> eraserhd: You're using the home-manager module?
veske2 has quit [Quit: This computer has gone to sleep]
<eraserhd> yeah
emptyflask has joined #nixos
<eraserhd> same code working on nix-darwin.
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @Mic92 merged pull request #68140 → Fix radare2-cutter: Wrap Cutter with Qt wrapper → https://git.io/fjjmE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjjmS
<hyperfekt> eraserhd: Are you getting any error message? Is the home-manager service mentioned at all in the nixos-rebuild output?
<eraserhd> "the following new units were started: home-manager-jfelice.service" (which is the user)
knupfer has quit [Ping timeout: 264 seconds]
<averell> https://paste.ee/p/sNhYZ <-- i'm (type-)confused. is something being coerced here? why can't i access derivation attributes in the second case?
mmlb has quit [Ping timeout: 258 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
emptyfl41 has joined #nixos
shibboleth has joined #nixos
<averell> i'm a moron, the attribute wasn't part of all derivations, nvm.
<{^_^}> [nixpkgs] @samueldr pushed commit from @dtzWill to release-19.03 « webkitgtk: 2.24.3 -> 2.24.4 (security!) »: https://git.io/fjjYq
schjetne has quit [Ping timeout: 246 seconds]
<eraserhd> OK, so the service is working, mostly, but some files are clearly missing. How do you debug home-manager on nixos/
<rycee> eraserhd: Do you have your configuration anywhere?
<hyperfekt> eraserhd: You can try home-manager.verbose to get some more info
<rycee> eraserhd: If you are using master then you could set `home-manager.verbose = true;` in your system configuration and then check the output in the system journal.
<hyperfekt> oh, it's only 28 days old. very fresh option, you could be amongst the earlier adopters :b
<eraserhd> rycee hyperfekt: oh, OK. I *am* using master :)
<eraserhd> The root file of my config is here: https://github.com/eraserhd/dotfiles/blob/develop/crunch.nix
<{^_^}> [nixpkgs] @saschagrunert opened pull request #68142 → buildah: 1.10.1 -> 1.11.0 → https://git.io/fjjYn
<gh30rgh3> i am seriously thinking about switching to nix but i am doing the same way i did before switching to arch... spying from a distance, reading documentation, checking available packages... trying in a VM.
<gh30rgh3> does anybody have an i3wm dotfile for nixos? I want to read through the package config
<pbb> gh30rgh3: you can just use the same i3 config you would use with arch, or you can let nix generate the dotfiles with something like home-manager
<gh30rgh3> <pbb "gh30rgh3: you can just use the s"> yea, i have the i3wm dotfiles. i want to see the full package config
orivej has joined #nixos
<eraserhd> rycee hyperfekt: Ok, it's working now. I removed some of my old symlinks, made by a pre-home-manager script, and that's what fixed it.
<pbb> gh30rgh3: what do you mean with "full package config"?
<hyperfekt> Strange, I'm used to home-manager failing activation wen it can't place a symlink.
<gh30rgh3> pbb: 👆️
<eraserhd> Pre-home-manager, the script would often link directories instead of files, which made a bad state where home-manager wanted to symlink a file into a symlinked dir. This "worked", except for messing up my dotfiles repo, but my guess is something about it failed?
<eraserhd> Oh, wait, some of the symlinked dirs no longer existed, so that might be the failure mode.
<eraserhd> (link exists, dir does not)
<pbb> gh30rgh3: there isn't much more than that I can show you since my configuration looks wildly different. I have a different suggestion: you can use nix on your arch installation to build a NixOS VM and try different configurations very easily
<pbb> give me a moment to make an example
<gh30rgh3> pbb: i wouldn't touch my arch install since i use it at work every day
<gh30rgh3> and if i waste too much time on switching distro, my boss will kill me
<pbb> then maybe you shouldn't start using NixOS, since it will be very time-intensive at the beginning
<{^_^}> [nixpkgs] @adisbladis closed pull request #68101 → go 1.12 -> 1.13 → https://git.io/fjhWG
<{^_^}> [nix] @edolstra pushed to flakes « Use git+ prefix in flake URI schemes »: https://git.io/fjjYa
<pbb> gh30rgh3: at least if you want to switch all your configuration to be declarative
<gh30rgh3> pbb: i want to be cool and arch is not cool any more since cool people are using nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<gh30rgh3> 🤣
<pbb> gh30rgh3: not the best motivation to switch to NixOS if you ask me
<rycee> gh30rgh3: I used just the Nix package manager at work for a long time before starting to use NixOS.
<gh30rgh3> rycee: you have prod servers on nix?
<rycee> It gives quite a lot of benefits already, like per-project shells and such.
<rycee> I'm working as a programmer and don't manage servers myself.
<pbb> rycee's home-manager makes it possible to manage basically your whole userspace with Nix without using NixOS ;)
<rycee> Well, except my tiny ones at home :-)
<pbb> I have production servers running NixOS, but NixOS servers are a very different thing from NixOS desktops
<adisbladis> I'd never want to go back to having non-nixos prod servers :)
<pbb> +1
<eraserhd> rycee hyperfekt: I can't seem to reproduce. A dangling symlink directory does fail, but doesn't seem to abort, which seemed like what happened. FYI.
<rycee> eraserhd: Do you have log output from when it failed?
jtojnar has quit [Ping timeout: 245 seconds]
<eraserhd> rycee: No, I added "verbose" after, unfortunately.
<rycee> Even without verbose it should produce some output, especially if there was a failure.
<pbb> gh30rgh3: really if you consider switching to NixOS, it should not be a problem to install Nix on your system to try some stuff before. Take a look at https://nixos.org/nix/manual/#sect-multi-user-installation, it's not too hard
janneke_ has joined #nixos
<hyperfekt> I always recommend people install nix and home-manager because the latter is a good chance to try out NixOS' module system without having to commit very much.
janneke has quit [Ping timeout: 252 seconds]
<gh30rgh3> pbb: i would rather test it with KVM
<pbb> gh30rgh3: does anybody prevent you from doing that?
<gh30rgh3> nope
<gh30rgh3> maybe time
<pbb> gh30rgh3: the snippet you posted earlier could fit into a full NixOS configuration.nix like this: https://termbin.com/htnz
<pbb> I could build a VM with this config using "nixos-rebuild build-vm -I nixos-config=./configuration.nix", and got a working i3wm
<gh30rgh3> <pbb "gh30rgh3: not the best motivatio"> yea... i see a lot of people online saying "switched from arch to nix so that i can rollback in case something breaks". i've been doing `pacman -Syu --noconfirm; sudo shutdown -h now` almost every night for the last years and i never woke up to a broken system. i don't actually fear the upgrades.
<gh30rgh3> but i do find it cool and interesting and fun to learn something new
dycan has joined #nixos
<gh30rgh3> <pbb "gh30rgh3: the snippet you posted"> that is smaller than expected, lol. i thought it would get people when people add stuff required for working, like ansible, docker, qemu, vim, vim-go, go, python etc
<{^_^}> [nixpkgs] @fgaz opened pull request #68144 → Switch my qt packages to qt-specific stdenv → https://git.io/fjjY6
<lucus16> How often is the staging branch merged into master?
<pbb> gh30rgh3: take a look here for full configurations: https://nixos.wiki/wiki/Configuration_Collection
<ivan> staging-next is merged into master and it's every few weeks
<wedens> I have a fairly old laptop with 512gb hdd and 16gb ssd. obviously, 16gb is too small for /nix/store. how can I utilize this ssd to gain some performance benefits?
<emily> gh30rgh3: for individual projects you often want a shell.nix with all the tools you need, rather than putting them in your global configuration
<gh30rgh3> pbb: how stable is the unstable channel?
<clever> wedens: zfs, with the ssd as a L2arc may be a good option
<clever> wedens: zfs will basically use the ssd as a read-cache to speed up reads from the hdd
<gh30rgh3> <emily "gh30rgh3: for individual project"> hmm, that sounds interesting
jtojnar has joined #nixos
<emily> that also lets you have consistent development environments across multiple machines, even on non-NixOS distros, etc.
<{^_^}> [nixpkgs] @saschagrunert opened pull request #68145 → cri-o: 1.15.0 -> 1.15.1 → https://git.io/fjjYM
<pbb> gh30rgh3: I use it on all my machines, and run daily automatic rebuilds from the unstable channel. Sometimes the automatic builds fail and I have to adjust my configuration, but that happens rarely and it doesn't create any downtime.
Netsu has joined #nixos
<Netsu> Hi there. How can I change default nixpkgs compiler?
<emily> the nixos-unstable channel is gated on tests passing, so it's relatively stable I'd say
<Netsu> On macos it use clang by default, so I need the gcc here
<gh30rgh3> pbb: i am looking at `https://nixos.org/nixos/packages.html` now and i need lots of stuff from the unstable channel
<gh30rgh3> so if i go for nixos, it has to be unstable for me
<wedens> clever: thanks. sounds like it might be useful.
alex`` has joined #nixos
<pbb> gh30rgh3: you can also have your base system from the stable 19.03 channel, and install some programs from the unstable channel
<Netsu> I guess, I need something at `config/nixpkgs/config.nix`?
<gh30rgh3> that can be useful.
<gh30rgh3> <pbb "gh30rgh3: I use it on all my mac"> you need to build, meaning compile? gentoo-style? cause gentoo builds sometimes fail :-D and you have to go through use flags :-D
<gh30rgh3> i am asking, not complaining. i've been looking for months for a reason to buy a threadripper
Neo-- has joined #nixos
<hyperfekt> wedens: Depending on your mainboard model you may also be able to use Intel RST. There's also bcachefs which does caching if zfs isn't to your liking but that's not very reliable yet.
<colemickens> I'm running a systemd service as a regular user - when it tries to run nix-prefetch-url, it fails, but works when I try the same commadn normally as that user.
<colemickens> Any idea for what's going wrong and/or how I can debug more?
<pbb> gh30rgh3: It's not quite like Gentoo. basically you have default flags and the NixOS CI system called Hydra (hydra.nixos.org) builds the default configuration for you and puts them into the binary cache at cache.nixos.org. You can easily change the flags, but then you will have to recompile that package and everything that depends on it.
<eraserhd> rycee: I guess it did log, I just didn't know what I was looking for: https://gist.github.com/eraserhd/5d12455d8eec145869cacc8ca11e966f
MarcWeber has joined #nixos
<pbb> gh30rgh3: what I meant with building is building my system configuration, which includes downloading binary packages, compiling everything that's not available from the cache (stuff with custom patches or my configuration files, which are themselves)
<pbb> * which are packaged themselves
<pbb> in the time you have used to talk in this channel you could have tested Nix and built a NixOS VM
<hyperfekt> wedens: Then there's block device caching that bcache and dmcache/lvmcache do
<gh30rgh3> pbb: yea but in the time on this chat i also helped some colleagues with other stuff at work
<gh30rgh3> pbb: i will test it tonight in virt-manager
<pbb> gh30rgh3: okay, have fun
<gh30rgh3> pbb: thank you for answering all my questions
<colemickens> turns out it was gnutar/gzip missing
<wedens> clever: do you know if this l2arc can be controlled manually? e.g. if I want it to cache files from current nixos generation
<wedens> hyperfekt: thanks. I'll look into those options if I decide not to use zfs
<{^_^}> [nixpkgs] @averelld opened pull request #68146 → rstudio: fix build with new hunspell-dicts → https://git.io/fjjOU
jsGIGax has joined #nixos
<clever> wedens: the l2arc is just an extension of the l1arc(the one in ram), which will use a combination of recently and frequently used things, and adjust the ratio to get a high hit rate
<clever> wedens: the main downside, is that the l2arc cant persist between reboots
domogled has joined #nixos
jsGIGax has left #nixos ["Leaving"]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #68147 → networkmanager: allow `iwd` as Wi-Fi backend → https://git.io/fjjOs
<{^_^}> [nixpkgs] @nyarly opened pull request #68148 → chromium: expose pepperFlash version option → https://git.io/fjjOG
<wedens> doesn't sound good for a laptop :( but still better than nothing
_zincy has quit [Ping timeout: 252 seconds]
<clever> wedens: yeah, it wont help with boot times, but it will help with normal running
<{^_^}> [nixpkgs] @colemickens opened pull request #68149 → linux-kernel: HID_BATTERY_STRENGTH=yes → https://git.io/fjjOn
<{^_^}> [nixpkgs] @petabyteboy opened pull request #68150 → gerrit: 2.14.6 -> 3.0.2 → https://git.io/fjjOB
<rycee> eraserhd: Ah, interesting. So you had, for example, a `/home/jfelice/.config/karabiner/karabiner.json` file before?
<DariusTh`> What date was nixos-19.03.tar.gz released?
<o1lo01ol1o> failed with exit code 1; last 10 log lines:
<o1lo01ol1o> How can I show all lines?
wfranzini has quit [Remote host closed the connection]
Tucky has quit [Quit: WeeChat 2.5]
<emily> o1lo01ol1o: nix log /path/to/derivation
<DariusTh`> I am running into https://github.com/NixOS/nixpkgs/pull/58989
<{^_^}> #58989 (by rhokue, 21 weeks ago, closed): R: Workaround to make `which` a run-time dependency
<DariusTh`> Well actually this https://github.com/NixOS/nixpkgs/issues/58963
<{^_^}> #58963 (by rhokue, 22 weeks ago, closed): R: Sys.which function fails
<DariusTh`> It's not clear to me whether the workaround is in 19.03
<{^_^}> [nixpkgs] @aanderse merged pull request #68109 → pythonPackages.pyvmomi: init at 6.7.1.2018.12 → https://git.io/fjhBn
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjjOX
alex_giusi_tiri has quit [Quit: Leaving.]
<pbb> grahamc[m]: is ofborg dead?
<aanderse> pbb: vacation, he won't respond
<cransom> he's afk for a weekish.
<pbb> oh
petercommand has joined #nixos
<pbb> does anyone else know why ofborg is not tagging new PRs?
<{^_^}> [nixpkgs] @aanderse merged pull request #64322 → xenomapper: init 1.0.2 → https://git.io/fj6KA
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjjOH
selfsymmetric-mu has quit [Remote host closed the connection]
turion has quit [Ping timeout: 258 seconds]
johnny101m has joined #nixos
jgeerds has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
<exarkun> What are the strings in the list in nix / packages in stack.yaml? nixpkgs attributes?
turion has joined #nixos
<Netsu> is `.config/nixpkgs/config.nix` the same for `macOS`? Or it should be somewhere at `~/Library`?
byteflam1 has joined #nixos
<DariusTh`> Netsu: it works for me in macOS
<DariusTh`> I mean the usual place
<Netsu> DariusTh`: thanks!
<Netsu> BTW where should be compiler specified?
<Netsu> is nativeBuildInputs be enough?
<Netsu> the CC one
sigmundv has quit [Ping timeout: 258 seconds]
emptyfl41 has quit [Ping timeout: 258 seconds]
endformationage has joined #nixos
emptyflask has quit [Ping timeout: 245 seconds]
byteflam1 has quit [Ping timeout: 245 seconds]
<exarkun> is there an idiom for depending on / building a third-party package that includes an expression for its derivation? I am imagining something like "download the archive and import the expression from it somehow"
<emily> yes, it's called "import-from-derivation"
<emily> though some people consider it more of an anti-idiom (it's not allowed in nixpkgs)
dooms has joined #nixos
<emily> you can just use fetch* and then import the /default.nix or such, it works
turion has quit [Ping timeout: 244 seconds]
<exarkun> what else do people do? maintain a fork of nixpkgs w/ the software in-tree? contribute the software to nixpkgs upstream?
<emily> the alternative to IFD is to manually fetch the derivation yourself and then use it, basically
<emily> whether that's locally or in nixpkgs
<exarkun> ah
nexgen2 has joined #nixos
<dooms> evanjs-: ping
<exarkun> thanks
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @danieldk opened pull request #68152 → maturin: 0.7.1 -> 0.7.2 → https://git.io/fjj3s
turion has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
jgeerds has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 250 seconds]
alanz has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
emptyfl41 has joined #nixos
levdub has quit [Quit: ZNC - https://znc.in]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #68153 → Add cri-o service to modules → https://git.io/fjj3u
levdub has joined #nixos
emptyfl4sk has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
dbmikus has joined #nixos
ng0 has joined #nixos
emptyfl41 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #63330 → michabo: init at 0.1 → https://git.io/fjawa
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjj3o
levdub has quit [Client Quit]
nikivi has joined #nixos
nikivi has quit [Client Quit]
boxdot has quit [Quit: Leaving.]
byteflam1 has joined #nixos
zupo has joined #nixos
levdub has joined #nixos
levdub has quit [Client Quit]
nikivi has joined #nixos
nikivi has quit [Client Quit]
byteflam1 has quit [Ping timeout: 258 seconds]
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @fjallarefur opened pull request #68155 → carp: unstable-2018-09-15 -> 0.3.0 → https://git.io/fjj3h
levdub has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady has quit [Quit: Leaving]
alanz has joined #nixos
nikivi has joined #nixos
<betaboon> I'm currently trying to write tests for a new bootloader but it fails. is there a way to access the contents of the virtual disk that is created for the tests ?
selfsymmetric-mu has joined #nixos
<davidtwco> Are there any functions I can use to get only one directory from a derivation (`include` in my case)?
Myhlamaeus has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #68125 → postgresql: improve identMap description → https://git.io/fjhjg
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @craigem to master « postgresql: improve identMap description »: https://git.io/fjjsg
byteflam1 has joined #nixos
fendor has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<eraserhd> rycee: I had /home/jfelice/.config/karabiner -> /home/jfelice/src/dotfiles/karabiner/config/karabiner.symlink, with that last being a directory containing karabiner.json and some subdirectories.
byteflam1 has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
<eraserhd> At the point where I updated my NixOS config, I'd pulled changes from my dotfiles repo, removing `karabiner/config` and therefor `karabiner/config/karabiner.symlink`, but /home/jfelice/.config/karabiner symlink still existed.
<rycee> eraserhd: Right, I understand. I'll have a look at the HM code and see if I can improve the handling of this situation.
<eraserhd> rycee: ty!
<eraserhd> rycee++
<{^_^}> rycee's karma got increased to 16
polman has joined #nixos
<philipp[m]> I added a luarocks package to the csv file and ran the generation script. I guess both the csv and generation script should be in the same commit.
<philipp[m]> How is such a commit named?
<{^_^}> [nixpkgs] @vladdy opened pull request #68156 → cockroachdb: 1.19.1 -> 1.19.4 → https://git.io/fjjs9
<philipp[m]> Ah, seems like the other stuff just gets dropped from the commit message.
Myhlamaeus1 has joined #nixos
Myhlamaeus has quit [Read error: Connection reset by peer]
nexgen2 has quit [Remote host closed the connection]
nexgen2 has joined #nixos
<hyperfekt> I'm trying to package a binary that comes with a library in the same directory, how do I make sure it finds that?
Neo-- has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @mdorman opened pull request #68157 → jailbreak-cabal: updated package needs updated Cabal library → https://git.io/fjjGf
<{^_^}> [nixpkgs] @pstn opened pull request #68158 → Mudlet → https://git.io/fjjGJ
byteflam1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<hyperfekt> Weirdly it seems I can't just add the directory to the rpath used by patchelf...
Guanin has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #68110 → weechat: build with python3 by default → https://git.io/fjhQQ
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to master: https://git.io/fjjGY
domogled has quit [Ping timeout: 244 seconds]
judson__ has joined #nixos
doyougnu has joined #nixos
byteflam1 has quit [Ping timeout: 268 seconds]
judson has joined #nixos
<hyperfekt> cc infinisil since you're a maintainer and might be interested in getting minecraft packaged
byteflam1 has joined #nixos
nexgen2 has quit [Quit: Leaving]
<sphalerite> hyperfekt: minecraft is already packaged though..?
<hyperfekt> sphalerite: The launcher broke yesterday, it finally got too old
byteflam1 has quit [Client Quit]
domogled has joined #nixos
<hyperfekt> nixpkgs#68123
<{^_^}> https://github.com/NixOS/nixpkgs/issues/68123 (by shirona, 16 hours ago, open): minecraft: Launcher is stuck at "Preparing..."
Myhlamaeus1 has quit [Remote host closed the connection]
<sphalerite> hyperfekt: aaah ok
<sphalerite> hyperfekt: how does the patchelf thing not work?
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68159 → ipfs: 0.4.21 -> 0.4.22, use Go 1.12 → https://git.io/fjjG4
buckley310 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68160 → ghq: Migrate to buildGoModule, ensure go 1.13 compatibility → https://git.io/fjjGE
buckley310 has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
<sphalerite> hyperfekt: I guess as a workaround there's also multimc
domogled has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
siiky has quit [Quit: leaving]
siiky has joined #nixos
Phillemann has quit [Quit: WeeChat 2.5]
fendor has quit [Ping timeout: 245 seconds]
boxdot has joined #nixos
Myhlamaeus1 has joined #nixos
ris has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #68161 → python3.pkgs.python-jenkins: 1.4.0 -> 1.5.0 → https://git.io/fjjGd
ddellacosta has quit [Ping timeout: 245 seconds]
<hyperfekt> sphalerite: There's a library, liblauncher.so, that comes with the binary and apparently it's not being picked up.
<sphalerite> hyperfekt: how are you patching the RPATH?
o1lo01ol1o has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
mounty has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
qqlq has joined #nixos
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @vladdy opened pull request #68162 → dep: 0.5.1 -> 0.5.4 → https://git.io/fjjZL
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjZq
<{^_^}> [nixpkgs] @mmahut merged pull request #68131 → prometheus-process-exporter: init at 0.5.0 → https://git.io/fjjfs
o1lo01ol1o has joined #nixos
emptyfl4sk has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @AluisioASG opened pull request #68163 → python: google-auth: fix usage of pytest.warns in tests → https://git.io/fjjZO
domogled has joined #nixos
<boxdot> Is there a way to inject a variable in setup-hook.sh from the derivation which provides it?
<boxdot> I can't find an example for that.
<sphalerite> hyperfekt: hmm, that looks alright…
xkapastel has quit [Quit: Connection closed for inactivity]
npmccallum has quit [Quit: npmccallum]
fendor has joined #nixos
<{^_^}> [nixpkgs] @AluisioASG opened pull request #68164 → python: beancount: 2.2.1 -> 2.2.3 → https://git.io/fjjZB
o1lo01ol1o has joined #nixos
civodul has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
emptyfl4sk has joined #nixos
<hyperfekt> sphalerite: welp, i don't know exactly how it works but i fixed it
<sphalerite> hyperfekt: what did you change?
<{^_^}> [nixpkgs] @AluisioASG opened pull request #68165 → fava: 1.10 -> 1.11 → https://git.io/fjjZg
<hyperfekt> sphalerite: prefixed the RPATH with '.:$ORIGIN/' which the origin had, no idea why that works but my way didn't
<exarkun> I don't see anything in buildRustPackage for putting headers into the output ... anyone have any ideas about that? just write my own postInstall or something?
<sphalerite> hyperfekt: oh yeah, I think using . makes it use the directory you're executing from, not the directory where the executable is located
<sphalerite> hyperfekt: and $ORIGIN does the latter
<sphalerite> hyperfekt: so I think you should also remove .
<hyperfekt> sphalerite: Will do so, thanks :)
<{^_^}> [nixpkgs] @flokli merged pull request #67894 → caffeine-ng: use python3 and some other improvements → https://git.io/fjp88
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/fjjZK
alex`` has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
wfranzini has joined #nixos
mkoenig has quit [Remote host closed the connection]
<exarkun> is the pkg-config hook automatic if a package writes a pkgconfig directory? or do I have to invoke it?
mkoenig has joined #nixos
<simpson> It's automatic in all cases. I didn't even know that it was configurable or invokable directly.
<mdash> exarkun: you have to put it in buildInputs but I think that's all.
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
sebastien[m]1 has left #nixos ["User left"]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68166 → gotools: 2019-07-06 -> 2019-09-05 → https://git.io/fjjnO
xelxebar has quit [Remote host closed the connection]
<gyroninja> hyperfekt: Are you looking for the new minecraft launcher packaged?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xelxebar has joined #nixos
<hyperfekt> gyroninja: Nah, I'm currently trying to package it
<gyroninja> I already packaged it
<hyperfekt> oh.
<gyroninja> I posted a link to it in the github issue. Extract this tar.gz https://0x0.st/zLAg.gz and then it's in the minecraft folder
<gyroninja> These derivations are not polished, but I've been using them for months
<hyperfekt> I'll take a look at it, thank you :)
<hyperfekt> Mind if I make a PR with any amount of that file's contents?
<gyroninja> I don't mind. I gave it to infinisil 2 months ago hoping he would polish it and upstream it
<gyroninja> there's still some issues with it like the download path for the launcher and being independent from the nixpkgs repo
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #68167 → pythonPackages.requests-mock: 1.5.2 -> 1.7.0 → https://git.io/fjjnB
<azazel> is it sufficient to enable avahi in the configuration to have mDNS resolution?
<{^_^}> [nixpkgs] @jeroendehaas opened pull request #68168 → fmt: 5.3.0 -> 6.0.0 → https://git.io/fjjnu
<boxdot> During a built of a derivation how do I get derivation output path for writing it into a script?
<boxdot> Sounds like a recursion problem.
wfranzini has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 244 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
ky0ko has quit [Read error: Connection reset by peer]
<hyperfekt> boxdot: What exactly would you like? Just the location of a different, built derivation in the nix store?
<hyperfekt> boxdot: A reference to a derivation is automatically converted to its outPath when used as a path or a string.
o1lo01ol1o has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
<boxdot> I wanted to inject out path into a script. I found @out@ pattern now. However it is not really documented.
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #68169 → python3.pkgs.libcloud: 2.5.0 -> 2.6.0 → https://git.io/fjjno
<{^_^}> [nixpkgs] @jonringer opened pull request #68170 → [staging]pythonPackages.setuptools_scm: 3.2.0 -> 3.3.3 → https://git.io/fjjnK
zupo has joined #nixos
logzet has joined #nixos
<azazel> boxdot: why you say that, it is documented in the nixpkgs' manual
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @eliasp closed pull request #51803 → networkmanager: allow `iwd` as Wi-Fi backend → https://git.io/fp9wd
xkapastel has joined #nixos
danbst has joined #nixos
<boxdot> azazel: probably I missed it. I searched for @ the entire document.
<danbst> gyroninja: amazingly, but we were working on same topic. I've just posted the link https://gist.github.com/danbst/a335b93f515606975bc1e6425ce9fecb
<boxdot> ah, I am again in the wrong document. sorry for confusion.
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #67825 → i3lock-fancy: Bugfix, make scrot overwrite file → https://git.io/fjpJ4
<boxdot> its getting late.
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @Enteee to master « i3lock-fancy: Bugfix, make scrot overwrite file »: https://git.io/fjjnP
danbst has quit [Remote host closed the connection]
danbst has joined #nixos
<danbst> hi
<{^_^}> [nixpkgs] @rileyinman opened pull request #68171 → nodePackages.postcss-cli: init at 6.1.3 → https://git.io/fjjnD
<gyroninja> danbst: is that supposed to be a http instead of https for the first url in that?
emptyfl4sk has joined #nixos
<danbst> however launching all Minecrafts wasn't my intent. I plan to bake Forge into, with a couple of technomods
<danbst> gyroninja: the only http:// link has SHA1 hash checks
<danbst> but dunno, https:// works as well
<gyroninja> for the access token can you just read it out of there .minecraft?
<hyperfekt> danbst: That's very cool.
<danbst> I'm not sure it's possible to play on real realms with that launcher. But it doesn't have time-limit in Solo, which is also kool
<danbst> as far as I understand, accessToken is obtained through auth subsystem, so this should be implemented using Mojang API
<danbst> :)
<gyroninja> well yeah, if you wanted to be entirely independent from the actual minecraft launcher you'll need to add support for authentication
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos
doyougnu has quit [Ping timeout: 250 seconds]
wfranzini has joined #nixos
<hyperfekt> gyroninja: Did you find that you had to use LD_LIBRARY_PATH instead of patching the rpath? It seems it can't find libcurl without it...
shibboleth has quit [Quit: shibboleth]
<clever> danbst: multimc handles forge, mods, and auth for you
gh30rgh3 has left #nixos ["User left"]
hc has joined #nixos
<danbst> clever: multimc requires Mojang account, and I don't have it :/ Also, I wanted to deploy MC clients using Nix
<gyroninja> hyperfekt: I'm sorry, I don't really remember. I made these 3 months ago.
<hyperfekt> gyroninja: Haha that's fine, I just found it curious.
adamantium has joined #nixos
turion has quit [Ping timeout: 246 seconds]
<clever> danbst: multimc has an option to play offline
avn has quit [Read error: Connection reset by peer]
turion has joined #nixos
<clever> danbst: which also lets you fake the player name
avn has joined #nixos
ixxie has quit [Ping timeout: 258 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asymptotically has quit [Quit: Leaving]
Ariakenom has quit [Quit: Leaving]
dasj19 has quit [Quit: dasj19]
WhittlesJr has joined #nixos
knupfer has joined #nixos
mrCyborg has quit [Read error: Connection reset by peer]
laalf has quit [Quit: No Ping reply in 180 seconds.]
mrCyborg has joined #nixos
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #68172 → xmlroff: 0.6.2 -> 0.6.3 → https://git.io/fjjcT
laalf has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #68173 → gitg: 3.32.0 -> 3.32.1 → https://git.io/fjjcL
<WhittlesJr> I noticed that my nixos-install is building a ton of packages and it's taking forever. I have NIX_PATH=nixpkgs=<something close to master>, at a commit that's supposedly done building according to hydra. Is there something special about the live CD enviornment? Should I just build from whatever channel it comes with and then upgrade after booting?
<WhittlesJr> *nixpkgs=<a local clone of nixpkgs, close to master>
orivej has quit [Ping timeout: 246 seconds]
<clever> WhittlesJr: does the machine have network access?
<exarkun> How do I get, eg, zlib.h into stack's search path on nixos? one answer is to use stack's built-in nix integration but that has some drawbacks (doesn't help me much if I want to get another project that's not in nixpkgs onto the search path). stack docs say "write a shell.nix" which seems fine .. but I did, and pkg-config knows about zlib, but stack still can't find it.
<craige> I've got a nix scenario where I need to check if a path exists, create it if it doesn't then drop a file there. I've been looking for the "right" Nix way to do this but I've only been finding `withScript` examples. Is `withScript` the best way to go about that?
<WhittlesJr> clever: It does, and it did download about 8GB of packages. Strange that it would want to build 2,155 packages on its own.
<clever> WhittlesJr: did you mess with the binary cache config any? is the date set right?
growpotkin has joined #nixos
<symphorien> craige: if the path in question is not below $out, it must be done with a nixos module
<symphorien> You can't write outside $out with nix derivations alone
<craige> It's definitely not below $out - thanks for the direction symphorien
<WhittlesJr> clever: Not to my knowledge, and yes the date is correct. I'm going to try getting my config to work with 19.03 and boot into that
<clever> WhittlesJr: can you give an example of a storepath its trying to build?
<{^_^}> [nixpkgs] @aanderse merged pull request #62754 → imagecodecs-lite: init at 2019.4.20 → https://git.io/fjuxE
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjjc0
<craige> disasm: as a Gitea maintainer, are you aware of any method to drop in the custom logo? If there's not, I'll look at writing a way to do that and pushing it up.
<WhittlesJr> clever: I don't have access to the full storepath anymore, but I do remember it tried to build gcc
<clever> WhittlesJr: that definitely sounds like the binary cache didnt work
<WhittlesJr> clever: maybe I goofed something. I'll try again from scratch.
<{^_^}> [nixpkgs] @hyperfekt opened pull request #68175 → [WIP] minecraft: 2015-07-24 -> 2.1.5965 (closes #68123) → https://git.io/fjjc6
<hyperfekt> gyroninja: Thanks again for sharing your derivation, I wouldn't have found out some libraries have to be in $LD_LIBRARY_PATH without it.
Myhlamaeus1 has quit [Remote host closed the connection]
<WhittlesJr> clever: still wants to build 2000 packages. Is there something wrong with my approach? I just overwrote nixpkgs=... in NIX_PATH in the live CD, and kept the rest of NIX_PATH the same.
<clever> WhittlesJr: grab one of the .drv files it wants to build, and run `nix-store --query --binding out /nix/store/foo.drv`
<clever> WhittlesJr: what path does it output?
mexisme has joined #nixos
<WhittlesJr> clever: you mean what it's building in /mnt/nix/store? Is there a way to run nix-store on that?
<clever> WhittlesJr: add --store local?root=/mnt/
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @adisbladis opened pull request #68176 → Drop unsupported go versions 1.10 and 1.11 → https://git.io/fjjcF
adamantium has quit [Ping timeout: 245 seconds]
<hyperfekt> ,locate libfliteWrapper.so
<{^_^}> Couldn't find in any packages
<WhittlesJr> clever: Not sure if this means anything, but I'm seeing two .drvs, .locks, and .tar.gz.drvs for each given package. Querying each produces a different store path.
<clever> WhittlesJr: i just need the output for a single drv, ignore and lock and tar files
<WhittlesJr> ok, for libunistring-0.9.10.drv, I get /nix/store/q45f8b6wp4bynxbrlw2rjqjq9g5k47yb-libunistring-0.9.10
<WhittlesJr> assuming I typed that right. I could grab a thumb drive if you need it to be definitely exact.
<clever> WhittlesJr: what happens if you run `nix-store -r /nix/store/q45f8b6wp4bynxbrlw2rjqjq9g5k47yb-libunistring-0.9.10` ?
<WhittlesJr> clever: it returns that path
<clever> then thats not something it needs to build
<clever> its already built
<clever> try again with a .drv its actually building
<WhittlesJr> Is there a way to tell exactly what path it's building? the output is truncated with nixos-install
<clever> ctrl+c it right after it starts to build, and scroll up some
<clever> or look at the .drv's that have .lock files, but run the query on the version without .lock
boxdot has quit [Read error: Connection reset by peer]
selfsymmetric-mu has quit [Remote host closed the connection]
<WhittlesJr> Well, there's no output to scroll up to with nixos-install (as opposed to how nixos-rebuild prints), but I tried the other .drv and I get "don't know how to build these paths."
teej has quit [Quit: Connection closed for inactivity]
<clever> WhittlesJr: what is the output for one it cant build?
<WhittlesJr> clever: Not much, just "don't know how to build these paths: \n <the path> \n error: build of <path> failed."
<clever> WhittlesJr: what is said path?
logzet has quit [Ping timeout: 264 seconds]
<aminechikhaoui> is there some docbookfmt tool ?
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.26.2 -> 1.27.1 »: https://git.io/fjjCO
<aminechikhaoui> oh maybe I just need an xml format tool
<WhittlesJr> clever:
<WhittlesJr> nix-store --query --binding out --store local?root=/mnt/ /nix/store/0ryx7yazgpnpikrmgidxzrv4xpkgjjg4-libunistring-0.9.10.drv
<WhittlesJr> zs8ljz6fpd35qcwmannrxj4dbm3-libunistring-0.9.10
<{^_^}> [nixpkgs] @primeos opened pull request #68177 → [19.03] signal-desktop: 1.26.2 -> 1.27.1 (backport) → https://git.io/fjjCZ
fendor has quit [Quit: Leaving]
<clever> WhittlesJr: for a different path, something not libunistring
<WhittlesJr> clever: It is actually building libunistring though, you do want a .drv that it's currently building, right?
<clever> WhittlesJr: thats strange, definitely sounds like a bug
<WhittlesJr> hmm
<WhittlesJr> I'll try the channel for now then. If you have an idea for a good minimal reproduction case, I can try investigating further
danbst has quit [Ping timeout: 260 seconds]
_ris has joined #nixos
<clever> WhittlesJr: yeah, you can always change the nixpkgs after it installs
orivej has joined #nixos
dansho has joined #nixos
ris has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68137 → vscod{e,ium}: 1.37.1 -> 1.38.0 → https://git.io/fjjLl
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjjCg
spease has joined #nixos
<spease> OS X question: Has anyone been able to install docker and get the daemon running just through nix? Or do you have to use the regular installer? I was able to get just the docker command, but it complains the daemon isn't running
dycan has quit [Ping timeout: 268 seconds]
ardumont has quit [Ping timeout: 252 seconds]
growpotkin has quit [Ping timeout: 258 seconds]
ardumont has joined #nixos
WhittlesJr has quit [Remote host closed the connection]
growpotkin has joined #nixos
growpotk- has joined #nixos
<clever> spease: docker technically cant run on osx or windows, behind the scenes, its just launching a linux VM, and running docker inside that
<growpotkin> My machine is periodically locking up. I suspect `brave` browser might be to blame; but I also got new RAM cards a few weeks back. Could anybody suggest a good logging daemon/service to help me find the culprit?
<clever> growpotkin: id enable and run memtest first
<clever> growpotkin: boot.loader.grub.memtest86.enable = true;
<ivan> growpotkin: can you ssh in after it locks up?
o1lo01ol1o has quit [Remote host closed the connection]
doyougnu has quit [Quit: WeeChat 2.4]
<ldlework> clever: even though the mini-hyper-v that supports WSL2 on Windows is technically a VM, it's gutted as to provide direct compatibility between the linux and windows kernel and so is more of a container. Within WSL2 you can run native linux docker against the linux kernel.
<ldlework> Also windows containers are a thing now.
<clever> ldlework: ive heard horrors about how windows handles multiple desktops
<clever> ldlework: everything gui related, was a global kernel variable, so when you context switch between different processes, it has to swap out every single global var, to deal with multiple desktops (like RDP on another user)
ng0 has quit [Quit: Alexa, when is the end of world?]
growpotkin has quit [Ping timeout: 245 seconds]
<ldlework> i don't know what multiple desktops feature you're referring to, but I didn't mention it
<clever> i can see it being semi-related to containers
<clever> basically think of it like running a 2nd Xorg on :1 and :2
philr has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<ldlework> i don't think Microsoft implemented their native container support ontop of their multiple desktop implementation ngl
<clever> but they may have had just as many global vars laying around, that forced them to make just as ugly of an implementation
growpotkin has joined #nixos
<emily> given that a container is basically literally a VM without a kernel, what on earth does it mean to describe a linux VM as "more of a container"?
<ldlework> exactly what you just said?
<clever> containers are more about swapping out the pointer to the list of something
<ldlework> there's no thick virtualization going on, while yet, there still is some
<clever> for example, on linux, a process namespace, just changes the table for the process list
<emily> what is "thick virtualization"?
<clever> so you can only see a subset of them
<ldlework> the hyper-v behind WSL2 isn't technically a container, but it is a very thin VM, where MOST of the support comes directly from the windows kernel rather than a virtualization laye
<clever> a mount namespace just changes the pointer for what / is
<ldlework> I didn't mean to offend your sensibilities with my description.
<clever> ldlework: that reminds me of colinux, have you heard of that before?
<emily> I just don't think it makes any sense
<ldlework> emily: do you write software?
<emily> ...yes?
<ldlework> OK so then why do I have to explain the difference between a significant intermediary layer, and a thin pass through layer?
polman has joined #nixos
<ldlework> And how the layer between the linux kernel and the windows one, in WSL2's mini-hyper-v, is mostly a pass through, but requires heavy support in areas?
<emily> I assume what you mean is that it uses paravirtualized drivers for IO or something, which Hyper-V has supported for a long time now. But the actual virtualization layer still uses Hyper-V and still uses all the same hardware virtualization support, so it doesn't really have anything to do with container support... but, eh, this doesn't really matter
selfsymmetric-mu has joined #nixos
<ldlework> The Hyper-V behind WSL2 specifically is heavily modified, in the ways I just described.
<ldlework> Feel free to read about it if you're confounded by reporting.
<clever> ldlework: colinux, is basically a fork of linux, that will impersonate a windows driver, without needing any hypervisor (it was made in the days before hardware vm extensions)
<ldlework> my reporting*
<ldlework> clever: neat, never heard of that.
<clever> ldlework: when linux needs to schedule a timer, it will use the windows kernel timer subsystem
<clever> ldlework: and windows things colinux is a network driver, so when packets arrive for linux, it runs a function in the "driver" to handle the packet
<clever> ldlework: and because the driver is in kernel space, it will just take the entire CPU hostage, and start running linux!
<simpson> spease: To answer your original question, no, I think that you'll have to install Docker for Mac without using Nix.
<clever> when linux is done, and wants to "idle" the cpu, it will restore the state, and just do a normal return, back into the windows kernel
<clever> ldlework: so in the end, windows thinks colinux is a network driver, that hogs a lot of cpu time, and needs 3gig of ram
<ldlework> ok
<clever> but, it never got multi-core support, so linux could only use a single core of the machine
__monty__ has quit [Quit: leaving]
<clever> and it only worked on 32bit windows kernels
<clever> nobody bothered to port it to 64bit windows
<clever> since proper vm's existed by that point
<ldlework> i'm able to run many WSL2 instances and don't see much resource abuse
<ldlework> nothing that isn't completely and utterly overshadowed by Rider and Chrome :D
knupfer has quit [Ping timeout: 264 seconds]
<ldlework> Heh there's an issue I'm tracking on the nixos where someone is trying to get NixOS onto the Windows Store
<ldlework> nixos github*
<clever> i did briefly look into how the old WSL worked, and how to get other OS's into it, and it was pretty ugly
<clever> something about how you need a special ntfs attr on every "linux" file, and windows explorer (along with nearly every fs tool out there) cant make them, and destroy them when copying
<clever> so, you must install ubuntu, then use the linux tar to unpack the rootfs within WSL
<clever> then use an atomic rename in explorer, to swap the rootfs dirs
<clever> and last i looked, you only had 1 rootfs dir, so you cant really play around much
<ldlework> Yeah, I tried WSL and I didn't like it either. It was a slight improvement over git-for-windows, but git-for-windows (and it's bash toolchain etc) were just a Windows Install Wizard away. It was just too easier.
<clever> another problem, with anything hyper-v based, is that hyper-v needs vm extensions in the cpu
<clever> and my main windows system, is in virtualbox
<clever> nested virtualization is bad
<ldlework> But I've been working on a huge Dotnet Core project so I've been testing and doing some development on Windows just to make sure everything I do on linux transfers over
<ldlework> I got the project to the point where we just ended up standardizing everything for Linux, because we have all the steps for a Windows user to use WSL2 to get a fully compatible environment
<ldlework> And all our build stuff is Nix-based.
<ldlework> So Windows users can use Nix, in Ubuntu, in WSL2 on Windows to get the same result as anyone using just normal Linux. It's pretty nice and I'm happy with the result.
<ldlework> I think my #1 complaint with WSL2 is that file-transfer over the vdisk boundries is slower than native but they've put out two blog posts saying they're working on it directly.
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
mexisme has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
bikki[m]1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
dycan has joined #nixos
mexisme has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> hey
mbrgm_ has joined #nixos
<fresheyeball> so I have 2 machines in my house that build stuff
<fresheyeball> my workstation
<fresheyeball> and a dedicated build slave in the basement
<fresheyeball> I want them to kinda 'share' their nix stores
<fresheyeball> so that if it built on my workstation my basement gets it for free
<fresheyeball> and vice versa
<fresheyeball> doable?
<fresheyeball> how do?
<fresheyeball> I just want to get pointed in the right direction so I can run on my own for a bit
<clever> fresheyeball: register each as a binary cache for the other
<clever> fresheyeball: nix.sshServe.enable is one option
<fresheyeball> clever: what would that look like?
<fresheyeball> ok
hodlwave_ has left #nixos ["WeeChat 2.5"]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<clever> then just add the ssh://user@host to the binary cache list
<fresheyeball> I tried that a few moons ago, and could not get it working
<fresheyeball> something about signing the packages
<clever> ah right
<clever> secret-key-files = /etc/nix/signing.sec
<fresheyeball> after like 8 hours of effort I gave up
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67115 → postman: 7.0.7 -> 7.6.0 → https://git.io/fjb4b
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjjWW
<clever> and look at the generate command in `man nix-store`
<fresheyeball> hmm
<fresheyeball> ok sec
<clever> give each machine its own keypair, and trust the public of the other
<fresheyeball> clever: also I owe you something
polman has quit [Ping timeout: 245 seconds]
<clever> secret-key-files goes into nix.conf, via nix.extraConfig
<fresheyeball> not sure what, but I would love to buy you a beer at the least
VaNilLa[m] has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
dbmikus has quit [Ping timeout: 245 seconds]
<clever> ive never drunk any alcoholic beverage
<fresheyeball> mountain dew?
<clever> no alcohol in that, as far as i know
mexisme has quit [Ping timeout: 264 seconds]
<fresheyeball> clever: a suprising result
<fresheyeball> I ran --generate-binary-cache-key
<fresheyeball> and it made 2 empty files
<clever> did you give it a hostname also?
<fresheyeball> yes
<fresheyeball> I gave 3 params
<clever> works on this end
<clever> what exact args did you use?
<fresheyeball> nix-store --generate-binary-cache-key dunlap dunlap-secret dunlap-public
<fresheyeball> also
<fresheyeball> nix-store --generate-binary-cache-key 192.168.1.10 dunlap-secret dunlap-public
<fresheyeball> blank files either way
polman has joined #nixos
schjetne has joined #nixos
<fresheyeball> oh suffix
<fresheyeball> erp still no
<fresheyeball> nix-store --generate-binary-cache-key dunlap-1 dunlap-secret dunlap-public
<fresheyeball> no better
<fresheyeball> GRRRR
<clever> run it with strace
<clever> write(3, "dunlap-1:4lzFs1Psk1Sq4SPSRFberfL"..., 97) = 97
<clever> fresheyeball: are you sure the files are empty? what does `less` say about them? (also the secret is in the pastebin, make a new pair)
wildtrees has quit [Quit: Leaving]
<fresheyeball> unholy!
<clever> fresheyeball: there is no \n at the end of the file, some shells are dumb and overwrite the `cat public` with your prompt
schjetne has quit [Ping timeout: 246 seconds]
<fresheyeball> less shows content and cat does not!
<clever> your shell is to blame
<fresheyeball> WTF!
<fresheyeball> how?!
<clever> the shell starts its prompt with \r, which rewinds to the start of the line
<clever> and the file didnt end with `\n`, so the cursor was still on the same line as the output
<fresheyeball> ok so I have the files then
<clever> the default nixos prompt starts the prompt with \n to prevent such issues
<fresheyeball> clever: you said I need to reference these in nix.conf?
<clever> other distros dont have \n or \r, so the prompt turns into: dunlap-1:4lzFs1Psk1Sq4SPSRFberfL[root@amd-nixos:~]#
<clever> which can be even more ugly :P
<clever> yeah, the secret has to go into secret-key-files in nix.conf
<fresheyeball> well I am generating a new one
<clever> then nix will sign everything it generates
<fresheyeball> clever: I don't have a nix.conf I don't think since I am on nixos
jtojnar has quit [Quit: jtojnar]
<clever> then create one
<fresheyeball> is there no way to do it in configuration.nix?
<clever> oh, i read that as "not nixos"
<clever> nixos does have a nix.conf, its in the same place, /etc/nix/nix.conf
<clever> 2019-09-05 20:40:03 < clever> secret-key-files goes into nix.conf, via nix.extraConfig
hodlwave has joined #nixos
<VaNilLa[m]> hi all! I'm intrigued by the idea of using nix for a CI
<simpson> VaNilLa[m]: Nix can be part of a CI pipeline, sure.
jtojnar has joined #nixos
<fresheyeball> clever: ok key added
<fresheyeball> sweeet
<VaNilLa[m]> so I'm trying to set up hydra in a VM of arch (since my "production server" runs arch). However, "hydra" is missing from the regular nix channel, and I see on github that nix-build should be installed instead. Installing nix-build didn't add any of the hydra commands listed in the manual. I found that hydra is in the NixOS-19.03 channel, added it, and tried to install hydra. However, nix-build conflicts with hydra....