diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-13 15:47:09 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-13 18:17:03 -0400 |
commit | f4a280dc6a869c540975b697f614c5172007d7a2 (patch) | |
tree | 7f8568a66b662eec555b43b466a92a4c186ef500 /derivation.nix | |
parent | set nixVersions.nix_2_21 (diff) |
nix flake and envrc related
Diffstat (limited to 'derivation.nix')
-rw-r--r-- | derivation.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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 = '' |