Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@meditans
Created March 15, 2019 11:58
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 meditans/8ce219bfce798f81c7bc1c0c2ccc1f2e to your computer and use it in GitHub Desktop.
Save meditans/8ce219bfce798f81c7bc1c0c2ccc1f2e to your computer and use it in GitHub Desktop.
# Point to an older version of zlib
self: super: {
zlibOld = super.zlib.overrideAttrs (oa: rec {
name = "zlib-${version}";
version = "1.2.9";
src = super.fetchurl {
urls =
[ "https://www.zlib.net/fossils/${name}.tar.gz" # stable archive path
"mirror://sourceforge/libpng/zlib/${version}/${name}.tar.gz"
];
sha256 = "08dabvnaqis3jlhyzwvh0dmz4lsq5zsmdbyjjm4fgl8yycp31avk";
};
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment