From baaaa849feeee2403c70cc0141c766c3fe214403 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 8 Mar 2021 20:24:11 +0100 Subject: small bugfixes - delete copy of example folder in picarones-elm which broke the build - actually check if the service should be enabled before building it --- default.nix | 2 +- picarones-elm/default.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 18f32e6..0f362dc 100644 --- a/default.nix +++ b/default.nix @@ -51,7 +51,7 @@ with lib; }; config = let cfg = config.services.picarones; in { - systemd.services.picarones-hs = { + systemd.services.picarones-hs = mkIf cfg.enable { description = "picarones backend server"; path = [ cfg.package ]; wantedBy = [ "multi-user.target" ]; diff --git a/picarones-elm/default.nix b/picarones-elm/default.nix index b5e9d9d..2fc650b 100644 --- a/picarones-elm/default.nix +++ b/picarones-elm/default.nix @@ -39,7 +39,6 @@ let '') targets)} cp *.html $out cp *.css $out - cp -r example $out/ ''; }; in mkDerivation { -- cgit v1.2.3