| 6 Mar 2024 |
Xandor Schiefer | * When a file is wrapped, its pre-wrapped version is usually moved to ".${name}-old", and that's still part of the package's /bin output. | 07:39:38 |
Xandor Schiefer | Or we could just fix the root issue 🤷 | 07:39:48 |
vcunat | * The tiny package that I suggested would only contain files (links) that you want with names that you want, nothing else. | 07:39:51 |
Xandor Schiefer | AFK for a few, have to handle something | 07:40:53 |
Xandor Schiefer | Back | 07:49:35 |
Xandor Schiefer | I think I did try a symlinkJoin + makeWrapper combination at some point—though that would have been when I was still relatively new to Nix—and I don't recall it working very well, in the sense that it did allow me to avoid the collision, but I think it introduced other issues. | 07:51:27 |
Xandor Schiefer | * I think I did try a symlinkJoin + makeWrapper combination at some point—though that would have been when I was still relatively new to Nix—and I don't recall it working very well, in the sense that it did allow me to avoid the collision, but I think it introduced other issues, because I think that build flag affects more things than purely the binary name. | 07:52:28 |
Xandor Schiefer | Regardless, both nixpkgs and Mozilla's own -bin variants have different binary names, and thus avoid this problem. | 07:52:40 |
Xandor Schiefer | The reason I brought it up here is because I figured that there might be some of the nixpkgs FF maintainers here and before drafting a PR I could float the idea of the patch I posted a bit earlier. | 07:53:32 |
Xandor Schiefer | * I think I did try a symlinkJoin + makeWrapper combination at some point—though that would have been when I was still relatively new to Nix—and I don't recall it working very well, in the sense that it did allow me to avoid the collision, but I think it introduced other issues, because I think that build flag affects more things than purely the binary name, i.e. there was more at play. Keeping a custom wrapper that can break due to changes in file structure doesn't sound fun. | 07:54:30 |
Xandor Schiefer | * But not for standalone Home Manager, because its buildEnv call disallows collisions, while NixOS's allows them. | 07:55:31 |
Xandor Schiefer | Ah, re-thinking your tiny wrapper, I think what you're suggesting is that I create a single package that composes all the different versions of FF that I'd like to use, and then add that to my env? | 07:58:01 |
Xandor Schiefer | That would totally work, sure. But it still leaves out anyone else without enough Nix knowledge to even think of such a solution. I'd rather have it fixed in nixpkgs. | 07:59:05 |
Xandor Schiefer | * When firefox is wrapped, its pre-wrapped version is usually moved to ".${binaryName}-old", and that's still part of the package's /bin output. | 08:01:14 |
hexa | I agree this should be fixed | 09:16:44 |
nbp | Xandor Schiefer: For what is worth, I made a branch to use nixpkgs-mozilla as a flake. | 10:35:08 |
nbp | It is not yet merged for a lack of interest yet. | 10:35:31 |
nbp | however the --impure flag has to be used to make use of nixpkgs-mozilla overlay/flake | 10:36:11 |
nbp | * however the --impure flag has to be used to make use of nixpkgs-mozilla flake | 10:39:32 |
nbp | https://github.com/nbp/nixpkgs-mozilla/blob/master/flake.nix is the generic one which does not depend on any Nixpkgs version, while https://github.com/nbp/nixpkgs-mozilla/blob/master/flake.nix would provide a way to access each application.
However, the last one might cause issues if used with a non-matching version of mesa, such as using 23.11 for the operating system and unstable for the firefox wrapped build. | 10:42:18 |
| 10 Mar 2024 |
Xandor Schiefer | BTW if anyone's been struggling with getting native messaging hosts to work even with the Nix's own non-bin variants, I have a workaround and a fix: https://github.com/NixOS/nixpkgs/issues/281710 | 15:12:59 |
Xandor Schiefer | And the workaround should work for the -bin variants, too | 15:14:21 |
| 13 Mar 2024 |
| gabriel changed their display name from gabriel to gabriel | Presentation Skills Training. | 15:29:40 |
| 14 Mar 2024 |
| @federicodschonborn:matrix.org left the room. | 02:04:17 |
Xandor Schiefer | In reply to @zeorin:matrix.org That would totally work, sure. But it still leaves out anyone else without enough Nix knowledge to even think of such a solution. I'd rather have it fixed in nixpkgs. https://github.com/NixOS/nixpkgs/pull/294971 | 13:21:57 |
| NixOS Moderation Botchanged room power levels. | 18:45:29 |
| 15 Mar 2024 |
| gabriel changed their display name from gabriel | Presentation Skills Training to gabriel. | 13:33:07 |
hexa | https://github.com/NixOS/nixpkgs/pull/294971 | 15:59:13 |
hexa | oh, repost 😄 | 15:59:18 |
hexa | I need to find some time to test these changes | 15:59:26 |