git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #104809 from virusdave/dnicponski/scratch/update_ucm

unison-ucm 1.0.M1l-alpha -> 1.0.M1m-alpha

commit5420a929261beff7b300be574dd6106ab736aec2 authorSilvan Mosberger <contact@infinisil.com> dateMon 30 Nov 2020, 21:05 (6 years ago) parente0818201a1e0f0
1 file changed+4−1
pkgs/development/compilers/unison/default.nix+4−1
pkgs/development/compilers/unison/default.nix+4−1
@@ -1,5 +1,7 @@
11{ stdenv, fetchurl, autoPatchelfHook
22, ncurses5, zlib, gmp
3+, makeWrapper
4+, less
35}:
46
57stdenv.mkDerivation rec {
@@ -23,12 +25,13 @@ stdenv.mkDerivation rec {
2325 dontBuild = true;
2426 dontConfigure = true;
2527
26− nativeBuildInputs = stdenv.lib.optional (!stdenv.isDarwin) autoPatchelfHook;
28+ nativeBuildInputs = [ makeWrapper ] ++ (stdenv.lib.optional (!stdenv.isDarwin) autoPatchelfHook);
2729 buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ ncurses5 zlib gmp ];
2830
2931 installPhase = ''
3032 mkdir -p $out/bin
3133 mv ucm $out/bin
34+ wrapProgram $out/bin/ucm --prefix PATH ":" "${stdenv.lib.makeBinPath [ less ]}";
3235 '';
3336
3437 meta = with stdenv.lib; {