Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 26 lines 487 B view raw
1{ 2 lib, 3 symlinkJoin, 4 brasero-unwrapped, 5 cdrtools, 6 libdvdcss, 7 makeWrapper, 8}: 9 10let 11 binPath = lib.makeBinPath [ cdrtools ]; 12in 13symlinkJoin { 14 name = "brasero-${brasero-unwrapped.version}"; 15 16 paths = [ brasero-unwrapped ]; 17 nativeBuildInputs = [ makeWrapper ]; 18 19 postBuild = '' 20 wrapProgram $out/bin/brasero \ 21 --prefix PATH ':' ${binPath} \ 22 --prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so 23 ''; 24 25 inherit (brasero-unwrapped) meta; 26}