!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

58 Members
https://github.com/nix-community/nix-init18 Servers

Load older messages


SenderMessageTime
18 Jun 2023
@kranzes:matrix.org@kranzes:matrix.orgYeah i figured14:43:28
@kranzes:matrix.org@kranzes:matrix.orghavent thought much about this tbh14:43:35
@kranzes:matrix.org@kranzes:matrix.orgjust a shower thought i had14:43:38
@raitobezarius:matrix.orgraitobezariusI'd advise against doing speculations14:47:10
@raitobezarius:matrix.orgraitobezarius and use rather file+(git|hg|...):// 14:47:16
19 Jun 2023
@charlycoste:matrix.org@charlycoste:matrix.org left the room.11:24:50
@andrewm:element.ioAndrew Morgan (anoa) {he/him} [off; back Jan 5] changed their display name from Andrew Morgan (anoa) [GMT-6] to Andrew Morgan (anoa) [away; back 26th].23:48:49
21 Jun 2023
@figsoda:matrix.orgfigsodaI think I will cut a release soon00:57:36
@figsoda:matrix.orgfigsodamostly for cargo 0.71 sparse by default and https://github.com/nix-community/nix-init/commit/f998c8718044a34af91db6ce1e815490cf66577b00:58:08
22 Jun 2023
@archive:matrix.org@archive:matrix.org set their display name to archive.matrix.org/faq.05:27:40
23 Jun 2023
@timokoesters:fachschaften.orgTimo ⚡️ changed their profile picture.18:57:31
26 Jun 2023
@andrewm:element.ioAndrew Morgan (anoa) {he/him} [off; back Jan 5] changed their display name from Andrew Morgan (anoa) [away; back 26th] to Andrew Morgan (anoa) [GMT-6].18:05:46
1 Jul 2023
@figsoda:matrix.orgfigsodajust added dependency inference support for go20:57:38
@figsoda:matrix.orgfigsodadoesn't do a whole lot at the moment, but works20:58:06
3 Jul 2023
@andrewm:element.ioAndrew Morgan (anoa) {he/him} [off; back Jan 5] changed their display name from Andrew Morgan (anoa) [GMT-6] to Andrew Morgan (anoa).05:04:17
@andrewm:element.ioAndrew Morgan (anoa) {he/him} [off; back Jan 5] changed their profile picture.08:09:42
6 Jul 2023
@figsoda:matrix.orgfigsodav0.2.4 is here https://discourse.nixos.org/t/25035/1722:13:52
7 Jul 2023
@kranzes:matrix.org@kranzes:matrix.org

figsoda: I just tried using the Go dependency inference feature on unpackerr and it created this expression:

{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, stdenv
, darwin
, libayatana-appindicator
, xorg
}:

buildGoModule rec {
  pname = "unpackerr";
  version = "0.11.2";

  src = fetchFromGitHub {
    owner = "Unpackerr";
    repo = "unpackerr";
    rev = "v${version}";
    hash = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
  };

  vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Cocoa
    darwin.apple_sdk.frameworks.Kernel
    darwin.apple_sdk.frameworks.WebKit
  ] ++ lib.optionals stdenv.isLinux [
    libayatana-appindicator
    xorg.libX11
    xorg.libXcursor
    xorg.libXi
    xorg.libXinerama
    xorg.libXrandr
  ];

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Extracts downloads for Radarr, Sonarr, Lidarr, Readarr, and/or a Watch folder - Deletes extracted files after import";
    homepage = "https://github.com/Unpackerr/unpackerr";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}
22:04:31
@kranzes:matrix.org@kranzes:matrix.org

while the one in nixpkgs is this ```
{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:

buildGoModule rec {
pname = "unpackerr";
version = "0.11.2";

src = fetchFromGitHub {
owner = "davidnewhall";
repo = "unpackerr";
rev = "v${version}";
sha256 = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
};

vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";

buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];

ldflags = [ "-s" "-w" "-X golift.io/version.Version=${version}" ];

meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
homepage = "https://github.com/davidnewhall/unpackerr";
maintainers = with maintainers; [ nullx76 ];
license = licenses.mit;
};
}

22:04:47
@kranzes:matrix.org@kranzes:matrix.org *

while the one in nixpkgs is this

{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:

buildGoModule rec {
pname = "unpackerr";
version = "0.11.2";

src = fetchFromGitHub {
owner = "davidnewhall";
repo = "unpackerr";
rev = "v${version}";
sha256 = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
};

vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";

buildInputs = lib.optionals stdenv.isDarwin \[ Cocoa WebKit \];

ldflags = \[ "-s" "-w" "-X golift.io/version.Version=${version}" \];

meta = with lib; {
description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
homepage = "https://github.com/davidnewhall/unpackerr";
maintainers = with maintainers; \[ nullx76 \];
license = licenses.mit;
};
}
22:04:58
@kranzes:matrix.org@kranzes:matrix.org *

while the one in nixpkgs is this

{ lib, stdenv, fetchFromGitHub, buildGoModule, Cocoa, WebKit }:

buildGoModule rec {
  pname = "unpackerr";
  version = "0.11.2";

  src = fetchFromGitHub {
    owner = "davidnewhall";
    repo = "unpackerr";
    rev = "v${version}";
    sha256 = "sha256-Jxg1gaMTJ/BbL8TQfPcyt1hYnT/LcL4j+m+jSeh5QyA=";
  };

  vendorHash = "sha256-yXFIBWOF72nXmT8+OSvF1aKBhCMBloLmGTfvNbV9ir4=";

  buildInputs = lib.optionals stdenv.isDarwin [ Cocoa WebKit ];

  ldflags = [ "-s" "-w" "-X golift.io/version.Version=${version}" ];

  meta = with lib; {
    description = "Extracts downloads for Radarr, Sonarr, Lidarr - Deletes extracted files after import";
    homepage = "https://github.com/davidnewhall/unpackerr";
    maintainers = with maintainers; [ nullx76 ];
    license = licenses.mit;
  };
}
22:05:21
@kranzes:matrix.org@kranzes:matrix.orgit seems like nix-init added dependencies that aren't actually needed22:05:35
@kranzes:matrix.org@kranzes:matrix.org
[kranzes@pongo ~]$ ldd result/bin/unpackerr
	linux-vdso.so.1 (0x00007ffdc5c5e000)
	libresolv.so.2 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/libresolv.so.2 (0x00007f2a5a14d000)
	libpthread.so.0 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/libpthread.so.0 (0x00007f2a5a148000)
	libc.so.6 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/libc.so.6 (0x00007f2a59f62000)
	/nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib/ld-linux-x86-64.so.2 => /nix/store/wpgrc564ys39vbyv0m50qxmq8dvhi7cc-glibc-2.37-8/lib64/ld-linux-x86-64.so.2 (0x00007f2a5a162000)
22:05:44
@figsoda:matrix.orgfigsodahmm that looks like glfw22:05:55
@figsoda:matrix.orgfigsodaI think I will disable the glfw stuff for now22:06:05
@figsoda:matrix.orgfigsodaI saw another package recently that had false positives22:07:08
@figsoda:matrix.orgfigsoda Ilan Joselevich (Kranzes) could you take a look at https://github.com/nix-community/nix-init/pull/186? 22:07:35
@kranzes:matrix.org@kranzes:matrix.orgstill compiling 😭22:19:22
@kranzes:matrix.org@kranzes:matrix.org figsodaI think the glfw stuff is actually for this subPackage which isn't installed by default https://github.com/Unpackerr/unpackerr/tree/main/pkg/ui 22:20:53
@figsoda:matrix.orgfigsodaah that makes sense22:21:08

Show newer messages


Back to Room ListRoom Version: 10