nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 1fe248745e0bf5661e5d3eacb469bf3d8f9449c5
parent 95163bab9103d7c6f62dd5545540edd73adebe14
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue, 11 Aug 2020 20:25:14 +0300

visualgps: fix install on linux

Diffstat:
Mpkgs/applications/visualgps/default.nix | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pkgs/applications/visualgps/default.nix b/pkgs/applications/visualgps/default.nix @@ -23,10 +23,12 @@ mkDerivation { qmakeFlags = [ "Software/VisualGPSqt/Source/VisualGPSqt.pro" ]; - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' + postInstall = if stdenv.isDarwin then '' mkdir -p $out/Applications mv VisualGPSqt.app $out/Applications wrapQtApp $out/Applications/VisualGPSqt.app/Contents/MacOS/VisualGPSqt + '' else '' + install -Dm755 VisualGPSqt -t $out/bin ''; meta = with stdenv.lib; {