tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
avizo: fix dependencies of helper scripts
wuyoli
2 years ago
cce4df23
e40b5250
+20
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
avizo
default.nix
+20
-9
pkgs/applications/misc/avizo/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub
2
-
, meson, ninja, pkg-config, vala
3
-
, gtk3, glib, gtk-layer-shell
4
-
, dbus, dbus-glib, librsvg
5
-
, gobject-introspection, gdk-pixbuf, wrapGAppsHook
0
0
0
0
0
0
0
0
0
0
0
0
0
6
}:
7
8
stdenv.mkDerivation rec {
···
21
buildInputs = [ dbus dbus-glib gdk-pixbuf glib gtk-layer-shell gtk3 librsvg ];
22
23
postInstall = ''
24
-
substituteInPlace "$out"/bin/volumectl \
25
-
--replace 'avizo-client' "$out/bin/avizo-client"
26
-
substituteInPlace "$out"/bin/lightctl \
27
-
--replace 'avizo-client' "$out/bin/avizo-client"
28
'';
29
30
meta = with lib; {
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, meson
5
+
, ninja
6
+
, pkg-config
7
+
, vala
8
+
, gtk3
9
+
, glib
10
+
, gtk-layer-shell
11
+
, dbus
12
+
, dbus-glib
13
+
, librsvg
14
+
, gobject-introspection
15
+
, gdk-pixbuf
16
+
, wrapGAppsHook
17
+
, pamixer
18
+
, brightnessctl
19
}:
20
21
stdenv.mkDerivation rec {
···
34
buildInputs = [ dbus dbus-glib gdk-pixbuf glib gtk-layer-shell gtk3 librsvg ];
35
36
postInstall = ''
37
+
wrapProgram $out/bin/volumectl --suffix PATH : $out/bin:${lib.makeBinPath ([ pamixer ])}
38
+
wrapProgram $out/bin/lightctl --suffix PATH : $out/bin:${lib.makeBinPath ([ brightnessctl ])}
0
0
39
'';
40
41
meta = with lib; {