!oeFELgatfbdiAEkJAY:nixos.org

Nix Zürich

112 Members
https://www.meetup.com/nix-zurich/ - ZHF Hackathon 25-26 Nov 202324 Servers

Load older messages


SenderMessageTime
26 Mar 2024
@mrcjk:matrix.orgMarc JakobiWill do, once I'm done. I might still have some quirks to iron out.14:51:50
@mrcjk:matrix.orgMarc JakobiOut of curiosity, what is your friend packaging?14:52:03
@mrcjk:matrix.orgMarc Jakobi

This is what I have so far:

# in mkDerivation
  installPhase = ''
    cp -r ./ $out/
    ${buildFHSEnvBubblewrap {
      name = "falconctl";
      runScript = "$out/opt/CrowdStrike/falconctl";
      extraBwrapArgs = ["--bind $out/opt /opt"];
    }}/bin/falconctl -s --cid=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  '';

And then, with another wrapper:

  falcond = buildFHSEnvBubblewrap {
    name = "falcond";
    targetPkgs = pkgs: [falcon-sensor-unwrapped libnl openssl];
    runScript = "${falcon-sensor-unwrapped}/opt/CrowdStrike/falcond";
    extraBwrapArgs = [
      "--bind \"$HOME\"/.local/share/CrowdStrike/falconstore ${falcon-sensor-unwrapped}/opt/CrowdStrike/falconstore"
    ];
  };

I'm working on a nixos module where the systemd service copies the falconstore file from the -unwrapped package to the .local/share location.

14:55:45
28 Mar 2024
@das-g:matrix.orgdas-gIs anyone from Rivero in this room here?12:35:55
@ners:nixos.devners Yeah, Dominic Egger 15:33:21
@mrcjk:matrix.orgMarc JakobiWell, this ended up failing for me because the app runs in kernel space and has a whitelist of supported kernels 🙉15:40:02
@das-g:matrix.orgdas-g Who at Rivero names the company's products, Dominic Egger? Are there Esperanto speakers among you?
Kiu ĉe Rivero nomas la produktojn de la firmao? Ĉu estas Esperantistoj inter vi?
17:34:05
@graf_blutwurst:matrix.orgDominic Eggeri don't think we have an esperanto speaker. you'd have to ask my boss what that is about tbh18:05:42
30 Mar 2024
@oldaq:matrix.orgPablo Escodebar

Is there a reason why there is no powerline vim plugin?

Defining one looks almost as easy as:

pkgs.vimUtils.buildVimPlugin {
  name = “powerline”;
  src = “${pkgs.powerline}/share/vim”;
}

(Well… of course… there is some more to it, since we depend on python etc.)

But maybe there’s something which I am missing and it’s totally unnecessary to use buildVimPlugin.

What is your approach?

19:56:06
@mrcjk:matrix.orgMarc Jakobi
In reply to @oldaq:matrix.org

Is there a reason why there is no powerline vim plugin?

Defining one looks almost as easy as:

pkgs.vimUtils.buildVimPlugin {
  name = “powerline”;
  src = “${pkgs.powerline}/share/vim”;
}

(Well… of course… there is some more to it, since we depend on python etc.)

But maybe there’s something which I am missing and it’s totally unnecessary to use buildVimPlugin.

What is your approach?

Plugins that can't be generated with the updater need to be added manually (see for example vim-clap) or, if they just need something added on top of the generated nix, overridden.

As for why it hasn't been added yet. There probably just hasn't been a nix user who uses the plugin yet.

20:06:56
31 Mar 2024
@oldaq:matrix.orgPablo Escodebar
In reply to @mrcjk:matrix.org

Plugins that can't be generated with the updater need to be added manually (see for example vim-clap) or, if they just need something added on top of the generated nix, overridden.

As for why it hasn't been added yet. There probably just hasn't been a nix user who uses the plugin yet.

I’ve been digging into it… and I don’t know how to solve this yet (probably because I don’t know enough about Nix yet).

The powerline plugin depends on python and the powerline module… and it has to change vim’s python sys.path. Awkwardly enough, vim’s python sys.path is different from the shell’s sys.path (vim’s one not including the path to the site-packages where the powerline module is located).

14:49:38
@mrcjk:matrix.orgMarc Jakobi
In reply to @oldaq:matrix.org

I’ve been digging into it… and I don’t know how to solve this yet (probably because I don’t know enough about Nix yet).

The powerline plugin depends on python and the powerline module… and it has to change vim’s python sys.path. Awkwardly enough, vim’s python sys.path is different from the shell’s sys.path (vim’s one not including the path to the site-packages where the powerline module is located).

From what I can tell, powerline isn't a vim plugin in the traditional sense, and it's already been packaged.

It integrates with vim, but you need to build vim with python3 support, or use neovim (which has python3 support enabled by default).

17:03:15
2 Apr 2024
@lorenzbrun:matrix.orglorenzbrun joined the room.15:37:21
8 Apr 2024
@mrcjk:matrix.orgMarc Jakobi@ners does nix-monitored send notifications via libnotify? If so, can that be disabled?11:58:52
@ners:nixos.devners

It does indeed. The simplest way to disable it is to set

nix.monitored.package = pkgs.nix-monitored.override { withNotify = false; };
12:00:12
@mrcjk:matrix.orgMarc JakobiThanks12:01:51
10 Apr 2024
@ners:nixos.devners @room a gentle reminder that we're meeting tomorrow at 18:00! https://www.meetup.com/de-DE/nix-zurich/events/299934110/ 08:43:09
@ners:nixos.devners * @room a gentle reminder that we're meeting tomorrow at 18:00! https://www.meetup.com/nix-zurich/events/299934110/ 08:44:33
@mrcjk:matrix.orgMarc Jakobi
In reply to @ners:nixos.dev
@room a gentle reminder that we're meeting tomorrow at 18:00! https://www.meetup.com/nix-zurich/events/299934110/
I'm still recovering from a strep throat. Might not make it if I don't recover by tomorrow 😔
I was really looking forward to this one.
08:50:28
@nebucatnetzer13:matrix.orgnebucatnetzer13Is it now every time on Thursday?10:08:23
@nebucatnetzer13:matrix.orgnebucatnetzer13 Won’t be able to make it this Thursday but in general it’s a good day for me. 10:10:08
@infinisil:matrix.orginfinisil I'll be there! 10:21:02
11 Apr 2024
@ners:nixos.devners
In reply to @nebucatnetzer13:matrix.org
Is it now every time on Thursday?
At the moment it's about ~monthly, but I'll gladly organise whenever people are up for it. 🙂
10:42:43
@nebucatnetzer13:matrix.orgnebucatnetzer13
In reply to @ners:nixos.dev
At the moment it's about ~monthly, but I'll gladly organise whenever people are up for it. 🙂
Monthly is fine for me. Next would be the 9th of May then?
16:16:55
12 Apr 2024
@imincik:matrix.orgIvan Mincik (imincik)@ners , is Zurich ZHF meetup fixed on 25-26.5 ? Can I start booking flights and accommodation ? Thanks.08:14:34
@imincik:matrix.orgIvan Mincik (imincik)I can't see any upcoming ZHF in https://www.meetup.com/nix-zurich/events/ 08:25:56
@ners:nixos.devnersAh, thanks for reminding me. I'll create one for 25th and 26th May.10:09:36
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @ners:nixos.dev
Ah, thanks for reminding me. I'll create one for 25th and 26th May.
OK, I'll start booking. Thanks.
12:47:39
17 Apr 2024
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @ners:nixos.dev
Ah, thanks for reminding me. I'll create one for 25th and 26th May.
I still can't see it at https://www.meetup.com/nix-zurich/
10:05:33
@ners:nixos.devnersI've just posted one: https://www.meetup.com/de-DE/nix-zurich/events/300471463/ The program isn't fully fleshed out yet (e.g. I've not written down the lightning talks)15:36:32

Show newer messages


Back to Room ListRoom Version: 10