aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixEnv/overlays
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-11-28 15:15:03 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-11-28 15:15:03 -0500
commit2e34620551b30c099cacc386ba9127f0bd04f77c (patch)
tree4a1ba8b6ec3f23b8b78412d0c6742cff399b25e0 /nixEnv/overlays
parentnix derivation, dub & dub2nix using ldc2 1.24.0 ok (diff)
directory nixEnv (renamed from nixDevEnv)
Diffstat (limited to 'nixEnv/overlays')
-rw-r--r--nixEnv/overlays/ldcVersion.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixEnv/overlays/ldcVersion.nix b/nixEnv/overlays/ldcVersion.nix
new file mode 100644
index 0000000..5bc7f7a
--- /dev/null
+++ b/nixEnv/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 .
+ '';
+ });
+}