mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
IPMIView: create desktop file
This commit is contained in:
parent
15b8478211
commit
3848206bd2
1 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, makeDesktopItem
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, patchelf
|
, patchelf
|
||||||
, fontconfig
|
, fontconfig
|
||||||
|
@ -35,10 +36,20 @@ stdenv.mkDerivation rec {
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./BMCSecurity/${stunnelBinary}
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./BMCSecurity/${stunnelBinary}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
desktopItem = makeDesktopItem rec {
|
||||||
|
name = "IPMIView";
|
||||||
|
exec = "IPMIView";
|
||||||
|
desktopName = name;
|
||||||
|
genericName = "Supermicro BMC manager";
|
||||||
|
categories = "Network;Configuration";
|
||||||
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -R . $out/
|
cp -R . $out/
|
||||||
|
|
||||||
|
ln -s ${desktopItem}/share $out/share
|
||||||
|
|
||||||
# LD_LIBRARY_PATH: fontconfig is used from java code
|
# LD_LIBRARY_PATH: fontconfig is used from java code
|
||||||
# PATH: iputils is used for ping, and psmisc is for killall
|
# PATH: iputils is used for ping, and psmisc is for killall
|
||||||
# WORK_DIR: unfortunately the ikvm related binaries are loaded from
|
# WORK_DIR: unfortunately the ikvm related binaries are loaded from
|
||||||
|
|
Loading…
Reference in a new issue