1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-14 09:16:39 +03:00

hardshutdown: init at 0.0.1

This commit is contained in:
Samuel Dionne-Riel 2020-01-10 00:46:02 -05:00
parent 5fa2110c7b
commit 27fe769fcc
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "hardshutdown";
version = "0.0.1";
src = fetchFromGitHub {
owner = "mobile-nixos";
repo = "hardshutdown";
rev = "6beb4b77b273bbd045870ecd8de8630b5007451b";
sha256 = "0vxflpfx8dr5rzr9y6hm0zv7jxcc3sgisqvkyicwzg8mvl2vfshi";
};
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with stdenv.lib; {
description = "Single-call binary handling shutdown/reboot syscalls";
license = licenses.gpl2;
};
}

View File

@ -57,6 +57,7 @@ in
#
make_ext4fs = callPackage ./make_ext4fs {};
hardshutdown = callPackage ./hardshutdown {};
#
# Hacks