Need help upgrade a package - Gitkraken

Hello there!

I want to contribute to NixOS and I thought upgrading some of my favorite software for the community would be a great start for me. I achieved to make a PR for brave and now I am trying to upgrade Gitkraken.

replacing old 'gitkraken-6.4.1'
installing 'gitkraken-6.5.1'
these derivations will be built:
  /nix/store/zsijwbq7xylp4x8avcslsg8gmidsbvyp-gitkraken-6.5.1.drv
building '/nix/store/zsijwbq7xylp4x8avcslsg8gmidsbvyp-gitkraken-6.5.1.drv'...
unpacking sources
unpacking source archive /nix/store/bi4c9dsqk6nz5g9fymj74yhldxj85ymh-GitKraken-v6.5.1.deb
tar: ./usr/share/gitkraken/chrome-sandbox: Cannot change mode to rwsr-xr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
do not know how to unpack source archive /nix/store/bi4c9dsqk6nz5g9fymj74yhldxj85ymh-GitKraken-v6.5.1.deb
builder for '/nix/store/zsijwbq7xylp4x8avcslsg8gmidsbvyp-gitkraken-6.5.1.drv' failed with exit code 1
error: build of '/nix/store/zsijwbq7xylp4x8avcslsg8gmidsbvyp-gitkraken-6.5.1.drv' failed
You are trying to send an empty document, exiting.

and those are the changes I have made to the package which ends up with what’s above.

diff --git a/pkgs/applications/version-management/gitkraken/default.nix b/pkgs/applications/version-management/gitkraken/default.nix
index 2272e66faf5..b1bd6a8cde1 100644
--- a/pkgs/applications/version-management/gitkraken/default.nix
+++ b/pkgs/applications/version-management/gitkraken/default.nix
@@ -13,11 +13,11 @@ let
 in
 stdenv.mkDerivation rec {
   pname = "gitkraken";
-  version = "6.4.1";
+  version = "6.5.1";
 
   src = fetchurl {
     url = "https://release.axocdn.com/linux/GitKraken-v${version}.deb";
-    sha256 = "1w8iwpbr6nwzhhf63fvr7pd66yjx3jgjy4gx5y02qxa3ip5psq5b";
+    sha256 = "1zcbbszz7vnwgd4hxwhbp28gminc3pqk0v7id7jc8ylnbgpiy2bk";
   };
 
   libPath = makeLibraryPath [

Good news, there’s a PR open for this gitkraken: 6.4.1 -> 6.5.1 by evanjs · Pull Request #78420 · NixOS/nixpkgs · GitHub

2 Likes

Oops! I didn’t see that! Thanks worldofpeace

2 Likes