Making the navipowm store some files in it's $out/share, needed to make it work.
Nevertheless it still looks for the ini file in the same directory as the executable. svn path=/nixpkgs/trunk/; revision=23350
This commit is contained in:
parent
9558cf93c4
commit
f093c8fb18
@ -13,8 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
ensureDir $out/bin
|
ensureDir $out/bin $out/share/${name}/Icons
|
||||||
cp bin/NaviPOWM $out/bin
|
cp bin/NaviPOWM $out/bin
|
||||||
|
cp ../../common/Config/navipowm.ini $out/share/${name}
|
||||||
|
cp ../../common/Images/* $out/share/${name}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qt4 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user