mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
aff1f4ab94
The following parameters are now available: * hardeningDisable To disable specific hardening flags * hardeningEnable To enable specific hardening flags Only the cc-wrapper supports this right now, but these may be reused by other wrappers, builders or setup hooks. cc-wrapper supports the following flags: * fortify * stackprotector * pie (disabled by default) * pic * strictoverflow * format * relro * bindnow
26 lines
657 B
Nix
26 lines
657 B
Nix
{ stdenv, fetchurl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "kexec-tools-${version}";
|
|
version = "2.0.11";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
|
|
"http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
|
|
];
|
|
sha256 = "1qrfka9xvy77k0rg3k0cf7xai0f9vpgsbs4l3bs8r4nvzy37j2di";
|
|
};
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://horms.net/projects/kexec/kexec-tools;
|
|
description = "Tools related to the kexec Linux feature";
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|