From 204e0caee0287f49b685ca96f722e09721d16d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 2 Oct 2023 03:12:26 +0200 Subject: [PATCH] mobilizon: cleanup code a bit --- pkgs/servers/mobilizon/common.nix | 2 -- pkgs/servers/mobilizon/default.nix | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/mobilizon/common.nix b/pkgs/servers/mobilizon/common.nix index 35551a628c7f..39f1fd85f55b 100644 --- a/pkgs/servers/mobilizon/common.nix +++ b/pkgs/servers/mobilizon/common.nix @@ -19,6 +19,4 @@ }) ]; }; - - } diff --git a/pkgs/servers/mobilizon/default.nix b/pkgs/servers/mobilizon/default.nix index f35718c6d1b5..73ae391eadc2 100644 --- a/pkgs/servers/mobilizon/default.nix +++ b/pkgs/servers/mobilizon/default.nix @@ -1,14 +1,9 @@ { lib , callPackage , writeShellScriptBin -, writeText , beamPackages -, yarn2nix , mix2nix -, fetchFromGitLab , fetchFromGitHub -, fetchgit -, fetchurl , git , cmake , nixosTests @@ -16,7 +11,7 @@ }: let - inherit (beamPackages) mixRelease buildMix buildRebar3 fetchHex; + inherit (beamPackages) mixRelease buildMix; common = callPackage ./common.nix { }; in mixRelease rec { @@ -59,7 +54,7 @@ mixRelease rec { }); # The remainder are Git dependencies (and their deps) that are not supported by mix2nix currently. - web_push_encryption = buildMix rec { + web_push_encryption = buildMix { name = "web_push_encryption"; version = "0.3.1"; src = fetchFromGitHub {