From 124782c1745c4dbfd3dc84f5e50e0214899e39f7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 26 Sep 2020 14:44:34 -0400 Subject: nixify step --- nixDevEnv/overlays/ldcVersion.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nixDevEnv/overlays/ldcVersion.nix (limited to 'nixDevEnv/overlays/ldcVersion.nix') diff --git a/nixDevEnv/overlays/ldcVersion.nix b/nixDevEnv/overlays/ldcVersion.nix new file mode 100644 index 0000000..c241a1f --- /dev/null +++ b/nixDevEnv/overlays/ldcVersion.nix @@ -0,0 +1,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 . + ''; + }); +} -- cgit v1.2.3