mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
987cad84ce
With adding a patch that makes 2 absolute paths into 2 relative paths, ensuring the third-party libraries are available in the python environment used and wrapping the python tools with wrapPrograms does so that the fixed ceph pkg can compile and run as intended on NixOS.
20 lines
761 B
Diff
20 lines
761 B
Diff
diff -ru ceph/src/key_value_store/kv_flat_btree_async.cc ceph-copy/src/key_value_store/kv_flat_btree_async.cc
|
|
--- ceph/src/key_value_store/kv_flat_btree_async.cc 1980-01-02 00:00:00.000000000 +0100
|
|
+++ ceph-copy/src/key_value_store/kv_flat_btree_async.cc 2018-02-13 21:49:59.232860487 +0100
|
|
@@ -15,13 +15,13 @@
|
|
#include "key_value_store/kv_flat_btree_async.h"
|
|
#include "key_value_store/kvs_arg_types.h"
|
|
#include "include/rados/librados.hpp"
|
|
-#include "/usr/include/asm-generic/errno.h"
|
|
-#include "/usr/include/asm-generic/errno-base.h"
|
|
#include "common/ceph_context.h"
|
|
#include "common/Clock.h"
|
|
#include "include/types.h"
|
|
|
|
|
|
+#include <asm-generic/errno.h>
|
|
+#include <asm-generic/errno-base.h>
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <cassert>
|