add env variable to set spotify device_scale_factor

auto-flake-update
Yorick van Pelt 2017-01-27 16:51:03 +01:00
parent dfa276628d
commit e6d466a281
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@
pyroscope = pkgs.callPackage ./pyroscope.nix {};
peageprint = pkgs.callPackage ./peageprint.nix {};
nottetris2 = pkgs.callPackage ./nottetris2.nix {};
spotify = pkgs.spotify.overrideDerivation (attrs: {
installPhase = builtins.replaceStrings
["wrapProgram $out/share/spotify/spotify"]
["wrapProgram $out/share/spotify/spotify --add-flags --force-device-scale-factor=\\$SPOTIFY_DEVICE_SCALE_FACTOR"]
attrs.installPhase;
});
python35Packages = py3 // {
# pycrypto runs slow tests by default
pycrypto = py3.pycrypto.overrideDerivation (attrs: {