aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix2
-rw-r--r--picarones-elm/default.nix1
2 files changed, 1 insertions, 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 {