haskellPackages.mplayer-spot: add runtime dependency on mplayer
This commit is contained in:
parent
a0171c6439
commit
c44ded75fe
@ -692,4 +692,13 @@ self: super: builtins.intersectAttrs super {
|
||||
# checks SQL statements at compile time, and so requires a running PostgreSQL
|
||||
# database to run it's test suite
|
||||
postgresql-typed = dontCheck super.postgresql-typed;
|
||||
|
||||
# mplayer-spot uses mplayer at runtime.
|
||||
mplayer-spot =
|
||||
let path = pkgs.stdenv.lib.makeBinPath [ pkgs.mplayer ];
|
||||
in overrideCabal (addBuildTool super.mplayer-spot pkgs.makeWrapper) (oldAttrs: {
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/mplayer-spot --prefix PATH : "${path}"
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user