diff options
author | Qyriad <qyriad@qyriad.me> | 2024-07-21 13:15:30 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-07-24 17:21:40 +0000 |
commit | 8d12e0fbb7306cbc58b12ef051d7067d703738de (patch) | |
tree | daa5aecbda8ff9227039cac279f8635f12cb470e /src/libstore/build/derivation-goal.cc | |
parent | 53f3e39815c3357c6465963359e94a6318b54af7 (diff) |
fix building with Musl, fixing static builds
Musl stdout macro expands¹ to something that isn't a valid identifier,
so we get syntax errors when compiling usage of a method called stdout
with Musl's stdio.h.
[1]: https://git.musl-libc.org/cgit/musl/tree/include/stdio.h?id=ab31e9d6a0fa7c5c408856c89df2dfb12c344039#n67
Change-Id: I10e6f6a49504399bf8edd59c5d9e4e62449469e8
Diffstat (limited to 'src/libstore/build/derivation-goal.cc')
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc index 7cf8a55c9..d0152355f 100644 --- a/src/libstore/build/derivation-goal.cc +++ b/src/libstore/build/derivation-goal.cc @@ -932,7 +932,7 @@ void runPostBuildHook( Finally const _wait([&] { proc.wait(); }); // FIXME just process the data, without a wrapper sink class - proc.stdout()->drainInto(sink); + proc.getStdout()->drainInto(sink); } void DerivationGoal::buildDone() |