26 Oct 2022 |
@qbit:tapenet.org | but it's not working :D - i think i need to go further down the lib dir | 20:26:42 |
@qbit:tapenet.org | *directly in a script that is being built with pkgs.writeScriptBin | 20:30:12 |
@qbit:tapenet.org | :D | 20:30:13 |
@qbit:tapenet.org | maybe there is a wrapper or something that would be better | 20:33:38 |
@qbit:tapenet.org | i'd hate to use buildPerlPackage because the derivation will be longer than the perl script :D | 20:34:59 |
@qbit:tapenet.org | got it: use lib "${perlPackages.JSON}/lib/perl5/site_perl/${perl.version}/"; :D | 20:46:52 |
Alyssa Ross | You can also use perl.libPrefix : "${perlPackages.JSON}/${perl.libPrefix}/${perl.version}" | 20:49:44 |
@qbit:tapenet.org | oo, i like that better - ty! | 20:50:05 |
31 Oct 2022 |
| @tinybronca:sibnsk.net changed their display name from underpantsgnome! to underpantsgnome. | 20:20:07 |
16 Nov 2022 |
| @omlet:matrix.org joined the room. | 20:34:02 |
24 Nov 2022 |
@qbit:tapenet.org | can 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 | I have https://github.com/qbit/startpage - startpage.pl is the script i want to run, but it uses lib/Page.pm | 03:43:38 |
@qbit:tapenet.org | it's getting packaged fine .. but startpage.pl can't find it when i try to run it | 03:44:10 |
@qbit:tapenet.org | i am guessing my use of use lib isn't correct | 03:44:37 |
@qbit:tapenet.org | hm, maybe it's complicated by the fact that i am using morbo to run the script | 04:02:20 |
@qbit:tapenet.org | dang, that site_perl thing... | 04:16:18 |
@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 cries in env | 16:57:50 |
@qbit:tapenet.org | i checked all of the -I dirs, and they do indeed exist | 17:24:07 |
25 Nov 2022 |
@janne.hess:helsinki-systems.de | Feels like env was called the wrong way | 09:47:31 |
@qbit:tapenet.org | hmm, it's a mojolicious application, i wonder if it's doing something ... | 13:09:57 |
26 Nov 2022 |
| @ahsmha:matrix.org changed their display name from rh to ahmed. | 19:19:47 |
1 Dec 2022 |
| hexa changed their display name from hexa to hexa (22.11 now). | 13:09:17 |
| hexa changed their display name from hexa (22.11 now) to hexa. | 14:39:30 |
25 Dec 2022 |
| @ahsmha:matrix.org left the room. | 10:40:09 |
22 Jan 2023 |
| @omlet:matrix.org left the room. | 20:26:23 |
4 Feb 2023 |
| dotlambda joined the room. | 00:41:12 |
dotlambda | 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 | https://github.com/Perl/perl5/pull/20739 :D | 19:55:05 |