Cosmetics
This commit is contained in:
parent
45d8d6ebeb
commit
0bd6fdcfc4
@ -21,9 +21,9 @@ in {
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.slimserver;
|
||||
defaultText = "pkgs.slimserver";
|
||||
description = "Slimserver package to use.";
|
||||
default = pkgs.slimserver;
|
||||
defaultText = "pkgs.slimserver";
|
||||
description = "Slimserver package to use.";
|
||||
};
|
||||
|
||||
dataDir = mkOption {
|
||||
@ -84,9 +84,9 @@ in {
|
||||
groups.slimserver.gid = config.ids.gids.slimserver;
|
||||
users.slimserver = {
|
||||
uid = config.ids.uids.slimserver;
|
||||
description = "Slimserver daemon user";
|
||||
home = cfg.dataDir;
|
||||
group = "slimserver";
|
||||
description = "Slimserver daemon user";
|
||||
home = cfg.dataDir;
|
||||
group = "slimserver";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,5 +1,4 @@
|
||||
{ stdenv, buildPerlPackage, fetchurl
|
||||
#, sqlite, expat, mp4v2, flac, spidermonkey_1_8_5, taglib, libexif, curl, ffmpeg, file
|
||||
, perl, perlPackages }:
|
||||
|
||||
buildPerlPackage rec {
|
||||
@ -62,6 +61,7 @@ buildPerlPackage rec {
|
||||
|
||||
prePatch = ''
|
||||
mkdir CPAN_used
|
||||
# slimserver doesn't work with current DBIx/SQL versions, use bundled copies
|
||||
mv CPAN/DBIx CPAN/SQL CPAN_used
|
||||
rm -rf CPAN
|
||||
rm -rf Bin
|
||||
|
Loading…
Reference in New Issue
Block a user