about summary refs log tree commit diff
path: root/pkgs/development/compilers/crystal
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-09-10 23:24:51 +0300
committerArtturin <Artturin@artturin.com>2021-09-27 00:39:08 +0300
commitafb755e7067f83beadc5b290f153d77b77326be0 (patch)
treedd3b4952d2d7e5d8953cd9b77bce446269ecba53 /pkgs/development/compilers/crystal
parent9bd941c5d2627f0cac739aab90c22e8e34733273 (diff)
buildCrystalPackage: use --no-debug
it was causing problems with the installCheckPhase due to it generating
.dwarf files
Diffstat (limited to 'pkgs/development/compilers/crystal')
-rw-r--r--pkgs/development/compilers/crystal/build-package.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/compilers/crystal/build-package.nix b/pkgs/development/compilers/crystal/build-package.nix
index 8c788b80bf0c0..2328e76ad7705 100644
--- a/pkgs/development/compilers/crystal/build-package.nix
+++ b/pkgs/development/compilers/crystal/build-package.nix
@@ -10,7 +10,7 @@
 , format ? "make"
 , installManPages ? true
   # Specify binaries to build in the form { foo.src = "src/foo.cr"; }
-  # The default `crystal build` options can be overridden with { foo.options = [ "--no-debug" ]; }
+  # The default `crystal build` options can be overridden with { foo.options = [ "--optionname" ]; }
 , crystalBinaries ? { }
 , ...
 }@args:
@@ -32,8 +32,7 @@ let
     })
     (import shardsFile));
 
-  # we previously had --no-debug here but that is not recommended by upstream
-  defaultOptions = [ "--release" "--progress" "--verbose" ];
+  defaultOptions = [ "--release" "--progress" "--verbose" "--no-debug" ];
 
   buildDirectly = shardsFile == null || crystalBinaries != { };