wrapper-manager
wrapper-manager copied to clipboard
.override on wrappers
Only overrideAttrs can be called on the wrapped package, but not override. I found #25, but I don't know if this is the same issue.
What do you want to use .override for? We are not using callPackage so there's nothing to override.
I was trying to use a wrapper on pkgs.hyprland, supplying a --config; but programs.hyprland.enable calls override on the package here: https://github.com/NixOS/nixpkgs/blob/3bcb750c0ff84e838c5821bc7d76e00506adef3d/nixos/modules/programs/wayland/lib.nix#L10
Ah I see, so this would be to passhtrough .override into basePackage, I can look into it.