mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
Merge pull request #256832 from trofi/nut-strip-cgi-bin
nut: strip debug symbols from cgi-bin/
This commit is contained in:
commit
0303313979
@ -57,6 +57,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Add `cgi-bin` to the default list to avoid pulling in whole
|
||||
# of `gcc` into build closure.
|
||||
stripDebugList = [ "cgi-bin" "lib" "lib32" "lib64" "libexec" "bin" "sbin" ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/systemd/system-shutdown/nutshutdown \
|
||||
--replace /bin/sleep "${coreutils}/bin/sleep" \
|
||||
|
Loading…
Reference in New Issue
Block a user