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:
parent
5fa2110c7b
commit
27fe769fcc
22
overlay/hardshutdown/default.nix
Normal file
22
overlay/hardshutdown/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -57,6 +57,7 @@ in
|
|||||||
#
|
#
|
||||||
|
|
||||||
make_ext4fs = callPackage ./make_ext4fs {};
|
make_ext4fs = callPackage ./make_ext4fs {};
|
||||||
|
hardshutdown = callPackage ./hardshutdown {};
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hacks
|
# Hacks
|
||||||
|
Loading…
Reference in New Issue
Block a user