Skip to content

Instantly share code, notes, and snippets.

@notgne2
Created December 23, 2019 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notgne2/41abc14c53bac7426c3633216cc92d25 to your computer and use it in GitHub Desktop.
Save notgne2/41abc14c53bac7426c3633216cc92d25 to your computer and use it in GitHub Desktop.
let
customStdenv = stdenv.override {
cc = stdenv.cc.override {
libc = pkgs.glibc.override rec {
# whatever changes you want here, to get a different version
version = "4";
src = fetchurl {
url = "mirror://gnu/glibc/glibc-${version}.tar.xz";
sha256 = "aaAAAAAAAAAAaaaaaaaaAAAAAAAAaaaAAAaaaAAAaAAaaAAAAAAA";
};
};
};
};
in
customStdenv.mkDerivation {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment