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

@@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
buildInputs = [ libmilter libX11 openssl readline utillinux ];
nativeBuildInputs = [ icmake yodl ];
sourceRoot = "bobcat-${version}-src/bobcat";
setSourceRoot = ''
sourceRoot=$(echo */bobcat)
'';
postPatch = ''
substituteInPlace INSTALL.im --replace /usr $out