buildCrystalPackage: use --no-debug
it was causing problems with the installCheckPhase due to it generating .dwarf files
This commit is contained in:
parent
9bd941c5d2
commit
afb755e706
@ -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 != { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user