treewide: remove static packages
Nixpkgs is meant to link everything dynamically. We don’t want to expose static packages at the top level. If some package needs statically built binaries, it should use a custom override.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch
|
||||
, talloc, docutils
|
||||
, enableStatic ? true }:
|
||||
, talloc, docutils }:
|
||||
|
||||
({ version, rev, sha256, patches }: stdenv.mkDerivation {
|
||||
name = "proot-${version}";
|
||||
@@ -12,17 +11,13 @@
|
||||
owner = "cedric-vincent";
|
||||
};
|
||||
|
||||
buildInputs = [ talloc ] ++ stdenv.lib.optional enableStatic stdenv.cc.libc.static;
|
||||
buildInputs = [ talloc ];
|
||||
nativeBuildInputs = [ docutils ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
inherit patches;
|
||||
|
||||
preBuild = stdenv.lib.optionalString enableStatic ''
|
||||
export LDFLAGS="-static"
|
||||
'';
|
||||
|
||||
makeFlags = [ "-C src" ];
|
||||
|
||||
postBuild = ''
|
||||
|
||||
Reference in New Issue
Block a user