Skip to content

Commit

Permalink
swayws: update source hash
Browse files Browse the repository at this point in the history
Upstream sadly decided to fix the incorrect Cargo.lock we were
applying a patch for by rewriting the tag. :(

Diff of sources before and after:

diff --git 1/nix/store/yh0jcja9psq44dlis8jw93s62bfah5ys-source/Cargo.lock 2/nix/store/0l9wq5fxgxhaq0pp7p0yd38815x8rbqy>
index f01f824..e00d079 100644
--- 1/nix/store/yh0jcja9psq44dlis8jw93s62bfah5ys-source/Cargo.lock
+++ 2/nix/store/0l9wq5fxgxhaq0pp7p0yd38815x8rbqy-source/Cargo.lock
@@ -328,7 +328,7 @@ dependencies = [

 [[package]]
 name = "swayws"
-version = "1.1.1"
+version = "1.2.0"
 dependencies = [
  "clap",
  "env_logger",
  • Loading branch information
alyssais committed Jan 30, 2025
1 parent 9ac22a2 commit c4dbdcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
11 changes: 5 additions & 6 deletions pkgs/by-name/sw/swayws/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitLab {
owner = "w0lff";
repo = pname;
rev = "v${version}";
hash = "sha256-f0kXy7/31imgHHqKPmW9K+QrLqroaPaXwlJkzOoezRU=";
# Specifying commit hash rather than tag because upstream has
# rewritten a tag before:
# https://gitlab.com/w0lff/swayws/-/issues/1#note_1342349382
rev = "98f0d5c1896b10e890e1727654f1cf3b34a2371e";
hash = "sha256-zeM6/x2vjZ2IL+nZz1WBf5yY4C6ovmxyvgVLD54BKVc=";
};

cargoHash = "sha256-VYT6wV59fraAoJgR/i6GlO8s7LUoehGtxPAggEL1eLo=";
# Required patch until upstream fixes https://gitlab.com/w0lff/swayws/-/issues/1
cargoPatches = [
./ws-update-Cargo-lock.patch
];

# swayws does not have any tests
doCheck = false;
Expand Down
13 changes: 0 additions & 13 deletions pkgs/by-name/sw/swayws/ws-update-Cargo-lock.patch

This file was deleted.

0 comments on commit c4dbdcb

Please sign in to comment.