This commit is contained in:
2020-12-20 22:23:59 +01:00
parent 017149ea91
commit f8dfe3c3b5

View File

@@ -74,6 +74,7 @@ in
};
environment.systemPackages = optionals cfgc.enable [
(pkgs.writeScriptBin "brownpaper" ''
#!${pkgs.bash}/bin/bash
BROWNPAPER_ENDPOINT='${cfgc.endpoint}' ${(pkgs.callPackage ./. { inherit pkgs; src = ./.; }).client}/bin/brownpaper "$@"
'')
];