diff options
author | stuebinm | 2021-03-08 20:24:11 +0100 |
---|---|---|
committer | stuebinm | 2021-03-08 20:24:11 +0100 |
commit | baaaa849feeee2403c70cc0141c766c3fe214403 (patch) | |
tree | 2dc417d0ee5339c98d144347eada301b058ebb85 | |
parent | aacde4a3f54d0e4dab2eb52da280d52183b08178 (diff) |
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
-rw-r--r-- | default.nix | 2 | ||||
-rw-r--r-- | picarones-elm/default.nix | 1 |
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 { |