From bf18158da7ec1261266da749fa9ecadfaebb2353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 15 Aug 2021 11:43:48 +0200 Subject: [PATCH] unipicker: cleanup --- pkgs/applications/misc/unipicker/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/unipicker/default.nix b/pkgs/applications/misc/unipicker/default.nix index 718548842723..26db71e9b483 100644 --- a/pkgs/applications/misc/unipicker/default.nix +++ b/pkgs/applications/misc/unipicker/default.nix @@ -17,10 +17,12 @@ stdenv.mkDerivation rec { ]; preInstall = '' - substituteInPlace unipicker --replace "/etc/unipickerrc" "$out/etc/unipickerrc" - substituteInPlace unipickerrc --replace "/usr/local" "$out" - substituteInPlace unipicker --replace "fzf" "${fzf}/bin/fzf" - substituteInPlace unipickerrc --replace "fzf" "${fzf}/bin/fzf" + substituteInPlace unipicker \ + --replace "/etc/unipickerrc" "$out/etc/unipickerrc" \ + --replace "fzf" "${fzf}/bin/fzf" + substituteInPlace unipickerrc \ + --replace "/usr/local" "$out" \ + --replace "fzf" "${fzf}/bin/fzf" ''; makeFlags = [ @@ -33,6 +35,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/jeremija/unipicker"; license = licenses.mit; maintainers = with maintainers; [ kiyengar ]; - platforms = with platforms; unix; + platforms = platforms.unix; }; }