xdg-desktop-portal-cosmic: 1.0.0-beta.2 -> 1.0.0-beta.3
Diff: https://github.com/pop-os/xdg-desktop-portal-cosmic/compare/epoch-1.0.0-beta.2...epoch-1.0.0-beta.3
This commit is contained in:
@@ -10,21 +10,20 @@
|
||||
pipewire,
|
||||
gst_all_1,
|
||||
cosmic-wallpapers,
|
||||
coreutils,
|
||||
nix-update-script,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "xdg-desktop-portal-cosmic";
|
||||
version = "1.0.0-beta.2";
|
||||
version = "1.0.0-beta.3";
|
||||
|
||||
# nixpkgs-update: no auto update
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = "xdg-desktop-portal-cosmic";
|
||||
tag = "epoch-${finalAttrs.version}";
|
||||
hash = "sha256-3FmNaT9tfDttINSbkwEaNW5i5hk9jH+fmMAg0UagttA=";
|
||||
hash = "sha256-JNLcrOj04HHFg8p76IdziMKbc2cjWIT+zhihzXis19M=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-gaDVt/0QPFZHnt9veUo5bvZECxKZcIrja/QdLBn/Xi4=";
|
||||
@@ -59,10 +58,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# [2]: https://github.com/pop-os/cosmic-bg/blob/epoch-1.0.0-alpha.6/data/v1/all#L3
|
||||
substituteInPlace src/screenshot.rs src/widget/screenshot.rs \
|
||||
--replace-fail '/usr/share/backgrounds/pop/kate-hazen-COSMIC-desktop-wallpaper.png' '${cosmic-wallpapers}/share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg'
|
||||
|
||||
# Also modifies the functionality by replacing 'false' with 'true' to enable the portal to start properly.
|
||||
substituteInPlace data/org.freedesktop.impl.portal.desktop.cosmic.service \
|
||||
--replace-fail 'Exec=/bin/false' 'Exec=${lib.getExe' coreutils "true"}'
|
||||
'';
|
||||
|
||||
dontCargoInstall = true;
|
||||
|
||||
Reference in New Issue
Block a user