sinit: modernize derivation

This commit is contained in:
Guy Chronister
2026-04-20 11:46:57 -05:00
parent 53465de5d1
commit a5c830141c
+4 -4
View File
@@ -7,14 +7,14 @@
rcreboot ? null,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "sinit";
version = "1.1";
src = fetchgit {
url = "https://git.suckless.org/sinit/";
sha256 = "sha256-VtXkgixgElKKOT26uKN9feXDVjjtSgTWvcgk5o5MLmw=";
tag = "v${version}";
hash = "sha256-VtXkgixgElKKOT26uKN9feXDVjjtSgTWvcgk5o5MLmw=";
tag = "v${finalAttrs.version}";
};
buildInputs = [
(lib.getOutput "static" stdenv.cc.libc)
@@ -41,4 +41,4 @@ stdenv.mkDerivation rec {
homepage = "https://tools.suckless.org/sinit";
downloadPage = "https://git.suckless.org/sinit";
};
}
})