yodl: fix paths. Now it actually works.
This commit is contained in:
parent
c37ca32be2
commit
288291e132
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, icmake }:
|
{ stdenv, fetchurl, perl, icmake, utillinux }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "yodl-${version}";
|
name = "yodl-${version}";
|
||||||
@ -13,9 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
patchShebangs scripts/.
|
patchShebangs scripts/.
|
||||||
sed -i 's;/usr;;g' INSTALL.im
|
substituteInPlace INSTALL.im --replace /usr $out
|
||||||
substituteInPlace build --replace /usr/bin/icmake ${icmake}/bin/icmake
|
patchShebangs ./build
|
||||||
substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl
|
substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl
|
||||||
|
substituteInPlace scripts/yodl2whatever.in --replace getopt ${utillinux}/bin/getopt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -25,9 +26,9 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
./build install programs $out
|
./build install programs
|
||||||
./build install macros $out
|
./build install macros
|
||||||
./build install man $out
|
./build install man
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user