Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8deff07be1c1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e594af80c99f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 4, 2018

  1. Copy the full SHA
    6f34258 View commit details
  2. Merge pull request #49579 from plumelo/feature/brightnessctl-tweaks

    brightnessctl: fix udev and clean unnecessary make flags
    joachifm authored Nov 4, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e594af8 View commit details
Showing with 5 additions and 7 deletions.
  1. +5 −7 pkgs/misc/brightnessctl/default.nix
12 changes: 5 additions & 7 deletions pkgs/misc/brightnessctl/default.nix
Original file line number Diff line number Diff line change
@@ -11,20 +11,18 @@ stdenv.mkDerivation rec {
sha256 = "1n1gb8ldgqv3vs565yhk1w4jfvrviczp94r8wqlkv5q6ab43c8w9";
};

makeFlags = [ "MODE=0755" "PREFIX=" "DESTDIR=$(out)" ];
installTargets = [ "install" "install_udev_rules" ];
makeFlags = [ "PREFIX=" "DESTDIR=$(out)" ];

postPatch = ''
substituteInPlace 90-brightnessctl.rules --replace /bin/ ${coreutils}/bin/
substituteInPlace 90-brightnessctl.rules --replace %k '*'
'';

meta = {
meta = with stdenv.lib; {
homepage = "https://github.com/Hummer12007/brightnessctl";
maintainers = [ stdenv.lib.maintainers.Dje4321 ];
license = stdenv.lib.licenses.mit;
description = "This program allows you read and control device brightness";
platforms = stdenv.lib.platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ megheaiulian ];
platforms = platforms.linux;
};

}