diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/cd-dvd/cdrkit/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/cd-dvd/cdrkit/include-path.patch | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/cdrkit/default.nix b/pkgs/tools/cd-dvd/cdrkit/default.nix index f92fabc380ce..dace47675aaf 100644 --- a/pkgs/tools/cd-dvd/cdrkit/default.nix +++ b/pkgs/tools/cd-dvd/cdrkit/default.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { buildInputs = [cmake libcap zlib bzip2]; + patches = [ ./include-path.patch ]; + postInstall = '' # file name compatibility with the old cdrecord (growisofs wants this name) ln -s $out/bin/genisoimage $out/bin/mkisofs diff --git a/pkgs/tools/cd-dvd/cdrkit/include-path.patch b/pkgs/tools/cd-dvd/cdrkit/include-path.patch new file mode 100644 index 000000000000..c071e182d7f5 --- /dev/null +++ b/pkgs/tools/cd-dvd/cdrkit/include-path.patch @@ -0,0 +1,9 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 57edba6..d06b6d9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,3 +1,4 @@ + PROJECT (cdrkit C) ++INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/include) + SUBDIRS(include genisoimage wodim libedc libhfs_iso libparanoia icedax libusal librols libunls readom netscsid 3rd-party/dirsplit) + |