!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

57 Members
https://github.com/nix-community/nix-init17 Servers

Load older messages


SenderMessageTime
10 Jul 2023
@blaggacao:matrix.org@blaggacao:matrix.org* A small op-ed (ode) to nix-init πŸ˜ŽπŸ™ƒ11:42:06
@blaggacao:matrix.org@blaggacao:matrix.org* A small [op-ed (ode)](https://discourse.nixos.org/t/disintermediate-documentation/30239?u=blaggacao) to nix-init πŸ˜ŽπŸ™ƒ11:42:30
@blaggacao:matrix.org@blaggacao:matrix.orgI just realized that pkgs-modules should probably expose programatic discoverability instructiona on theor interface definition for tools like nix-init to provide a runtime for them.12:25:42
@blaggacao:matrix.org@blaggacao:matrix.org

I.e.

{
  imports = [ (import ./pkgs-module-options.nix) ];
}

Should hav option annotations that let a tool like nix-init or an update script discover things like name, version, etc.

12:27:43
@blaggacao:matrix.org@blaggacao:matrix.orgThe ecosystem stance 'mir san mir und die anderen san FrisΓΆre' hasn't aged well.12:28:20
@blaggacao:matrix.org@blaggacao:matrix.org So ecosystem interoperability is in-scope for the Nix Ecosystem. 12:29:29
@figsoda:matrix.orgfigsodareally looking forward to pkgs modules and and simple package paths13:03:08
@kranzes:matrix.org@kranzes:matrix.orgI mean is pkg modules actually gonna be a thing for nixpkgs?13:04:19
@kranzes:matrix.org@kranzes:matrix.orgIs the plan to convert all nixpkgs to that?13:04:39
@kranzes:matrix.org@kranzes:matrix.orgThat seems almost impossible 13:04:45
@figsoda:matrix.orgfigsodathere is a working group, i assume this is something they want to explore13:04:45
@kranzes:matrix.org@kranzes:matrix.orgRfc140 though is nice though 13:05:12
@kranzes:matrix.org@kranzes:matrix.orgI have to turn off my lsp and completion everytime i open that file 13:05:45
@kranzes:matrix.org@kranzes:matrix.orgNvim too slow for that 13:05:59
@figsoda:matrix.orgfigsodanvim 0.11 might get faster13:06:24
@figsoda:matrix.orgfigsodasome treesitter stuff are getting async13:06:32
@figsoda:matrix.orgfigsodai think13:06:37
@kranzes:matrix.org@kranzes:matrix.orgI wish helix had everything i need tbh13:08:06
@blaggacao:matrix.org@blaggacao:matrix.org
In reply to @kranzes:matrix.org
I mean is pkg modules actually gonna be a thing for nixpkgs?
It's a slow but sure process. The slower, the more definitivo. 🀣
13:13:37
@kokern:matrix.org@kokern:matrix.org changed their display name from X βŠ‚ Shekhinah | she/her | you to shekhinah | feli/laboon/celeste | she/her/you.15:06:23
@pederbs:pvv.ntnu.nopbsds joined the room.23:45:08
14 Jul 2023
@kranzes:matrix.org@kranzes:matrix.org figsoda: new nix-init bug just dropped 20:49:25
@kranzes:matrix.org@kranzes:matrix.org
{ lib
, buildGoModule
, fetchFromGitea
}:

buildGoModule rec {
  pname = "gitea-actions-runner";
  version = "0.2.3";

  src = fetchFromGitea {
    domain = "gitea.com";
    owner = "gitea";
    repo = "act_runner";
    rev = "v${version}";
    hash = "sha256-RNH/12XV07nWhGnmR4FKJSSK/KnLA76+pKFHTPG8AAk=";
  };

  vendorHash = "sha256-VS1CIxV0e01h5L1UA4p8R1Z28yLOEZTMxS+gbEaJwKs=";

  ldflags = [
    "-s"
    "-w"
    "-X=gitea.com/gitea/act_runner/internal/pkg/ver.version=${summary}"
  ];

  meta = with lib; {
    description = "A runner for Gitea based on act";
    homepage = "https://gitea.com/gitea/act_runner";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}
20:49:36
@kranzes:matrix.org@kranzes:matrix.orgsummary doesn't exist20:49:47
@kranzes:matrix.org@kranzes:matrix.orgimage.png
Download image.png
20:49:51
@figsoda:matrix.orgfigsodaah20:49:53
@figsoda:matrix.orgfigsodayeah I didn't implement the entirety of goreleaser templates20:50:10
@kranzes:matrix.org@kranzes:matrix.org also didn't add changelog = "https://gitea.com/gitea/act_runner/releases/tag/v${version}"; for some reason 20:50:41
@figsoda:matrix.orgfigsodahttps://gitea.com/gitea/act_runner/src/commit/db662b36906a3aa0bd1211cee64e4ce73288f485/.goreleaser.yaml#L6120:50:45
@kranzes:matrix.org@kranzes:matrix.orgbreh20:50:54

Show newer messages


Back to Room ListRoom Version: 10