mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/mobilizon: remove with lib;
and unused rec
This commit is contained in:
parent
611f4847de
commit
142d7c0f88
1 changed files with 11 additions and 3 deletions
|
@ -5,9 +5,17 @@
|
|||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
mkPackageOption
|
||||
mkOption
|
||||
mkDefault
|
||||
mkIf
|
||||
types
|
||||
literalExpression
|
||||
;
|
||||
|
||||
cfg = config.services.mobilizon;
|
||||
|
||||
user = "mobilizon";
|
||||
|
@ -20,7 +28,7 @@ let
|
|||
# Make a package containing launchers with the correct envirenment, instead of
|
||||
# setting it with systemd services, so that the user can also use them without
|
||||
# troubles
|
||||
launchers = pkgs.stdenv.mkDerivation rec {
|
||||
launchers = pkgs.stdenv.mkDerivation {
|
||||
pname = "${cfg.package.pname}-launchers";
|
||||
inherit (cfg.package) version;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue