3 Oct 2022 |
hexa | I wonder if anything about perl on musl is off ๐ | 12:14:32 |
@qbit:tapenet.org | that would be my guess, but i would have also guessed that the perl tests would have hit something like that :D | 12:20:10 |
hexa | well, I'm not sure what perl I have here ๐ | 12:28:41 |
hexa | might be something closer to bootstrap | 12:28:46 |
hexa | ok, only happens on pkgsStatic.libxcrypt , not on pkgsMusl.libxcrypt | 12:41:41 |
15 Oct 2022 |
| @tinybronca:sibnsk.net changed their display name from underpantsgnome to underpantsgnome!. | 00:30:30 |
17 Oct 2022 |
@qbit:tapenet.org | can anyone offer me a cluestick on why this simple app can't find JSON.pm? https://github.com/qbit/taskobs/blob/main/flake.nix#L24 | 13:41:58 |
@qbit:tapenet.org | i have it installed via flakes here: https://github.com/qbit/xin/blob/main/flake.nix | 13:43:01 |
@qbit:tapenet.org | oh, i guess i should be building a perl package and not a stdenv.mkDerivation.. | 13:49:29 |
@qbit:tapenet.org | oh, but then I need a Makefile.PL.. | 13:53:32 |
@qbit:tapenet.org | yay, that fixed it | 14:07:21 |
26 Oct 2022 |
@qbit:tapenet.org | any recommendations on including a nixpkgs lib directly in a script? | 20:26:20 |
@qbit:tapenet.org | attempting something like: use lib "${perlPackages.JSON}/lib"; | 20:26:30 |
@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 |