separateDebugInfo: Assert Linux
Also remove some unintended setting of separateDebugInfo.
This commit is contained in:
parent
f9d1c58f20
commit
2a28bc6691
@ -10,8 +10,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
separateDebugInfo = true;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A program that produces a familiar, friendly greeting";
|
description = "A program that produces a familiar, friendly greeting";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -18,7 +18,6 @@ _separateDebugInfo() {
|
|||||||
# Skip non-ELF files.
|
# Skip non-ELF files.
|
||||||
exec 10< "$i"
|
exec 10< "$i"
|
||||||
read -n 4 -u 10 magic
|
read -n 4 -u 10 magic
|
||||||
if [[ "$magic" =~ ELF ]]; then echo FOO; fi
|
|
||||||
exec 10<&-
|
exec 10<&-
|
||||||
|
|
||||||
# Extract the Build ID. FIXME: there's probably a cleaner way.
|
# Extract the Build ID. FIXME: there's probably a cleaner way.
|
||||||
|
@ -138,7 +138,7 @@ let
|
|||||||
|
|
||||||
outputs' =
|
outputs' =
|
||||||
outputs ++
|
outputs ++
|
||||||
(if separateDebugInfo then [ "debug" ] else []);
|
(if separateDebugInfo then assert result.isLinux; [ "debug" ] else []);
|
||||||
|
|
||||||
buildInputs' = buildInputs ++
|
buildInputs' = buildInputs ++
|
||||||
(if separateDebugInfo then [ ../../build-support/setup-hooks/separate-debug-info.sh ] else []);
|
(if separateDebugInfo then [ ../../build-support/setup-hooks/separate-debug-info.sh ] else []);
|
||||||
|
@ -43,8 +43,6 @@ let
|
|||||||
|
|
||||||
doInstallCheck = false;
|
doInstallCheck = false;
|
||||||
|
|
||||||
separateDebugInfo = true;
|
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
postUnpack =
|
postUnpack =
|
||||||
'' export CPATH="${bzip2.crossDrv}/include"
|
'' export CPATH="${bzip2.crossDrv}/include"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user