treewide: Fix up stripDebugList attrs to be lists.

The documentation says this should be a list, and it already is in
about half the expressions that set it.

The difference doesn't matter at present, because these values are all
space-free literals.  But it will in a future with __structuredAttrs .

(The similar attr stripAllList has no users in the nixpkgs tree, so
there's nothing to do to fix any of those up.)
This commit is contained in:
Greg Price 2020-04-06 20:32:19 -07:00
parent 71b1be3305
commit 7547cf9dfc
5 changed files with 5 additions and 5 deletions

View file

@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/far2l --argv0 $out/bin/far2l
'';
stripDebugList = "bin share";
stripDebugList = [ "bin" "share" ];
enableParallelBuilding = true;

View file

@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
"--without-ldb-lmdb"
];
stripDebugList = "bin lib modules";
stripDebugList = [ "bin" "lib" "modules" ];
meta = with stdenv.lib; {
description = "A LDAP-like embedded database";

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ automake autoconf ];
# Make sure we don't strip the libraries in lib/gcc/avr.
stripDebugList = "bin";
stripDebugList = [ "bin" ];
dontPatchELF = true;
passthru = {

View file

@ -56,7 +56,7 @@ stdenv.mkDerivation {
enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
hardeningDisable = [ "pic" "stackprotector" "fortify" ];
stripDebugList = "bin sbin share/syslinux/com32";
stripDebugList = [ "bin" "sbin" "share/syslinux/com32" ];
makeFlags = [
"BINDIR=$(out)/bin"

View file

@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
stripDebugList = "lib modules bin";
stripDebugList = [ "lib" "modules" "bin" ];
postInstall = ''
mkdir -p $doc/share/doc/httpd