22 Oct 2024 |
ˈt͡sɛːzaɐ̯ | (note that when using these, there's no need to write lib.atrsets.… , just lib.… will do.) | 12:50:36 |
Skye 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 |
Skye 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 |
Skye 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 |
Skye 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 |
Skye 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 set a profile picture. | 14:18:52 |
Tumble | Where do I go if I don't know if it's nix related or not? | 14:24:07 |
K900 | What is "it"? | 14:29:24 |
jh-devv 🏳️⚧️ | https://gitlab.freedesktop.org/drm/amd/-/issues/1470#note_1893662
How hard would making this patch would be? | 14:34:17 |
K900 | Quite a bit | 14:34:31 |
K900 | Assuming you want to control RGB | 14:34:37 |
K900 | You'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 🏳️⚧️ | In reply to @k900:0upti.me Assuming you want to control RGB Yes | 14:35:07 |
Sami 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 | so 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 | I have tried reducing the number of build jobs.. but it still happens | 14:56:37 |
qbit | I have also futzed with DefaultMemoryPressureLimit/DefaultMemoryPressureDurationSec.. which seemed to help.. | 14:57:36 |
qbit | but idk if there is a better way | 14:57:51 |
Tumble | in 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 monitor | 14:58:12 |
qbit | "download more ram" | 14:58:09 |
K900 | Known SDDM bug | 14:59:45 |
K900 | Should be fixed upstream at some point hopefully | 14:59:56 |
jh-devv 🏳️⚧️ | In reply to @k900:0upti.me Should be fixed upstream at some point hopefully *never /hj | 15:02:06 |
jh-devv 🏳️⚧️ | In reply to @k900:0upti.me Should be fixed upstream at some point hopefully * | 15:02:34 |
jh-devv 🏳️⚧️ | In reply to @k900:0upti.me Should be fixed upstream at some point hopefully * | 15:02:38 |
K900 | There is a chance SDDM just gets forked before that happens tbh | 15:02:53 |
jh-devv 🏳️⚧️ | yea lol | 15:03:05 |
greg | 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 | Mountain of backtrace that doesn't seem to point to anything in my config that I can discren | 15:03:33 |