A fork of attic a self-hostable Nix Binary Cache server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "nixos: Use lib.getExe"

This reverts commit 94fa54632d460d7ac68c635260cbd79c8ed082f1.

Breaks usage of the attic package, to avoid having to build attic twice
for server and client.

authored by

ajs124 and committed by
Zhaofeng Li
8eb49a2f ff8a897d

+2 -2
+2 -2
nixos/atticd.nix
··· 26 26 27 27 export ATTIC_SERVER_TOKEN_HS256_SECRET_BASE64="dGVzdCBzZWNyZXQ=" 28 28 export ATTIC_SERVER_DATABASE_URL="sqlite://:memory:" 29 - ${lib.getExe cfg.package} --mode check-config -f $configFile 29 + ${cfg.package}/bin/atticd --mode check-config -f $configFile 30 30 cat <$configFile >$out 31 31 ''; 32 32 ··· 204 204 wants = [ "network-online.target" ]; 205 205 206 206 serviceConfig = { 207 - ExecStart = "${lib.getExe cfg.package} -f ${checkedConfigFile} --mode ${cfg.mode}"; 207 + ExecStart = "${cfg.package}/bin/atticd -f ${checkedConfigFile} --mode ${cfg.mode}"; 208 208 EnvironmentFile = cfg.environmentFile; 209 209 StateDirectory = "atticd"; # for usage with local storage and sqlite 210 210 DynamicUser = true;