aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixEnv/overlays/ldcVersion.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixEnv/overlays/ldcVersion.nix')
-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 .
+ '';
+ });
+}