3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/k3b/wrapper.nix

16 lines
317 B
Nix
Raw Normal View History

2016-04-26 13:26:55 +01:00
{ lib, symlinkJoin, k3b-original, cdrtools, makeWrapper }:
let
binPath = lib.makeBinPath [ cdrtools ];
2016-04-26 13:26:55 +01:00
in symlinkJoin {
name = "k3b-${k3b-original.version}";
paths = [ k3b-original ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/k3b \
--prefix PATH ':' ${binPath}
'';
}