Cosmetics

This commit is contained in:
Philipp Hausmann 2017-03-16 20:50:10 +01:00
parent 45d8d6ebeb
commit 0bd6fdcfc4
2 changed files with 7 additions and 7 deletions

View File

@ -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";
};
};
};

View File

@ -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