1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

remove /usr prefix in postInstall

This commit is contained in:
Bence Fabian 2015-03-16 17:55:45 +01:00
parent 90b083d387
commit 66e5b36378

View file

@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
postInstall = ''
# These are lifted from the Arch PKGBUILD
# remove files which conflicts with linux-firmware
rm -rf $out/usr/lib/firmware/{ct{efx,speq}.bin,ess,korg,sb16,yamaha}
rm -rf $out/lib/firmware/{ct{efx,speq}.bin,ess,korg,sb16,yamaha}
# remove broken symlinks (broken upstream)
rm -rf $out/usr/lib/firmware/turtlebeach
rm -rf $out/lib/firmware/turtlebeach
# remove empty dir
rm -rf $out/usr/bin
rm -rf $out/bin
'';
meta = {