Add dinixMinimal (#452304)

This commit is contained in:
Aaron Andersen
2025-10-16 21:54:49 +00:00
committed by GitHub
2 changed files with 14 additions and 4 deletions
+7
View File
@@ -14712,6 +14712,13 @@
githubId = 67327023;
keys = [ { fingerprint = "8185 29F9 BB4C 33F0 69BB 9782 D1AC CDCF 2B9B 9799"; } ];
};
lillecarl = {
name = "Carl Andersson";
github = "lillecarl";
githubId = 207073;
email = "nixos@lillecarl.com";
matrix = "@lillecarl:matrix.org";
};
lillycham = {
email = "lillycat332@gmail.com";
github = "lillycham";
+7 -4
View File
@@ -4,7 +4,7 @@
fetchFromGitHub,
m4,
installShellFiles,
util-linux,
util-linuxMinimal,
}:
stdenv.mkDerivation rec {
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace src/shutdown.cc \
--replace-fail '"/bin/umount"' '"${util-linux}/bin/umount"' \
--replace-fail '"/sbin/swapoff"' '"${util-linux}/bin/swapoff"'
--replace-fail '"/bin/umount"' '"${util-linuxMinimal}/bin/umount"' \
--replace-fail '"/sbin/swapoff"' '"${util-linuxMinimal}/bin/swapoff"'
'';
nativeBuildInputs = [
@@ -49,7 +49,10 @@ stdenv.mkDerivation rec {
description = "Service manager / supervision system, which can (on Linux) also function as a system manager and init";
homepage = "https://davmac.org/projects/dinit";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ aanderse ];
maintainers = with lib.maintainers; [
aanderse
lillecarl
];
platforms = lib.platforms.unix;
};
}