diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-11-28 15:15:03 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-11-28 15:15:03 -0500 |
commit | 2e34620551b30c099cacc386ba9127f0bd04f77c (patch) | |
tree | 4a1ba8b6ec3f23b8b78412d0c6742cff399b25e0 /nixEnv/nixDevEnv/overlays/ldcVersion.nix | |
parent | nix derivation, dub & dub2nix using ldc2 1.24.0 ok (diff) |
directory nixEnv (renamed from nixDevEnv)
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 . + ''; + }); +} |