Pinetab-v: rope in config
This commit is contained in:
11
machines/ptv/pkgs-cross/protobuf/default.nix
Normal file
11
machines/ptv/pkgs-cross/protobuf/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
final: prev: prev.protobuf.overrideAttrs (old: {
|
||||
# https://github.com/advancedtelematic/aktualizr/issues/1427
|
||||
# atomics not supported, need either submit PR like suggested bove
|
||||
# or, for now, use libatomic_ops
|
||||
postPatch = old.postPatch + ''
|
||||
sed -i -e 's/set(protobuf_LINK_LIBATOMIC false)/set(protobuf_LINK_LIBATOMIC true)/' CMakeLists.txt
|
||||
'';
|
||||
buildInputs = [
|
||||
prev.libatomic_ops
|
||||
] ++ old.buildInputs;
|
||||
})
|
||||
Reference in New Issue
Block a user