From 5277e7def7b167021ae49a3d101926b40b98e745 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 8 Jul 2023 16:02:11 -0400 Subject: flake nix build dub, set HOME, dub >= 1.31.0 fix - fixes dub >= 1.31.0 build failure, attempted to build in /homeless-shelter --- nix-overlays/ldc/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nix-overlays/ldc') diff --git a/nix-overlays/ldc/generic.nix b/nix-overlays/ldc/generic.nix index 979d78c..f88f448 100644 --- a/nix-overlays/ldc/generic.nix +++ b/nix-overlays/ldc/generic.nix @@ -1,5 +1,5 @@ { version, sha256 }: -{ lib, stdenv, fetchurl, cmake, ninja, llvm_15, curl, tzdata +{ lib, stdenv, fetchurl, cmake, ninja, llvm_14, curl, tzdata , libconfig, lit, gdb, unzip, darwin, bash , callPackage, makeWrapper, runCommand, targetPackages , ldcBootstrap ? callPackage ./bootstrap.nix { } @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ - cmake ldcBootstrap lit lit.python llvm_15.dev makeWrapper ninja unzip + cmake ldcBootstrap lit lit.python llvm_14.dev makeWrapper ninja unzip ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Foundation -- cgit v1.2.3