l usershadow: build without -threaded
This commit is contained in:
parent
ec4b7f30f5
commit
91bab57c35
|
@ -53,10 +53,13 @@
|
||||||
"bytestring"
|
"bytestring"
|
||||||
];
|
];
|
||||||
body = pkgs.writeHaskellPackage "passwords" {
|
body = pkgs.writeHaskellPackage "passwords" {
|
||||||
|
ghc-options = [
|
||||||
|
"-rtsopts"
|
||||||
|
"-Wall"
|
||||||
|
];
|
||||||
executables.verify_pam = {
|
executables.verify_pam = {
|
||||||
extra-depends = deps;
|
extra-depends = deps;
|
||||||
text = ''
|
text = ''
|
||||||
import Data.Monoid
|
|
||||||
import System.IO
|
import System.IO
|
||||||
import Data.Char (chr)
|
import Data.Char (chr)
|
||||||
import System.Environment (getEnv, getArgs)
|
import System.Environment (getEnv, getArgs)
|
||||||
|
@ -79,7 +82,6 @@
|
||||||
executables.verify_arg = {
|
executables.verify_arg = {
|
||||||
extra-depends = deps;
|
extra-depends = deps;
|
||||||
text = ''
|
text = ''
|
||||||
import Data.Monoid
|
|
||||||
import System.Environment (getArgs)
|
import System.Environment (getArgs)
|
||||||
import Crypto.PasswordStore (verifyPasswordWith, pbkdf2)
|
import Crypto.PasswordStore (verifyPasswordWith, pbkdf2)
|
||||||
import qualified Data.ByteString.Char8 as BS8
|
import qualified Data.ByteString.Char8 as BS8
|
||||||
|
|
Loading…
Reference in a new issue