22 Oct 2024 |
K900 | Probably $out/Applications/*.app/Contents/Resources doesn't exist | 13:57:07 |
Ihar Hrachyshka | $out/Applications/Firefox.app/Contents/MacOS does | 13:57:54 |
Austin Horstman | It's a glob pattern that would return a list of files so probably has to be handled differently | 13:58:12 |
Ihar Hrachyshka | it's as if the shell doesn't expand the file name properly, so resourceDir ends up empty (which results in this missing operand error) | 13:58:20 |
Austin Horstman | are you trying to support derivations with multiple .app or just an unknown app name? | 14:00:53 |
Ihar Hrachyshka | it's an unknown, since it's a firefox package that has flavors like Firefox Developer Edition.app plus I think there are some forks that rely on this derivation too. | 14:01:39 |
hexa | thunderbird, floorp, librewolf, betterbird | 14:02:07 |
Ihar Hrachyshka | I was trying to do the toTitle binaryName but it's not that easy: the binaryName is still firefox for the Developer Edition | 14:02:17 |
hexa | firefox/common.nix is a misnomer these days, given that it builds a lot of mozilla mach projects | 14:02:32 |
Austin Horstman | i think you would have to populate a bash array from the glob pattern and iterate over that | 14:02:53 |
Ihar Hrachyshka | I wonder if I would do resourceDir=$(ls $out/Applications/*.app/...) ... if it would work then | 14:03:26 |
Ihar Hrachyshka | * I wonder if I would do resourceDir=$(ls -d $out/Applications/*.app/...) ... if it would work then | 14:03:57 |
K900 | So | 14:04:21 |
K900 | New stable kernels are out | 14:04:24 |
K900 | And the netfilter fix is missing | 14:04:29 |
K900 | @Alyssa Ross @ma27 thoughts on cherry-picking? | 14:04:39 |
K900 | https://lore.kernel.org/netfilter-devel/Zxda-7wzYe6WypX5@calendula/T/#u | 14:05:12 |
K900 | Specifically these | 14:05:14 |
hexa | please. | 14:05:43 |
Austin Horstman | In reply to @ihar.hrachyshka:matrix.org I wonder if I would do resourceDir=$(ls -d $out/Applications/*.app/...) ... if it would work then if you know the specific usage will only ever have a single app returned otherwise you still need to account for multiple files | 14:06:56 |
Ihar Hrachyshka | it's always a single entry | 14:07:27 |
ma27 | In reply to @k900:0upti.me @Alyssa Ross @ma27 thoughts on cherry-picking? would be fine by me. | 14:39:46 |
Ihar Hrachyshka | so... $(ls -d .../*.app/...) works fine; but not val=.../*.app/... ; I can't reproduce it in my shell, feels like maybe some shopt settings in nix build env could affect it | 17:17:06 |
dish [Fox/It/She] | Looking at adding a package for bluesky's goat tool, but there's already a goat package in nixpkgs. Any suggestions on what a package should be named? https://github.com/bluesky-social/indigo/tree/main/cmd/goat | 18:18:51 |
dish [Fox/It/She] | i was thinking something like goat-atproto or atproto-goat or just go-at . | 18:25:15 |
| comm0n(they/them) changed their display name from comm0n to comm0n(they/them). | 19:03:53 |
Morgan | do we need a function to build URIs in lib? had to do this for Mattermost, wondering if we could use it for anything else...
https://github.com/NixOS/nixpkgs/pull/208181/files#diff-3517cc8e7468615ccea52f1b8fb62377b14733d2e0a08ae5c7d390650402b57eR34 | 22:09:46 |
Morgan | I was able to immediately reach for escapeURL, but not a way to mash all the components together | 22:10:29 |
colemickens | emily: do you want to block on your comment? https://github.com/NixOS/nixpkgs/pull/350153 I think I get the sentiment, but also, do we add checks for expected files for every package? I think now that it's moved to meson, its unlikely to happen again. | 22:53:08 |
aftix | is there any sort of guidelines for packaging things that don't have version tags / releases in git? specifically, some rust programs which don't have any sort of releases but usually have a version in Cargo.toml | 23:00:52 |