-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the system-monitor
applet
#626
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for this contribution! There's a few minor nits, but otherwise this looks great :)
resolve the duplicate dependency issue
This will be fixed in Nixpkgs via NixOS/nixpkgs#282798 but you can also bug upstream to add a line like this to their Cargo.toml to fix it: https://github.com/cosmic-utils/tasks/blob/406ffac6a2263cdc1006f3578b3f9be64761d6ea/Cargo.toml#L50-L51
Thanks for the review! Sorry for blindly copying some useless stuff from another applet. I pushed a non-working WIP branch, as I still don't understand where to get |
f0e7534
to
4ef5ec8
Compare
No worries, I get it :) Do you think you could bug upstream to add those two lines to Cargo.toml like https://github.com/cosmic-utils/tasks/blob/406ffac6a2263cdc1006f3578b3f9be64761d6ea/Cargo.toml#L50-L51, to fix the |
I've been coming back to this now and again, and I can't make it work. Could be a skill issue. My approach has been to try and remove these What do you think is the right approach here? |
Forgot to add that patching |
I guess to be clear, I've been saying to copy those two lines https://github.com/cosmic-utils/tasks/blob/406ffac6a2263cdc1006f3578b3f9be64761d6ea/Cargo.toml#L50-L51 verbatim into https://github.com/D-Brox/cosmic-ext-applet-system-monitor/blob/f29debf726551df521aa26070c8efc54d7c0a714/Cargo.toml#L31, update Does that not work? |
Co-authored-by: Lily Foster <[email protected]>
Co-authored-by: Lily Foster <[email protected]>
Co-authored-by: Lily Foster <[email protected]>
Co-authored-by: Lily Foster <[email protected]>
Yeah, I tried that first, but thought that |
I pulled from your branch and updated Does updating that stuff mentioned above work, or if not what error are you getting? |
Oh, y..yeah, it was I pushed a version that works, but it depends on my fork of upstream. I really don't think upstream should care about pinning |
It's not really "for us". Most distros would need it too, since even the Patch for Cargo.lock should work regardless though, so I'll poke at that later |
I just needed to use Going to make sure |
It's not in the output of |
Closes #625
TODO:
cosmic-client-toolkit
depends onregistry+https://github.com/rust-lang/crates.io-index#[email protected]
cosmic-panel-config
depends ongit+https://github.com/Smithay/client-toolkit#[email protected]
git
?buildRustPackage
fails because the same version of a crate is added twice. same error as here.cosmic-panel-config
has transitive dependency on smithay pop-os/cosmic-panel#4