parent
2b7003e1de
commit
e52250b33c
@ -1,4 +1,7 @@
|
|||||||
{stdenv, fetchFromGitHub, unzip, zip, perl, aspell, dos2unix, singleWordlist ? null}:
|
{ stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
|
||||||
|
, singleWordlist ? null
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "scowl";
|
pname = "scowl";
|
||||||
@ -11,10 +14,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "16mgk6scbw8i38g63kh60bsnzgzfs8gvvz2n5jh4x5didbwly8nz";
|
sha256 = "16mgk6scbw8i38g63kh60bsnzgzfs8gvvz2n5jh4x5didbwly8nz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [];
|
postPatch = ''
|
||||||
nativeBuildInputs = [unzip zip perl aspell dos2unix];
|
substituteInPlace scowl/src/Makefile \
|
||||||
|
--replace g++ c++
|
||||||
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = " -Wno-narrowing ";
|
nativeBuildInputs = [ unzip zip perl aspell dos2unix ];
|
||||||
|
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user