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: ce5ba1ca44c4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eab355a5bdc5
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 18, 2018

  1. redshift: introduce withGeolocation option

    For simpler control.
    oxij committed Nov 18, 2018
    Copy the full SHA
    38a32d9 View commit details
  2. Merge pull request #50555 from oxij/pkgs/redshift-geo

    redshift: introduce `withGeolocation` option
    joachifm authored Nov 18, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    eab355a View commit details
Showing with 5 additions and 2 deletions.
  1. +5 −2 pkgs/applications/misc/redshift/default.nix
7 changes: 5 additions & 2 deletions pkgs/applications/misc/redshift/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,14 @@
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobjectIntrospection
, gtk3, python, pygobject3, hicolor-icon-theme, pyxdg

, withCoreLocation ? stdenv.isDarwin, CoreLocation, Foundation, Cocoa
, withQuartz ? stdenv.isDarwin, ApplicationServices
, withRandr ? stdenv.isLinux, libxcb
, withDrm ? stdenv.isLinux, libdrm
, withGeoclue ? stdenv.isLinux, geoclue }:

, withGeolocation ? true
, withCoreLocation ? withGeolocation && stdenv.isDarwin, CoreLocation, Foundation, Cocoa
, withGeoclue ? withGeolocation && stdenv.isLinux, geoclue
}:

stdenv.mkDerivation rec {
name = "redshift-${version}";