commit 1cfeab2e0bd99f1701cda1716dd449890d0a95c3 parent 55540d9dcea52b219ef1af21e641b17e57153373 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Sun, 19 Jul 2020 23:11:48 +0300 fx: fix on linux Diffstat:
M | pkgs/tools/text/fx/default.nix | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkgs/tools/text/fx/default.nix b/pkgs/tools/text/fx/default.nix @@ -33,10 +33,10 @@ stdenv.mkDerivation { installPhase = "install -Dm755 fx-${suffix} $out/bin/fx"; - postFixup = with stdenv; lib.optionalString isLinux '' + postFixup = stdenv.lib.optionalString stdenv.isLinux '' patchelf \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ - --set-rpath "${makeLibraryPath [ stdenv.cc.cc.lib ]}" \ + --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \ $out/bin/fx '';