aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine_build_scaffold.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/spine_build_scaffold.org')
-rw-r--r--org/spine_build_scaffold.org36
1 files changed, 28 insertions, 8 deletions
diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org
index c36cb1e..a10929b 100644
--- a/org/spine_build_scaffold.org
+++ b/org/spine_build_scaffold.org
@@ -1895,7 +1895,7 @@ buildInputs = with pkgs; [
];
#+END_SRC
-*** dmd & ldc
+*** shell with dmd & ldc
#+NAME: nix_shell_with_compilers_dmd_and_ldc
#+BEGIN_SRC nix
@@ -2233,10 +2233,10 @@ in {
#+BEGIN_SRC nix :tangle ../nixDevEnv/overlays/ldcVersion.nix
self: super: rec {
+ pname = "ldc";
<<ldc_version_info>>
ldc = super.ldc.overrideAttrs(oldAttrs: rec {
- inherit version sha256;
- pname = oldAttrs.pname;
+ inherit pname version sha256;
name = "${pname}-${version}";
src = super.fetchurl {
url = "https://github.com/ldc-developers/ldc/releases/download/v${version}/ldc-${version}-src.tar.gz";
@@ -2272,16 +2272,36 @@ self: super: rec {
#+END_SRC
** version info TODO
-https://dlang.org/download.html
+
+- https://dlang.org/download.html
*** compilers (set latest versions) TODO
**** ldc
-https://github.com/ldc-developers/ldc/releases
+
+- https://github.com/ldc-developers/ldc/releases
+
+***** 1.24.0
+
+- https://github.com/ldc-developers/ldc/releases/tag/v1.24.0
+ - nix-prefetch-url https://github.com/ldc-developers/ldc/releases/download/v1.24.0/ldc-1.24.0-src.tar.gz
+
+#+BEGIN_SRC nix
+version = "1.24.0";
+sha256 = "0g5svf55i0kq55q49awmwqj9qi1n907cyrn1vjdjgs8nx6nn35gx";
+#+END_SRC
+
+- ldc-1.24.0 overlay does not build with latest nixos version, nixos-20.09
+ nixos at ldc-1.20.0
+
+***** 1.23.0
+
+- https://github.com/ldc-developers/ldc/releases/tag/v1.23.0
+ - nix-prefetch-url https://github.com/ldc-developers/ldc/releases/download/v1.23.0/ldc-1.23.0-src.tar.gz
#+NAME: ldc_version_info
#+BEGIN_SRC nix
version = "1.23.0";
-sha256 = "1fdgj222x29as466vdxy9c0m82zzlsb7vnvvh89n2riszcrx463d";
+sha256 = "1fdgj222x29as466vdxy9c0m82zzlsb7vnvvh89n2riszcrx463d";
#+END_SRC
**** dmd
@@ -2293,8 +2313,8 @@ http://downloads.dlang.org/releases/2.x/
#+NAME: dmd_version_info
#+BEGIN_SRC nix
version = "2.094.0";
-sha256 = "0xhm8m46ahfx3hcibi3vws02zaplny3226f3x8cd8584gzfqyzxp";
-year = "2020";
+sha256 = "0xhm8m46ahfx3hcibi3vws02zaplny3226f3x8cd8584gzfqyzxp";
+year = "2020";
#+END_SRC
* .gitignore :gitignore: