diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2021-10-04 13:19:08 -0300 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2021-10-04 13:22:51 -0300 |
commit | 18fd76f7c77742268ce1840c237a901df3a75c0e (patch) | |
tree | b5e3b92aef3da49d25867c5d5f8294140b7e1909 | |
parent | 86a3d865f4b05fb8c913980b6d470802e70fe577 (diff) | |
download | nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.tar nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.tar.gz nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.tar.bz2 nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.tar.lz nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.tar.xz nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.tar.zst nixpkgs-18fd76f7c77742268ce1840c237a901df3a75c0e.zip |
pamixer: install using Makefile
-rw-r--r-- | pkgs/applications/audio/pamixer/default.nix | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/pkgs/applications/audio/pamixer/default.nix b/pkgs/applications/audio/pamixer/default.nix index 4ea432885f6..5febf5f3dfc 100644 --- a/pkgs/applications/audio/pamixer/default.nix +++ b/pkgs/applications/audio/pamixer/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, boost, libpulseaudio, installShellFiles }: +{ lib, stdenv, fetchFromGitHub, boost, libpulseaudio }: stdenv.mkDerivation rec { pname = "pamixer"; @@ -13,19 +13,7 @@ stdenv.mkDerivation rec { buildInputs = [ boost libpulseaudio ]; - nativeBuildInputs = [ installShellFiles ]; - - installPhase = '' - runHook preInstall - - install -Dm755 pamixer -t $out/bin - - runHook postInstall - ''; - - postInstall = '' - installManPage pamixer.1 - ''; + makeFlags = [ "PREFIX=$(out)" ]; meta = with lib; { description = "Pulseaudio command line mixer"; |