From f4a280dc6a869c540975b697f614c5172007d7a2 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 13 May 2024 15:47:09 -0400 Subject: nix flake and envrc related --- derivation.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'derivation.nix') diff --git a/derivation.nix b/derivation.nix index d179c8f..09bbfd0 100644 --- a/derivation.nix +++ b/derivation.nix @@ -48,7 +48,6 @@ with ( buildPhase = '' runHook preBuild HOME="$PWD" - DFLAGS="-O2 -inline" for DC_ in dmd ldmd2 gdmd; do echo "- check for D compiler $DC_" DC=$(type -P $DC_ || echo "") @@ -60,7 +59,7 @@ with ( exit "Error: could not find D compiler" fi echo "$DC_ used as D compiler to build $pname" - dub build --compiler=$DC --build=release --combined --skip-registry=all + dub run --compiler=$DC --build=release --combined --skip-registry=all runHook postBuild ''; checkPhase = '' -- cgit v1.2.3