File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
pkgs/by-name/co/cosmic-workspaces-epoch Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 33 stdenv ,
44 rustPlatform ,
55 fetchFromGitHub ,
6+ cosmic-wallpapers ,
67 libcosmicAppHook ,
78 pkg-config ,
89 libinput ,
@@ -23,6 +24,22 @@ rustPlatform.buildRustPackage (finalAttrs: {
2324 hash = "sha256-3jivE0EaSddPxMYn9DDaYUMafPf60XeCwVeQegbt++c=" ;
2425 } ;
2526
27+ postPatch = ''
28+ # While the `kate-hazen-COSMIC-desktop-wallpaper.png` image is present
29+ # in the `pop-wallpapers` package, we're using the Orion Nebula image
30+ # from NASA available in the `cosmic-wallpapers` package. Mainly because
31+ # the previous image was used in the GNOME shell extension and the
32+ # Orion Nebula image is widely used in the Rust-based COSMIC DE's
33+ # marketing materials. Another reason to use the Orion Nebula image
34+ # is that it's actually the default wallpaper as configured by the
35+ # `cosmic-bg` package's configuration in upstream [1] [2].
36+ #
37+ # [1]: https://github.com/pop-os/cosmic-bg/blob/epoch-1.0.0-alpha.6/config/src/lib.rs#L142
38+ # [2]: https://github.com/pop-os/cosmic-bg/blob/epoch-1.0.0-alpha.6/data/v1/all#L3
39+ substituteInPlace src/view/mod.rs \
40+ --replace-fail '/usr/share/backgrounds/pop/kate-hazen-COSMIC-desktop-wallpaper.png' "${ cosmic-wallpapers } /share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg"
41+ '' ;
42+
2643 useFetchCargoVendor = true ;
2744 cargoHash = "sha256-l5y9bOG/h24EfiAFfVKjtzYCzjxU2TI8wh6HBUwoVcE=" ;
2845
You can’t perform that action at this time.
0 commit comments