diff options
author | Andrew Dunham <andrew@du.nham.ca> | 2018-10-27 15:11:35 -0700 |
---|---|---|
committer | Andrew Dunham <andrew@du.nham.ca> | 2018-10-27 15:11:35 -0700 |
commit | 79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93 (patch) | |
tree | 94329e53c1579aa2c3a8de60247127d693526346 | |
parent | a3e367ff4bbe479eb269b31f1eaf28fd4c1158c3 (diff) | |
download | nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.tar nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.tar.gz nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.tar.bz2 nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.tar.lz nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.tar.xz nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.tar.zst nixlib-79d46f0a28e0a5fc2068f76f68e06a4d86ad6c93.zip |
vlc: shrink runtime closure size by removing CONFIGURE_LINE
-rw-r--r-- | pkgs/applications/video/vlc/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix index b08ff812ace4..06a53ead3baa 100644 --- a/pkgs/applications/video/vlc/default.nix +++ b/pkgs/applications/video/vlc/default.nix @@ -72,6 +72,11 @@ stdenv.mkDerivation rec { "--with-kde-solid=$out/share/apps/solid/actions" ] ++ optional onlyLibVLC "--disable-vlc"; + # Remove runtime dependencies on libraries + postConfigure = '' + sed -i 's|^#define CONFIGURE_LINE.*$|#define CONFIGURE_LINE "<removed>"|g' config.h + ''; + meta = with stdenv.lib; { description = "Cross-platform media player and streaming server"; homepage = http://www.videolan.org/vlc/; |