summary refs log tree commit diff
path: root/pkgs/tools/system
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/tools/system
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/tools/system')
-rw-r--r--pkgs/tools/system/osquery/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/osquery/default.nix b/pkgs/tools/system/osquery/default.nix
index 1e2882e1f1f..1c1da724676 100644
--- a/pkgs/tools/system/osquery/default.nix
+++ b/pkgs/tools/system/osquery/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = let
     gflags' = google-gflags.overrideAttrs (old: {
-      cmakeFlags = stdenv.lib.filter (f: isNull (builtins.match ".*STATIC.*" f)) old.cmakeFlags;
+      cmakeFlags = stdenv.lib.filter (f: (builtins.match ".*STATIC.*" f) == null) old.cmakeFlags;
     });
 
     # use older `lvm2` source for osquery, the 2.03 sourcetree