i3lock: modernize derivation

This commit is contained in:
Guy Chronister
2026-02-18 09:17:53 -06:00
parent 415dbc3303
commit 8d89587ac3
+4 -4
View File
@@ -22,15 +22,15 @@ let
xcbSupport = true;
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "i3lock";
version = "2.15";
src = fetchFromGitHub {
owner = "i3";
repo = "i3lock";
rev = version;
sha256 = "sha256-OyV6GSLnNV3GUqrfs3OBnIaBvicH2PXgeY4acOk5dR4=";
tag = finalAttrs.version;
hash = "sha256-OyV6GSLnNV3GUqrfs3OBnIaBvicH2PXgeY4acOk5dR4=";
};
separateDebugInfo = true;
@@ -69,4 +69,4 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.all;
};
}
})