!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

220 Members
59 Servers

Load older messages


SenderMessageTime
27 Aug 2023
@ulrikstrid:matrix.orgUlrik StridYou should probably write a actual `.patch` and apply it07:17:08
@nadimkobeissi:matrix.orgNadim Kobeissi Ulrik Strid: OK, I'll look at existing .patches for other NixOS packages and see if I can build something similar 07:17:45
@nadimkobeissi:matrix.orgNadim KobeissiThanks for your patience, still learning...07:18:02
@k900:0upti.meK900 ⚡️You really don't need to be looking at the patches themselves07:18:37
@k900:0upti.meK900 ⚡️You just need to get the source code of whatever package the default config is defined in07:18:49
@k900:0upti.meK900 ⚡️Which is probably plasma-desktop07:18:52
@k900:0upti.meK900 ⚡️Then make the changes to remove the icon07:18:57
@k900:0upti.meK900 ⚡️ And then use something like git diff to get the diff that's already properly formatted 07:19:10
@nadimkobeissi:matrix.orgNadim KobeissiOh, I know, but I wanted to look at other patches to see how NixOS applies patches upon package installation07:20:03
@nadimkobeissi:matrix.orgNadim KobeissiTo see where/how I would need to store my own new patch07:20:12
@k900:0upti.meK900 ⚡️You'd want to copy it to the package directory and add it to this list: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/plasma-5/plasma-desktop/default.nix#L12607:21:52
@ulrikstrid:matrix.orgUlrik StridYou'll just put the patch next to the package (probably) and add the path to the `patches` list 😊07:21:52
@nadimkobeissi:matrix.orgNadim KobeissiAh totally understood07:22:06
@nadimkobeissi:matrix.orgNadim KobeissiThank you!07:22:07
@nadimkobeissi:matrix.orgNadim Kobeissihttps://github.com/NixOS/nixpkgs/pull/25172607:48:49
@nadimkobeissi:matrix.orgNadim KobeissiI think I did it right?07:49:17
@k900:0upti.meK900 ⚡️I think so, but also, can you check the unstable images?07:53:37
@k900:0upti.meK900 ⚡️I think they might have fixed it so invalid shortcuts are auto-removed07:53:46
@nadimkobeissi:matrix.orgNadim KobeissiWhere do I check unstable?07:54:22
@k900:0upti.meK900 ⚡️https://channels.nixos.org/nixos-unstable/latest-nixos-plasma5-x86_64-linux.iso07:54:36
@nadimkobeissi:matrix.orgNadim KobeissiOK, I'll boot it in a VM07:54:58
@nadimkobeissi:matrix.orgNadim KobeissiScreenshot_20230827_101542.png
Download Screenshot_20230827_101542.png
08:15:52
@nadimkobeissi:matrix.orgNadim Kobeissi K900 ⚡️: Can confirm that unstable channel still includes the icon. 08:15:53
@k900:0upti.meK900 ⚡️OK08:16:18
@k900:0upti.meK900 ⚡️Please adjust the commit messages to match the convention08:16:30
@k900:0upti.meK900 ⚡️(and really squash them into one commit)08:16:35
@k900:0upti.meK900 ⚡️Actually wait08:17:12
@k900:0upti.meK900 ⚡️No08:17:12
@k900:0upti.meK900 ⚡️That entire change is wrong08:17:15
@k900:0upti.meK900 ⚡️You're editing Kickoff defaults, not panel defaults08:17:23

There are no newer messages yet.


Back to Room ListRoom Version: 9