tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
get_iplayer: remove irrelevant warning
Rodney Lorrimar
10 years ago
bde97e04
4a6602c3
+6
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
get_iplayer
default.nix
+6
-1
pkgs/applications/misc/get_iplayer/default.nix
···
8
preConfigure = "touch Makefile.PL";
9
doCheck = false;
10
0
0
0
0
0
0
11
installPhase = ''
12
mkdir -p $out/bin
13
cp get_iplayer $out/bin
14
-
sed -i 's|^update_script|#update_script|' $out/bin/get_iplayer
15
wrapProgram $out/bin/get_iplayer --suffix PATH : ${ffmpeg}/bin:${flvstreamer}/bin:${vlc}/bin:${rtmpdump}/bin --prefix PERL5LIB : $PERL5LIB
16
'';
17
···
8
preConfigure = "touch Makefile.PL";
9
doCheck = false;
10
11
+
patchPhase = ''
12
+
sed -e 's|^update_script|#update_script|' \
13
+
-e '/WARNING.*updater/d' \
14
+
-i get_iplayer
15
+
'';
16
+
17
installPhase = ''
18
mkdir -p $out/bin
19
cp get_iplayer $out/bin
0
20
wrapProgram $out/bin/get_iplayer --suffix PATH : ${ffmpeg}/bin:${flvstreamer}/bin:${vlc}/bin:${rtmpdump}/bin --prefix PERL5LIB : $PERL5LIB
21
'';
22