!sUXcTulPzyhnqOiFPL:helsinki-systems.de

NixOS Perl

47 Members
12 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
26 Oct 2022
@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
* @qbit:tapenet.org@qbit:tapenet.org cries in env 16:57:50
@qbit:tapenet.org@qbit:tapenet.orgi checked all of the -I dirs, and they do indeed exist17:24:07
25 Nov 2022
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deFeels like env was called the wrong way09:47:31
@qbit:tapenet.org@qbit:tapenet.orghmm, it's a mojolicious application, i wonder if it's doing something ...13:09:57
26 Nov 2022
@ahsmha:matrix.org@ahsmha:matrix.org changed their display name from rh to ahmed.19:19:47
1 Dec 2022
@hexa:lossy.networkhexa changed their display name from hexa to hexa (22.11 now).13:09:17
@hexa:lossy.networkhexa changed their display name from hexa (22.11 now) to hexa.14:39:30
25 Dec 2022
@ahsmha:matrix.org@ahsmha:matrix.org left the room.10:40:09
22 Jan 2023
@omlet:matrix.org@omlet:matrix.org left the room.20:26:23
4 Feb 2023
@robert:funklause.dedotlambda joined the room.00:41:12
@robert:funklause.dedotlambda Can someone help me build imagemagick with Perl support?
https://github.com/NixOS/nixpkgs/pull/212205#issuecomment-1416537146
00:42:21
17 Feb 2023
@qbit:tapenet.org@qbit:tapenet.orghttps://github.com/Perl/perl5/pull/20739 :D19:55:05

Show newer messages


Back to Room ListRoom Version: 9