rm ep3-bs_pkg
This commit is contained in:
@@ -6,7 +6,6 @@ let
|
|||||||
cfg = config.services.ep3-bs;
|
cfg = config.services.ep3-bs;
|
||||||
useSmtp = cfg.mail.type == "smtp" || cfg.mail.type == "smtp-tls";
|
useSmtp = cfg.mail.type == "smtp" || cfg.mail.type == "smtp-tls";
|
||||||
|
|
||||||
|
|
||||||
ep3-bs-pkg =
|
ep3-bs-pkg =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@@ -28,10 +27,6 @@ let
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules.ep3-bs = import ./ep3-bs.nix {
|
|
||||||
ep3-bs-pkg = self.packages.x86_64-linux.ep3-bs;
|
|
||||||
};
|
|
||||||
|
|
||||||
configFile = pkgs.writeText "local.php" ''
|
configFile = pkgs.writeText "local.php" ''
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "ep3-bs";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "tkrebs";
|
|
||||||
repo = "ep3-bs";
|
|
||||||
rev = "1.8.1";
|
|
||||||
sha256 = "sha256-UqlUhzkt1Xj/LHw9LrJqQ5ldg+Mib1gMUlwG9cBWeBI=";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [];
|
|
||||||
|
|
||||||
#passthru.tests = nixosTests.nextcloud;
|
|
||||||
|
|
||||||
#installPhase = ''
|
|
||||||
# runHook preInstall
|
|
||||||
# mkdir -p $out/
|
|
||||||
# cp -R . $out/
|
|
||||||
# runHook postInstall
|
|
||||||
#'';
|
|
||||||
|
|
||||||
#meta = with lib; {
|
|
||||||
# changelog = "https://nextcloud.com/changelog/#${lib.replaceStrings [ "." ] [ "-" ] version}";
|
|
||||||
# description = "Sharing solution for files, calendars, contacts and more";
|
|
||||||
# homepage = "https://nextcloud.com";
|
|
||||||
# maintainers = with maintainers; [ schneefux bachp globin ma27 ];
|
|
||||||
# license = licenses.agpl3Plus;
|
|
||||||
# platforms = with platforms; unix;
|
|
||||||
# knownVulnerabilities = extraVulnerabilities
|
|
||||||
# ++ (optional eol "Nextcloud version ${version} is EOL");
|
|
||||||
#};
|
|
||||||
};
|
|
||||||
24
flake.nix
24
flake.nix
@@ -10,32 +10,8 @@
|
|||||||
pkgs = nixpkgs.legacyPackages."${system}";
|
pkgs = nixpkgs.legacyPackages."${system}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
|
||||||
shellHook = ''
|
|
||||||
export QEMU_NET_OPTS="hostfwd=tcp::2221-:22,hostfwd=tcp::8080-:80"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
packages.ep3-bs = with pkgs; stdenv.mkDerivation {
|
|
||||||
name = "ep3-bs";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "tkrebs";
|
|
||||||
repo = "ep3-bs";
|
|
||||||
rev = "1.8.1";
|
|
||||||
sha256 = "sha256-mcuFgi1ebawaAyuEREsC9jdIqGA0BeMabqwiVcXsKSY=";
|
|
||||||
};
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
mkdir -p $out/
|
|
||||||
cp -R . $out/
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
}) // {
|
}) // {
|
||||||
|
|
||||||
nixosModules.ep3-bs = import ./ep3-bs.nix;
|
nixosModules.ep3-bs = import ./ep3-bs.nix;
|
||||||
|
|
||||||
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
||||||
|
|||||||
Reference in New Issue
Block a user