diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-05-05 02:37:22 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-05-05 19:44:45 +0200 |
commit | 288291e13233057711da0331cd75a0024517ac12 (patch) | |
tree | cb21aaa298dc6673898c2100fd4ff84ff0341d6d /pkgs/development/tools/misc/yodl | |
parent | c37ca32be245ed2eb8abd56878f0d4ce6c746dc3 (diff) | |
download | nixlib-288291e13233057711da0331cd75a0024517ac12.tar nixlib-288291e13233057711da0331cd75a0024517ac12.tar.gz nixlib-288291e13233057711da0331cd75a0024517ac12.tar.bz2 nixlib-288291e13233057711da0331cd75a0024517ac12.tar.lz nixlib-288291e13233057711da0331cd75a0024517ac12.tar.xz nixlib-288291e13233057711da0331cd75a0024517ac12.tar.zst nixlib-288291e13233057711da0331cd75a0024517ac12.zip |
yodl: fix paths. Now it actually works.
Diffstat (limited to 'pkgs/development/tools/misc/yodl')
-rw-r--r-- | pkgs/development/tools/misc/yodl/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/yodl/default.nix b/pkgs/development/tools/misc/yodl/default.nix index 598835c51521..d6667b76759e 100644 --- a/pkgs/development/tools/misc/yodl/default.nix +++ b/pkgs/development/tools/misc/yodl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perl, icmake }: +{ stdenv, fetchurl, perl, icmake, utillinux }: stdenv.mkDerivation rec { name = "yodl-${version}"; @@ -13,9 +13,10 @@ stdenv.mkDerivation rec { preConfigure = '' patchShebangs scripts/. - sed -i 's;/usr;;g' INSTALL.im - substituteInPlace build --replace /usr/bin/icmake ${icmake}/bin/icmake + substituteInPlace INSTALL.im --replace /usr $out + patchShebangs ./build substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl + substituteInPlace scripts/yodl2whatever.in --replace getopt ${utillinux}/bin/getopt ''; buildPhase = '' @@ -25,9 +26,9 @@ stdenv.mkDerivation rec { ''; installPhase = '' - ./build install programs $out - ./build install macros $out - ./build install man $out + ./build install programs + ./build install macros + ./build install man ''; meta = with stdenv.lib; { |