cosmic-greeter: apply upstream patch for security hardening
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
nix-update-script,
|
||||
nixosTests,
|
||||
orca,
|
||||
fetchpatch2,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -29,7 +30,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
hash = "sha256-U0JrxvMWzISSA0tP8moasN7iN7TfZreEwbvWZGHRn8E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-sNJTXBInr/h8w5dhOOP9ceBYWBcJW3qGjDuaG6UTV90=";
|
||||
cargoHash = "sha256-J5ycaeKZsEBPcI9JH8bHsOAcXXwcx/D21GlVhJZbGwM=";
|
||||
|
||||
cargoPatches = [
|
||||
(fetchpatch2 {
|
||||
# https://github.com/pop-os/cosmic-greeter/pull/426
|
||||
name = "security-hardening.patch";
|
||||
url = "https://github.com/pop-os/cosmic-greeter/commit/6049b50f8984f98c2c61117d86b9f6f9befc9300.patch?full_index=1";
|
||||
hash = "sha256-T9tc4Krmp5jieKhbaTgI1CByWqSWy97HWcKMIXzr7MU=";
|
||||
})
|
||||
];
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user