mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
anydesk: add pciutils
The application will shell out to execute lspci
This commit is contained in:
parent
12e7af1cfb
commit
87f5e32e22
@ -1,6 +1,6 @@
|
|||||||
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, genericUpdater, writeShellScript
|
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, genericUpdater, writeShellScript
|
||||||
, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU, libGL, pango, xorg, minizip
|
, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU, libGL, pango, xorg, minizip
|
||||||
, lsb-release, freetype, fontconfig, polkit, polkit_gnome
|
, lsb-release, freetype, fontconfig, polkit, polkit_gnome, pciutils
|
||||||
, pulseaudio }:
|
, pulseaudio }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -76,7 +76,7 @@ in stdenv.mkDerivation rec {
|
|||||||
$out/bin/anydesk
|
$out/bin/anydesk
|
||||||
|
|
||||||
wrapProgram $out/bin/anydesk \
|
wrapProgram $out/bin/anydesk \
|
||||||
--prefix PATH : ${lib.makeBinPath [ lsb-release ]}
|
--prefix PATH : ${lib.makeBinPath [ lsb-release pciutils ]}
|
||||||
|
|
||||||
substituteInPlace $out/share/applications/*.desktop \
|
substituteInPlace $out/share/applications/*.desktop \
|
||||||
--subst-var out
|
--subst-var out
|
||||||
|
Loading…
Reference in New Issue
Block a user