summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-12-04 21:10:45 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-12-04 21:10:45 -0600
commitb966d3c5835fdbaa153a9eacd08cdbf789ee1b40 (patch)
tree6e246d09bd95d32822575609657c150cf1ca377b /pkgs/tools
parenta3a6ad7a01e943a4097c87cb144d331910693d82 (diff)
downloadnixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.tar
nixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.tar.gz
nixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.tar.bz2
nixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.tar.lz
nixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.tar.xz
nixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.tar.zst
nixpkgs-b966d3c5835fdbaa153a9eacd08cdbf789ee1b40.zip
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.
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/system/proot/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/tools/system/proot/default.nix b/pkgs/tools/system/proot/default.nix
index d75be0ff5bc..63e135075b9 100644
--- a/pkgs/tools/system/proot/default.nix
+++ b/pkgs/tools/system/proot/default.nix
@@ -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 = ''