clementine: fix evaluation

$ nix-env -f . -qa '*' --meta --xml --drv-path --show-trace
error: while querying the derivation named `clementine-1.2.1':
while evaluating `optional' at .../lib/lists.nix:113:20, called from .../pkgs/applications/audio/clementine/default.nix:50:22:
undefined variable `not' at .../pkgs/applications/audio/clementine/default.nix:50:32
This commit is contained in:
Bjørn Forsman 2014-05-25 20:30:18 +02:00
parent cd7109e4d4
commit 97af2620c7

View File

@ -47,6 +47,6 @@ stdenv.mkDerivation {
platforms = platforms.linux;
maintainers = [ maintainers.ttuegel ];
# libspotify is unfree
hydraPlatforms = optional (not withSpotify) platforms.linux;
hydraPlatforms = optional (!withSpotify) platforms.linux;
};
}