commit 4879725669acdd9c15936697b916c65fd47080b4 parent 594f82ac8039b9e637501777717f989b8723cbec Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Tue, 26 May 2020 19:52:02 +0300 macpass: minor fix Diffstat:
M | pkgs/applications/macpass/default.nix | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/pkgs/applications/macpass/default.nix b/pkgs/applications/macpass/default.nix @@ -9,12 +9,11 @@ stdenv.mkDerivation rec { sha256 = "1gikixbrz1pvyjspp62msdmhjdy1rfkx8jhy7rajjr8bzm8pzpmc"; }; - dontUnpack = true; - dontBuild = true; + unpackPhase = "${unzip}/bin/unzip $src"; installPhase = '' mkdir -p $out/Applications - ${unzip}/bin/unzip $src -d $out/Applications + cp -r MacPass.app $out/Applications ''; preferLocalBuild = true; @@ -24,7 +23,7 @@ stdenv.mkDerivation rec { homepage = "https://macpassapp.org/"; license = licenses.gpl3; maintainers = with maintainers; [ sikmir ]; - platforms = platforms.darwin; + platforms = [ "x86_64-darwin" ]; skip.ci = true; }; }