diff options
Diffstat (limited to 'nixEnv/nixDevEnv/overlays/ldcVersion.nix')
-rw-r--r-- | nixEnv/nixDevEnv/overlays/ldcVersion.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixEnv/nixDevEnv/overlays/ldcVersion.nix b/nixEnv/nixDevEnv/overlays/ldcVersion.nix new file mode 100644 index 0000000..5bc7f7a --- /dev/null +++ b/nixEnv/nixDevEnv/overlays/ldcVersion.nix @@ -0,0 +1,15 @@ +self: super: rec { + ldc = super.ldc.overrideAttrs(oldAttrs: rec { + pname = "ldc"; + version = "1.24.0"; + sha256 = "0g5svf55i0kq55q49awmwqj9qi1n907cyrn1vjdjgs8nx6nn35gx"; + 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 . + ''; + }); +} |