aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv/overlays/ldcVersion.nix
blob: c241a1ff04da575cc42c492332285bd097c1f7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
self: super: rec {
  version = "1.23.0";
  sha256 = "1fdgj222x29as466vdxy9c0m82zzlsb7vnvvh89n2riszcrx463d";
  ldc = super.ldc.overrideAttrs(oldAttrs: rec {
    inherit version sha256;
    pname = oldAttrs.pname;
    name = "${pname}-${version}";
    src = super.fetchurl {
      url = "https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz";
      sha256 = sha256;
    };
    postUnpack = ''
      patchShebangs .
    '';
  });
}