summary refs log tree commit diff
path: root/pkgs/applications/video/kodi/plugins.nix
diff options
context:
space:
mode:
authorDaniel Schaefer <git@danielschaefer.me>2019-04-24 05:48:22 +0200
committerDaniel Schaefer <git@danielschaefer.me>2019-04-29 14:05:50 +0200
commit786f02f7a45621b9f628f63649ff92546aff83b7 (patch)
tree92784e131ccac4a1a63f7dbae6c228fb9d81468b /pkgs/applications/video/kodi/plugins.nix
parent5f14e83bd6b9ef1c83b035011267dd3d40278476 (diff)
downloadnixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.tar
nixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.tar.gz
nixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.tar.bz2
nixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.tar.lz
nixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.tar.xz
nixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.tar.zst
nixpkgs-786f02f7a45621b9f628f63649ff92546aff83b7.zip
treewide: Remove usage of isNull
isNull "is deprecated; just write e == null instead" says the Nix manual
Diffstat (limited to 'pkgs/applications/video/kodi/plugins.nix')
-rw-r--r--pkgs/applications/video/kodi/plugins.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix
index 91fd7eab126..b9976e54019 100644
--- a/pkgs/applications/video/kodi/plugins.nix
+++ b/pkgs/applications/video/kodi/plugins.nix
@@ -59,7 +59,7 @@ let self = rec {
     extraRuntimeDependencies = [ ];
 
     installPhase = ''
-      ${if isNull sourceDir then "" else "cd $src/$sourceDir"}
+      ${if sourceDir == null then "" else "cd $src/$sourceDir"}
       d=$out${pluginDir}/${namespace}
       mkdir -p $d
       sauce="."