add hotfix for glibc bug.

This commit is contained in:
Gabriel Ebner 2016-02-17 07:38:13 +01:00
parent 8570766f86
commit 16ada85aef

@ -46,4 +46,16 @@
programs.bash = { programs.bash = {
enableCompletion = true; enableCompletion = true;
}; };
system.replaceRuntimeDependencies = with pkgs.lib;
[ {
original = pkgs.glibc;
replacement = pkgs.stdenv.lib.overrideDerivation pkgs.glibc (oldAttr: { patches = oldAttr.patches ++
[ ( pkgs.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/libraries/glibc/cve-2015-7547.patch";
sha256 = "0awpc4rp2x27rjpj83ps0rclmn73hsgfv2xxk18k82w4hdxqpp5r";
} ) ];
} );
} ];
} }