Merge pull request #104809 from virusdave/dnicponski/scratch/update_ucm
unison-ucm 1.0.M1l-alpha -> 1.0.M1m-alpha
This commit is contained in:
commit
5420a92926
@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchurl, autoPatchelfHook
|
{ stdenv, fetchurl, autoPatchelfHook
|
||||||
, ncurses5, zlib, gmp
|
, ncurses5, zlib, gmp
|
||||||
|
, makeWrapper
|
||||||
|
, less
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -23,12 +25,13 @@ stdenv.mkDerivation rec {
|
|||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
nativeBuildInputs = stdenv.lib.optional (!stdenv.isDarwin) autoPatchelfHook;
|
nativeBuildInputs = [ makeWrapper ] ++ (stdenv.lib.optional (!stdenv.isDarwin) autoPatchelfHook);
|
||||||
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ ncurses5 zlib gmp ];
|
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ ncurses5 zlib gmp ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mv ucm $out/bin
|
mv ucm $out/bin
|
||||||
|
wrapProgram $out/bin/ucm --prefix PATH ":" "${stdenv.lib.makeBinPath [ less ]}";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user