!sUXcTulPzyhnqOiFPL:helsinki-systems.de

NixOS Perl

46 Members
12 Servers

Load older messages


SenderMessageTime
3 Oct 2022
@hexa:lossy.networkhexaI wonder if anything about perl on musl is off ๐Ÿ˜„12:14:32
@qbit:tapenet.org@qbit:tapenet.orgthat would be my guess, but i would have also guessed that the perl tests would have hit something like that :D12:20:10
@hexa:lossy.networkhexawell, I'm not sure what perl I have here ๐Ÿ˜„12:28:41
@hexa:lossy.networkhexamight be something closer to bootstrap12:28:46
@hexa:lossy.networkhexa ok, only happens on pkgsStatic.libxcrypt, not on pkgsMusl.libxcrypt 12:41:41
15 Oct 2022
@tinybronca:sibnsk.net@tinybronca:sibnsk.net changed their display name from underpantsgnome to underpantsgnome!.00:30:30
17 Oct 2022
@qbit:tapenet.org@qbit:tapenet.orgcan anyone offer me a cluestick on why this simple app can't find JSON.pm? https://github.com/qbit/taskobs/blob/main/flake.nix#L2413:41:58
@qbit:tapenet.org@qbit:tapenet.orgi have it installed via flakes here: https://github.com/qbit/xin/blob/main/flake.nix13:43:01
@qbit:tapenet.org@qbit:tapenet.orgoh, i guess i should be building a perl package and not a stdenv.mkDerivation..13:49:29
@qbit:tapenet.org@qbit:tapenet.orgoh, but then I need a Makefile.PL..13:53:32
@qbit:tapenet.org@qbit:tapenet.orgyay, that fixed it14:07:21
26 Oct 2022
@qbit:tapenet.org@qbit:tapenet.organy recommendations on including a nixpkgs lib directly in a script? 20:26:20
@qbit:tapenet.org@qbit:tapenet.org attempting something like: use lib "${perlPackages.JSON}/lib"; 20:26:30
@qbit:tapenet.org@qbit:tapenet.orgbut it's not working :D - i think i need to go further down the lib dir20:26:42
@qbit:tapenet.org@qbit:tapenet.org *directly in a script that is being built with pkgs.writeScriptBin 20:30:12
@qbit:tapenet.org@qbit:tapenet.org:D20:30:13
@qbit:tapenet.org@qbit:tapenet.orgmaybe there is a wrapper or something that would be better20:33:38
@qbit:tapenet.org@qbit:tapenet.orgi'd hate to use buildPerlPackage because the derivation will be longer than the perl script :D20:34:59
@qbit:tapenet.org@qbit:tapenet.org got it: use lib "${perlPackages.JSON}/lib/perl5/site_perl/${perl.version}/"; :D 20:46:52
@qyliss:fairydust.spaceAlyssa Ross You can also use perl.libPrefix: "${perlPackages.JSON}/${perl.libPrefix}/${perl.version}" 20:49:44
@qbit:tapenet.org@qbit:tapenet.orgoo, i like that better - ty!20:50:05
31 Oct 2022
@tinybronca:sibnsk.net@tinybronca:sibnsk.net changed their display name from underpantsgnome! to underpantsgnome.20:20:07
16 Nov 2022
@omlet:matrix.org@omlet:matrix.org joined the room.20:34:02
24 Nov 2022
@qbit:tapenet.org@qbit:tapenet.orgcan anyone offer a cluestick as to the proper way to include a lib that is local to a script's source? 03:43:14
@qbit:tapenet.org@qbit:tapenet.orgI have https://github.com/qbit/startpage - startpage.pl is the script i want to run, but it uses lib/Page.pm03:43:38
@qbit:tapenet.org@qbit:tapenet.orgit's getting packaged fine .. but startpage.pl can't find it when i try to run it03:44:10
@qbit:tapenet.org@qbit:tapenet.org i am guessing my use of use lib isn't correct 03:44:37
@qbit:tapenet.org@qbit:tapenet.orghm, maybe it's complicated by the fact that i am using morbo to run the script04:02:20
@qbit:tapenet.org@qbit:tapenet.orgdang, that site_perl thing...04:16:18
@qbit:tapenet.org@qbit:tapenet.org
qbit@europa[127]:~/src/startpage(main); nix build      
warning: Git tree '/home/qbit/src/startpage' is dirty
qbit@europa[0]:~/src/startpage(main); ./result/bin/startpage.pl 
/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin/env: โ€˜perl -I/nix/store/1zlrx8g7xs6ar0ggca4h3p6hmapq2p2h-perl-5.36.0/lib/perl5/site_perl -I/nix/store/hszyyj126s150z4mgb6pn5al24iwniwz-perl5.36.0-Mojolicious-9.26/lib/perl5/site_perl -I/nix/stoโ€™: No such file or directory
/nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin/env: use -[v]S to pass options in shebang lines
qbit@europa[127]:~/src/startpage(main); 

bah

16:57:32

Show newer messages


Back to Room ListRoom Version: 9