fix source root locations.

These have changed following commit
c3255fe8ec.

See also:

- https://github.com/NixOS/nixpkgs/pull/31004
- https://github.com/NixOS/nixpkgs/pull/31106
This commit is contained in:
Piotr Bogdan
2017-11-02 12:54:20 +00:00
parent 7f921735e7
commit 8904ce343a
25 changed files with 72 additions and 24 deletions

View File

@@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "18bbcrjk6ladr46kl3dvqz5pq2xcv4nnwmajqllb4sl3k1xqsngy";
};
sourceRoot = "source/src/unetbootin";
setSourceRoot = ''
sourceRoot=$(echo */src/unetbootin)
'';
buildInputs = [ qt4 ];
nativeBuildInputs = [ makeWrapper qmake4Hook ];

View File

@@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
owner = "mcmilk";
};
sourceRoot = "zstdmt-v${version}-src/unix";
setSourceRoot = ''
sourceRoot=$(echo */unix)
'';
buildInputs = [
zstd lz4

View File

@@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1izjy5qw6swg0rs2ym2i72zndb90mwrfbd1iv8xbpwckbm4899lg";
};
setSourceRoot = "export sourceRoot=$(echo zinnia-*/zinnia/)";
setSourceRoot = ''
sourceRoot=$(echo */zinnia)
'';
meta = with stdenv.lib; {
description = "Online hand recognition system with machine learning";

View File

@@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1ihma4f6f92jp1mvzr4rjrgyh9m5wzrlxngaxfn7g0a8r2kyi65b";
};
sourceRoot = "source/Unix";
setSourceRoot = ''
sourceRoot=$(echo */Unix)
'';
buildInputs = [ makeWrapper perl AlgorithmDiff RegexpCommon ];

View File

@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ libpcap sqlite ];
sourceRoot = "reaver-${version}/src";
setSourceRoot = ''
sourceRoot=$(echo */src)
'';
configureFlags = "--sysconfdir=${confdir}";

View File

@@ -23,7 +23,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
buildInputs = [ automake autoconf libtool zimlib cxxtools tntnet ];
setSourceRoot = "cd openzim-*/zimreader; export sourceRoot=`pwd`";
setSourceRoot = ''
sourceRoot=$(echo */zimreader)
'';
preConfigure = "./autogen.sh";
meta = {

View File

@@ -28,7 +28,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
buildInputs = [ file icu libgumbo lzma zimlib zlib xapian ];
setSourceRoot = "cd openzim-*/zimwriterfs; export sourceRoot=`pwd`";
setSourceRoot = ''
sourceRoot=$(echo */zimwriterfs)
'';
preConfigure = "./autogen.sh";
meta = {