gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<kleisli> running nix-shell fails to find the package, could anyone suggest how i might fix this?
<slack1256> I am using systemd with the unified cgroup hierarchy (v2). The only cgroup.controllers available on the {system,user}.slice are "memory pids". How do I enable via configuration.ni also "cpu io"?
<selfsymmetric-mu> kleisli: You know what? I'm surprised I've never questioned that before. But I have no channels in my user account and yet I can run nix-shells as user. I'm only subscribed to channels as root.
Rusty1 has joined #nixos
<selfsymmetric-mu> I do: `let pkgs = import <unstable> {};`, and that lets me use packages from unstable.
<selfsymmetric-mu> `unstable` is the name of that channel on my root. Honestly I'm not sure why that's the case...
<kleisli> yes, that was my configuration prior today @selfsymmetric-mu
<kleisli> prior to today*
<kleisli> oh that's odd, i think the default name is nixos https://nixos.org/channels/nixos-18.09
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
davehunt24 has joined #nixos
davehunt24 has quit [Remote host closed the connection]
<selfsymmetric-mu> I'm going to have a bit of a gripe now. NixOS to me feels like the only correct OS in the sense of "declarative configuration". But the fact that the standard ways of doing things are rife with global variables, and a general lack of denotational semantics, really bums me out.
<selfsymmetric-mu> Going about things in the usual way gives one the feeling that the operating system is horribly designed. I think it could be saved by an effort to document denotational ways of doing things. `overrideAttrs` over `override`, for example.
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<kleisli> how does nix find <nixpkgs> or <unstable> in the first place?
<gchristensen> it looks in dirs in $NIX_PATH
<selfsymmetric-mu> See, that's a perfect example of what I'm talking about. Why can't I just define the location in my config?
<iclanzan> :q
iclanzan has quit [Quit: leaving]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
alex`` has quit [Quit: WeeChat 2.4]
<adamt> selfsymmetric-mu: What location?
<adamt> selfsymmetric-mu: You can configure NIX_PATH however you want, if that's what you're talking about
<slack1256> denotational semantics is something connal always talk but is so curbersome nobody can do not toy examples
npmccallum has joined #nixos
<simpson> selfsymmetric-mu: Think of shell environment variables, like NIX_PATH, as keyword/named arguments to the commands being invoked.
<selfsymmetric-mu> adamt: Oh, it's certainly powerful enough. I'm just talking about readability. slack1256: Okay, let's just talk about discoverability and locality of definitions, since that's less controversial. What I mean is that a new user can look at `pkgs.gcc` in an example config and understand implicitly that they can also put `pkgs.perl`. But they don't know what `pkgs` is, where it comes from, or how to replace it, without looking at
<selfsymmetric-mu> documentation outside the config.
__monty__ has quit [Quit: leaving]
<jackdk> documentation? I still have to grep nixpkgs to find many things, though I'm starting to get a handle on how things are laid out
<selfsymmetric-mu> If pkgs were declared in the config as a part of a channel with a url, then it becomes immediately obvious and none of these questions would be asked. That's just one example.
<selfsymmetric-mu> Does that make sense? It's a discoverability thing for me.
<adamt> selfsymmetric-mu: The naïve way of doing that would cause a bootstrapping problem (you need pkgs to get pkgs), but I think somebody mentioned using import '<foo>' magic to do the bootstrapping. But yeah, nix is very magical in many places
<slack1256> Mmm I guess making `nix repl` more accesible is low-hanging fruit for a great gain
<selfsymmetric-mu> Yeah. don't want to appear ungrateful; I will note that this is still better ceteris paribus than installing an OS operationally and maintaining a bunch of dotfiles.
<adamt> ceteris paribus? You sure are fond of fancy words. :P
<selfsymmetric-mu> slack1256: I think you might be right. I'll make sure that I learn `nix repl` more properly. It'll probably help me out.
<selfsymmetric-mu> Ah, they're not that fancy, they're just well worn. :P
<adamt> selfsymmetric-mu: If you have suggestions, try to hack something together and create a PR to get some discussion going. The nixos community is usually very friendly :-)
Borg20 has joined #nixos
Borg20 has quit [Read error: Connection reset by peer]
<selfsymmetric-mu> adamt: Will do! I have to get my feet under me first. I'm working on my second PR now but I'm a bit stuck. I submitted it two months ago but it's been in review limbo...
<selfsymmetric-mu> It's super nice on IRC, but there's not a critical mass of mentors yet when it comes to submissions. Hopefully it'll get there someday but it feels like the community is still getting up to speed.
rcshm has quit [Read error: Connection reset by peer]
rcshm_ has joined #nixos
<adamt> If you feel stuck or ignored about a PR, try mentioning it here. It sometimes help.
<selfsymmetric-mu> Thanks! If you have eyes to spare it's https://github.com/NixOS/nixpkgs/pull/54443.
rcshm_ has quit [Read error: Connection reset by peer]
<{^_^}> #54443 (by matthew-piziak, 9 weeks ago, open): add textlint rules and plugins
rcshm has joined #nixos
Fare has joined #nixos
judson_ has quit [Ping timeout: 250 seconds]
<adamt> selfsymmetric-mu: I'm both too tired and too lacking in knowledge about node/npm to be any useful here ;-)
orivej has joined #nixos
<selfsymmetric-mu> Hah, I feel you there. I'm having the same issue. I don't know NixOS and I don't know npm so I don't know where to begin when it comes to connecting them together.
<selfsymmetric-mu> But thank you for taking a look anyway.
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<blackriversoftwa> colemickens: you there?
<jackdk> adamt you don't want to know how many times I had to retype that URL because Firefox kept autocompleting it from history with the full stop appended
<adamt> I've spent a few hours getting my java project to build with nix. Some tool chains are just really, really difficult to get to behave nicely (like, not randomly downloading stuff).
<adamt> jackdk: Heh, weechat didn't include the . in the url when I clicked it. :P
<jackdk> and unfortunately I don't know enough about npm to help
<{^_^}> [nixpkgs] @Infinisil closed pull request #55985 → inter: 3.1 -> 3.3 → https://git.io/fh57k
<selfsymmetric-mu> jackdk: Sorry about that. >_<
<adamt> selfsymmetric-mu: Anyways, good luck. Hope you'll stick around. Nixos is great but sure takes some time to learn, and even more time to appreciate the ability to just dig around the nix files and hack away.
<blackriversoftwa> colemickens: I've decided to stop appeasing cloud-init in its tantrum, and just generate a nixos module from the JSON metadata
<kyren> selfsymmetric-mu: you may already be aware of this, but there are ways to reduce the number of magical external variables that influence a build, for example you can now do pretty easy nixpkgs pinning: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
slack1256 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7fcf2999385 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ed8b959e17b (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
ilmu has joined #nixos
<kyren> selfsymmetric-mu: this way you avoid channels entirely, in fact I actually really don't like channels so I have my entire system built this way so that it always references a specific nixpkgs version, I think the tooling and discoverability of this is pretty poor right now, but it's my understanding that this will possibly become more accessible with "nix flakes", whenever that is implemented?
Ralith_ has quit [Quit: Lost terminal]
<kyren> but you can get by without channels at all, and it's what I do
<{^_^}> flakes defined
<selfsymmetric-mu> kyren: Wow, thank you!
rcshm has quit [Remote host closed the connection]
<adamt> selfsymmetric-mu: We're using the same mechanism at @dayjob to pin nixpkgs on all servers, it works great.
<kyren> infinisil: thank you, was trying to find that
rcshm has joined #nixos
<aanderse> gchristensen: any idea what held back https://github.com/NixOS/nixops/pull/665 ?
<{^_^}> nixops#665 (by grahamc, 1 year ago, open): Support multiple versions of nixpkgs in one network
<gchristensen> it would be very very slow
fusion809 has joined #nixos
<aanderse> ah
ilmu has quit [Ping timeout: 245 seconds]
<kyren> selfsymmetric-mu: but I also do something similar with my workstation and servers, I don't even put their configuration.nix in /etc/nixos or anything, I've actually kind of built a janky nixops if I'm honest, but the point being that you don't actually *need* channels and they're confusing and there are alternatives and people are looking for better presentations of this
<aanderse> and are you using different versions of nixpkgs on different networks, on the same nixops host?
<gchristensen> not anymore
<infinisil> gchristensen: Why is it so slow?
<aanderse> heh
<aanderse> infinisil: you know your issue about speed?
<gchristensen> scoped import eliminates thunk caching I think
<aanderse> thats just with 1 machine
<aanderse> imagine with 50 machines
<aanderse> thats my guess, at least
<infinisil> (#57477)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/57477 (by Infinisil, 2 weeks ago, open): `nixos-rebuild --switch` too slow, tracking issue
<infinisil> aanderse: Yeah nixops is already slow, but I interpreted this as "slower than nixops is already"
<aanderse> yeah i'm trying to figure out the best way to split my network up
<aanderse> pretty small so far, only ... ~20 boxes
<infinisil> aanderse: The worst rebuild times come from when each of those 50 machines depends on every other machine, then it would be about 2500 times the normal nixos-rebuild time :P
<aanderse> but if that number gets up to 50 or 100...
<adamt> Even at 20 machines the eval time with just a single pkgs can be zzzz. :-)
<aanderse> adamt: my solution to that has been more cpus so far
<aanderse> i'm not saying it is fast
<aanderse> but it is acceptable
<adamt> aanderse: My problem seem to be lack of memory. I need to replace this 12GB toy.
<infinisil> Hmm, does nixops eval machines in parallel?
ericsagnes has quit [Ping timeout: 246 seconds]
<aanderse> adamt: yeah so far i think i'm 4 core 8 gb on the nixops machine
<infinisil> I think it definitely should be able to, but I'm not sure it does
kleisli has quit [Ping timeout: 268 seconds]
<aanderse> not fast, but not too bad so far
<aanderse> currently using 2 nixops servers, each with those specs
<adamt> infinisil: It uses the same eval mechanism as our tool (well, we stole eval-machines.nix, so..), and in theory it should be possible, but we managed to introduce something that causes all evals to be seriel. And no idea about what causes it.
<adamt> =/
<aanderse> i want to drop the second nixops server and double the specs on one
<infinisil> adamt: That's unfortunate
<aanderse> but i haven't got around to pinning nixpkgs per network (or at all) yet
<adamt> aanderse: Why do you need servers specifically for nixops? And why can't you host multiple networks on the same box?
<aanderse> adamt: i need a server for nixops because of shitty internal policy... and i'm the only guy on the team running linux :)
<aanderse> i definitely *can* host the multiple networks on the same box, but haven't got around to it yet
<adamt> internal politics \o/
<aanderse> i definitely didn't know enough *how* to set different channels per network when i first setup setup nixops
<aanderse> and now... i see a wiki article that doesn't feel complete enough for me to get around to it yet
<aanderse> if you have concrete examples of 2+ networks using different channels you'd like to share i would appreciate, though :)
<selfsymmetric-mu> adamt: kyren: Thanks for telling me about this! I'm happy to hear there are initiatives like this! I just read through the flakes proposal and it looks great. It seems to be a better manifestation of the spirit of Nix.
<aanderse> and less politics, more policy/coworkers using windows so can't run nixops locally
<adamt> aanderse: Catch me tomorrow if you don't find out before, we have some ugly scrips that automates some of the work with the setup on kyren's link
<selfsymmetric-mu> I put my `configuration.nix` under version control and keep it in a special user location. So pinning, without channels, sounds like a good solution for me.
<aanderse> i think i joined too late.. kyrens link?
<selfsymmetric-mu> ,flakes
<selfsymmetric-mu> Hm did I do that wrong?
<infinisil> selfsymmetric-mu: The bot did reply with the link, so no?
<selfsymmetric-mu> Oh no I just added `{^_^}` to fools and forgot about it.
<selfsymmetric-mu> Sorry bot! You're doing great.
<selfsymmetric-mu> Hm, what the heck I think I'll give pinning a whirl right now.
<infinisil> Pinning is great and you should use it for all nix projects :)
<aanderse> adamt: ah yeah that is the article i was looking at. my noobness shows in that i don't understand how that works, or explicitly where to put it in my nixops network :)
<kyren> selfsymmetric-mu: I have probably similar ugly scripts to adamt, the idea being that you can keep a nixpkgs rev in version control along with your configuration, and update it relatively painlessly
<selfsymmetric-mu> And what do the ugly scripts do, approximately?
Mr_Keyser_Soze has joined #nixos
<adamt> selfsymmetric-mu: We use this one for creating a json file with url, git commit, hash: https://pastebin.com/8tuuekiU
<selfsymmetric-mu> Thanks!
<kyren> selfsymmetric-mu: I have a 'versions' file that is associated with every machine that is filled with NIXPKGS=<url> and NIXOS_MAILSERVER=<url> that gets source by scripts, and I have another script that updates the url based on git ls-remote, it's SUPER jank, whatever adamt does is probably better
<adamt> And then we import this, which loads the json file, and returns pkgs: https://pastebin.com/5TxPLgK7
<selfsymmetric-mu> I think this is an elegant description of how to do pinning for typical users: https://stackoverflow.com/questions/48831392/how-to-add-nixos-unstable-channel-declaratively-in-configuration-nix
<kyren> as an example, whatever it needs to reference, NIXOS_MAILSERVER was just an example
<kyren> then I have more scripts that pass those environment variables in via -I flags (and all invocations of nix commands have NIX_PATH cleared before calling)
<adamt> Lastly all our networks import nixpkgs like this: pkgs = import ../common/nixpkgs.nix { version = "19.03"; };
<adamt> kyren: I wouldn't be so sure my setup is better, but it's certainly much different to yours
<adamt> :P
<kyren> I'd share my system-config git repo but it's full of SECRETS
<adamt> I'd share my system-config git repo but it's also full of SECRETS
<selfsymmetric-mu> Oh totally, mine too. XD
<samueldr> get yer secrets out, nuke the history and share! :)
<adamt> samueldr: Yes, I'm sure everybody wants to crawl through almost 13k lines of Nix from strangers on the interwebs :P
<samueldr> I'm sure we're missing a bunch of interesting configs here https://nixos.wiki/wiki/Configuration_Collection
<jackdk> adamt I do that all the time. It's called nixpkgs ;-)
<adamt> jackdk: Actually nixpkgs is like 1.5M lines according to my unscientific find + cat + wc
selfsymmetric-mu has quit [Remote host closed the connection]
d10n-work has quit [Quit: Connection closed for inactivity]
<colemickens> I unset NIX_PATH and have nixpkgs pinned: https://github.com/colemickens/nixcfg/blob/master/configurations/xeep.nix
<kyren> adamt: a bunch of it is programmatically generated
<colemickens> with an obnoxious little thing that either uses pinned nixpkgs or ~/code/nixpkgs if it exists
hamishmack has joined #nixos
<adamt> kyren: I'm only counting .nix-files. Which of them are generated? Just curious
<kyren> there are some nix files that are generated iirc, wait maybe I'm wrong
<adamt> If anybody has decent tools for generating nix i'm very interested :-)
laalf has quit [Quit: ZNC 1.7.2 - https://znc.in]
Laalf_ has joined #nixos
<kyren> adamt: for example, pkgs/development/haskell-modules/hackage-packages.nix
Mr_Keyser_Soze has quit [Ping timeout: 268 seconds]
<kyren> also pkgs/applications/editors/emacs-modes/melpa-generated.nix
<adamt> kyren: hackage-packages.nix -- what a beast. That's 1/6 of entire nixpkgs right there.
NeilHanlon28 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #58512 → solr: init at 8.0.0 → https://git.io/fjTKC
NeilHanlon28 has quit [Remote host closed the connection]
Laalf_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> adamt: I'm interested in what part hackage-packages takes up in a full git checkout..
<adamt> infinisil: What are you thinking about specifically? ~250k/1.5M based on the nixos-19.03 branch
<adamt> or do you mean accumulated disk usage due to the entire file getting rewritten? :P
<infinisil> The latter
<infinisil> Like, how much percent of the bandwidth of a fresh `git clone nixpkgs` is taken up by hackage-packages.nix
<adamt> Maybe one could use one of the many tools to remove paths from the history of a repo, and then compare the size of the repo before and after
<aanderse> if anyone is interested seems like a reasonably straight forward PR which fell through the cracks: https://github.com/NixOS/nixpkgs/pull/53803
<{^_^}> #53803 (by jfrankenau, 10 weeks ago, open): groove: init at 5.7.4
laalf has joined #nixos
kee7a_5 has joined #nixos
kee7a_5 has quit [Remote host closed the connection]
adamt has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjTKg
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
InFlames has joined #nixos
<InFlames> does anyone have any advice on what to read to get my usb type-c port on my dell xps 9560 working?
laalf has joined #nixos
ericsagnes has joined #nixos
<samueldr> not sure if it's the same model that gchristensen has, if so he might have tips? (if he's on)
<colemickens> What does "working" mean?
<colemickens> or rather, in what way is it not working?
<InFlames> actually, working isn't quite accurate
<InFlames> it passes video
<InFlames> but my dock isn't recognized, that is more likely the actual issue
<InFlames> it's the dell usb c dock
<colemickens> What model? Sure it's not TB?
<InFlames> oh yeah, sorry, it's the tb one
<samueldr> right, I think I remember the gist of it if it's the TB dock
<InFlames> over usb type c
<samueldr> you need to update all the bios
<colemickens> Probably Thunderbolt security in the BIOS, or I think there's a UI in GNOME For it now.
<InFlames> it was working under ubunut, not that that's necessarily relevant, but should rule out bios issues, right?
<samueldr> your computer's and the multiple ones in the dock, for the dock it might still require a windows install :/
<colemickens> You can disable the security in BIOS, or auto-approve Dell devices, or leave it up to the OS to approve devices (which is what the new tool [whose name I forget] allows you to do)
<gchristensen> I have this extremely jankyscript for authorizing TB devices https://gist.github.com/grahamc/9e6df6e7bc1137e8b97c0895789d290f
<samueldr> hm, maybe it'll work better yet once everything has been done with regards to all the firmwares
<InFlames> I like jankyscript :)
<InFlames> I can try the firmware updates
<colemickens> I guess the Thunerbolt UI in gnome was over a year ago now :(
<colemickens> tbtui, like nmtui, would be nice to have
<gchristensen> firmware updates were critical to making the dell tb16 dock work reasonably
<InFlames> it worked extremely solid on ubuntu for me, but again, that might not be relevant
<InFlames> I don't understand firmware granularly enough to know if it would
<InFlames> the display DOES work over it, but that's hdmi
selfsymmetric-mu has joined #nixos
<InFlames> usb type-c to the dock to hdmi
<blackriversoftwa> Is there an easy way to pipe the output of fetchurl through a command and get that as a derivation?
<blackriversoftwa> I tried using mkDerivation with just an `installPhase` but sh hates my command. Apparently $out isn't defined
<blackriversoftwa> (I'm trying to read a json URL into nix but one of the fields that I'm not using has special characters in the string that nix complains about. So I'm trying to pipe it through jq first to remove that field)
Wharncliffe has joined #nixos
<elvishjerricco> blackriversoftwa: Can you share some code that you've tried?
Barnerd22 has joined #nixos
Barnerd22 has quit [Remote host closed the connection]
ddellav28 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
ddellav28 has quit [Remote host closed the connection]
domogled has joined #nixos
<blackriversoftwa> elvishjerricco: http://paste.ubuntu.com/p/br37gXqGG7/
o1lo01ol1o has joined #nixos
<elvishjerricco> blackriversoftwa: Don't set `phases`
<elvishjerricco> for one, it's unnecessary and can make your derivation harder to override should the need arise
<elvishjerricco> second, you set it to `[installPhase]`, using `installPhase` as a variable name instead of a string
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/34aeed1ca00 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
thc202 has quit [Ping timeout: 246 seconds]
<blackriversoftwa> elvishjerricco: This derivation isn't intended to ever be a package. It's just a way to filter the contents of a URL before I try to load those contents with `builtins.fromJSON`
<elvishjerricco> blackriversoftwa: Regardless, referring to the installPhase variables is referring to the installPhase you set, so it thinks the phase name is the contents of your installPhase string. Obviously no such phase exists. You need the string "installPhase", not the variable
<elvishjerricco> blackriversoftwa: And still, I'd say there's no reason to set phases, and would recommend not doing so
<blackriversoftwa> elvishjerricco: yeah I just changed that and it worked: thanks
<elvishjerricco> oh, I guess unpackPhase will fail if you don't. Hm. Could just set unpackPhase then... either way's a hack I guess :P
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/460d5bc0f77 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
silver_ has quit [Read error: Connection reset by peer]
ym555 has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
wolfman154 has joined #nixos
<wolfman154> Is anyone still on?
wolfman154 has quit [Client Quit]
andehhh_16 has joined #nixos
andehhh_16 has quit [Remote host closed the connection]
<Dagger> okay, if anyone cares: my accept_ra issue was in fact caused by dhcpcd. I had the networking.useDHCP=false commented out earlier, and apparently dhcpcd sets accept_ra=0 while running and fails to restore it when terminating
<Dagger> that option has way too many side effects that have nothing to do with DHCP :/
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #58513 → gnutls: enable latest version on Darwin → https://git.io/fjTKA
Fare has quit [Ping timeout: 245 seconds]
tirdtoon has joined #nixos
tirdtoon has quit [Remote host closed the connection]
<Arahael> For what it's worth, the instructions for "installing nixos from other distro" work quite nicely from an ubuntu live cd, slow as hell, Ubuntu loads a lot of crap, but otherwise pretty darn good so far. Just doing the final nixos-install right now.
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
bemeurer has joined #nixos
rcshm has quit []
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
andylavarre has joined #nixos
andylavarre has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #58514 → nodejs-11_x: 11.11.0 -> 11.13.0 → https://git.io/fjT6c
buffet has quit [Ping timeout: 246 seconds]
buffet has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/22483857a11 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @Ma27 merged pull request #58503 → stellarium: 0.18.3 -> 0.19.0 → https://git.io/fjTaS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjT6l
<{^_^}> [nixpkgs] @hhm0 opened pull request #58515 → hplip: add missing dependency → https://git.io/fjT60
Fare has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #58489 → nixos/mailcatcher: fix test to be compatible with mailcatcher 7.x series → https://git.io/fjT0V
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjT62
MinceR_ has joined #nixos
MinceR has quit [Ping timeout: 245 seconds]
vk3wtf has quit [Ping timeout: 268 seconds]
Mr_Keyser_Soze has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 244 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/2ec3dca6afe (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
wfranzini has joined #nixos
mounty has quit [Ping timeout: 268 seconds]
mounty has joined #nixos
vk3wtf has joined #nixos
orblivion has joined #nixos
orblivion has quit [Remote host closed the connection]
sankarshan5 has joined #nixos
sankarshan5 has quit [Remote host closed the connection]
major25 has joined #nixos
major25 has quit [Remote host closed the connection]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<bemeurer> Does Hydra automatically rebuild packages in a channel when a new version of the compiler(s) used for that package gets in the channel?
<bemeurer> e.g. Rust, since it has compiler updates often
eeva has quit [Remote host closed the connection]
eeva has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
slyfox has quit [Ping timeout: 255 seconds]
slyfox has joined #nixos
<{^_^}> [nixpkgs] @strager opened pull request #58517 → iterm2: fix build → https://git.io/fjTiT
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleisli has joined #nixos
Ralith_ has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed 9 commits to master: https://git.io/fjTiq
<kleisli> what exactly does the angled bracket syntax do in `import <nixpkgs>` or `import <unstable>`
kvda has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to release-19.03 « Merge pull request #57519 (systemd-confinement) »: https://git.io/fjTiY
<{^_^}> [nixpkgs] @aszlig merged pull request #57519 → nixos: Add 'confinement' options to systemd.services → https://git.io/fhjXk
rcshm has joined #nixos
buckley310 has quit [Quit: Bye]
buckley310 has joined #nixos
<aszlig> kleisli: it's a lookup of the nix path
buckley310_ has joined #nixos
<aszlig> kleisli: like if you have a nix path of nixpkgs=/foo/bar, using <nixpkgs/a/b/c> will resolve to /foo/bar/a/b/c
ericsagnes has quit [Ping timeout: 268 seconds]
<aszlig> bemeurer: the official hydra doesn't use a channel directly, the channel is made based on the latest successful evaluation + builds
<aszlig> bemeurer: so let's say the rust compiler got an update, hydra will evaluate it and run the builds of the derivations that have changed
buckley310_ has quit [Quit: Bye]
<bemeurer> I see, but if, for example, rust has changed but ripgrep (A rust project) hasn't it won't re-build ripgrep; correct?
<aszlig> bemeurer: and if certain tests/builds are still succeeding, a new expression tarball is created, which in turn represents the new channel
<bemeurer> Since most of the time the derivation won't change due to a compiler bump
<aszlig> bemeurer: it will rebuild ripgrep, because the compiler is part of its dependencies
<bemeurer> Oh, I see, can you define "derivation" for me? (Nix newbie here)
<bemeurer> I thought I knew what it meant, but what you just said proves me wrong
<aszlig> bemeurer: very simplified you could also call it "package"
<aszlig> but more exact it's like a build recipe
<bemeurer> I thought the "recipe" was the nix formula. If the derivation was "just" the formula I wouldn't expect it to be rebuilt when one of its buildInputs are updated
<aszlig> it contains all the inputs, outputs, env vars, builder command, args, etc...
<bemeurer> Aha!
<bemeurer> Now it makes sense :D
<bemeurer> So when GCC gets updated, Hydra has a crapton of work to do
<aszlig> bemeurer: you can inspect them via "nix show-derivation"
<aszlig> bemeurer: correct
<bemeurer> Very neat :)
<{^_^}> [nixpkgs] @booxter opened pull request #58518 → Bump patchelf to 0.10 → https://git.io/fjTiC
<bemeurer> Thanks a lot aszlig!
rcshm has quit []
<aszlig> bemeurer: the build outputs* are hashed based on the contents of the _derivation_ (not its own contents), so whenever there is a change in the recipe (which includes the hashes of its inputs as well), nix knows that it needs to either rebuild or substitute the derivation
buckley310 has quit []
hellrazor has joined #nixos
vonfry has joined #nixos
<aszlig> * -> simplified, there are also fixed-output derivations, which are hashed with their contents
<bemeurer> aszlig: Why would I want a fixed-output derivation?
<aszlig> so the decision whether to rebuild/substitute pretty much boils down to a stat-call, if the output exists -> fine, if not -> rebuild/substitute
<aszlig> bemeurer: you want that if you want to fetch sources
<aszlig> like eg. some tarball
<bemeurer> I see, that makes sense
<aszlig> if you don't hash this and fetch the latest tarball every time, you could end up with a non-reproducible build result
<aszlig> so the hash over the tarball's content makes sure that you always get the same output (or an error if eg. the url of the tarball gets a 404 or whatever)
<bemeurer> This reminds me I need to write something to automatically update my zsh plugin packages
<bemeurer> It's the only thing left for me to leave Gentoo and go to NixOS :D
ericsagnes has joined #nixos
vonfry has quit [Ping timeout: 245 seconds]
<aszlig> bemeurer: something like oh-my-zsh?
buckley310 has joined #nixos
<kleisli> why does `import <nixpkgs>` work when i don't have a directory called nixpkgs in my #NIX_PATH
Rusty1 has quit [Quit: Konversation terminated!]
<bemeurer> aszlig: Not quite, I didn't want to use oh-my-zsh, so I manually wrote derivations for my zsh plugins and put them in home-manager
pie___ has joined #nixos
<aszlig> kleisli: there is also the case where you can directly use something like NIX_PATH=/foo/bar - (notice, not "NIX_PATH=nixpkgs=/foo/bar"), which will look up based on the contents of that directory
<aszlig> bemeurer: ah, okay :-)
<bemeurer> aszlig: I wanted to use zplug, but couldn't quite figure out how
<aszlig> bemeurer: hm, no idea... i use zsh, but i try to avoid plugins if possible
<aszlig> bemeurer: same with vim, although i do have quite a lot of plugins... they're however mainly syntax/indent plugins
pie__ has quit [Ping timeout: 246 seconds]
Fare has quit [Ping timeout: 250 seconds]
<bemeurer> aszlig: I found that migrating my (neo)vim config to Nix was really painless. Almost all the plugins I wanted were already available
<bemeurer> Only a couple weird ones weren't. like VHDL
<bemeurer> aszlig: Ah, that looks nice :)
<bemeurer> I had to make my home-manager config private because some of the stuff has Google OAUTH keys for cloud stuff
Fare has joined #nixos
<aszlig> bemeurer: i wouldn't call VHDL weird :-D well, except if you're coming from verilog :-D
<bemeurer> aszlig: Well, by weird I meant not-so-common :D
<bemeurer> VHDL > Verilog
<aszlig> mhm, i don't use home-manager either
<bemeurer> Everyone knows it
<kleisli> thanks @aszlig
<drakonis> #58518
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58518 (by booxter, 20 minutes ago, open): Bump patchelf to 0.10
<drakonis> yeee
<drakonis> three years
<drakonis> anyhoo
<bemeurer> Hot damn
<drakonis> the release file has the current fedora releases wrong
<drakonis> 27 is EoLed since 29 came out
kleisli has quit [Ping timeout: 250 seconds]
drakonis has quit [Quit: WeeChat 2.3]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/22483857a11 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
o1lo01ol1o has joined #nixos
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
drakonis has joined #nixos
reinhardt has joined #nixos
dustinm has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
ivan has joined #nixos
mehran___ has joined #nixos
mehran___ has left #nixos [#nixos]
mehran___ has joined #nixos
mehran___ has left #nixos [#nixos]
<ivan> font is no longer "Inter UI" but the attribute was left unchanged so that the breakage would be silent? eh
Wharncliffe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @domenkozar closed pull request #57656 → patchelf: fix golang support → https://git.io/fjeKT
ericsagnes has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
endformationage has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
soldersmoke has joined #nixos
knupfer has joined #nixos
soldersmoke has quit [Quit: Leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/673c8193cdb (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
vk3wtf has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
<{^_^}> [nix-pills] @danbst pushed to danbst-patch-1 « update broken link »: https://git.io/fjTPL
<{^_^}> [nix-pills] @danbst opened pull request #110 → update broken link → https://git.io/fjTPt
ninjin has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
Erasmus has quit [Read error: Connection reset by peer]
kleisli has joined #nixos
<kleisli> i'm writing a nix expression for my emacs setup: https://pastebin.com/74ju5NsJ
<kleisli> when i do `nix-env -iA nixos.emacs` this fails to find the melpa package proof-general, but all the other packages are working
<kleisli> any idea why this might be?
jackdk has quit [Ping timeout: 245 seconds]
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @thatsmydoing closed pull request #58337 → nixos/prometheus: add tls_config option → https://git.io/fjUZA
<{^_^}> [nixpkgs] @dotlambda merged pull request #58499 → [19.03] virtualenv: Update patch for 16.2.0 → https://git.io/fjTgd
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fjTPW
Anton-Latukha has joined #nixos
<InFlames> what's the ideal way to manage npm packages globally? I would like to use some npm packages across many projects
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #58519 → postfix: 3.4.3 -> 3.4.4 → https://git.io/fjTPg
hyper_ch2 has joined #nixos
invokesus has quit []
tmaekawa has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/22483857a11 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @domenkozar closed pull request #32629 → Haskell multiple outputs: bin etc lib (take three) → https://git.io/vbgMx
hellrazor has quit [Ping timeout: 245 seconds]
hellrazor has joined #nixos
Fare has quit [Ping timeout: 250 seconds]
agander has joined #nixos
Myhlamaeus has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #58520 → inter,inter-ui: keep font name the same for attributes, split off → https://git.io/fjTPb
periklis has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #58521 → cmocka: 1.1.3 -> 1.1.5 → https://git.io/fjTPN
<{^_^}> [nixpkgs] @dtzWill opened pull request #58522 → weston: 5.0.0 -> 6.0.0 → https://git.io/fjTPp
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #58523 → trilium: 0.30.4 -> 0.30.6 → https://git.io/fjTXe
rayw_n22 has joined #nixos
Ariakenom has joined #nixos
<rayw_n22> hello; where i can find the source code for https://logs.nix.samueldr.com/nixos/, i'd like to setup a irc log
<rayw_n22> ;
<{^_^}> [nixpkgs] @dtzWill opened pull request #58524 → gitAndTools.hub: 2.10.0 -> 2.11.0 → https://git.io/fjTXU
InFlames has quit [Quit: Konversation terminated!]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
hamishmack has joined #nixos
linarcx has joined #nixos
m0rphism has joined #nixos
ninjin has joined #nixos
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #58120 → coqPackages.coqhammer: init at 1.1 → https://git.io/fjJJU
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.coqhammer: init at 1.1 »: https://git.io/fjTXY
<{^_^}> [nixpkgs] @dtzWill merged pull request #57520 → plasma-5: 5.15.2 -> 5.15.3 → https://git.io/fhj1s
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to staging: https://git.io/fjTXO
Ariakenom has joined #nixos
domogled1 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #57199 → kdeFrameworks: 5.55 -> 5.56 → https://git.io/fhhPT
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to staging: https://git.io/fjTX3
domogled has quit [Ping timeout: 250 seconds]
domogled1 is now known as domogled
<{^_^}> [nix-pills] @pSub merged pull request #110 → update broken link → https://git.io/fjTPt
<{^_^}> [nix-pills] @pSub pushed 2 commits to master: https://git.io/fjTXs
<{^_^}> [nix-pills] @pSub pushed 0 commits to danbst-patch-1: https://git.io/fjTXG
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2b886865cfa (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
seanparsons has quit [Quit: ZNC 1.7.1 - https://znc.in]
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @domenkozar opened pull request #58525 → Haskell bin output → https://git.io/fjTXn
Boomerang has quit [Ping timeout: 272 seconds]
Boomerang has joined #nixos
agander has quit [Ping timeout: 244 seconds]
adamt has joined #nixos
dustinm has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
adamt is now known as Guest86748
Guest86748 has quit [Changing host]
Guest86748 has joined #nixos
Guest86748 is now known as adamt
<{^_^}> [nixpkgs] @bene1618 opened pull request #58526 → Add background option to dhcpcd → https://git.io/fjTX4
dustinm has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
ivan has joined #nixos
random_yanek has quit [Ping timeout: 245 seconds]
Glider_IRC has joined #nixos
civodul has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
adetokunbo has joined #nixos
goibhniu1 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MinceR_ is now known as MinceR
<{^_^}> [nixpkgs] @Ma27 merged pull request #56575 → mailcatcher: 0.6.5 -> 0.7.1 → https://git.io/fhAnp
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjT1U
adamt has quit [Ping timeout: 255 seconds]
adamt has joined #nixos
adamt is now known as Guest96875
Guest96875 has joined #nixos
Guest96875 has quit [Changing host]
Guest96875 is now known as adamt
init_6 has joined #nixos
joko has quit [Changing host]
joko has joined #nixos
dwdr has joined #nixos
thc202 has joined #nixos
<Taneb> I've got two different overlays overriding Python packages, and only one of them seems to end up in the final package set :(
erictapen has joined #nixos
<rayw_n22> i think i found it :) https://github.com/whitequark/irclogger
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a0bf1c530f8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
kai_w has quit [Ping timeout: 250 seconds]
Jetien has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #58524 → gitAndTools.hub: 2.10.0 -> 2.11.0 → https://git.io/fjTXU
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fjT1g
Tucky has joined #nixos
adamt has quit [Quit: WeeChat 2.4]
rauno has joined #nixos
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
pie_ has joined #nixos
random_yanek has joined #nixos
knupfer has joined #nixos
<Taneb> Anyone have an idea where I could be going wrong?
Zer000 has quit [Ping timeout: 255 seconds]
adetokunbo has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dcf40f7c24e (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Ma27 merged pull request #58523 → trilium: 0.30.4 -> 0.30.6 → https://git.io/fjTXe
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjTMt
polman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vdemeester opened pull request #58527 → runc: 1.0.0-rc6 -> 1.0.0-rc7 → https://git.io/fjTMO
ubert has joined #nixos
polman has joined #nixos
__monty__ has joined #nixos
polman has quit [Ping timeout: 245 seconds]
knupfer has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #58102 → gphoto2: 2.5.17 -> 2.5.20 → https://git.io/fjfh8
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjTM8
<{^_^}> [nixpkgs] @groodt opened pull request #58528 → gradle: 5.0 -> 5.3.1 → https://git.io/fjTM4
lejonet has quit [Ping timeout: 250 seconds]
rayw_n22 has left #nixos [#nixos]
jbgi has joined #nixos
polman has joined #nixos
mounty has quit [Ping timeout: 244 seconds]
mounty has joined #nixos
invokesus has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @r-ryantm to release-19.03 « gphoto2: 2.5.17 -> 2.5.20 »: https://git.io/fjTMi
Jetien has quit [Remote host closed the connection]
Jetien has joined #nixos
nschoe has joined #nixos
jtojnar has quit [Remote host closed the connection]
agander has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2b886865cfa (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
jtojnar has joined #nixos
reinhardt has quit [Quit: Leaving]
lejonet has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #58188 → hatari: 2.1.0 -> 2.2.1 → https://git.io/fjJwC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjTM9
alex`` has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #58282 → ktlint: 0.30.0 -> 0.31.0 → https://git.io/fjUId
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjTMx
Serus has quit [Ping timeout: 250 seconds]
agander_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ has joined #nixos
Serus has joined #nixos
agander has quit [Ping timeout: 246 seconds]
jtojnar_ is now known as jtojnar
<{^_^}> [nixpkgs] @nyanloutre opened pull request #58530 → Gamehub init → https://git.io/fjTDG
knupfer has quit [Ping timeout: 244 seconds]
<infinisil> Taneb: I think you need to use something like .override (old: { packageOverrides = lib.composeExtensions (old.packageOverrides or self: super: {}) packageOverrides; })
<Taneb> infinisil: thanks! I ended up refactoring so that I have one override to python36 which is the composition of the two smaller operations
<infinisil> Overrides can be so ugly..
hyper_ch2 has joined #nixos
phreedom has joined #nixos
phreedom_ has quit [Ping timeout: 256 seconds]
agander__ has joined #nixos
agander__ is now known as agander
Jetien has quit [Ping timeout: 272 seconds]
jbgi has quit [Ping timeout: 246 seconds]
agander_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #57936 → buildRustCrate: use $NIX_BUILD_CORES for each of the crates → https://git.io/fjfsl
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjTDQ
<__monty__> gchristensen: Wanted to try out lorri: `error: cannot auto-call ... a default value('enableMozillaOverlay')`
<{^_^}> [nixpkgs] @andir opened pull request #58531 → firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -. 66.0.2 → https://git.io/fjTD5
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #58532 → [19.03] firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -. 66.0.2 → https://git.io/fjTDb
agander_ has joined #nixos
{^_^} has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
agander has quit [Ping timeout: 244 seconds]
liori has quit [Quit: leaving]
liori has joined #nixos
andymandias has quit [Remote host closed the connection]
{^_^} has joined #nixos
liori has quit [Client Quit]
johanot has joined #nixos
liori has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
andymandias has joined #nixos
<gchristensen> __monty__: how did you get that? :o
<__monty__> gchristensen: Following the instructions in the tutorial. git clone; nix-env -f nix/nixpkgs.nix -iA direnv
silver has joined #nixos
<gchristensen> __monty__: I'm a bit AFK still, mind joining #lorri and pinging Profpatsch? :)
o1lo01ol1o has joined #nixos
<__monty__> np
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
agander_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #57559 → iso-image: make reproducible by not relying on mcopy's readdir → https://git.io/fhjxf
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjTyB
<betawaffle> does nix have a style guide?
o1lo01ol1o has joined #nixos
Jetien has joined #nixos
<musicmatze> betawaffle: afaik no, ... if it looks a bit like JSON it is alright, I assume :-)
<aminechikhaoui> betawaffle there is a tiny section in the manual https://nixos.org/nixpkgs/manual/#chap-conventions but not an exhaustive style guide unfortunately
o1lo01ol1o has quit [Ping timeout: 250 seconds]
jb55 has quit [Ping timeout: 245 seconds]
<betawaffle> does the nixos community care about consistency of style?
<infinisil> betawaffle: I do!
<betawaffle> yeah, me too
<gchristensen> I think we all do
jtojnar has quit [Remote host closed the connection]
<gchristensen> and I think there is a sort of mutually agreed upon style (I know this sucks) but without automatic verification tools, it is tough / very annoying to nit-pick PRs
<betawaffle> so when will we see someone create nix-fmt?
<Taneb> Difficult to say, but you can make it happen sooner by creating it ;)
<gchristensen> the follow-up problem is you can't just nix-fmt a 1.5m lines of code, the code churn would be hell
<{^_^}> [nixpkgs] @bignaux opened pull request #58533 → assaultcube: unstable-2017-05-01 -> unstable-2018-05-20 → https://git.io/fjTyM
<betawaffle> gchristensen: right, but you could make it such that any modified files need to be fmt'd, then those could just be in separate commits. hell, you could even make it such that only new files needed that treatment
<{^_^}> [nixpkgs] @domenkozar merged pull request #58525 → Haskell optional separate bin output → https://git.io/fjTXn
<{^_^}> [nixpkgs] @domenkozar pushed 3 commits to master: https://git.io/fjTy9
<gchristensen> yea
<gchristensen> or support for examining the diff, finding it in the AST, and ensuring that part is well done
<infinisil> betawaffle: Yeah that would be the idea if we wanted to introduce autoformatting to nixpkgs
<betawaffle> gchristensen: explain?
<gchristensen> if I add a new function in a file which is poorly formatted, we could find the code which was added and only run a nixfmt check on that part
<infinisil> gchristensen: I think that would be a bit too much trouble for what it's worth
aanderse-work has joined #nixos
<gchristensen> maybe yea
<betawaffle> is there a sense of how much of the codebase is currently not well formatted?
<aanderse-work> trying to send mail out over postfix via mod_php in apache but getting an error: postdrop: warning: mail_queue_enter: create file maildrop/110637.89222: Permission denied
adetokunbo has joined #nixos
ym555 has joined #nixos
<aanderse-work> this is after adding postfix to the systemd units path
<aanderse-work> anyone have any thoughts?
<infinisil> aanderse-work: setuid wrapper needed or something is my initial thought
<aanderse-work> postfix has a setSendmail which is true
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to release-19.03: https://git.io/fjTSf
<aanderse-work> so it takes care of that
<infinisil> Wouldn't that only create a setuid wrapper for `sendmail`?
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.09 « haskell: allow separate bin output, disable by default »: https://git.io/fjTSU
<infinisil> Ah
<infinisil> Nah postdrop is there too
<infinisil> Maybe the postdrop setuid wrapper has a mistake in it
<aanderse-work> does that mean i have to add setgidGroup as an extragroup to the wwwrun user?
<infinisil> aanderse-work: Is /run/wrappers/bin on the PATH of the service?
<aanderse-work> infinisil: systemd.services.httpd.path = [ pkgs.postfix ]; ... should that be systemd.services.httpd.path = [ "/run/wrappers/bin" ]; instead?
hexo is now known as olovnatejsie
<infinisil> aanderse-work: Nope, I think that just means that any user can execute that binary, and it will seems as if ${cfg.setgidGroup} has executed it
<aanderse-work> ok
<aanderse-work> well that makes more sense because i can use the php mail function while executing php from the command line
<infinisil> aanderse-work: Yeah try that, but without the /bin at the end I think
agander_ has joined #nixos
<aanderse-work> i noticed 2 things which aren't great about the apache module this morning: 1. it depends on postgresql and 2. it doesn't work with postfix
<aanderse-work> and infinisil is my hero again!
<aanderse-work> <3 infinisil
<{^_^}> infinisil's karma got increased to 67
<infinisil> :D
<aanderse-work> so that works fine if you're using networking.defaultMailServer
<aanderse-work> but should it be generalized to say....
<aanderse-work> if sendmail exists at all add "/run/wrappers" to the path instead of pkgs.ssmtp?
<aanderse-work> could check if any of those 3 are enabled
<infinisil> Maybe
ilmu has joined #nixos
<infinisil> I also feel like we should have a /run/wrappers like thing where we can tell it which binaries should be in it, e.g. /run/wrappers/for-apache-httpd which would only contain postdrop
jbgi has joined #nixos
<aanderse-work> possibly, though my nick is currently aanderse-work so at the moment only interested in getting this bug fixed :p
<jonge[m]> hey there. when i use `pkgs.gcc`, that is the wrapped gcc, that consumes NIX_LDFLAGS parameters from the environment, right? i have the problem here that in nix-shell i can inject whatever parameters i want using NIX_LDFLAGS and that makes my test apps link - but if i use the same wrapped gcc in an initial ramdisk (without stdenv etc.) it simply ignores my env vars. what can be wrong here, do i need to set more? unfortunately
<jonge[m]> the wrapping magic is so complicated that i don't get how it works from studying the wrapper script...
Jetien has quit [Remote host closed the connection]
Jetien has joined #nixos
<aanderse-work> i have a sneaking suspicion this postfix not working with php bug will exist in phpfpm as well
* aanderse-work tests
<infinisil> jonge[m]: Try NIX_CFLAGS_LINK maybe
<symphorien> jonge[m]: by curiosity, why do you want to compile things in the initramfs ?
<jonge[m]> symphorien i created a minimal ramdisk with makeInitrd from nixpkgs whose sole purpose is to compile the linux kernel and then shutdown again. we do some benchmarks of virtual machine monitors with that.
jb55 has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
ilmu has quit [Ping timeout: 250 seconds]
npmccallum has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @bzizou opened pull request #58534 → sumatools: init at 1.0.34 → https://git.io/fjTSE
<aanderse-work> oh phpfpm is smarter
vk3wtf has quit [Ping timeout: 258 seconds]
jomik has joined #nixos
<jomik> 19.03 is soon turning into 19.04 :D
<betawaffle> yeah, where's mah release?
<betawaffle> jk, i'm running unstable
<jonge[m]> infinisil NIX_CFLAGS_LINK also does nothing unfortunately
<symphorien> jonge[m]: you can export NIX_DEBUG=1 to have the wrapper explain what it does
<jonge[m]> symphorien i did and its output looks different than in my nix-shell experiment. it is as if that env var was not set...
<infinisil> jonge[m]: Okay this might sound weird, but try also setting `NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST=1`, I think that's some magic to make the c wrapper forward the NIX_CFLAGS stuff to the host platforms wrapper
zupo has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #58535 → [18.09] firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -> 66.0.2 → https://git.io/fjTSK
davidar_ has quit [Quit: Connection closed for inactivity]
jD91mZM2 has quit [Quit: ZNC 1.7.1 - https://znc.in]
jD91mZM2 has joined #nixos
fiddlerwoaroof has quit [Quit: Gone.]
fiddlerwoaroof has joined #nixos
Khetzal has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 244 seconds]
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #58536 → clblas: turn of gtest, fix build → https://git.io/fjTS1
<jonge[m]> infinisil unfortunately it has no effect.
<infinisil> Darn, well I'm out of ideas
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #58537 → lib: lists: Alias map = builtins.map → https://git.io/fjTSy
<jonge[m]> infinisil oh wait. interestingly it's adding this flag to "extra flags after to /nix/store/....gcc", but _not_ to "extra flags after to /nix/store/....ld"
<jonge[m]> so it has some effect but i am not there yet. :D
<{^_^}> [nixpkgs] @vcunat pushed 154 commits to staging-18.09: https://git.io/fjTSS
wolfman154 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wolfman154> Could you guys help me with an issue I am having with home-manager ?
<infinisil> wolfman154: Only if you tell us what the issue is :)
waleee has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
<jomik> betawaffle: From your name I'd assume you were running the beta. I thought it would be unstablewaffle that ran unstable :o
<betawaffle> :P
<wolfman154> infinisil: Thanks, I installed xmonad globally as a nix module and got it to work with my custom keyboard layout, but to be able to be able to compile xmonad and configure xmonad.hs , I need to install it locally on my user environment, what is the correct syntax to install xmonad on the home-manager ?
grizwako has quit [Read error: Connection reset by peer]
jomik has quit [Quit: WeeChat 2.4]
<infinisil> wolfman154: Dod you see the xmonad module? xsession.windowManager.xmonad.*
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/395a543f360 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
rauno has quit [Ping timeout: 245 seconds]
leotaku has joined #nixos
<wolfman154> infinisil: yes I am trying to add that with the the nixos syntax here: https://wiki.haskell.org/Xmonad/Installing_xmonad#NixOS I am just a little confused about the syntax?
<infinisil> wolfman154: That's the NixOS module, not the home-manager module
<infinisil> wolfman154: Check out the xmonad options in `man home-configuration.nix` instead
<{^_^}> [nixpkgs] @bzizou opened pull request #58538 → stacks: init at 2.2 → https://git.io/fjT9t
illegalprime has joined #nixos
Neo-- has joined #nixos
jomik has joined #nixos
iyzsong has joined #nixos
<jomik> sphalerite: Another challenge ! Current cpu usage? :P
Erasmus has joined #nixos
<wolfman154> infinisil: a massive manual but I found xmonad, I’ll take a look now, thanks!!!
<wolfman154> infinisil++
<{^_^}> infinisil's karma got increased to 68
lielaazive has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<{^_^}> [nixpkgs] @zimbatm merged pull request #53525 → (ruby-modules/gem): (refactor) → https://git.io/fhsoa
<{^_^}> [nixpkgs] @zimbatm pushed commit from @nyarly to master « (ruby-modules/gem): (refactor) (#53525) »: https://git.io/fjT90
<lielaazive> Hey, I'm trying to provision a VirtualBox machine using NixOps, but I'm running into some obscure issue w/ root partition creation (or so I think), even though I'm running pretty much a blank configuration. Any hints as to what I should be Googling or looking at in GitHub? https://pastebin.com/DRgByDmZ
sigmundv has quit [Ping timeout: 244 seconds]
johanot has quit [Quit: WeeChat 2.4]
wolfman154 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #58491 → sublime3: Fix python api locale → https://git.io/fjTuo
<{^_^}> [nixpkgs] @zimbatm pushed 2 commits to master: https://git.io/fjT9u
<aminechikhaoui> lielaazive not sure if anyone tested vbox nixops backend with nixos unstable, you might be the first one :D can you see if it's reproducible with the stable release, try running `nixops deploy -d kshaa_virtualbox -I nixpkgs=channel:nixos-18.09` or 19.03 is fine as well
Mr_Keyser_Soze has joined #nixos
<wolfman154> infinisil: it says xmonad.config is null by default, how do I change it to an absolute path so xmonad.hs is gets managed by the home-manager ?
<{^_^}> [nixpkgs] @herrwiese opened pull request #58539 → nixos/nextcloud: Cherry-pick nginx recommendations to 19.03 → https://git.io/fjT9a
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lielaazive> aminechikhaoui: :3 Yup, switching to the stable NixOs version fixed it! (18.09)
<gchristensen> ZFS is failing to build on 5.0.{1,2,3,4} due to a GPL symbol -- but this makes no sense. anyone familiar with kernel configs mind checking out this issue? https://github.com/zfsonlinux/zfs/issues/8545 this doesn't make sense to me
<{^_^}> zfsonlinux/zfs#8545 (by grahamc, 13 hours ago, open): ZoL 0.7.13 + Linux Kernel 5.0.4: GPL-incompatible module zfs.ko uses GPL-only symbol 'preempt_schedule_notrace'
grizwako has joined #nixos
<aminechikhaoui> lielaazive feel free to open an issue tho' for the error with nixos-unstable
<infinisil> worldofpeace: Just set the option to the path to your xmonad.hs
<{^_^}> [nixpkgs] @flokli merged pull request #58539 → nixos/nextcloud: Cherry-pick nginx recommendations to 19.03 → https://git.io/fjT9a
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.03: https://git.io/fjT9b
npmccallum_ has joined #nixos
<joko> gchristensen: I haven't tried a 5.x Linux kernel, but the issue you're having could be during the architecture (aarch64-linux). Maybe zol devs aren't anticipating this? https://github.com/zfsonlinux/zfs/issues/8259 mentions x86-64. Disclaimer: I've read only texts, not a single line of code :)
<{^_^}> zfsonlinux/zfs#8259 (by tonyhutter, 11 weeks ago, closed): Linux 5.0: _kernel_fpu{begin,end} no longer exported
__monty__ has quit [Quit: leaving]
<gchristensen> joko: no worries -- yeah, that one has been fixed up for a time -- this one seems really strange
<joko> (I've gotten the issue from the 0.7.13 release)
<tilpner> gchristensen: simd_aarch64.h hasn't been touched in 3 years
<gchristensen> yeah!
<wolfman154> infinisil: oh it makes sense now, quick syntax question: does the path have to be in double quotes ?
<infinisil> ,tias wolfman154
<{^_^}> wolfman154: Try it and see! (then tell us what you saw)
<{^_^}> [nixpkgs] @Mic92 merged pull request #57824 → libmodbus: fix for cross compilation → https://git.io/fjv0e
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjTHt
<wolfman154> Ok
<wolfman154> infinisil++
<{^_^}> infinisil's karma got increased to 69
linarcx has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
Mr_Keyser_Soze has quit [Ping timeout: 272 seconds]
<linarcx> Gyus. I want to replace defualt linux kernel with linux-libre kernel. How do that?
<tilpner> linarcx: Try boot.kernelPackages = pkgs.linuxPackages-libre;
<linarcx> tilpner: Thank you.
zupo has joined #nixos
<linarcx> tilpner: Should i do extra efforts to it work? is that line enough?
* tilpner doesn't know
<infinisil> It should be enough I think
<linarcx> Let me try it.
<linarcx> And it is not documented. right?
<linarcx> I mean in wiki pages..
<linarcx> or manual
<infinisil> Well the boot.kernelPackages option is documented
<tilpner> Just try it, nothing should break permanently
<linarcx> Oh! It try to compile it from source! There is no precompiled linux-libre package, right?
<lielaazive> aminechikhaoui: Is it possible to lock the nixpkgs to the unstable 19.09 using the -I flag? I tried and nixops says "cannot be downloaded, ignoring". I'm not even sure how I got the unstable version initially, I'm pretty sure I just followed the quick start guide.
<aminechikhaoui> unstable was likely pulled from your default channel, check `nix-channel --list`. But you could also use it with `-I nixpkgs=channel:nixos-unstable`
<gchristensen> I'd like to bisect the linux kernel to see where the ZFS module stopped building. anyone familiar with the process here?
<gchristensen> normally I'd ping aszlig but they're AFK it seems :)
jomik has quit [Quit: WeeChat 2.4]
<carter> hello everyone! i'm going to be asking a lot of dumb questions over the coming weeks ... i'm trying to get work to have a sane packaging / config setup and ..... its a pretty enterprisey wacky setup :)
<buckley310> <3 enterprisey setups
<hyper_ch2> carter: you'll have a hard time ahead of you if you want to live up to me regarding dumb questions... despite having use nixos for soem time now, I still have plenty of those left :)
<hyper_ch2> (but the people here are in general very friendly, knowledgable and helpful)
<carter> buckley310: hyper_ch2 AND BLOCK CHAIN
<carter> i'm pretty active in haskell land
<hyper_ch2> pfff... block chain... old news....... new hotness: ring chain :)
<carter> and honestly for my own little haskell stuff / personal projects nix has the wrong pain to power ratio
<carter> hyper_ch2: i just like trying to build better distributed multi team/multi org dbs with all sorts of fancy modelling kit
<carter> but yeah
<hyper_ch2> I don't know about enterprisey stuff... I'm just an average home computer user
iyzsong has quit [Ping timeout: 255 seconds]
<Jetien> How can I find out which snapshot of nixpkgs is likely to have a binary cache of a derivation in it?
<carter> honeslty, idk what enterprise is,
<carter> :)
agander_ has quit [Ping timeout: 250 seconds]
<Mic92> Jetien: with hydra
<{^_^}> [nixpkgs] @luispedro opened pull request #58541 → megahit: init at 1.1.3 → https://git.io/fjTHS
domogled has quit [Quit: domogled]
<tilpner> Jetien: In the hydra page above, go to the jobs tab and find the job you care about
kleisli has quit [Ping timeout: 250 seconds]
linarcx has quit [Ping timeout: 245 seconds]
<Jetien> thanks, Mic92 and tilpner
linarcx has joined #nixos
endformationage has joined #nixos
<mog> infinisil, i made those corrections you requested and got manpages building on https://github.com/NixOS/nixpkgs/pull/58422
<{^_^}> #58422 (by mogorman, 2 days ago, open): chafa: init at 1.0.1
jtojnar has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/72ad1ebda9e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<infinisil> mog: Nice, works like a charm
<infinisil> But that eval failure is odd
<mog> that seems to happen sometimes when you look at builder wrong
<mog> i imagine if we ask it to build it again it will be fine
<{^_^}> [nixpkgs] @dywedir merged pull request #57237 → emacs: backport hunspell 1.7.0 support from upstream → https://git.io/fhh99
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjTQT
<mog> as very little changed in the derivation
<infinisil> Huh, it doesn't react to my comment :/
<infinisil> gchristensen: Is something wrong with ofborg in above PR?
linarcx has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
<gchristensen> chafa?
<gchristensen> your comment went in to the eval queue, so it'll be re-evaluated soon
<{^_^}> [nixpkgs] @Infinisil merged pull request #58537 → lib: lists: Alias map = builtins.map → https://git.io/fjTSy
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTQt
<infinisil> gchristensen: Oh now it did, but that took a couple minutes, usually the bot react immediately
<gchristensen> yeah, the evaluation triggers don't cause them to go to pending right away
<gchristensen> unlike builds which go to pending right away -- another thing to make nicer :)
<infinisil> I see
i1nfusion has quit [Remote host closed the connection]
<therealwaphire[m> was 4,20 pulled out of NIxOS stable?
<symphorien> usually non LTS relases are removed once they reach upstream end of life
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bad5d145c28 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> > stable.linuxPackages_4_20
<{^_^}> attribute 'linuxPackages_4_20' missing, at (string):229:1
<srhb> therealwaphire[m: But latest in the upcoming 19.03 stable is currently 5.x, fwiw.
<srhb> With 4.19 being the default.
<therealwaphire[m> ah, that's great then
<therealwaphire[m> I'll stick with 4.19 because ZFS :P
Guest97996 has joined #nixos
<therealwaphire[m> thanks
<srhb> therealwaphire[m: 5.x works fine with zfs.
<srhb> 5.0.x, I should say.
<therealwaphire[m> oh is there a patch now?
<therealwaphire[m> iirc, zfs 0.7.13 was designed to work up till 5.0-rc3
<samueldr> 4.20 is EOL, so I it would have been removed if it was available, though looking through the git history 4.20 was never available on 18.09?
<therealwaphire[m> umm, I just downgraded to 4.19
<therealwaphire[m> from 4.20 that is
<therealwaphire[m> also running 4.20 on my server
<samueldr> therealwaphire[m: which attribute are you using, and just to confirm, you're on 18.09?
<therealwaphire[m> oh right
<samueldr> (I want to verify my assumptions)
<therealwaphire[m> 18.09
<therealwaphire[m> I'm running 19.03
<samueldr> that's not stable! (yet!) ;)
<therealwaphire[m> yeah, Ik
<therealwaphire[m> haven't run into any problems tho
<therealwaphire[m> been using it since the the beginning of this month
<samueldr> yeah, it should be pretty good, thus the yet and winky face :)
jtojnar has quit [Quit: jtojnar]
<therealwaphire[m> Needed 4.20 because my server's iGPU support wasn't available in anything prior to 4.20 :P
<therealwaphire[m> haha
<samueldr> linuxPackages_latest had been made 5.0 just beforehand
anpryl has joined #nixos
<samueldr> therealwaphire[m: you say "downgraded", was it through your own action?
<therealwaphire[m> <samueldr "https://github.com/NixOS/nixpkgs"> cool I guess I'll update to 5.0.x on that one server when I have to
<therealwaphire[m> does NixOS support live patching kernels by any chance? I wouldn't like rebooting my servers in cases of kernel upgrades
<samueldr> (I just want to be sure a nixpkgs update didn't downgrade an attribute)
ilmu has joined #nixos
<therealwaphire[m> samueldr: yes
<therealwaphire[m> nothing automatic
regulus_ has joined #nixos
bwe_ is now known as bwe
<therealwaphire[m> It threw an error while trying to update because I still had that 4.20 attribute. Changed that to 4.19
<samueldr> good, I think we had in the past one occasion where linuxPackages_latest was downgraded and I really didn't like the idea :/ it had downgraded a couple versions due to falling back to an LTS
<therealwaphire[m> ah
bwe has joined #nixos
bwe has quit [Changing host]
<therealwaphire[m> I read a comment that there's a ZFS performance-hurt factor, kind-of, in 5.0.x?
<samueldr> I have no idea about anything zfs, :)
<gchristensen> I don't know if it did impact ZFS's performance. there was a lot of FUD around what happened.
<Church-> ^
<Church-> I haven't noticed anything yet
<{^_^}> [nixpkgs] @ryantm merged pull request #58533 → assaultcube: unstable-2017-05-01 -> unstable-2018-05-20 → https://git.io/fjTyM
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjTQa
samrose_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #58542 → pythonPackages.jupyterhub: Fix → https://git.io/fjTQV
Ankhers has quit [Quit: ZNC 1.7.1 - https://znc.in]
samrose has quit [Ping timeout: 272 seconds]
Ankhers has joined #nixos
<infinisil> gchristensen: (sorry for the many pings, but) what, https://github.com/NixOS/nixpkgs/pull/58422 is still failing to evaluate, I can't reproduce this locally
<{^_^}> #58422 (by mogorman, 2 days ago, open): chafa: init at 1.0.1
<gchristensen> no worries
anpryl has quit [Quit: Konversation terminated!]
<gchristensen> infinisil: see the failing step, "-package-list-no-aliases"?
<gchristensen> click Details
<gchristensen> anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-2-shlevy.ewr1.nix.ci/pkgs/tools/misc/chafa/default.nix:1:1 called without required argument 'docbook_xml_xslt', at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-2-shlevy.ewr1.nix.ci/lib/customisation.nix:69:12
<infinisil> Yup
<gchristensen> s/docbook_xml_xslt/docbook_xsl/ should be good to go
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/395a543f360 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
anpryl has joined #nixos
<infinisil> Ohhh
<gchristensen> :)
<infinisil> Thanks
<gchristensen> you're welcome!
sigmundv has joined #nixos
<gchristensen> it'd be cool to have a wiki page for each of these errors
i1nfusion has joined #nixos
<linarcx> Guys. i've create a package called: `vazir-fonts`. It build and in hydra i can see the logs of it's build. But when i want to search it via: `nix search -u vazir-fonts`, it can't find it. why?
<Ankhers> How can I find which package a certain binary is in? I'm looking secifically for the `ar' tool.
<samueldr> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended)
<ar> ,locate bin/ar
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Found in packages: swift, arduino, arduino_core, gcc-arm-embedded, binutils-unwrapped, gcc-arm-embedded-5, gcc-arm-embedded-6, gcc-arm-embedded-7, gcc-arm-embedded-4_7, gcc-arm-embedded-4_8, gcc-arm-embedded-4_9
anpryl has quit [Client Quit]
<samueldr> ar: lol that nickame :)
<samueldr> ,locate bin ar
<{^_^}> Found in packages: swift, binutils-unwrapped
<gchristensen> <3 ar
<{^_^}> ar's karma got increased to 1
<samueldr> ^ the former searches prefixes in bin, while bin ar is a specific form for the bot which searches the name entirely
<Ankhers> Is there a way to do it not in IRC?
<symphorien> with nix-index
<samueldr> Ankhers: yes, nix-index
<Ankhers> Thanks!
<infinisil> linarcx: First it has to arrive at a channel, then you need to update your channel, then you need to update nix searches index, and only then you'll see it
<{^_^}> [nixpkgs] @rasendubi merged pull request #58521 → cmocka: 1.1.3 -> 1.1.5 → https://git.io/fjTPN
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fjTQQ
<linarcx> infinisil: I'm on unstable channel. How to update nix search index?
lielaazive has quit [Ping timeout: 245 seconds]
elux has joined #nixos
<elux> hey guys
<infinisil> linarcx: First things first: Is your package in the unstable channel? What unstable is it? nixos-unstable/nixpkgs-unstable?
<elux> how can i install postgres on my system or user (home-manager)? ive found it in NixOS/nixpkgs -- however, its version 9.6, which is quite old
i1nfusion1 has joined #nixos
<linarcx> infinisil: I don't know! How to find these informations?
anpryl has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #54972 → pythonPackages.minio: init at 4.0.11 → https://git.io/fhDnF
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTQp
<infinisil> linarcx: For nixos-unstable, search for your package here: https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-jobs
<infinisil> Although, that doesn't mean nixos-unstable has been updated :/
<infinisil> linarcx: Probably better to check this actually: http://howoldis.herokuapp.com/
<infinisil> Although then it's hard to see whether your package is in that commit :/
<linarcx> infinisil: What you mean?
Fare has joined #nixos
<infinisil> linarcx: That page there shows that nixos-unstable is at commit 07b42ccf2de451342982b550657636d891c4ba35, but you can't easily see whether a package is in that commit or not
<infinisil> linarcx: Anyways, I checked out that version and tried to find your package, but it's not there yet
anpryl has quit [Ping timeout: 255 seconds]
<linarcx> infinisil: What happend to my package? :)
<samueldr> still not in a completed successful build, but it's on the cusp
<infinisil> linarcx: It appears that the channel updated 2 days ago, but only with the things committed 7 days ago
<infinisil> linarcx: And your package was committed 4 days ago, so it's not in there yet
<linarcx> infinisil: Issue it on github?
<infinisil> linarcx: It took the channel 7-2=5 days to build everything so it could update
<linarcx> It is an issue at all or normal behaviour?
drakonis has quit [Quit: WeeChat 2.3]
<infinisil> linarcx: There's nothing unusual about this no, that's normal :)
<samueldr> half-and-half; normal behaviour, but it'd be better if it could be faster
drakonis has joined #nixos
<linarcx> infinisil: Awesome:) i'll wait for it. thank you so much.
i1nfusion1 has quit [Remote host closed the connection]
<infinisil> linarcx: You can however install it already if you want to, no need to wait for the channel
<averell> re: zfs + 5.0 kernel, that doesn't work with zfsunstable yet, does it?
rcshm has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
mckeanalicej has joined #nixos
<infinisil> linarcx: E.g. with `(import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/bad5d145c28db9005d2fa8056ff41a146c0c6bf1.tar.gz") {}).vazir-fonts`
<linarcx> infinisil: Yes, i create some overlays for these things :)
<linarcx> Thank you again.
<infinisil> :)
periklis has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
kyren_ has joined #nixos
goodwill has quit [Ping timeout: 255 seconds]
goodwill has joined #nixos
Erasmus has quit [Excess Flood]
devalot has quit [Quit: ZNC - http://znc.in]
Notkea has quit [Ping timeout: 246 seconds]
devalot has joined #nixos
Notkea has joined #nixos
kyren has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 255 seconds]
Myrl-saki has quit [Ping timeout: 255 seconds]
lielaazive has joined #nixos
ilmu has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
Myrl-saki has joined #nixos
Myrl-saki is now known as Guest3228
hellrazo1 has quit [Quit: WeeChat 2.4]
Fare has quit [Ping timeout: 245 seconds]
mckeanalicej has quit [Quit: Page closed]
fresheyeball has joined #nixos
d10n-work has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
Fare has joined #nixos
Ariakenom has quit [Quit: Leaving]
ubert has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #58536 → clblas: turn of gtest, fix build → https://git.io/fjTS1
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjT7F
naominitel has quit [Ping timeout: 246 seconds]
eisbaer-north has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-19.03: https://git.io/fjT7x
regulus_ has quit [Quit: ZNC - https://znc.in]
Guest3228 has quit [Changing host]
Guest3228 has joined #nixos
Guest3228 is now known as Myrl-saki
regulus_ has joined #nixos
<Ankhers> Can anyone show me an example of using `nixops scp'? I'm can't seem to understand it's arguments.
lielaazive has quit [Ping timeout: 245 seconds]
<AlexRice[m]> If I've been an idiot and made a pull request from my master branch instead of a new branch is there any way to switch it or do I need to wait for the pr to resolve?
<Ankhers> And of course, just as I ask, I get it.
ilmu has joined #nixos
erasmas has joined #nixos
adetokunbo has quit [Quit: This computer has gone to sleep]
lejonet has quit [Ping timeout: 245 seconds]
civodul has quit [Ping timeout: 258 seconds]
<infinisil> AlexRice[m]: Probably a question for #git, but yes you can fix it locally, force push, and at the same time change the base branch in the PR
<{^_^}> [nixpkgs] @dtzWill opened pull request #58543 → libfido2: init at 1.0.0 (and libcor dep) → https://git.io/fjT5s
naominitel has joined #nixos
eisbaer-north has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #58544 → gitAndTools.hub: 2.11.0 -> 2.11.1 → https://git.io/fjT58
<{^_^}> [nixpkgs] @bgamari opened pull request #58545 → nixos/gitlab: Install and fixup vendorised gitlab-shell → https://git.io/fjT5B
jasongrossman has quit [Ping timeout: 245 seconds]
Soo_Slow has joined #nixos
<fresheyeball> hey folks
<fresheyeball> I am install nixos on a new dell xps laptop!
<gchristensen> woot!
<fresheyeball> which is my usual
<fresheyeball> but its not working and I am missing something
Erasmus has joined #nixos
<fresheyeball> The disk a an nvme
<fresheyeball> which I have never used before
<gchristensen> what isn't working?
<fresheyeball> and it shows up as /dev/nvme0n1
<fresheyeball> so I followed the guide with that as the disk
<fresheyeball> I run nixos-install and then reboot
<fresheyeball> and it starts NixOS Stage 1
<fresheyeball> and waits for /dev/sda2 and asks for a passphrase
hexagoxel has quit [Ping timeout: 268 seconds]
<fresheyeball> problem is that is not the right device
<fresheyeball> that is my usb installer!
hyper_ch2 has quit [Quit: Page closed]
<fresheyeball> if I put in my luks passphrase it says "not a valid luks device"
<fresheyeball> which is true
<buckley310> can you post your config?
<fresheyeball> (will be a private repo after this)
<buckley310> you have /dev/sda2 in your config
<fresheyeball> omg I am a dumbass
<fresheyeball> I didn't catch that
<buckley310> :D it happens
<betaboon> nothing dumb about that xD
donna has joined #nixos
<tilpner> fresheyeball: It's not that big a problem, but you should probably not make all those wifi passwords public
<fresheyeball> nah I am a dumbass
donna is now known as Guest69096
<fresheyeball> tilpner: or my hashed password
<betaboon> fresheyeball: maybe you need fresh eyeballs ? XD
<fresheyeball> will be private again soon
<fresheyeball> its true
<fresheyeball> haha
<genesis> ,locate glu.h
<{^_^}> Found in packages: ntk, cgal, fltk, fltk14, boomerang, emscripten, libGLU.dev, spectmorph, libGLU_combined
<Guest69096> im confused about what is packaged. how do I go about installing sublime text?
<buckley310> sublime text is considered non-free right?
<clever> ,locate gclient
<{^_^}> Found in packages: python27Packages.geeknote
<infinisil> > sublime.meta.license.free
<{^_^}> false
sigmundv has quit [Ping timeout: 255 seconds]
<infinisil> Guest69096: `nix-env -iA nixos.sublime3` should work
Jetien has quit [Ping timeout: 246 seconds]
<buckley310> to allow non-free packages: nixpkgs.config.allowUnfree = true;
<infinisil> Why is the default for sublime an old version :/
<Guest69096> infinisil eh no output from that command
<infinisil> Ah then try to add what buckley310 suggested
<infinisil> Oh actually no
<infinisil> Guest69096: Add `{ allowUnfree = true; }` to ~/.config/nixpkgs/config.nix
<{^_^}> [nixpkgs] @dtzWill opened pull request #58546 → intel-{gmmlib,media-driver}: 18.4.1 -> 19.1 → https://git.io/fjT5M
<infinisil> (I'm assuming you want to use nix-env to install it)
<{^_^}> [nixpkgs] @luispedro opened pull request #58547 → ghc: make disableLargeAddressSpace configurable → https://git.io/fjT5y
buckley310 has quit [Quit: leaving]
<betaboon> infinisil: i somewhat prefer `nixpkgs.config.allowUnfreePredicate = (pkg: elem (builtins.parseDrvName pkg.name).name [ ... ]);`
Guest97996 is now known as buckley310
buckley310 has quit []
<infinisil> betaboon: Having a NixOS option for that would be neat :o
buckley310 has joined #nixos
Jetien has joined #nixos
<Guest69096> infinisil thanks
<Guest69096> why was there no output?
<betaboon> infinisil: how do you mean ?
buckley310 has quit [Client Quit]
agander has joined #nixos
buckley310 has joined #nixos
<infinisil> Guest69096: nix-env has some problems all around and that is one of them..
hexagoxel has joined #nixos
<betaboon> i never ever use nix-env oO
<infinisil> betaboon: Like `nixpkgs.allowedUnfreePackages = [ "foo" "bar" "baz" ];` which would set `allowUnfreePredicate`
<betaboon> infinisil: ah now i understand :)
<infinisil> Or even `environment.unfreeSystemPackages = with pkgs; [ foo bar baz ];`
Neo-- has quit [Ping timeout: 240 seconds]
<betaboon> infinisil: i think both of those would be great. only `unfreeSystemPackages` wouldnt be enough for me
<infinisil> betaboon: Why not?
<betaboon> infinisil: btw in the elastic-apm-server PR, i read your review-notes and started working on it. just didnt find the time to think and work on the config-aspect that you raised ;)
drakonis_ has joined #nixos
<infinisil> betaboon: I have opened an RFC since: https://github.com/NixOS/rfcs/pull/42
<{^_^}> rfcs#42 (by Infinisil, 6 days ago, open): [RFC 0042] NixOS config options
justanotheruser has quit [Ping timeout: 246 seconds]
<Glider_IRC> Hello here, I have a boot failure on a fresh Nixos install performed in a VirtualBox VM, I end in emergency mode, and systemd journal report a fail to execute /run/current-system/sw/bin/plymouth. I'm not sure what I must do, I tryed to dissable plymouth and them rebuild Nixos but it has no effect.
<sphalerite> (x-post #zfsonlinux) 17:13 <@zfs> [zfsonlinux/zfs] Add TRIM support (#8419) merged by Brian Behlendorf <https://github.com/zfsonlinux/zfs/issues/8419#event-2239739254>
<{^_^}> https://github.com/NixOS/nixpkgs/issues/8419 (by ghost, 3 years ago, closed): Not getting binaries from the zalora repo for OSX 10.10
<sphalerite> wooooooooooo
<gchristensen> nice, sphalerite
<betaboon> infinisil: regarding "why not": eg in the elastic-apm PR: there are unfree versions of the package used in a service, those packages are not added to systemPackages but used in the service-unit directory. thus i would have to configure nixpkgs to allow a specific unfree package
<infinisil> betaboon: Ahh yeah that makes sense
Guest69096 has quit [Quit: Leaving]
<AlexRice[m]> infinisil: thanks
drakonis has quit [Ping timeout: 244 seconds]
fusion809 has quit [Ping timeout: 268 seconds]
<fresheyeball> ok nixos is reinstalling
<fresheyeball> question
<betaboon> infinisil: ah that PR for the RFC is what you linked to in my PR? i started reading it and it made some sense. just didnt have the time to realy think on it :)
shu9 has joined #nixos
<fresheyeball> my home folder is not there yet
<fresheyeball> if I create if from the installer will I have a bad time?
<fresheyeball> just like mkdir /home/isaac
<fresheyeball> so I can drop in my xmonad?
<sphalerite> fresheyeball: only to the extent that the poermissions will be wrong
Tucky has quit [Quit: WeeChat 2.2]
<fresheyeball> well I am a dumbass, so I will just use xterm after reboot
<sphalerite> fresheyeball: probably better to install, then nixos-enter, then su - isaac though
<sphalerite> or that.
<fresheyeball> nixos-enter is some black magic
<sphalerite> using su within nixos-enter should ensure that PAM's home-directory-creating gets triggered though.
<infinisil> betaboon: Oh yeah the link I posted in the PR doesn't work anymore I guess, but yeah it's about that PR. So the basic idea is to have a `config` option of a type that represents json (in your case) and remove options like `logLevel`, instead users can use `config.logging.level` directly
<infinisil> s/it's about that PR/it's about that RFC/
<fresheyeball> btw this IRC is the most impressive linux heads on the planet
<fresheyeball> yall rock
<tilpner> fresheyeball: See PM please
<infinisil> betaboon: And extraConfig isn't needed either, because users can also just set `config` directly, and the module system will take care of merging everything together nicely
<betaboon> infinisil: yeah i liked the idea and the arguments. and getting rid of `extraConfig` stuff seems reasonable as well
<{^_^}> [nixpkgs] @bignaux opened pull request #58548 → lugaru: init at 1.2 → https://git.io/fjT5h
ddellacosta has joined #nixos
civodul has joined #nixos
<sphalerite> fresheyeball: <3
<betaboon> i love how vibrant it is in here :D
<infinisil> <33
<gchristensen> me too, betaboon. we have a super good community -- I love it a lot. big thanks to people like infinisil, sphalerite, and *many* others for that
<genesis> i put games for your children :D
<viric> Is there any hash calculator for fetchgit output based on a local checkout?
<{^_^}> [nixpkgs] @dtzWill opened pull request #58549 → ffmpeg: 3.4.5 -> 3.4.6 → https://git.io/fjTdf
<sphalerite> viric: nix-prefetch-git should work I think
<viric> I push this to the repository, and I want fetchgit to take it
<viric> sphalerite: that would fetch, isn't it?
<viric> sphalerite: this requires a server running
fmsbeekmans has joined #nixos
<sphalerite> viric: yes, it would fetch. No, it doesn't require a server running.
vmandela has joined #nixos
<sphalerite> viric: it would behave similarly to git clone ~/nixpkgs /tmp/nixpkgs.
<betaboon> infinisil: thanks for update in the PR :)
<fmsbeekmans> I have written a function that uses `nix-prefetch-git` that generates a list of derivations, how can I build these derivations?
hyper_ch2 has joined #nixos
<hyper_ch2> Mic92: trim patch was merged with zfs master
<sphalerite> fmsbeekmans: using nix-build I guess?
<fmsbeekmans> But nix-build doesn't allow nix-prefetch-git right?
<sphalerite> fmsbeekmans: a nix list? Or a bunch of nix files? Or what?
<Mic92> hyper_ch: ok. Then we can bump zfsUnstable
<sphalerite> fmsbeekmans: oh, you want to run your script inside a derivation?
<fmsbeekmans> sphalerite a nix list
<fmsbeekmans> sphalerite: I'm a bit new to this all, I want to generate the derivations and build them.
<fmsbeekmans> And I wanted to use nix to script it
drakonis has joined #nixos
i1nfusion1 has joined #nixos
<viric> sphalerite: I can give a local repository, really?
<hyper_ch2> trying to create now a PR for zfs update :)
<sphalerite> viric: yep, I tried it just before — `nix-prefetch-git ~/nixpkgs` works for me no problem
sanscoeur has joined #nixos
<viric> sphalerite: fails for me - but I have a very old nixpkgs
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjTdZ
<fmsbeekmans> sphalerite: Is that a sensible approarch? A nix file that creates a list of derivations (Or a bunch of files with derivations) but needs network access and then build these derivations?
sanscoeur has quit [Ping timeout: 246 seconds]
<clefru> hyper_ch2: wow, trim is finally merged?
<clefru> what's next? persistent L2ARC, flying cows? crazy times we live in.
mekeor has joined #nixos
Erasmus has quit [Ping timeout: 250 seconds]
<ajs124> clefru, raid level reshaping? or maybe raid vdev expansion?
<{^_^}> [nixpkgs] @peti merged pull request #58547 → ghc: make disableLargeAddressSpace configurable → https://git.io/fjT5y
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjTdc
ilmu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #58550 → whois: 5.4.1 -> 5.4.2 → https://git.io/fjTdC
linarcx has quit [Ping timeout: 272 seconds]
<hyper_ch2> clefru: 25min ago
<clefru> ajs124: oh, didn't know that raid vdev's couldn't be expanded
linarcx has joined #nixos
<genesis> ,locate xdg-open
<{^_^}> Found in packages: atom, heroku, brackets, atom-beta, xdg_utils, kibana-oss, base16-builder, nylas-mail-bin, nodePackages.bower
<clefru> hyper_ch2: nice
<betaboon> argh packaging that uses dotnet and mono ... mehhhhrghhh
<hyper_ch2> building it now at home, then reboot for test, if it still works I'll make a pr
<{^_^}> [nixpkgs] @Infinisil opened pull request #58551 → bazel: Fix PATH escaping → https://git.io/fjTdR
<{^_^}> [nixpkgs] @bricewge opened pull request #58552 → nixos/deluge: add autFile, config and port options → https://git.io/fjTdu
lielaazive has joined #nixos
sanscoeur has joined #nixos
<nyanloutre[m]> Hello, I am trying to use the xrdp service. Is it broken ?
<nyanloutre[m]> because even with default settings I can't connect to it with an rdp client
<nyanloutre[m]> even on localhost
drakonis_ has joined #nixos
knupfer has joined #nixos
linarcx has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
Glider_IRC has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
<buckley310> i can turn on xrdp and see how far i get :)
<betaboon> has anyone packaged an application using dotnet and can give me some pointers ? oO
sanscoeur has quit [Ping timeout: 250 seconds]
domogled has joined #nixos
lielaazive has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol_ has joined #nixos
sanscoeur has joined #nixos
wfranzini has quit [Quit: wfranzini]
sanscoeur has quit [Read error: Connection reset by peer]
<buckley310> nyanloutre[m]: what RDP client are you using?
lielaazive has joined #nixos
<buckley310> im using remmina, and i can connect and i see one frame and then it disconnects me
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d11c540027d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
ilmu has joined #nixos
<nyanloutre[m]> buckley310: yes remmina give me the same thing
<nyanloutre[m]> but I can connect with the Windows RDP client
<nyanloutre[m]> most likely a Remmina bug
<buckley310> yeah, specifically it looks like a freerdp bug
lejonet has joined #nixos
<buckley310> `[13:08:19:978] [17045:17049] [ERROR][com.winpr.timezone] - Unable to find a match for unix timezone: US/Eastern`
<buckley310> does anyone know how to get vinagre to work with RDP on nixos?
<linarcx> Gyus. I've create a test profile via: `nixos-rebuild switch -p test `, and it added a submenu to grub. But i want to delete it. How can i do it?
Ariakenom has joined #nixos
detran has joined #nixos
<buckley310> i got remmina working with xrdp
<buckley310> under advanced, enable "glyph cache"
<buckley310> and "relaxed order checks"
<{^_^}> [nixpkgs] @Infinisil merged pull request #51344 → pythonPackages.matplotlib: enable tk backend by default → https://git.io/fpo5D
<buckley310> nyanloutre[m]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTFv
Erasmus has joined #nixos
ilmu has quit [Ping timeout: 245 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nyanloutre[m]> buckley310: ok thanks !
Fare has quit [Ping timeout: 250 seconds]
vmandela has quit [Quit: Leaving]
Fare has joined #nixos
<nschoe> Hello everyone, is there some news about this issue (https://github.com/NixOS/nixpkgs/issues/40706) regarding Qt and it's weird dependency problem?
<{^_^}> #40706 (by lucas8, 45 weeks ago, open): Broken cmake file with Qt5.10 full
<nschoe> The problem was solved, then it came back again, then apparently, a PR was merged that should solve the issue, but I'm still having it. Anybody else has that issue?
<fresheyeball> anyone know how to exit tty to a xmonad/none session?
<nschoe> fresheyeball, CTRL + ALT + F2,3,4, etc. ?
<fresheyeball> nschoe: other way around
Jetien has quit [Ping timeout: 246 seconds]
mmlb9774508 has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 245 seconds]
<nschoe> fresheyeball, then it's CTRL + ALT + F7 to get back the GUI tyt
<nschoe> tty*
orivej has joined #nixos
<nschoe> Nobody for the Qt issue?
Jetien has joined #nixos
elux has quit [Quit: leaving]
mekeor has quit [Ping timeout: 255 seconds]
nschoe has quit [Ping timeout: 255 seconds]
aanderse-work has quit [Ping timeout: 246 seconds]
<jD91mZM2> Yet another update if anybody remembers my weird display multi monitor thingy issue (if anything, for future reference if people search the IRC logs for solutions). Basically, recap, plugging in a monitor would make the second monitor look messed up and my primary screen would be shifted up so I only saw the bottom of it. I worked around it by using proprietary nvidia drivers, but finally the culprit appears
<jD91mZM2> to be compton. You read that right. I never would have guessed, but using the glx backend on my intel driver (I have NVIDIA Optimus) was the problem with rendering. Sorry to post this giant wall of text, but... idk... Chances are nobody will get this exact issue
<linarcx> Gyus. I've create a test profile via: `nixos-rebuild switch -p test `, and it added a submenu to grub. But i want to delete it. How can i do it?
orivej has quit [Ping timeout: 250 seconds]
Jetien has quit [Ping timeout: 250 seconds]
<betaboon> puffnfresh: you aroudn ?
drakonis has joined #nixos
<jD91mZM2> linarcx: This whole profile system is new to me (learned it from you just now), but what happens if you garbage collect and delete old generations?
<jD91mZM2> I'd assume empty profiles get deleted
kyren_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
<linarcx> jD91mZM2: Nothing happend. it's not affecte at all.
kyren has joined #nixos
<linarcx> I think there is a way to delete all test profiles.
drakonis_ has quit [Ping timeout: 258 seconds]
<linarcx> But i don't know how.
<jD91mZM2> The man pages explicitly say all profiles are affected by -d. That's odd
<linarcx> ٔNo. i've used it last night. but only systemp profiles changed.
ckauhaus has quit [Quit: WeeChat 2.2]
Myhlamaeus has joined #nixos
Fare has quit [Ping timeout: 245 seconds]
fmsbeekmans has quit [Quit: Page closed]
<fresheyeball> ok, so happy, new system is lovely
<gchristensen> <3 yay
<fresheyeball> anyone know where I can get a nixos keycap sticker? I want to erase the memory that microsuck ever touched this machine
<gchristensen> ooh that sounds fun
Jetien has joined #nixos
knupfer has quit [Ping timeout: 268 seconds]
drakonis_ has joined #nixos
<betaboon> argh this dotnet package drives me crazy ...
drakonis has quit [Ping timeout: 250 seconds]
jbgi has quit [Ping timeout: 250 seconds]
init_6 has quit [Ping timeout: 245 seconds]
MichaelRaskin has joined #nixos
Jetien has quit [Ping timeout: 245 seconds]
ym555 has quit [Ping timeout: 268 seconds]
chpatrick has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/395a543f360 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
chessai has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
emacsomancer has quit [Read error: Connection reset by peer]
emacsomancer has joined #nixos
<Ariakenom> how should I search for nixos packages?
<ghostyy> how do i set the user_allow_other option for fuse in nixos 18.09
<Ariakenom> for example vscode
<ghostyy> i had environment.etc."fuse.conf" set and it worked in 18.03 but that has stopped working in 18.09, its not looking in /etc for fuse.conf but in the nix store itself
<genesis> Ariakenom https://nixos.wiki/wiki/Cheatsheet look here
<ghostyy> https://nixos.org/nixos/packages.html# this is where i search for packages, there might be a command for it too
Fare has joined #nixos
<genesis> nix-env -qaP but syntax is tricky, look the page.
<slabity> nix-index and nix-locate
johanot has joined #nixos
<samueldr> here, cutting to the chase, vscode is marked unfree due to its license preventing redistribution
<samueldr> > pkgs.vscode.meta.license
<{^_^}> { free = false; fullName = "Unfree"; shortName = "unfree"; }
<samueldr> ,unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<gentauro> `Introducing lorri,your project's nix-env` :-)
<ar1a> infinisil: do you need any help testing the idris pr?
<{^_^}> [nixpkgs] @Infinisil merged pull request #54392 → ffmpeg, mpv: enable hardware-accelerated decoding with CUDA → https://git.io/fhujT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to staging: https://git.io/fjTb3
<ar1a> or are you all good to keep going on the macos thing
Soo_Slow has quit [Remote host closed the connection]
<ghostyy> https://github.com/NixOS/nixpkgs/issues/30923#issuecomment-478112033 i made an issue about my issue if anyone is interested
<waleee> gentauro: gchristensen mentioned it on #nixos-chat yesterday
<ghostyy> or, commented on the existing issue
<Ariakenom> samueldr: ah, didn't realize that affects search too. also the reason it's not on https://nixos.org/nixos/packages.html?
<infinisil> ar1a: Would be nice to have a comment from you whether the fix resolves your issue :)
Soo_Slow has joined #nixos
<samueldr> Ariakenom: exactly
<Ariakenom> ah thanks
<samueldr> search, with nix-env and nix search, will show unfree when they are enabled for the system
<infinisil> ar1a: And if you have a mac, it would be awesome if you could try to idrisPackages.contrib
<samueldr> (nix search will need -u)
<ar1a> i don't have a mac, but i'll go check the compilation thing now
<samueldr> nix-index will not since it uses a database built by hydra
johanot has quit [Remote host closed the connection]
<Ariakenom> tricky
<Ariakenom> I just ran into that problem when installing misc editors earlier and was confused
<laas> question: isn't `(import <nixpkgs> {crossSystem.config = "...";}).buildPackages` supposed to be the same as `import <nixpkgs> {}`?
<laas> I am trying to cross-compile for x86_64-pc-mingw32, and buildPackages.fontforge does not compile for some odd reason
<infinisil> ar1a: Oh actually the latest commit is broken right now, for your testing you should exclude that
<laas> i.e. WIN32 is defined
<hyper_ch> Mic92: still compiling chromium :(
<hyper_ch> [18287/19918] CXX obj/components/zoom/zoom/page_zoom_constants.o
b1000101 has joined #nixos
<genesis> hyper_ch : u know some derivation i'd finished is mame, but it's 8 hours to compile here :)
<genesis> chromium should not be so long ;)
<b1000101> Hi! Is there a way to allow unfree packages, such as vscode, here? https://github.com/NixOS/nixpkgs/blob/master/nixos/release-small.nix I'm trying to run my own hydra and want to make hydra build few packages which are not free.
zupo has joined #nixos
<b1000101> I've tried something like pkgs = import ./.. {config.allowUnfree = true;}; but it seems that was too naive :)
<genesis> nixpkgs.config.allowUnfree = true; in your /etc/nixos/configuration.nix
pie_ has quit [Ping timeout: 245 seconds]
<infinisil> genesis: They're talking about hydra, not NixOS
<genesis> sorry
<{^_^}> [nixpkgs] @Infinisil merged pull request #58492 → molden: 5.9.3 -> 5.9.5 → https://git.io/fjTu1
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTbw
<b1000101> I'm running my hydra against such nix file (as the release-small.nix) so I'm trying to find out where to specify it :)
<dashkal> Is there a way to get that package website to show unfree? vscode for example is there for nix-env -i, but not on https://nixos.org/nixos/packages.html#vscode
<b1000101> dashkal: unfortunately not, you have to search it through the terminal or google it
<dashkal> Fair enough
<waleee> you could search the github repo
<dashkal> nix-env -qa is a little arcane, but entirely usable after the learning curve.
<MichaelRaskin> It might be feasible to build a local copy with unfree, I think
<b1000101> dashkal: yeah, I know it's a little bit of pain in the beginning
<MichaelRaskin> Which is usually more complicated than grep
hyper_ch has quit [Read error: Connection reset by peer]
hyper_ch has joined #nixos
<dashkal> I don't need a ton of unfree anyway. vscode was the first I ran into, and I'm not at all married to it.
freeman42x has joined #nixos
rauno has joined #nixos
<dashkal> But I've thrown in the towel on vim/emacs, so I'm looking around again.
<dashkal> I wonder how good Intellij's haskell tooling is.
<b1000101> dashkal: I still use both vim and vscode ...depends on whether I'm coding a project or editing a single script
<samueldr> dashkal: b1000101: eventually it might show it, need to cleanup/refresh a PR but it's tentatively been approved recently
<b1000101> dashkal: there are a few more, such as virtualbox extension pack or spotify :)
<b1000101> samueldr: oh really? That would be wonderful
<dashkal> My nixos test virtual box setup just used the appliance download.
<dashkal> I'm using mint at the moment as my primary distro. nixos is a bit much for me right now.
<b1000101> dashkal: I switched from Mint to NixOS half a year ago. Best decision EVER.
<dashkal> But yeah, might be worth a checkout and scan to see what's all there.
<dashkal> I believe it. And I expect I'll do so. But learn nix first, _then_ use it to configure my OS.
<b1000101> dashkal: I've already converted half of the people in our company that were previously using Mint :)
<{^_^}> [nixpkgs] @markuskowa merged pull request #58021 → cpptest: 1.1.2 -> 2.0.0 → https://git.io/fjfXw
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjTbi
<MichaelRaskin> That sounds like a good order of things
<dashkal> I tried the other order and bounced off hard. Ended up back on arch for another couple years.
<dashkal> Mint is good at staying out of my way, so it'll do in the interm.
<MichaelRaskin> I actually gave up on NixOS proper, but am still completely dependent on managing my system (including kernel) with nix
<b1000101> dashkal: It has a very steep learning curve, that's for sure.
<dashkal> I'm stuck in VMs with windows for the time being anyway. So the one silver lining there is I can easily move about my distros.
<b1000101> MichaelRaskin: what do you use?
<MichaelRaskin> Some custom boot scripts
<MichaelRaskin> And a Common Lisp daemon for doing system chores
<{^_^}> [nixpkgs] @Infinisil merged pull request #57426 → python37Packages.osmnx: 0.8.1 -> 0.9 → https://git.io/fhjlg
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjTb1
qz has joined #nixos
<MichaelRaskin> I do use some NixOS modules as functions «configuration attrset → config file»
<waleee> MichaelRaskin: seems a bit like guix-light (minus the libre-part)
<b1000101> MichaelRaskin: nice
<dashkal> Actually, that reminds me. How sane is it on NixOS to get /home on a second partition? I forget the details on how much it deviates from the normal filesystem.
<waleee> *guixsd
<MichaelRaskin> Well, they considered replacing sudo with a daemon and rejected that plan
<{^_^}> [nixpkgs] @markuskowa merged pull request #58097 → ginac: 1.7.4 -> 1.7.5 → https://git.io/fjfpc
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjTbM
<gchristensen> MichaelRaskin: your daemon -- does it provide you a terminal, or no?
<ghostyy> i just upgraded from 18.03 to 18.09 and now 3d doesnt work on my second xorg session (but it does on the first), does anyone have any ideas as to what might cause this?
<MichaelRaskin> dashkal: you need to mention that in the configuration, but NixOS doesn't care about /home location too much
<dashkal> Good to know. So I can do that when I'm ready to move over.
<MichaelRaskin> gchristensen: no, why should it?
<gchristensen> MichaelRaskin: well sometimes I use sudo with interactive programs, and I'm wondering if yours supports that or no
<infinisil> ghostyy: Nobody can help you if all the information we get is "does not work"
<MichaelRaskin> I can ask it to evaluate arbitrary code (with auth) and return results, though
<gchristensen> nice
<MichaelRaskin> I can ask it to start a terminal with root shell, too!
<ghostyy> the error message (for eg glxgears) is just a generic "could not load swrast.so" which just means it wasnt able to fall back to software rendering
<ghostyy> i guess i could try strace
dejanr has joined #nixos
<infinisil> ghostyy: Ah that's a common opengl error, it means it couldn't find the driver(s)
<{^_^}> [nixpkgs] @Profpatsch merged pull request #58551 → bazel: Fix PATH escaping → https://git.io/fjTdR
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @Infinisil to master « bazel: Fix PATH escaping »: https://git.io/fjTb9
lielaazive has quit [Ping timeout: 245 seconds]
<ghostyy> services.xserver.videoDrivers = ["nvidia"]; i have this set though
<ghostyy> also it works on my first xorg session
<ghostyy> at tty7
<ghostyy> but not on my other one
<dashkal> Ok, sanity/understanding check. I'm reading the nixpkgs manual's haskell section. And it looks an awful lot like the sanest way to do dev of any kind is to make shell.nix files in my dev directories that pulls in the specific environment for that project. Am I on the right track?
<infinisil> ghostyy: Huh, how do you run multiple ones? I've never seen anybody do that
Fare has quit [Ping timeout: 244 seconds]
<ghostyy> i just install the startx program, go to another tty and run startx
<dashkal> Is that how your first one is started?
<ghostyy> it didn't work in previous versions but it worked in 18.03 (and 3d hardware acceleration worked too)
<ghostyy> no the first is started with lightdm
<dashkal> There's the key difference. The environment startx knows isn't the same as that of lightdm's
<ghostyy> how do i get multiple lightdm sessions/make startx act like lightdm?
<ghostyy> i wish services.xserver.tty took a list
<infinisil> #47773 may be relevant
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47773 (by xeji, 25 weeks ago, merged): nixos/display-managers/startx: init
<infinisil> Well, probably not, but there's some discussion about startx there
<dashkal> I do see a related page on the wiki, but the top line is "Note: This page is a WIP, it doesn't describe best-practices with nix and NixOS and should be updated to use a nix derivation generating the necessary files instead of manipulating the contents of the store."
<Taneb> Any idea why my laptop's trackpad may not be working
<ghostyy> ah yeah, that was written before startx started working
<ghostyy> i have absolutely no clue what was the thing that made it work in the last version (and not in previous versions, or this version apparently) but i didnt have to do anything special for it
orivej has joined #nixos
<ghostyy> hm... if i log the output of startx maybe itll tell me what modules its loading
<ghostyy> if i dont see the nvidia one then thats probably the problem
<dashkal> My gut check (I'm new to this) is that you need to make a derived derivation that depends on the missing packages.
<MichaelRaskin> I wonder how much I am missing out by using nouveau and modesetting
<MichaelRaskin> So many interesting things seem to happen with nvidia drivers!
<dashkal> Meh, they do usually Just Work (tm).
<ghostyy> to be fair i had very little interesting things happen to me before upgrading
<ghostyy> also it loads the nvidia module and there are no errors
b1000101 has quit [Ping timeout: 256 seconds]
<dashkal> But I mostly don't need 3d on my linux station. I keep windows around for most of my need for 3d.
<ghostyy> thats smart
npmccallum_ has quit [Remote host closed the connection]
<MichaelRaskin> I have nonzero but limited demands for 3D, but these are even covered by Intel GPU (that I also have)
<laalf> hello! could someone give me docs on how to mount multiple encrypted partitions? i am using lvm with one partition at / (which works fine), one other partition (i dont know how to unlock it automatically with a keyfile) and a cache partition (also unlockable via that keyfile, also no mountpoint because its lvm cache). boot.initrd.luks.devices doesnt work because the keyfile is stored on /. i dont know how to configure filesystems.<name?> properly.
<ghostyy> i realized the other day after psending nine hours trying to get a video game to work in wine that the most important thing in life is wasting as little time as possible on asinine computer debugging tasks
<Taneb> Apparently I just needed to turn on libinput
npmccallum has joined #nixos
<dashkal> Thanks for that, Taneb. I'll run into that myself when it's time to get Nix on this machine properly.
<dashkal> I don't intend to have to dev with windows for any longer than necessary. But I inherited some C#/Azure code. So until I either port or get it working on mono, windows I'm stuck with.
<{^_^}> [nixpkgs] @Infinisil merged pull request #58494 → octopus: 8.3 -> 8.4 → https://git.io/fjTzZ
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjTbh
<laalf> MichaelRaskin: you are missing better compatibility, less breakage and better working optimus. if you were wondering.
<Taneb> dashkal: glad you're getting some benefit out of me missing something that should have been obvious
<dashkal> I miss things like that too. Lots of obvious things all at once. Some get dropped :)
agander has quit [Ping timeout: 255 seconds]
<MichaelRaskin> laalf: better compatibility with what? My priority is XRandR
<MichaelRaskin> I guess I am missing out on being able to run CUDA stuff, though
waleee has quit [Quit: WeeChat 2.4]
<dashkal> There's a space I want to play with in the mid-term future. I have some projects down the pipe that could use CUDA.
jappie has joined #nixos
<jappie> Hi, does anyoone know how to set the date of nixos
<laalf> MichaelRaskin: ah wait... i thought you were talking about what you were missing if you ran nouveau instead of nvidia. nvidia has better performance. cuda, vulcan. the rest is worlds worse
<jappie> I'm trying to prepare for daylight savings
<jappie> So I want to set the date into the future
<MichaelRaskin> I thought some parts of Vulkan are there in Mesa, but I might be wrong
<ghostyy> laalf, this is what my luks line looks like https://pastebin.com/jkU2dZ0p
erictapen has quit [Ping timeout: 246 seconds]
<ghostyy> oh wait as ec
<laalf> MichaelRaskin: would be new to me... well nouveau is working on vulcan so....
<ghostyy> the keyfile stuff is tricky
<laalf> ghostyy: thats not exactly my issue. i just want multiple partitions unlocked at boot
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjTNJ
<ghostyy> yeah, sorry i didnt read your whole post well enough
d10n-work has quit [Quit: Connection closed for inactivity]
<ghostyy> https://pastebin.com/wrD7BBzy thats the whole thing i use to unlock multiple devices with the same passphrase, i just use an extra initrd with a luks-encrypted filesystem image in it, and inside of there are all of the keys to all of the devices
<clever> ghostyy: nixos now saves the passphrase to a file on a tmpfs, and uses it for several devices
<clever> ghostyy: so such hacks arent needed anymore
<ghostyy> whoa really?
<clever> yes
<ghostyy> thats pretty cool, ill have to set that up
<laalf> clever: do you have a snipplet for me? or should i go the bash route?
jbgi has joined #nixos
Fare has joined #nixos
i1nfusion1 has quit [Remote host closed the connection]
<laalf> clever: so i add the other partitions to boot.initrd.luks.devices as well and they get unlocked automagically? (yes i have the same password on all of them)
goibhniu1 has quit [Ping timeout: 268 seconds]
<clever> laalf: yep
i1nfusion1 has joined #nixos
goibhniu1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to release-19.03: https://git.io/fjTNO
imdoor has joined #nixos
<laalf> wish me luck then
fresheyeball has quit [Quit: WeeChat 2.2]
ddellacosta has quit [Ping timeout: 250 seconds]
linarcx has quit [Quit: WeeChat 2.4]
ddellacosta has joined #nixos
<ghostyy> hmm, so on the other x session its loading the mesa libgl, while on the first its loading one that just says "libGL"
slack1256 has joined #nixos
<ghostyy> ah services.xserver.exportConfiguration = true; thats the line that makes startx work
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58544 → gitAndTools.hub: 2.11.0 -> 2.11.1 → https://git.io/fjT58
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjTNC
Fare has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @sjau opened pull request #58553 → zfs_unstable: 0.8.0-rc3 -> 2019-03-29 → https://git.io/fjTN4
<{^_^}> [nixpkgs] @Ericson2314 pushed 10 commits to master: https://git.io/fjTNB
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #58330 → TI MSP430 cross compiling → https://git.io/fjUGH
<hyper_ch> Mic92: just made PR
<ghostyy> i think this guy is having the same problem as me https://github.com/NixOS/nixpkgs/issues/41392 or at least he has the same error message
<{^_^}> #41392 (by pasqui23, 42 weeks ago, open): opengl:/run/opengl-driver/lib/dri directory not generated
<ghostyy> but then it works fine even without that (on one x session)
<dashkal> Thanks for posting the answer, ghostyy. I tend to prefer console login + startx.
<ghostyy> yeah me too, i dont really see display managers as an improvement
<laalf> clever: do you know about an issue with caching? i cannot mount it because it is lacking dependencies. in userspace it seems to work fine
<slabity> What if your display manager was a console?
<ghostyy> O_O
blackriversoftwa has quit [Quit: Page closed]
<slabity> Actually that sounds similar to using emacs as PID 1
<gchristensen> hnng
<ghostyy> lol oh god
<ghostyy> i guess its the logical next step after using emacs for literally everything else
sinner has joined #nixos
<gchristensen> emacs being single threaded makes it especially inept at the sorts of things people use it for
<dashkal> I've heard stories, whispers even, of people literally using emacs as PID 1...
<ghostyy> wow, is it really? i had no idea
sinner is now known as Guest41655
<slabity> What do you mean? Emacs has its own scheduler...
<slabity> AND you can run X in it
<ghostyy> can i run emacs on bare metal
<laalf> Emacs has no kernel
<gchristensen> they're cooperative green threads afaik, not OS threads -- all sharing a single OS thread
<laalf> Not yet.
orivej has quit [Ping timeout: 246 seconds]
<ghostyy> "yet" i like your optimism
<laalf> Hurd in 2170 maybe
<smolboye[m]> hi lars
<laalf> Hi
<slabity> For my next project I will make a Nix based OS that uses emacs as PID 1
<smolboye[m]> my battery is still shitting on me dude
<smolboye[m]> what should i do, lol
<smolboye[m]> so for those uninitiated, im running nixos 18.09 on my x1c6
<ghostyy> slabity, good luck but i think that is listed in revelations as one of the signs of the impending apocalypse, just to warn you
<smolboye[m]> the battery barely lasts a couple hours while im on video call
<smolboye[m]> is that normal?
<smolboye[m]> cause i had around 5+ hours on call easily on fedora
<smolboye[m]> im not sure what im doing wrong
<laalf> ew... what is that
<{^_^}> #15516 (by viric, 2 years ago, open): NixOS: Handle lvm cached volumes properly
kleisli has joined #nixos
Zer000 has joined #nixos
<smolboye[m]> also this is nixos with just telegram open
<slabity> ghostyy: How about using sh as PID 1?
<MichaelRaskin> slabity: that is actually not that rare
<dashkal> sh on pid 1 makes a decent amount of sense under some circumstances
<slabity> yea, actually that kinda sounds like how older init systems work. Just a bunch of shell scripts as services
<ghostyy> ive done sh as pid one before while debugging systems in the past
pie_ has joined #nixos
<slabity> Ya know. Maybe I actually will try making a minimal distribution of Nix. Just the kernel, busybox, stdenv, and package manager
<MichaelRaskin> There are a few, actually
<MichaelRaskin> Not-OS and the like
<slabity> Oh. Nevermind then.
<slabity> I'll just stick with getting Nixos working on mobile
<dashkal> That actually intrigues me. There
<ghostyy> i narrowed down my opengl problem - logging in on the second xorg as the same user with opengl working on the first xorg, opengl works
<ghostyy> so its not xorg thats the problem, its something to do with the user
<dashkal> There's a phone I keep low key attention on that's basically begging for a nixos install
<ghostyy> does anyone have any ideas for why opengl would work for one user but not another on nixos
Fare has joined #nixos
<ghostyy> they are both in the video group, but one loads the mesa libgl and the other loads what is presumably the nvidia libgl
<dashkal> Do they both see the same (gl) libraries in their environment?
<ghostyy> how would i check that exactly? LD_PRELOAD_PATH is set to /run/opengl-driver
<ghostyy> but the libgl isnt in there, its in the store
<ghostyy> for both of them
<slabity> dashkal: I got plasma-mobile shell working on Nixos. I'm trying to get it running on an ia32 tablet first.
<clever> laalf: caching issue?
<dashkal> Here's the phone: https://shop.puri.sm/shop/librem-5/
<laalf> clever, see the link I sent. But no. That snipplet doesn't fix it
<clever> laalf: which link?
<{^_^}> #15516 (by viric, 2 years ago, open): NixOS: Handle lvm cached volumes properly
<samueldr> slabity: what difficulties are there with your ia32 tablet?
<bemeurer> Is there a good autoformatter for Nix?
<samueldr> or are you more involved with the end-user software?
<clever> laalf: ahh, ive never delt with that before, and i use zfs now not lvm
<laalf> Zol seems to be too much of a pain, so I don't use it
aanderse_ has joined #nixos
<clever> laalf: zfs on linux is trivial with nixos
<bemeurer> I use ZoL too, works well, pretty easy with NixOS
<gchristensen> clever: after many hours of bisecting the kernel, I take issue with that! :P
<clever> gchristensen: when using supported kernel versions :P
<ghostyy> ive never had a problem with zfs on linux after using it for years
<gchristensen> clever: it is a supported kernel version :(
<laalf> clever: i dont think it can have persistent caching yet?
<clever> laalf: correct, zfs looses the cache at shutdown, its more of a swap for the in-ram cache
<clever> laalf: i simply dont reboot :P
<laalf> sometimes i run out of battery
<bemeurer> Does ZoL + suspend on laptops work well?
<bemeurer> (I only use ZoL on a desktop)
<dashkal> Is there an arm brach? Pondering a raspberry pi install.
<clever> bemeurer: suspend to ram works, suspend to disk doesnt
aanderse has quit [Ping timeout: 250 seconds]
<bemeurer> Good enough, I have too much ram to want suspend-to-disk/hibernate anyway
<samueldr> dashkal: no branch, but aarch64 is a target with beta support (is beta right?) and armv6/7 as best intention
<ghostyy> uninstalling and reinstalling glxinfo made opengl work??"?????
<smolboye[m]> the battery lasts just over a couple hours max if im on a video call for work. this used to work around 4-5 hours on fedora.
<smolboye[m]> also the idle temps on nixos is too high
<ghostyy> not complaining but what the heck
<clever> bemeurer: i messed up partitioning my laptop, made a 40mb swap, rather then a 40gig swap
<bemeurer> lol
<samueldr> dashkal: which makes the raspberry pi 3(B,B+,A) quite well supported* while 2,1 and 0 are problematic due to lack of cache
<dashkal> I'm happy to wait for a 3 anyway. I love my first gen, but about all it does is openvpn and znc.
<dashkal> I'm impressed with how well it copes with openvpn, honestly
<laalf> smolboye[m]: what is your governor?
<bemeurer> clever: I should probably just make a phat swap since my laptop eats too much battery on sleep
<bemeurer> Like, it'll lose 10-15% bat overnight, maybe more
<smolboye[m]> laalf: performance
<smolboye[m]> didnt mess with the default
<smolboye[m]> should i set it to something else?
<laalf> powersave obviously
<smolboye[m]> fair, im stupid it seems
<smolboye[m]> let me try that, thanks :)
<{^_^}> [nixpkgs] @Infinisil opened pull request #58556 → steamcmd: Add needed binaries to PATH → https://git.io/fjTNH
<bemeurer> So, is the answer to "Is there a Nix autoformatter" no?
<gchristensen> right
selfsymmetric-pa has joined #nixos
<hyper_ch> gchristensen: clever: trim patch got merged with zfs master :) made a PR
<gchristensen> nice
<hyper_ch> but seems grahamcofborg is stuck
<hyper_ch> Pending — Calculating Changed Outputs
<gchristensen> that takes a while
<gchristensen> link to your PR?
<hyper_ch> is that a new thing? last time I did make a PR it was finished quickly
martyet-o has joined #nixos
<{^_^}> #58553 (by sjau, 37 minutes ago, open): zfs_unstable: 0.8.0-rc3 -> 2019-03-29
<martyet-o> ola
<gchristensen> oh you need to reload, hyper_ch
<martyet-o> can someone please point me how to work with php in nginx on nixos?
<hyper_ch> lol :)
<martyet-o> i got nginx to working state, just fighting with php..
<martyet-o> and google is not helping at all
<hyper_ch> martyet-o: I have this in the vhost https://paste.simplylinux.ch/view/929a4abd
selfsymmetric-pa has quit [Remote host closed the connection]
<martyet-o> mmm fastcgi..
<martyet-o> will try
<hyper_ch> also the php service
<hyper_ch> gchristensen: because the patch of mic92 isn't working anymore
selfsymmetric-pa has joined #nixos
<martyet-o> yeah, i see.. thanks
<selfsymmetric-pa> Anyone know how to compile Emacs with imagemagick support?
<selfsymmetric-pa> Such that `(image-type-available-p 'imagemagick)` will evaluate to `t`?
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.23.1 -> 1.23.2 »: https://git.io/fjTNF
<martyet-o> hyper_ch what does mean that "mypool" at the end of phpfpm services line? what can explain me right this section somewhere in documentation? :) i would like to find, learn.. sorry for weird question :)
<hyper_ch> martyet-o: no idea
<infinisil> selfsymmetric-pa: What's your OS?
<clever> martyet-o: php-fpm lets you configure multiple pools of workers
<clever> martyet-o: each with its own config
<martyet-o> and i can separate these pools with separate ports and users? am i right?
<martyet-o> thinking about for what is this useful..
<martyet-o> but this seems like that point
bemeurer has quit [Ping timeout: 259 seconds]
<clever> martyet-o: shared hosting, each directory on your server runs php files as a diff user
drakonis has joined #nixos
<selfsymmetric-pa> infinisil: This is on NixOS.
<gchristensen> clever: turns out ZoL's aarch64 compile farm is 4-core odroid with 1.7gb of ram :D
<selfsymmetric-pa> infinisil: Here is my attempt. I am the last commenter. https://discourse.nixos.org/t/nixos-stable-emacs-imagemagick-support/1338
<clever> gchristensen: nice
bemeurer has joined #nixos
lielaazive has joined #nixos
<infinisil> selfsymmetric-pa: Hmm I see..
freeman42y has joined #nixos
<o1lo01ol_> What's the recommended way to fetch a git repository from a private gitlab repo in a nix expression?
<bemeurer> o1lo01ol_: I do it by serving tarballs in a private server and having the right credentials on my box (not really gitlab, but same idea)
<o1lo01ol_> so using `fetchurl`?
freeman42x has quit [Ping timeout: 258 seconds]
* bemeurer nods
<bemeurer> Not sure if it's the best/right way to do it
<bemeurer> But it's how I did it the one time I needed it :P
<infinisil> selfsymmetric-pa: overriding with imagemagickBig works for me
<infinisil> selfsymmetric-pa: nix-bulid -E 'with import <nixpkgs> {}; emacs.override { imagemagick = imagemagickBig; }'
<infinisil> selfsymmetric-pa: result/bin/emacs --batch --eval "(print (image-type-available-p 'imagemagick))"
<infinisil> -> t
<dminuoso> o1lo01ol_: Isnt fetchgitPrivate a thing?
<o1lo01ol_> dminuoso: It is, I just can't remember if it's supposed to be used.
<o1lo01ol_> It's causing lots of headaches for us, anyway
<dminuoso> o1lo01ol_: What kind of headache?
freeman42z has joined #nixos
<o1lo01ol_> getting the nixbuilders / daemon the correct permissions to the credentials
<dminuoso> From the looks of it, it seems supposed to be used.
<o1lo01ol_> We have two High sierra macs that have been able to do it using two different methods, and one on Mojave that can't do it at all.
<selfsymmetric-pa> infinisil: Weird...I wonder why it doesn't work in my configuration. :(
<selfsymmetric-pa> Maybe I'm overriding incorrectly?
freeman42y has quit [Ping timeout: 258 seconds]
<infinisil> selfsymmetric-pa: What nixpkgs version are you using?
<selfsymmetric-pa> Does my `emacs-overrides` look correct?
<selfsymmetric-pa> I'm using 18.03.
<selfsymmetric-pa> I'll give unstable a shot.
<dminuoso> o1lo01ol_: Is the SSH config perhaps not under nix control in those cases (and they differ)?
<infinisil> selfsymmetric-pa: What emacs-overrides?
<selfsymmetric-pa> It's the second-to-last comment in that thread.
<o1lo01ol_> dminuoso: SSH config are not under nix's control in any of the cases.
<infinisil> selfsymmetric-pa: Oh, you mean emacs.override
<selfsymmetric-pa> infinisil: Here, I'll upload the whole file.
<martyet-o> php package for nixos exists, php works, but on nginx nope.. and setting up fastcgi cant work, if i will not install package for it.. doesnt?
<dminuoso> o1lo01ol_: Well... :/
<infinisil> selfsymmetric-pa: Well you are using imagemagick there, not imagemagickBig
<selfsymmetric-pa> infinisil: https://pastebin.com/eZMY8UeD
<selfsymmetric-pa> infinisil: I know, I tried with both.
<infinisil> selfsymmetric-pa: And not sure about all the other override things, I just know that when you do `.override { imagemagick = imagemagickBig; }` it works
<selfsymmetric-pa> Interesting...
<infinisil> Just try it with that, and when that works continue with other overrides
<selfsymmetric-pa> How would I write that, syntactically, I mean?
<selfsymmetric-pa> I don't know how to layer overrides like that.
<selfsymmetric-pa> The weird global nature of `overrides` confuses me generally. I'm usually more comfortable with `overrideAttrs`.
<infinisil> OHhh yeah you have a mess up with overrides
<selfsymmetric-pa> Yeah?
<infinisil> selfsymmetric-pa: Yeah but there's different override things, and you're using the wrong one for imagemagick
<infinisil> And you maybe also messed up the emacs package override for emacsPackages
<selfsymmetric-pa> Ohhh. How do I fix it? Is it not a valid attribute?
<infinisil> Hold on, checking
<infinisil> You need `emacs.override { imagemagick = imagemagickBig; }`
<infinisil> Compare it with what you have
<selfsymmetric-pa> Hmm. But I don't even have `emacs`. I have `emacsPackagesNg` and `emacsWithPackages`.
<selfsymmetric-pa> Ohhhh.
<selfsymmetric-pa> Sorry, I get it now.
<selfsymmetric-pa> Same place as srcRepo = true;
<infinisil> I'll just take your file and rewrite it a bit, hold on
<infinisil> (had to fix something real quick, refresh it)
<infinisil> I changed `emacsPackagesNg` to `emacsPackagesNgGen <emacs package>`, that generates the emacs packages for a specific emacs version
<selfsymmetric-pa> Wow, thank you so much!
<selfsymmetric-pa> It's hard to keep all these different sorts of overrides straight.
knupfer has joined #nixos
<selfsymmetric-pa> Think the compiler will help more in the future?
<infinisil> Well, overriding unfortunately is a very complicated thing in general..
<infinisil> It's nixpkgs' fault for having different override strategies all over the place
<infinisil> And for those to be really hard to do too..
<{^_^}> [nixpkgs] @groodt opened pull request #58557 → bazel: 0.22.0 doesn't build in Darwin sandbox → https://git.io/fjTA2
<infinisil> There is rfcs#3 whose goal was to improve support for overriding things in Nix itself, but it didn't get far.
<{^_^}> https://github.com/NixOS/rfcs/pull/3 (by nbp, 2 years ago, closed): [RFC 0003] SOS: Simple Override Strategy.
<selfsymmetric-pa> Hmm. By the way, I noticed you use `myEmacs`, not `my-emacs`. I can't figure out what the prevailing conventions are for camelCase vs kebab-case.
<selfsymmetric-pa> Any advice?
<infinisil> Hehe, it's usually camelCase in nixpkgs, but that's up to you to choose ;)
<selfsymmetric-pa> Ah, so no style guide yet? That explains that, haha.
<gchristensen> there is a bit of a style guide somewhere, but not much
<gchristensen> and it is hard to really have it be effective without automated verification
<samueldr> still, having a style guide is necessary to answer with one truth "how to write it" when asked, or when diverging opinions arises :/
<gchristensen> the right way to write nix expressions is the way I write nix expressions of course
shibboleth has joined #nixos
<samueldr> while without the tooling to automate catching those it won't be possible to police, at least there would be _a_ definitive answer and the project could advance towards the style until the tooling exists
<infinisil> gchristensen: Yeah, but only if it's how I write Nix expressions of course
<gchristensen> I propose someone who writes nix expressions like I do authors a definitive style guide
<gchristensen> (more seriously, I'm pretty willing to go with *any* style which is automatic)
<selfsymmetric-pa> Centralization of style is badly needed. Too many ways to do things today. Everybody assumes you write Nix like they do.
<infinisil> gchristensen: *Literally any* style?
<selfsymmetric-pa> It's so frustrating to hear, "oh just override with `foo = 2`". What do you meeeeeeeeeeeean???
<samueldr> everyone knows this is how to write nix https://github.com/svanderburg/nijs
<selfsymmetric-pa> "override" can mean like six different things, it's exhausting
<gchristensen> selfsymmetric-pa: that is a grander issue than formatting guide, which is what I thought we were discussing :X and I agree
<infinisil> This is how you write Nix properly: https://github.com/Infinisil/nixlisp
<gchristensen> infinisil: I sort of see it as a first-to-do-it-wins
<selfsymmetric-pa> gchristensen: Indeed, it's a generalization. If you write things in multiple ways, people assume those ways might be semantic.,
<selfsymmetric-pa> This is generally true. True for style, true for language, true for architecture.
<selfsymmetric-pa> The confusion thereof can be combated by documentation and linting.
<selfsymmetric-pa> At least partly.
Soo_Slow has quit [Remote host closed the connection]
zupo_ has joined #nixos
vk3wtf has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
<Notkea> hello, what's the preferred way of adapting path in a program for NixOS? is it better to sed/substituteInPlace or to use wrapProgram?
<{^_^}> [nixpkgs] @vbgl opened pull request #58559 → dotnetPackages.FsLexYaccRuntime: init at 6.1.0 → https://git.io/fjTAD
drakonis has quit [Quit: WeeChat 2.3]
knupfer has quit [Ping timeout: 250 seconds]
npmccallum has quit [Ping timeout: 245 seconds]
detran has quit [Ping timeout: 245 seconds]
lielaazive has quit [Remote host closed the connection]
adetokunbo has joined #nixos
<infinisil> Notkea: If you can and it's not a hassle, patching is preferred
<{^_^}> [hydra] @danbst opened pull request #648 → tests: change postgresql socket dir to /tmp → https://git.io/fjTAd
<infinisil> Well, imo at least
<Notkea> thanks! otherwise, is it possible to add something to the PATH for all binaries and scripts in a package all at once?
jbgi has quit [Ping timeout: 255 seconds]
<symphorien> you can wrap them in a for loop
knupfer has joined #nixos
oida has quit [Remote host closed the connection]
justanotheruser has joined #nixos
<mkaito> anyone using bundler 2.0 with nix?
goibhniu1 has quit [Ping timeout: 250 seconds]
kreisys has quit [Read error: Connection reset by peer]
goibhniu1 has joined #nixos
<Aleksejs> Hi, is it OK that nixos-manpages take forever to build on raspberry pi 3 model b?
<gchristensen> I know it does take forever, I don't know that anybody agrees it is "okay" exactly
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
erasmas has quit [Quit: leaving]
shibboleth has quit [Quit: shibboleth]
ng0 has quit [Quit: Alexa, when is the end of world?]
Fare has quit [Ping timeout: 246 seconds]
adetokunbo has quit [Quit: This computer has gone to sleep]
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
<ghostyy> how do i install the latest stable nvidia driver for nixos?
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<ghostyy> https://github.com/NixOS/nixpkgs/issues/51768 this was informative but his code doesnt work
<ghostyy> or, it doesnt do anything
<{^_^}> #51768 (by tdbgamer, 15 weeks ago, closed): NixOS 18.09: Stable nvidia drivers not compatible with RTX 2070
<ghostyy> ah, now ive got it to fail at least
wolfman154 has joined #nixos
Anton-Latukha has quit [Ping timeout: 272 seconds]
<ghostyy> and boot.kernelPackages = pkgs.linuxPackages_latest; and services.xserver.videoDrivers = ["nvidia"];
<wolfman154> Where are the configuration instructions for libinput, I want to change my touchpad to the gnome touchpad configuration?
<wolfman154> What would be the syntax for this?
<{^_^}> [nixpkgs] @flokli merged pull request #58545 → nixos/gitlab: Install and fixup vendorised gitlab-shell → https://git.io/fjT5B
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTxc
<{^_^}> [nixpkgs] @flokli pushed commit from @bgamari to release-19.03 « nixos/gitlab: Install and fixup vendorised gitlab-shell »: https://git.io/fjTxW
<{^_^}> [nixpkgs] @flokli pushed commit from @bgamari to release-18.09 « nixos/gitlab: Install and fixup vendorised gitlab-shell »: https://git.io/fjTxl
<samueldr> Aleksejs: it's normal
<samueldr> it's relatively memory + I/O intensive
<samueldr> and I/O on SD cards isn't the best :/
<wolfman154> Where are the nixos instructions for libinput, I want to change the touchpad the way it is in gnome ?
Erasmus has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vbgl merged pull request #58493 → gandom-fonts: init at v0.6 → https://git.io/fjTzt
<{^_^}> [nixpkgs] @vbgl pushed commit from @LinArcX to master « gandom-fonts: init at v0.6 »: https://git.io/fjTxR
<bemeurer> samueldr: True, I really with RPis had a SATA port
<bemeurer> Heck, or m.2
<samueldr> I don't think anyone doesn't wish a more dedicated storage _thing_ on it
<wolfman154> ?
<tilpner> wolfman154: You can find out with `m̀an configuration.nix` or look for examples in public configurations
<tilpner> ,configsearch
<{^_^}> To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
<wolfman154> tilpner++
<{^_^}> tilpner's karma got increased to 19
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<bemeurer> tilpner++
<{^_^}> tilpner's karma got increased to 20
<bemeurer> aszlig++
<{^_^}> aszlig's karma got increased to 3
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> aszlig++ for helping me with this dang zfs thing
<{^_^}> aszlig's karma got increased to 4
<aszlig> oh no... i'm positive again
<aszlig> aszlig++
<aszlig> aszlig++
<{^_^}> aszlig's karma got decreased to 3
<{^_^}> aszlig's karma got decreased to 2
<aszlig> aszlig++
<{^_^}> aszlig's karma got decreased to 1
<aszlig> aszlig++
<aszlig> aszlig++
<{^_^}> aszlig's karma got decreased to 0
<{^_^}> aszlig's karma got decreased to -1
<aszlig> better :-)
knupfer has quit [Ping timeout: 240 seconds]
<tilpner> aszlig++
<{^_^}> aszlig's karma got increased to 0
teej has quit [Quit: Connection closed for inactivity]
<aszlig> pfff...
<tilpner> Hey, it's not really positive now!
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #58535 → [18.09] firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -> 66.0.2 → https://git.io/fjTSK
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-18.09: https://git.io/fjTxo
<{^_^}> [nixpkgs] @dtzWill opened pull request #58560 → harfbuzz: 2.3.1 -> 2.4.0 → https://git.io/fjTxK
<{^_^}> [nixpkgs] @flokli merged pull request #58532 → [19.03] firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -. 66.0.2 → https://git.io/fjTDb
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-19.03: https://git.io/fjTx6
<{^_^}> [nixpkgs] @flokli merged pull request #58531 → firefox: 66.0.1 -> 66.0.2, firefox-bin: 66.0.1 -. 66.0.2 → https://git.io/fjTD5
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fjTxi
jasongrossman has joined #nixos
rcshm has quit []
elux has joined #nixos
<elux> hi there
oida has joined #nixos
<elux> how does nixos work with systemctl? is there a way to have a service run in systemctl --user ? and make it so i can turn it on/off by cli as I'd like?
<elux> ie. for services.postgresql, id rather not have this run on my system all the time, just when i turn it on..
<elux> i gues i could use docker, but meh would rather not
<{^_^}> [nixpkgs] @dtzWill opened pull request #58561 → qownnotes: 19.3.0 -> 19.3.4 → https://git.io/fjTxP
Erasmus has quit [Quit: fencing]
<buckley310> I think user services work normally by default
<{^_^}> [nixpkgs] @dtzWill opened pull request #58562 → ttyplot: 1.1 -> 1.2 → https://git.io/fjTxX
<buckley310> normal as in, create a service file in your home folder and then you can start/stop it
<elux> im still unclear how nixpkgs work with home-manager with the system-level config, because when using nixos-rebuild, i can set services.postgresql and it will install postgres, if i try the same thing in home-manager's nixpkg, it says it cant find postgresql ..
<buckley310> i've actually never used home-manager, so im not sure how services work with that
adetokunbo has joined #nixos
freeman42y has joined #nixos
OmnipotentEntity has quit [Remote host closed the connection]
<rycee> elux: The user services in Home Manager are completely separate from the system and user services on NixOS. The options available on Home Manager can be seen here: https://rycee.gitlab.io/home-manager/options.html
<ghostyy> is there anyone who can help me with getting latest nvidia drivers to work?
goibhniu1 has quit [Ping timeout: 245 seconds]
<buckley310> yeah, i have my own version of the nvidia driver
<ghostyy> wait that expired
imdoor has quit [Quit: imdoor]
<ghostyy> buckley310, how do you do that?
<buckley310> so first of all, my way only works on 19.03
Rusty1 has joined #nixos
<ghostyy> ah...
<buckley310> the nvidia driver made a breaking change between 18.09 and now
freeman42z has quit [Ping timeout: 258 seconds]
freeman42x has joined #nixos
<buckley310> http://ix.io/1EQ7
<buckley310> stick that in your config, and then grab `pkgs/os-specific/linux/nvidia-x11` from master
goibhniu1 has joined #nixos
freeman42y has quit [Ping timeout: 258 seconds]
slack1256 has quit [Ping timeout: 250 seconds]
<buckley310> i am sad because nixos 19.03 stopped one version before nvidia added freesync support :(
<elux> rycee: thank you :) and thanks for home-manager, love it!!
<rycee> elux: No worries. Glad you like it! :-)
<elux> so, any suggestions for how i can copy the postgresql from NixOS/nixpkgs and use it with home-manager with systemd user level..? im surprised this hasnt been done already
<elux> im finding setting up postgres (v11) is quite challengine with nixos, even to get a template db created etc
<elux> (im just 1 week in on my desktop nixos setup which is a real joy other then a few minor new things)
bemeurer has quit [Ping timeout: 246 seconds]
<rycee> elux: I think it would require some fairly intimate understanding of the NixOS and Home Manager modules to port a complex module like the postgres one.
<elux> got it, ill just try to get NixOS's postgresql to work then
<elux> last lame question -- how can i setup a decent gtk2/gtk3 theme? my thunar is looking pretty bad
<rycee> elux: I would recommend to instead use NixOS declarative containers and set up postgres inside it.
<elux> oo, interesting ill look those up. ive never heard of NixOS declarative containers yet
<elux> what kind of container runtime does it use..? docker? or something else
zupo has joined #nixos
jbgi has joined #nixos
<rycee> It uses systemd-nspawn.
<rycee> About the gtk theme. To set it up in Home Manager you can use the https://rycee.gitlab.io/home-manager/options.html#opt-gtk.theme option.
<rycee> elux: For example, I have `gtk = { font = { package = pkgs.dejavu_fonts; name = "DejaVu Sans 8"; }; theme = { package = pkgs.theme-vertex; name = "Vertex-Dark"; }; };` in my configuration.
<ghostyy> buckley310, have you experienced any problems in 19.03?
<ghostyy> im thinking of upgrading from 18.09
<elux> thank you, ill give that a shot. the nix files are readable, but often not clear which are valid values to pass to options
<elux> i use DejaVu everywhere too :) so thats perfect
Fare has joined #nixos
<buckley310> ghostyy: nope. ive been using it for a couple weeks on my two machines.
mmlb9774508 has joined #nixos
zupo_ has joined #nixos
jappie has quit [Ping timeout: 256 seconds]
<elux> rycee: what do you use for your iconTheme settings? unfortauntely im not seeing any fonts show up in thunar -- although the theme/fonts look much better
<rycee> I used to have `iconTheme = { package = pkgs.tango-icon-theme; name = "Tango"; };` but now I just use the default one.
zupo has quit [Ping timeout: 246 seconds]
<elux> thank you
<elux> nice, looks decent.
<rycee> No worries. I'm heading to bed now. Good luck :-)
m0rphism has quit [Ping timeout: 272 seconds]
<ghostyy> argh i cant get around this /nix/store/a6rf8a474z5y01w4ld2v54d24kyqcxag-stdenv-linux/setup: line 312: pkgBuildAccumVars: readonly variable error
<elux> g`night
<{^_^}> [nixpkgs] @flokli merged pull request #58367 → poedit: 1.5.7 -> 2.2.1 → https://git.io/fjUEO
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTpv
dwdr has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #58420 → Remove a bunch of old option renames → https://git.io/fjUXk
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjTpm
adetokunbo has quit [Quit: This computer has gone to sleep]
teej has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]