!RRerllqmbATpmbJgCn:nixos.org

Nix / NixOS

3852 Members
Nix/NixOS user help channel | Latest NixOS: 24.05 (Uakari) | Ask your question here or on https://discourse.nixos.org | All NixOS rooms are moderated! Ask for help in #moderation:nixos.org659 Servers

Load older messages


SenderMessageTime
22 Oct 2024
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯ (note that when using these, there's no need to write lib.atrsets.…, just lib.… will do.) 12:50:36
@skyesoss:matrix.orgSkye Soss How do you get build a Perl package that uses Module::Build with Nix? I'm trying to get Devel::REPL working, but it depends on MooseX::Object::Pluggable that doesn't work properly with the Nix build process. 14:04:41
@skyesoss:matrix.orgSkye Soss It looks like the module isn't properly publishing the @INC path, so the checkPhase fails. Disabling the check phase doesn't work either since the module doesn't get properly exported 14:08:36
@skyesoss:matrix.orgSkye Soss

This is what I currently have (from the nix-generate-from-cpan output):

pkgs.perlPackages.callPackage ({
        buildPerlPackage,
        fetchurl,
        lib,
        namespaceautoclean,
        ModuleBuildTiny,
        ModuleRuntime,
        Moose,
        TestFatal,
        TryTiny,
      }:
        buildPerlPackage {
          pname = "MooseX-Object-Pluggable";
          version = "0.0014";
          src = fetchurl {
            url = "mirror://cpan/authors/id/E/ET/ETHER/MooseX-Object-Pluggable-0.0014.tar.gz";
            hash = "sha256-8798u+g/WcIRFGPgx9yOafpT+zqJA/NvNtP4hsw+ZOA=";
          };
          buildInputs = [ModuleBuildTiny TestFatal];
          propagatedBuildInputs = [ModuleRuntime Moose TryTiny namespaceautoclean];
          meta = {
            homepage = "https://github.com/moose/MooseX-Object-Pluggable";
            description = "Make your classes pluggable";
            license = with lib.licenses; [artistic1 gpl1Plus];
          };
        }) {};
14:11:23
@skyesoss:matrix.orgSkye Soss

It seems to fail during the check phase:

#   Failed test 'use MooseX::Object::Pluggable;'
#   at t/00-load.t line 4.
#     Tried to use 'MooseX::Object::Pluggable'.
#     Error:  Can't locate Module/Pluggable/Object.pm in @INC (you may need to install the Module::Pluggable::Object module)
#
14:13:02
@skyesoss:matrix.orgSkye Soss *

This is what I currently have (from the nix-generate-from-cpan output):

pkgs.perlPackages.callPackage ({
        buildPerlPackage,
        fetchurl,
        lib,
        namespaceautoclean,
        ModuleBuildTiny,
        ModuleRuntime,
        Moose,
        TestFatal,
        TryTiny,
      }:
        buildPerlPackage {
          pname = "MooseX-Object-Pluggable";
          version = "0.0014";
          src = fetchurl {
            url = "mirror://cpan/authors/id/E/ET/ETHER/MooseX-Object-Pluggable-0.0014.tar.gz";
            hash = "sha256-8798u+g/WcIRFGPgx9yOafpT+zqJA/NvNtP4hsw+ZOA=";
          };
          buildInputs = [ModuleBuildTiny TestFatal];
          propagatedBuildInputs = [ModuleRuntime Moose TryTiny namespaceautoclean];
          meta = {
            homepage = "https://github.com/moose/MooseX-Object-Pluggable";
            description = "Make your classes pluggable";
            license = with lib.licenses; [artistic1 gpl1Plus];
          };
        }) {};
14:13:14
@odysee:catgirl.cloudodysee set a profile picture.14:18:52
@tumble1999:matrix.orgTumbleWhere do I go if I don't know if it's nix related or not?14:24:07
@k900:0upti.meK900What is "it"? 14:29:24
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️https://gitlab.freedesktop.org/drm/amd/-/issues/1470#note_1893662 How hard would making this patch would be?14:34:17
@k900:0upti.meK900Quite a bit 14:34:31
@k900:0upti.meK900Assuming you want to control RGB 14:34:37
@k900:0upti.meK900You'd have to rewrite a good chunk of how this stuff is currently set up, and probably do some GPU specific things 14:34:57
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️
In reply to @k900:0upti.me
Assuming you want to control RGB
Yes
14:35:07
@sliedes:hacklab.fiSami Liedes
In reply to @kfears:matrix.org
Part of it, unfortunately, is due to how hard it is to replace NixLang even just from the technical side
Yeah, the backwards compatibility requirement makes things tricky. That's why I'd actually think of generating Nix at least as a first step instead of replacing or changing it.
14:54:34
@qbit:tapenet.orgqbitso I have a CI machine that sometimes dies because of the OOM crap.. it has 64G ram.. is there a way to .. tune it?14:56:26
@qbit:tapenet.orgqbitI have tried reducing the number of build jobs.. but it still happens14:56:37
@qbit:tapenet.orgqbitI have also futzed with DefaultMemoryPressureLimit/DefaultMemoryPressureDurationSec.. which seemed to help.. 14:57:36
@qbit:tapenet.orgqbitbut idk if there is a better way14:57:51
@tumble1999:matrix.orgTumblein my sddm the one on the left monitor works, but the one on the right, when you press enter, the box goes grey and then i have to use the one on my left monitor14:58:12
@qbit:tapenet.orgqbit"download more ram"14:58:09
@k900:0upti.meK900Known SDDM bug14:59:45
@k900:0upti.meK900Should be fixed upstream at some point hopefully14:59:56
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️
In reply to @k900:0upti.me
Should be fixed upstream at some point hopefully
*never /hj
15:02:06
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️
In reply to @k900:0upti.me
Should be fixed upstream at some point hopefully
*
15:02:34
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️
In reply to @k900:0upti.me
Should be fixed upstream at some point hopefully
*
15:02:38
@k900:0upti.meK900There is a chance SDDM just gets forked before that happens tbh15:02:53
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️yea lol15:03:05
@greg:thehellings.comgreg Trying to update my nixos-unstable machine this morning gives me this lovely message: error: gettext-stub is not available for OCaml 5.2.0 15:03:10
@greg:thehellings.comgregMountain of backtrace that doesn't seem to point to anything in my config that I can discren15:03:33

Show newer messages


Back to Room ListRoom Version: 10