Remove unused extra /etc file

This commit is contained in:
Gürkan Gür 2019-08-08 16:43:44 +02:00
parent a0fbb1ee6b
commit 0e590bc027
2 changed files with 2 additions and 3 deletions

View File

@ -14,6 +14,7 @@
}:
let
python = python3Packages.python;
configText = ''
"""Serveradmin configuration
@ -115,8 +116,7 @@ python3Packages.buildPythonPackage rec {
propagatedBuildInputs = pythonPath;
postInstall = ''
mkdir -p $out/etc/serveradmin
tee -a $out/etc/serveradmin/settings.py < ${(writeText "config.serveradmin" configText)}
tee -a $out/lib/${python.libPrefix}/site-packages/serveradmin/local_settings.py < ${(writeText "config.serveradmin" configText)}
'';
doInstallCheck = false;

View File

@ -88,5 +88,4 @@ in
];
};
};
environment.etc."serveradmin/settings.py".source = "${pkgs.pythonServeradmin}/etc/serveradmin/settings.py";
}