aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-04-13 15:27:17 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-04-13 15:27:20 -0400
commit75740d5463991f41b70745182c11a564f987a456 (patch)
treec3d33be1c88d1164d57514bd8d0e5a3252d3f640
parentnix keeping: nix-shell, nix-build derivation.nix (diff)
package.nix cosmetic line-breaks for build command
-rw-r--r--org/config_nix.org5
-rw-r--r--package.nix5
2 files changed, 8 insertions, 2 deletions
diff --git a/org/config_nix.org b/org/config_nix.org
index a7206e2..ac74bca 100644
--- a/org/config_nix.org
+++ b/org/config_nix.org
@@ -388,7 +388,10 @@ stdenv.mkDerivation {
'';
buildPhase = ''
runHook preBuild
- buildCMD="dub run --cache=local --compiler=$(type -P ${compilerBin}) --build=${buildType} --combined --skip-registry=all"
+ buildCMD="dub run --cache=local \
+ --compiler=$(type -P ${compilerBin}) \
+ --build=${buildType} \
+ --combined --skip-registry=all"
echo $buildCMD
$buildCMD
runHook postBuild
diff --git a/package.nix b/package.nix
index 6e6b769..548d215 100644
--- a/package.nix
+++ b/package.nix
@@ -36,7 +36,10 @@ stdenv.mkDerivation {
'';
buildPhase = ''
runHook preBuild
- buildCMD="dub run --cache=local --compiler=$(type -P ${compilerBin}) --build=${buildType} --combined --skip-registry=all"
+ buildCMD="dub run --cache=local \
+ --compiler=$(type -P ${compilerBin}) \
+ --build=${buildType} \
+ --combined --skip-registry=all"
echo $buildCMD
$buildCMD
runHook postBuild