https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
273 B
Nix
8 lines
273 B
Nix
{ lib, stdenv, fetchurl, ... } @ args:
|
|
|
|
import ./generic.nix (args // {
|
|
version = "6.2.23";
|
|
sha256 = "1isxx4jfmnh913jzhp8hhfngbk6dsg46f4kjpvvc56maj64jqqa7";
|
|
license = lib.licenses.agpl3;
|
|
extraPatches = [ ./clang-6.0.patch ./CVE-2017-10140-cwd-db_config.patch ];
|
|
})
|