forked from mirrors/nixpkgs
spacecookie: add top-level attribute for haskellPackages.spacecookie
The haskellPackages.spacecookie derivation also includes a library and thus a lot of propagated haskell dependencies. The top-level attribute uses haskell.lib.justStaticExecutables and therefore only the executable. This should reduce the runtime closure users have to download considerably if they only want the server.
This commit is contained in:
parent
d51edbe17e
commit
9c989f2fd9
|
@ -29,10 +29,9 @@ in {
|
|||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.haskellPackages.spacecookie;
|
||||
example = literalExample ''
|
||||
pkgs.haskell.lib.justStaticExecutables pkgs.haskellPackages.spacecookie
|
||||
'';
|
||||
default = pkgs.spacecookie;
|
||||
defaultText = literalExample "pkgs.spacecookie";
|
||||
example = literalExample "pkgs.haskellPackages.spacecookie";
|
||||
description = ''
|
||||
The spacecookie derivation to use. This can be used to
|
||||
override the used package or to use another version.
|
||||
|
|
|
@ -19108,6 +19108,9 @@ in
|
|||
|
||||
sogo = callPackage ../servers/web-apps/sogo { };
|
||||
|
||||
spacecookie =
|
||||
haskell.lib.justStaticExecutables haskellPackages.spacecookie;
|
||||
|
||||
spawn_fcgi = callPackage ../servers/http/spawn-fcgi { };
|
||||
|
||||
spring-boot-cli = callPackage ../development/tools/spring-boot-cli { };
|
||||
|
|
Loading…
Reference in a new issue