summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-13 14:54:29 +0200
committerlassulus <lassulus@lassul.us>2019-04-13 14:54:29 +0200
commit91bab57c35d61550ae4fec98cd8e985c037ed7f7 (patch)
tree475dbfaeb13b24298d50e72eaedf65db88e1ff13 /lass
parentec4b7f30f5f4dfbc5b2164fdb6f25ff32e841cde (diff)
l usershadow: build without -threaded
Diffstat (limited to 'lass')
-rw-r--r--lass/3modules/usershadow.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/lass/3modules/usershadow.nix b/lass/3modules/usershadow.nix
index 383b9a537..d967a108a 100644
--- a/lass/3modules/usershadow.nix
+++ b/lass/3modules/usershadow.nix
@@ -53,10 +53,13 @@
"bytestring"
];
body = pkgs.writeHaskellPackage "passwords" {
+ ghc-options = [
+ "-rtsopts"
+ "-Wall"
+ ];
executables.verify_pam = {
extra-depends = deps;
text = ''
- import Data.Monoid
import System.IO
import Data.Char (chr)
import System.Environment (getEnv, getArgs)
@@ -79,7 +82,6 @@
executables.verify_arg = {
extra-depends = deps;
text = ''
- import Data.Monoid
import System.Environment (getArgs)
import Crypto.PasswordStore (verifyPasswordWith, pbkdf2)
import qualified Data.ByteString.Char8 as BS8